Skip to content

Commit

Permalink
Framework upgrade 0.45.2
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas committed Dec 20, 2023
1 parent 7adb52c commit 5dde7bf
Show file tree
Hide file tree
Showing 19 changed files with 64 additions and 30 deletions.
8 changes: 5 additions & 3 deletions bridged-tokens-wrapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ publish = false

[lib]
path = "src/lib.rs"

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

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"

[dependencies.multiversx-sc-modules]
version = "0.41.3"
version = "0.45.2"

[dev-dependencies.multiversx-sc-scenario]
version = "0.41.3"
version = "0.45.2"
4 changes: 3 additions & 1 deletion bridged-tokens-wrapper/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name = "bridged-tokens-wrapper-meta"
version = "0.0.0"
edition = "2018"
publish = false

[dependencies.bridged-tokens-wrapper]
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.41.3"
version = "0.45.2"
default-features = false
4 changes: 3 additions & 1 deletion bridged-tokens-wrapper/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ publish = false

[lib]
crate-type = ["cdylib"]

[profile.release]
codegen-units = 1
opt-level = "z"
lto = true
debug = false
panic = "abort"

[dependencies.bridged-tokens-wrapper]
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.41.3"
version = "0.45.2"

[workspace]
members = ["."]
3 changes: 2 additions & 1 deletion common/eth-address/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ edition = "2018"

[lib]
path = "src/lib.rs"

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"
6 changes: 4 additions & 2 deletions common/fee-estimator-module/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name = "fee-estimator-module"
version = "0.0.0"
authors = ["dorin-iancu <[email protected]>"]
edition = "2018"

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"

[dev-dependencies.multiversx-sc-scenario]
version = "0.41.3"
version = "0.45.2"
6 changes: 4 additions & 2 deletions common/max-bridged-amount-module/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name = "max-bridged-amount-module"
version = "0.0.0"
authors = ["dorin-iancu <[email protected]>"]
edition = "2018"

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"

[dev-dependencies.multiversx-sc-scenario]
version = "0.41.3"
version = "0.45.2"
6 changes: 4 additions & 2 deletions common/token-module/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ name = "token-module"
version = "0.0.0"
authors = ["dorin-iancu <[email protected]>"]
edition = "2018"

[dependencies.fee-estimator-module]
path = "../fee-estimator-module"

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"

[dev-dependencies.multiversx-sc-scenario]
version = "0.41.3"
version = "0.45.2"
3 changes: 2 additions & 1 deletion common/transaction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ edition = "2018"

[lib]
path = "src/lib.rs"

[dependencies.eth-address]
path = "../eth-address"

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"
6 changes: 4 additions & 2 deletions common/tx-batch-module/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ name = "tx-batch-module"
version = "0.0.0"
authors = ["dorin-iancu <[email protected]>"]
edition = "2018"

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"

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

[dev-dependencies.multiversx-sc-scenario]
version = "0.41.3"
version = "0.45.2"
8 changes: 5 additions & 3 deletions esdt-safe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ publish = false

[lib]
path = "src/lib.rs"

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

Expand All @@ -26,9 +27,10 @@ path = "../common/tx-batch-module"
path = "../common/max-bridged-amount-module"

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"

[dependencies.multiversx-sc-modules]
version = "0.41.3"
version = "0.45.2"

[dev-dependencies.multiversx-sc-scenario]
version = "0.41.3"
version = "0.45.2"
4 changes: 3 additions & 1 deletion esdt-safe/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ edition = "2018"
publish = false

[dev-dependencies]

[dependencies.esdt-safe]
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.41.3"
version = "0.45.2"
default-features = false
4 changes: 3 additions & 1 deletion esdt-safe/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ crate-type = ["cdylib"]
members = ["."]

[dev-dependencies]

[profile.release]
codegen-units = 1
opt-level = "z"
lto = true
debug = false
panic = "abort"

[dependencies.esdt-safe]
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.41.3"
version = "0.45.2"
6 changes: 4 additions & 2 deletions multi-transfer-esdt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ publish = false

[lib]
path = "src/lib.rs"

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

Expand All @@ -20,6 +21,7 @@ path = "../common/max-bridged-amount-module"
path = "../bridged-tokens-wrapper"

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"

[dev-dependencies.multiversx-sc-scenario]
version = "0.41.3"
version = "0.45.2"
4 changes: 3 additions & 1 deletion multi-transfer-esdt/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ edition = "2018"
publish = false

[dev-dependencies]

[dependencies.multi-transfer-esdt]
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.41.3"
version = "0.45.2"
default-features = false
4 changes: 3 additions & 1 deletion multi-transfer-esdt/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ crate-type = ["cdylib"]
members = ["."]

[dev-dependencies]

[profile.release]
codegen-units = 1
opt-level = "z"
lto = true
debug = false
panic = "abort"

[dependencies.multi-transfer-esdt]
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.41.3"
version = "0.45.2"
8 changes: 5 additions & 3 deletions multisig/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ publish = false

[lib]
path = "src/lib.rs"

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

Expand All @@ -32,9 +33,10 @@ path = "../esdt-safe"
path = "../multi-transfer-esdt"

[dependencies.multiversx-sc]
version = "0.41.3"
version = "0.45.2"

[dependencies.multiversx-sc-modules]
version = "0.41.3"
version = "0.45.2"

[dev-dependencies.multiversx-sc-scenario]
version = "0.41.3"
version = "0.45.2"
4 changes: 3 additions & 1 deletion multisig/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ version = "0.0.0"
authors = ["Andrei Marinica <[email protected]>, Dorin Iancu <[email protected]>"]
edition = "2018"
publish = false

[dependencies.multisig]
path = ".."

[dependencies.multiversx-sc-meta]
version = "0.41.3"
version = "0.45.2"
default-features = false
2 changes: 1 addition & 1 deletion multisig/src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub trait SetupModule:
}

let gas = self.blockchain().get_gas_left();
Self::Api::send_api_impl().upgrade_from_source_contract(
self.send_raw().upgrade_from_source_contract(
&child_sc_address,
gas,
&BigUint::zero(),
Expand Down
4 changes: 3 additions & 1 deletion multisig/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ publish = false

[lib]
crate-type = ["cdylib"]

[profile.release]
codegen-units = 1
opt-level = "z"
lto = true
debug = false
panic = "abort"

[dependencies.multisig]
path = ".."

[dependencies.multiversx-sc-wasm-adapter]
version = "0.41.3"
version = "0.45.2"

[workspace]
members = ["."]

0 comments on commit 5dde7bf

Please sign in to comment.