Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed leftover printhex statement in crypto_bls_ext::bls_base64url_to_type #306

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e40b7d3
version bump next version after spring release
ericpassmore May 2, 2024
c538d94
Update c interface of set_finalizers
heifner May 2, 2024
3cd6a4a
Merge pull request #280 from AntelopeIO/update-c-set-finalizers
heifner May 2, 2024
582244a
Merge branch 'main' into ehp/spring-release-version-bump
heifner May 2, 2024
904b177
Merge pull request #279 from AntelopeIO/ehp/spring-release-version-bump
ericpassmore May 3, 2024
13f21ef
Merge remote-tracking branch 'origin/release/4.1' into HEAD
spoonincode May 6, 2024
d803dea
Merge remote-tracking branch 'origin/release/4.1' into HEAD
spoonincode May 6, 2024
da7e87a
Merge remote-tracking branch 'origin/release/4.1' into HEAD
spoonincode May 6, 2024
6da162a
Merge pull request #287 from AntelopeIO/merge_update-c-set-finalizers…
spoonincode May 6, 2024
6ba64da
Merge pull request #288 from AntelopeIO/ubuntu20_pkg_main
spoonincode May 6, 2024
9ecdca0
Merge pull request #289 from AntelopeIO/ubuntu24_main
spoonincode May 6, 2024
d5cc245
Removed leftover printhex statement in crypto_bls_ext::bls_base64url_…
systemzax May 28, 2024
a50e3a4
Merge remote-tracking branch 'origin/release/4.1' into HEAD
spoonincode Jun 15, 2024
c250347
keep README's package link at 4.0.1 until 4.1.0 is released
spoonincode Jun 15, 2024
775d671
Merge pull request #293 from AntelopeIO/antelope-spring-dev.deb
spoonincode Jun 15, 2024
a88c7b8
Appropriate methods were marked as const
PocelowannyNebescami Jun 20, 2024
12df4cc
Merge pull request #294 from PocelowannyNebescami/refactor/singleton
spoonincode Jun 24, 2024
40681c7
remove security group stuff
spoonincode Jun 25, 2024
db51a8e
Merge pull request #295 from AntelopeIO/remove_security_group
spoonincode Jun 26, 2024
cf6988a
Merge remote-tracking branch 'origin/release/4.1' into HEAD
spoonincode Jul 1, 2024
f228975
Merge pull request #297 from AntelopeIO/ci_action_version_update
spoonincode Jul 1, 2024
bc90b71
instant_finality_extension renamed to finality_extension
heifner Jul 15, 2024
d660810
Merge pull request #298 from AntelopeIO/reanme_instant_finality_exten…
heifner Jul 15, 2024
b949569
Merge remote-tracking branch 'origin/release/4.1' into reanme_instant…
heifner Aug 16, 2024
18b09dd
Merge pull request #301 from AntelopeIO/reanme_instant_finality_exten…
heifner Aug 16, 2024
afdcd52
merge version bump commit and reset version
ericpassmore Aug 16, 2024
6d4f932
merged in 4.1 rc2 version bump
ericpassmore Aug 16, 2024
6b98462
Merge pull request #303 from AntelopeIO/ehp/merge-4.1-rc2-bump
ericpassmore Aug 17, 2024
d6e81c0
Merge branch 'AntelopeIO:main' into removed_leftover_comment
systemzax Aug 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ project(cdt)

set(VERSION_MAJOR 4)
set(VERSION_MINOR 1)
set(VERSION_PATCH 0)
set(VERSION_SUFFIX "rc2")
set(VERSION_PATCH 1)
set(VERSION_SUFFIX "dev")

