diff --git a/Cargo.lock b/Cargo.lock index b75e2a7d39..05cad6d811 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3076,7 +3076,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "async-trait", "fp-storage", @@ -3088,7 +3088,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "async-trait", "fp-consensus", @@ -3104,7 +3104,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "async-trait", "ethereum", @@ -3134,7 +3134,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "fc-db", "fc-storage", @@ -3157,7 +3157,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "ethereum", "ethereum-types", @@ -3212,7 +3212,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "ethereum", "ethereum-types", @@ -3227,7 +3227,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "ethereum", "ethereum-types", @@ -3417,7 +3417,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "hex", "impl-serde", @@ -3436,7 +3436,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "ethereum", "parity-scale-codec", @@ -3447,7 +3447,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "ethereum", "ethereum-types", @@ -3459,7 +3459,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "environmental", @@ -3476,7 +3476,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "ethereum", "ethereum-types", @@ -3492,7 +3492,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "frame-support", "parity-scale-codec", @@ -3504,7 +3504,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "parity-scale-codec", "serde", @@ -8581,7 +8581,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "environmental", "ethereum", @@ -8638,7 +8638,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "environmental", @@ -8662,7 +8662,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "frame-support", "frame-system", @@ -8757,7 +8757,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "fp-evm", ] @@ -8765,7 +8765,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "fp-evm", "sp-core", @@ -8897,7 +8897,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "fp-evm", "frame-support", @@ -8973,7 +8973,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "fp-evm", "num", @@ -9217,7 +9217,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "fp-evm", "tiny-keccak", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "fp-evm", "ripemd", @@ -9236,7 +9236,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-storage-cleaner" version = "0.1.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "fp-evm", "frame-support", @@ -10404,8 +10404,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes 0.13.0", - "rand 0.7.3", - "rand_core 0.5.1", + "rand 0.8.5", + "rand_core 0.6.4", "serde", "unicode-normalization", ] @@ -11964,7 +11964,7 @@ dependencies = [ [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive_more", @@ -11994,7 +11994,7 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" dependencies = [ "case", "num_enum 0.7.3", @@ -17294,7 +17294,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.7.3", + "rand 0.8.5", "static_assertions", ] @@ -18689,84 +18689,84 @@ dependencies = [ [[patch.unused]] name = "fc-cli" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "fc-rpc-v2" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "fc-rpc-v2-api" version = "0.1.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "fc-rpc-v2-types" version = "0.1.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "fp-dynamic-fee" version = "1.0.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "frontier-template-node" version = "0.0.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "frontier-template-runtime" version = "0.0.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "pallet-base-fee" version = "1.0.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "pallet-dynamic-fee" version = "4.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "pallet-evm-precompile-bls12377" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "pallet-evm-precompile-bls12381" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "pallet-evm-precompile-bw6761" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "pallet-evm-precompile-curve25519" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "pallet-evm-precompile-ed25519" version = "2.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "pallet-evm-test-vector-support" version = "1.0.0-dev" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "pallet-hotfix-sufficients" version = "1.0.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" [[patch.unused]] name = "precompile-utils-tests-external" version = "0.1.0" -source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#a58e5b409a24a9cede919c749efd58f9745bfe22" +source = "git+https://www.github.com/moonbeam-foundation/frontier?branch=tarekkma/pov-fixes#b727ea7b0a2b67149130ddb5808843f919791e49" diff --git a/test/suites/dev/moonbase/test-storage-growth/test-precompile-storage-growth.ts b/test/suites/dev/moonbase/test-storage-growth/test-precompile-storage-growth.ts index fcf84abdd3..9673ce0b38 100644 --- a/test/suites/dev/moonbase/test-storage-growth/test-precompile-storage-growth.ts +++ b/test/suites/dev/moonbase/test-storage-growth/test-precompile-storage-growth.ts @@ -125,7 +125,7 @@ describeSuite({ }); // Snapshot estimated gas - expect(estimatedGas).toMatchInlineSnapshot(`92638n`); + expect(estimatedGas).toMatchInlineSnapshot(`92679n`); const rawTxn2 = await context.writePrecompile!({ precompileName: "Proxy",