Skip to content

Commit

Permalink
Merge pull request #152 from multiversx/framework-upgrade
Browse files Browse the repository at this point in the history
FW-upgrade
  • Loading branch information
andreiblt1304 authored Oct 22, 2024
2 parents 07ffa05 + 408c6a2 commit bad12ca
Show file tree
Hide file tree
Showing 57 changed files with 534 additions and 1,910 deletions.
1,664 changes: 143 additions & 1,521 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions chain-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ path = "src/lib.rs"
num-bigint = "0.4.2"

[dev-dependencies.multiversx-sc-scenario]
version = "=0.50.4"
version = "=0.53.2"

[dependencies.multiversx-sc]
version = "=0.50.4"
version = "=0.53.2"

[dependencies.multiversx-sc-modules]
version = "=0.50.4"
version = "=0.53.2"
4 changes: 2 additions & 2 deletions chain-config/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ authors = ["you"]
[dependencies.chain-config]
path = ".."

[dependencies.multiversx-sc-meta]
version = "=0.50.4"
[dependencies.multiversx-sc-meta-lib]
version = "=0.53.2"
2 changes: 1 addition & 1 deletion chain-config/meta/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fn main() {
multiversx_sc_meta::cli_main::<chain_config::AbiProvider>();
multiversx_sc_meta_lib::cli_main::<chain_config::AbiProvider>();
}
52 changes: 26 additions & 26 deletions chain-config/wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion chain-config/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "=0.50.4"
version = "=0.53.2"

[workspace]
members = ["."]
4 changes: 2 additions & 2 deletions chain-factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ path = "src/lib.rs"
num-bigint = "0.4.2"

[dev-dependencies.multiversx-sc-scenario]
version = "=0.50.4"
version = "=0.53.2"

[dependencies.multiversx-sc]
version = "=0.50.4"
version = "=0.53.2"

[dependencies.utils]
path = "../common/utils"
Expand Down
4 changes: 2 additions & 2 deletions chain-factory/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ authors = ["you"]
[dependencies.chain-factory]
path = ".."

[dependencies.multiversx-sc-meta]
version = "=0.50.4"
[dependencies.multiversx-sc-meta-lib]
version = "=0.53.2"
2 changes: 1 addition & 1 deletion chain-factory/meta/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fn main() {
multiversx_sc_meta::cli_main::<chain_factory::AbiProvider>();
multiversx_sc_meta_lib::cli_main::<chain_factory::AbiProvider>();
}
52 changes: 26 additions & 26 deletions chain-factory/wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion chain-factory/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ panic = "abort"
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "=0.50.4"
version = "=0.53.2"

[workspace]
members = ["."]
4 changes: 2 additions & 2 deletions common/bls-signature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ authors = ["dorin-iancu <[email protected]>"]
edition = "2018"

[dependencies.multiversx-sc]
version = "=0.50.4"
version = "=0.53.2"

[dependencies.transaction]
path = "../transaction"

[dev-dependencies.multiversx-sc-scenario]
version = "=0.50.4"
version = "=0.53.2"
7 changes: 3 additions & 4 deletions common/bls-signature/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,13 @@ pub trait BlsSignatureModule {

let mut total_valid_signatures = 0;
for signer in all_signers.iter() {
let is_valid = self.crypto().verify_bls(
self.crypto().verify_bls(
signer.as_managed_buffer(),
signature_data,
signature.as_managed_buffer(),
);
if is_valid {
total_valid_signatures += 1;
}

total_valid_signatures += 1;
}

let min_valid_signers = self.min_valid_signers().get();
Expand Down
Loading

0 comments on commit bad12ca

Please sign in to comment.