if (VERSION_SUFFIX)
set(VERSION_FULL "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}-${VERSION_SUFFIX}")
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ CDT currently supports Linux x86_64 Debian packages. Visit the [release page](ht
Download the appropriate version of the Debian package and then install it. To download and install the latest version, run the following:

```sh
wget https://github.com/AntelopeIO/cdt/releases/download/v4.1.0-rc1/cdt_4.1.0-rc1_amd64.deb
sudo apt install ./cdt_4.1.0-rc1_amd64.deb
wget https://github.com/AntelopeIO/cdt/releases/download/v4.0.1/cdt_4.0.1_amd64.deb
sudo apt install ./cdt_4.0.1_amd64.deb
```
### Debian package uninstall

Expand Down
56 changes: 0 additions & 56 deletions libraries/eosiolib/capi/eosio/security_group.h

This file was deleted.

86 changes: 0 additions & 86 deletions libraries/eosiolib/contracts/eosio/security_group.hpp

This file was deleted.

6 changes: 3 additions & 3 deletions libraries/eosiolib/contracts/eosio/singleton.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace eosio {
* @return true - if exists
* @return false - otherwise
*/
bool exists() {
bool exists() const {
return _t.find( pk_value ) != _t.end();
}

Expand All @@ -72,7 +72,7 @@ namespace eosio {
* @brief Get the value stored inside the singleton table
* @return T - The value stored
*/
T get() {
T get() const {
auto itr = _t.find( pk_value );
eosio::check( itr != _t.end(), "singleton does not exist" );
return itr->value;
Expand All @@ -84,7 +84,7 @@ namespace eosio {
* @param def - The default value to be returned in case the data doesn't exist
* @return T - The value stored
*/
T get_or_default( const T& def = T() ) {
T get_or_default( const T& def = T() ) const {
auto itr = _t.find( pk_value );
return itr != _t.end() ? itr->value : def;
}
Expand Down
3 changes: 1 addition & 2 deletions libraries/eosiolib/core/eosio/crypto_bls_ext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,7 @@ namespace detail {

auto csum = ripemd160(ret.data(), ret.size()).extract_as_byte_array();
eosio::check(0 == memcmp(&*it, csum.data(), bls_checksum_size), "checksum of structure doesn't match");
printhex(static_cast<const void*>(ret.data()), ret.size());


return ret;
}

Expand Down
16 changes: 0 additions & 16 deletions libraries/native/intrinsics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -890,22 +890,6 @@ extern "C" {
}
#pragma clang diagnostic pop

int64_t add_security_group_participants(const char* data, uint32_t datalen) {
return intrinsics::get().call<intrinsics::add_security_group_participants>(data, datalen);
}

int64_t remove_security_group_participants(const char* data, uint32_t datalen){
return intrinsics::get().call<intrinsics::remove_security_group_participants>(data, datalen);
}

bool in_active_security_group(const char* data, uint32_t datalen){
return intrinsics::get().call<intrinsics::in_active_security_group>(data, datalen);
}

uint32_t get_active_security_group(char* data, uint32_t datalen){
return intrinsics::get().call<intrinsics::get_active_security_group>(data, datalen);
}

void set_finalizers(uint64_t packed_finalizer_format, const char* data, uint32_t len) {
intrinsics::get().call<intrinsics::set_finalizers>(packed_finalizer_format, data, len);
}
Expand Down
5 changes: 0 additions & 5 deletions libraries/native/native/eosio/intrinsics_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <eosio/system.h>
#include <eosio/transaction.h>
#include <eosio/types.h>
#include <eosio/security_group.h>

#include <type_traits>
#include <functional>
Expand Down Expand Up @@ -164,10 +163,6 @@ intrinsic_macro(cancel_deferred) \
intrinsic_macro(get_context_free_data) \
intrinsic_macro(get_sender) \
intrinsic_macro(set_action_return_value) \
intrinsic_macro(add_security_group_participants) \
intrinsic_macro(remove_security_group_participants) \
intrinsic_macro(in_active_security_group) \
intrinsic_macro(get_active_security_group) \
intrinsic_macro(blake2_f) \
intrinsic_macro(sha3) \
intrinsic_macro(k1_recover) \
Expand Down
Loading