Skip to content

Commit

Permalink
Merge pull request #274 from multiversx/multi-transfer-refund-unwrap
Browse files Browse the repository at this point in the history
multi-transfer: refund: unwrap tokens in callback & framework upgrade
  • Loading branch information
iulianpascalau authored Feb 12, 2025
2 parents 0f77c4a + 22fdc69 commit 1e45378
Show file tree
Hide file tree
Showing 75 changed files with 606 additions and 7,441 deletions.
215 changes: 105 additions & 110 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions bridge-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ path = "../common/mock-contracts/mock-price-aggregator"
path = "../common/mock-contracts/mock-multi-transfer-esdt"

[dependencies.multiversx-sc]
version = "=0.55.0"
version = "0.56.1"

[dependencies.multiversx-sc-modules]
version = "0.55.0"
version = "0.56.1"

[dependencies.crowdfunding-esdt]
git = "https://github.com/multiversx/mx-sdk-rs"
rev = "5d1d915"
rev = "bafea45"

[dev-dependencies]
num-bigint = "0.4.2"

[dev-dependencies.multiversx-sc-scenario]
version = "=0.55.0"
version = "0.56.1"
2 changes: 1 addition & 1 deletion bridge-proxy/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ authors = ["you"]
path = ".."

[dependencies.multiversx-sc-meta-lib]
version = "=0.55.0"
version = "0.56.1"
2 changes: 1 addition & 1 deletion bridge-proxy/src/bridge-proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use sc_proxies::esdt_safe_proxy;
use transaction::{CallData, EthTransaction};
const MIN_GAS_LIMIT_FOR_SC_CALL: u64 = 10_000_000;
const MAX_GAS_LIMIT_FOR_SC_CALL: u64 = 249999999;
const DEFAULT_GAS_LIMIT_FOR_REFUND_CALLBACK: u64 = 1_000_000; // 1 million
const DEFAULT_GAS_LIMIT_FOR_REFUND_CALLBACK: u64 = 4_000_000; // 4 millions

#[multiversx_sc::contract]
pub trait BridgeProxyContract:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"framework": {
"name": "multiversx-sc",
"version": "0.55.0"
"version": "0.56.1"
}
},
"abi": {
Expand Down
79 changes: 41 additions & 38 deletions bridge-proxy/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 bridge-proxy/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.55.0"
version = "0.56.1"

[workspace]
members = ["."]
6 changes: 3 additions & 3 deletions bridged-tokens-wrapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ path = "../common/sc-proxies"
path = "../common/mock-contracts/mock-esdt-safe"

[dependencies.multiversx-sc]
version = "=0.55.0"
version = "0.56.1"

[dependencies.multiversx-sc-modules]
version = "=0.55.0"
version = "0.56.1"

[dev-dependencies.multiversx-sc-scenario]
version = "=0.55.0"
version = "0.56.1"
2 changes: 1 addition & 1 deletion bridged-tokens-wrapper/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ publish = false
path = ".."

[dependencies.multiversx-sc-meta-lib]
version = "=0.55.0"
version = "0.56.1"
default-features = false
28 changes: 14 additions & 14 deletions bridged-tokens-wrapper/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 bridged-tokens-wrapper/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.55.0"
version = "0.56.1"

[workspace]
members = ["."]
Loading

0 comments on commit 1e45378

Please sign in to comment.