diff --git a/Cargo.lock b/Cargo.lock index eea3ae3b7d5..2c5bb74c1c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1856,9 +1856,9 @@ dependencies = [ [[package]] name = "fuel-asm" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3861b1aa9a6729865d6499c3f6a731caf157bc2033810ac4157c1b6a96e04c3" +checksum = "1e1ad886f279873618c54895f23b2effcf64218e1163eb838c3ddbede964f119" dependencies = [ "fuel-types 0.3.0", "serde", @@ -1921,15 +1921,15 @@ dependencies = [ "derive_more", "dirs 3.0.2", "env_logger", - "fuel-asm 0.2.0", + "fuel-asm 0.3.0", "fuel-core-interfaces", "fuel-crypto", "fuel-merkle", "fuel-storage", - "fuel-tx 0.6.0", + "fuel-tx 0.7.0", "fuel-txpool", "fuel-types 0.3.0", - "fuel-vm 0.5.1", + "fuel-vm 0.6.0", "futures", "graphql-parser", "hex", @@ -1960,11 +1960,11 @@ version = "0.4.2" dependencies = [ "anyhow", "async-trait", - "fuel-asm 0.2.0", + "fuel-asm 0.3.0", "fuel-storage", - "fuel-tx 0.6.0", + "fuel-tx 0.7.0", "fuel-types 0.3.0", - "fuel-vm 0.5.1", + "fuel-vm 0.6.0", "futures", "lazy_static", "parking_lot 0.11.2", @@ -2018,9 +2018,9 @@ dependencies = [ "cynic", "derive_more", "fuel-storage", - "fuel-tx 0.6.0", + "fuel-tx 0.7.0", "fuel-types 0.3.0", - "fuel-vm 0.5.1", + "fuel-vm 0.6.0", "futures", "hex", "insta", @@ -2060,7 +2060,7 @@ name = "fuel-indexer-schema" version = "0.0.0" dependencies = [ "diesel", - "fuel-tx 0.6.0", + "fuel-tx 0.7.0", "fuel-types 0.3.0", "graphql-parser", "insta", @@ -2159,9 +2159,9 @@ dependencies = [ "fuel-core 0.4.2", "fuel-gql-client 0.4.2", "fuel-storage", - "fuel-tx 0.6.0", + "fuel-tx 0.7.0", "fuel-types 0.3.0", - "fuel-vm 0.5.1", + "fuel-vm 0.6.0", "insta", "itertools", "rand 0.8.5", @@ -2196,11 +2196,11 @@ dependencies = [ [[package]] name = "fuel-tx" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ac5e893eae18d812a14cd1dfb996834705bcaa24eae1f3924c1677ee29d9014" +checksum = "1669a4c16c1d55bca2e93915ee92983e65a281950f3d4a157b2e51f4d0a66e7c" dependencies = [ - "fuel-asm 0.2.0", + "fuel-asm 0.3.0", "fuel-crypto", "fuel-types 0.3.0", "itertools", @@ -2215,7 +2215,7 @@ dependencies = [ "anyhow", "async-trait", "fuel-core-interfaces", - "fuel-tx 0.6.0", + "fuel-tx 0.7.0", "fuel-types 0.3.0", "futures", "parking_lot 0.11.2", @@ -2263,21 +2263,22 @@ dependencies = [ [[package]] name = "fuel-vm" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56258326db96b0aeddecbe9657a1f8fce2236423f4ca22d2754b346fb1ce70d9" +checksum = "4c48bfd8fb29f5f91ac4b73e2cdfd5aa7c194d4696552d1b536ff629bbfde817" dependencies = [ - "fuel-asm 0.2.0", + "fuel-asm 0.3.0", "fuel-crypto", "fuel-merkle", "fuel-storage", - "fuel-tx 0.6.0", + "fuel-tx 0.7.0", "fuel-types 0.3.0", "itertools", "rand 0.8.5", "secp256k1", "serde", "sha3", + "thiserror", "tracing", ] diff --git a/fuel-client/Cargo.toml b/fuel-client/Cargo.toml index 3732ad0c1fb..140169079ec 100644 --- a/fuel-client/Cargo.toml +++ b/fuel-client/Cargo.toml @@ -20,9 +20,9 @@ clap = { version = "3.1", features = ["derive"] } cynic = { version = "0.14", features = ["surf"] } derive_more = { version = "0.99" } fuel-storage = "0.1" -fuel-tx = { version = "0.6", features = ["serde-types"] } +fuel-tx = { version = "0.7", features = ["serde-types"] } fuel-types = { version = "0.3", features = ["serde-types"] } -fuel-vm = { version = "0.5", features = ["serde-types"] } +fuel-vm = { version = "0.6", features = ["serde-types"] } futures = "0.3" hex = "0.4" itertools = "0.10" diff --git a/fuel-core-interfaces/Cargo.toml b/fuel-core-interfaces/Cargo.toml index 3d66b3317e9..df823aa4548 100644 --- a/fuel-core-interfaces/Cargo.toml +++ b/fuel-core-interfaces/Cargo.toml @@ -13,11 +13,11 @@ description = "Fuel core interfaces" [dependencies] anyhow = "1.0" async-trait = "0.1" -fuel-asm = "0.2" +fuel-asm = "0.3" fuel-storage = "0.1" -fuel-tx = { version = "0.6", features = ["serde-types"] } +fuel-tx = { version = "0.7", features = ["serde-types"] } fuel-types = { version = "0.3", features = ["serde-types"] } -fuel-vm = "0.5" +fuel-vm = "0.6" futures = "0.3" lazy_static = "1.4" parking_lot = "0.11" diff --git a/fuel-core/Cargo.toml b/fuel-core/Cargo.toml index a04c1905156..5e7f46459ff 100644 --- a/fuel-core/Cargo.toml +++ b/fuel-core/Cargo.toml @@ -28,15 +28,15 @@ clap = { version = "3.1", features = ["env", "derive"] } derive_more = { version = "0.99" } dirs = "3.0" env_logger = "0.9" -fuel-asm = { version = "0.2", features = ["serde-types"] } +fuel-asm = { version = "0.3", features = ["serde-types"] } fuel-core-interfaces = { path = "../fuel-core-interfaces", version = "0.4.2" } fuel-crypto = { version = "0.3" } fuel-merkle = "0.1" fuel-storage = { version = "0.1" } -fuel-tx = { version = "0.6", features = ["serde-types"] } +fuel-tx = { version = "0.7", features = ["serde-types"] } fuel-txpool = { path = "../fuel-txpool", version = "0.4.2" } fuel-types = { version = "0.3", features = ["serde-types"] } -fuel-vm = { version = "0.5", features = ["serde-types"] } +fuel-vm = { version = "0.6", features = ["serde-types"] } futures = "0.3" graphql-parser = "0.3.0" hex = { version = "0.4", features = ["serde"] } @@ -64,8 +64,8 @@ uuid = { version = "0.8", features = ["v4"] } [dev-dependencies] assert_matches = "1.5" -fuel-tx = { version = "0.6", features = ["serde-types", "builder", "internals"] } -fuel-vm = { version = "0.5", features = ["serde-types", "random", "test-helpers"] } +fuel-tx = { version = "0.7", features = ["serde-types", "builder", "internals"] } +fuel-vm = { version = "0.6", features = ["serde-types", "random", "test-helpers"] } insta = "1.8" [features] diff --git a/fuel-core/src/executor.rs b/fuel-core/src/executor.rs index e49fa1143cc..ac57f39bca4 100644 --- a/fuel-core/src/executor.rs +++ b/fuel-core/src/executor.rs @@ -1369,11 +1369,11 @@ mod tests { data_offset, vec![ // set reg 0x10 to call data - Opcode::ADDI(0x10, REG_ZERO, (data_offset + 64) as Immediate12), + Opcode::MOVI(0x10, (data_offset + 64) as Immediate18), // set reg 0x11 to asset id - Opcode::ADDI(0x11, REG_ZERO, data_offset), + Opcode::MOVI(0x11, data_offset), // set reg 0x12 to call amount - Opcode::ADDI(0x12, REG_ZERO, variable_transfer_amount), + Opcode::MOVI(0x12, variable_transfer_amount), // call contract without any tokens to transfer in (3rd arg arbitrary when 2nd is zero) Opcode::CALL(0x10, 0x12, 0x11, REG_CGAS), Opcode::RET(REG_ONE), diff --git a/fuel-indexer/schema/Cargo.toml b/fuel-indexer/schema/Cargo.toml index c5c943b1a08..15c564e2159 100644 --- a/fuel-indexer/schema/Cargo.toml +++ b/fuel-indexer/schema/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] diesel = { version = "1.4", optional = true, features = ["postgres", "serde_json"] } -fuel-tx = { version = "0.6", default-features = false } +fuel-tx = { version = "0.7", default-features = false } fuel-types = { version = "0.3", default-features = false } graphql-parser = "0.3" itertools = { version = "0.10", optional = true } diff --git a/fuel-tests/Cargo.toml b/fuel-tests/Cargo.toml index 80c332c6232..d2d8c780656 100644 --- a/fuel-tests/Cargo.toml +++ b/fuel-tests/Cargo.toml @@ -21,9 +21,9 @@ chrono = { version = "0.4", features = ["serde"] } fuel-core = { path = "../fuel-core", features = ["test-helpers"], default-features = false } fuel-gql-client = { path = "../fuel-client", features = ["test-helpers"] } fuel-storage = "0.1" -fuel-tx = { version = "0.6", features = ["serde-types"] } +fuel-tx = { version = "0.7", features = ["serde-types"] } fuel-types = { version = "0.3", features = ["serde-types"] } -fuel-vm = { version = "0.5", features = ["serde-types", "random"] } +fuel-vm = { version = "0.6", features = ["serde-types", "random"] } insta = "1.8" itertools = "0.10" rand = "0.8" diff --git a/fuel-txpool/Cargo.toml b/fuel-txpool/Cargo.toml index 1c85a409f03..41ff4d5a2cc 100644 --- a/fuel-txpool/Cargo.toml +++ b/fuel-txpool/Cargo.toml @@ -14,7 +14,7 @@ description = "Transaction pool" anyhow = "1.0" async-trait = "0.1" fuel-core-interfaces = { path = "../fuel-core-interfaces", version = "0.4.2" } -fuel-tx = { version = "0.6", features = ["serde-types"] } +fuel-tx = { version = "0.7", features = ["serde-types"] } fuel-types = { version = "0.3", features = ["serde-types"] } futures = "0.3" parking_lot = "0.11"