Skip to content

Commit

Permalink
Merge pull request #76
Browse files Browse the repository at this point in the history
Updated multiversx_sc crates to 0.46.1
  • Loading branch information
gfusee authored Jan 11, 2024
2 parents 48c1928 + aae39db commit a9dcee9
Show file tree
Hide file tree
Showing 10 changed files with 198 additions and 562 deletions.
707 changes: 171 additions & 536 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ async-trait = "0.1.72"
serde = "1.0.177"
serde_json = "1.0.104"
tokio = "1.29.1"
multiversx-sc = "=0.43.3"
multiversx-sc-snippets = "=0.43.3"
multiversx-sdk = "=0.2.0"
multiversx-sc-scenario = "=0.43.3"
multiversx-sc-codec = "=0.18.1"
multiversx-sc-codec-derive = "=0.18.1"
multiversx-sc = "=0.46.1"
multiversx-sc-snippets = "=0.46.1"
multiversx-sdk = "=0.3.1"
multiversx-sc-scenario = "=0.46.1"
multiversx-sc-codec = "=0.18.3"
multiversx-sc-codec-derive = "=0.18.3"
reqwest = "0.11.18"
hex = "0.4.3"

Expand Down
8 changes: 4 additions & 4 deletions data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ repository = "https://github.com/gfusee/novax"

[dependencies]
num-bigint = "0.4.3"
multiversx-sc = "=0.43.3"
multiversx-sc-scenario = "=0.43.3"
multiversx-sc-codec = "=0.18.1"
multiversx-sdk = "=0.2.0"
multiversx-sc = "=0.46.1"
multiversx-sc-scenario = "=0.46.1"
multiversx-sc-codec = "=0.18.3"
multiversx-sdk = "=0.3.1"
serde = "1.0.183"
base64 = "0.21.3"
8 changes: 4 additions & 4 deletions executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ hex = "0.4.3"
base64 = "0.21.3"
novax-data = { path = "../data", version = "0.1.0" }
novax-request = { path = "../request", version = "0.1.0" }
multiversx-sc = "=0.43.3"
multiversx-sc-scenario = "=0.43.3"
multiversx-sdk = "=0.2.0"
multiversx-sc-snippets = "=0.43.3"
multiversx-sc = "=0.46.1"
multiversx-sc-scenario = "=0.46.1"
multiversx-sdk = "=0.3.1"
multiversx-sc-snippets = "=0.46.1"

[dev-dependencies]
serde_json = "1.0.105"
5 changes: 3 additions & 2 deletions executor/src/utils/transaction/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,14 @@ fn contract_call_to_tx_data<SA, T>(contract_call: &ContractCallWithEgld<SA, T>)
let mut result = String::from_utf8(
contract_call
.basic
.endpoint_name
.function_call
.function_name
.to_boxed_bytes()
.into_vec(),
)
.unwrap();

for argument in contract_call.basic.arg_buffer.raw_arg_iter() {
for argument in contract_call.basic.function_call.arg_buffer.raw_arg_iter() {
result.push('@');
result.push_str(hex::encode(argument.to_boxed_bytes().as_slice()).as_str());
}
Expand Down
6 changes: 3 additions & 3 deletions mocking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ tokio = "1.30.0"
novax = { path = "../core", version = "0.1.0" }
novax-token = { path = "../token", version = "0.1.0" }
novax-executor = { path = "../executor", version = "0.1.0" }
multiversx-sc = "=0.43.3"
multiversx-sc-snippets = "=0.43.3"
multiversx-sdk = "=0.2.0"
multiversx-sc = "=0.46.1"
multiversx-sc-snippets = "=0.46.1"
multiversx-sdk = "=0.3.1"
reqwest = "0.11.18"
serde = "1.0.180"
serde_json = "1.0.104"
Expand Down
4 changes: 2 additions & 2 deletions tester/contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ license = "GPL-3.0-only"
path = "src/lib.rs"

[dependencies]
multiversx-sc = "=0.43.3"
multiversx-sc = "=0.46.1"

[dev-dependencies]
multiversx-sc-scenario = "=0.43.3"
multiversx-sc-scenario = "=0.46.1"

[package.metadata.release]
release = false
2 changes: 1 addition & 1 deletion tester/contract/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [ "you",]
[dev-dependencies]

[dependencies]
multiversx-sc-meta = "=0.43.3"
multiversx-sc-meta = "=0.46.1"
tester-contract = { path = ".." }

[package.metadata.release]
Expand Down
2 changes: 1 addition & 1 deletion tester/contract/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ panic = "abort"

[dependencies]
tester-contract = { path = ".." }
multiversx-sc-wasm-adapter = "=0.43.3"
multiversx-sc-wasm-adapter = "=0.46.1"
6 changes: 3 additions & 3 deletions token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ novax-data = { path = "../data", version = "0.1.0" }
novax-request = { path = "../request", version = "0.1.0" }
num-bigint = "0.4.4"
async-trait = "0.1.73"
multiversx-sc = "=0.43.3"
multiversx-sc-scenario = "=0.43.3"
multiversx-sc-codec = "=0.18.1"
multiversx-sc = "=0.46.1"
multiversx-sc-scenario = "=0.46.1"
multiversx-sc-codec = "=0.18.3"
base64 = "0.21.5"

[dev-dependencies]
Expand Down

0 comments on commit a9dcee9

Please sign in to comment.