From 2146fc55b203555e310de45d1a4839e733e55853 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Thu, 2 Oct 2025 12:34:38 +0300 Subject: [PATCH 01/52] add vm.prank/startPrank/stopPrank support Signed-off-by: Alexandru Gheorghe --- Cargo.lock | 713 ++++++++++-------- crates/anvil-polkadot/Cargo.toml | 2 +- .../substrate-runtime/Cargo.toml | 4 +- crates/forge/tests/cli/main.rs | 1 + crates/revive-env/Cargo.toml | 2 +- crates/revive-strategy/Cargo.toml | 2 +- crates/revive-strategy/src/cheatcodes/mod.rs | 86 ++- 7 files changed, 493 insertions(+), 317 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bca686f8cc07f..4ec7a8297e5bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1971,7 +1971,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -2001,7 +2001,7 @@ dependencies = [ [[package]] name = "assets-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "ethereum-standards", @@ -2823,7 +2823,7 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "hash-db", "log", @@ -3142,7 +3142,7 @@ checksum = "26c4925bc979b677330a8c7fe7a8c94af2dbb4a2d37b4a20a80d884400f46baa" [[package]] name = "bp-header-chain" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-runtime", "finality-grandpa", @@ -3159,7 +3159,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-runtime", @@ -3175,7 +3175,7 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -3192,7 +3192,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-messages", "bp-runtime", @@ -3209,7 +3209,7 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-messages", @@ -3227,7 +3227,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -3250,7 +3250,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-parachains", @@ -3270,7 +3270,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-messages", "bp-runtime", @@ -3287,7 +3287,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -3299,7 +3299,7 @@ dependencies = [ [[package]] name = "bridge-hub-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3318,7 +3318,7 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -3360,7 +3360,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-messages", @@ -4671,7 +4671,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4688,7 +4688,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -4705,7 +4705,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -4742,7 +4742,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -4753,7 +4753,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -4766,7 +4766,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-solo-to-para" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4781,7 +4781,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -4800,7 +4800,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4815,7 +4815,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "approx", "bounded-collections 0.3.2", @@ -4841,7 +4841,7 @@ dependencies = [ [[package]] name = "cumulus-ping" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -4856,7 +4856,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-api", "sp-consensus-aura", @@ -4865,7 +4865,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -4882,7 +4882,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -4896,7 +4896,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -4906,7 +4906,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -4923,7 +4923,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -4933,7 +4933,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4950,7 +4950,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -5198,6 +5198,15 @@ dependencies = [ "winapi", ] +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "uuid 1.17.0", +] + [[package]] name = "der" version = "0.7.10" @@ -5928,7 +5937,7 @@ dependencies = [ [[package]] name = "ethereum-standards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "alloy-core", ] @@ -6493,7 +6502,7 @@ dependencies = [ [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", ] @@ -7200,7 +7209,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-support-procedural", @@ -7224,7 +7233,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-pallet-pov" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -7252,7 +7261,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7263,7 +7272,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -7280,7 +7289,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "aquamarine", "frame-support", @@ -7310,7 +7319,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "const-hex", @@ -7326,7 +7335,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "aquamarine", "array-bytes", @@ -7367,7 +7376,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "Inflector", "cfg-expr", @@ -7380,14 +7389,14 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "syn 2.0.104", ] [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -7399,7 +7408,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro2", "quote", @@ -7409,7 +7418,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cfg-if", "docify", @@ -7428,7 +7437,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -7442,7 +7451,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "parity-scale-codec", @@ -7452,7 +7461,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "parity-scale-codec", @@ -7671,6 +7680,28 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42012b0f064e01aa58b545fe3727f90f7dd4020f4a3ea735b50344965f5a57e9" +[[package]] +name = "fxhash" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" +dependencies = [ + "byteorder", +] + +[[package]] +name = "fxprof-processed-profile" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" +dependencies = [ + "bitflags 2.9.1", + "debugid", + "fxhash", + "serde", + "serde_json", +] + [[package]] name = "gcloud-sdk" version = "0.27.3" @@ -8937,6 +8968,26 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +[[package]] +name = "ittapi" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b996fe614c41395cdaedf3cf408a9534851090959d90d54a535f675550b64b1" +dependencies = [ + "anyhow", + "ittapi-sys", + "log", +] + +[[package]] +name = "ittapi-sys" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52f5385394064fa2c886205dba02598013ce83d3e92d33dbdc0c52fe0e7bf4fc" +dependencies = [ + "cc", +] + [[package]] name = "jam-codec" version = "0.1.1" @@ -11384,7 +11435,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11395,7 +11446,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-io", "sp-runtime", ] @@ -11403,7 +11454,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11421,7 +11472,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-ops" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11439,7 +11490,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11454,7 +11505,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11468,7 +11519,7 @@ dependencies = [ [[package]] name = "pallet-asset-rewards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11486,7 +11537,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11502,7 +11553,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "29.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "ethereum-standards", "frame-benchmarking", @@ -11520,7 +11571,7 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "pallet-assets", @@ -11532,7 +11583,7 @@ dependencies = [ [[package]] name = "pallet-assets-holder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11547,7 +11598,7 @@ dependencies = [ [[package]] name = "pallet-atomic-swap" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11557,7 +11608,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -11573,7 +11624,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -11588,7 +11639,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -11601,7 +11652,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11624,7 +11675,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "aquamarine", "docify", @@ -11645,7 +11696,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -11661,7 +11712,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -11680,7 +11731,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -11705,7 +11756,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11722,7 +11773,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-runtime", @@ -11741,7 +11792,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-messages", @@ -11760,7 +11811,7 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-parachains", @@ -11780,7 +11831,7 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-messages", @@ -11803,7 +11854,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitvec", "frame-benchmarking", @@ -11821,7 +11872,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11839,7 +11890,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11858,7 +11909,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -11875,7 +11926,7 @@ dependencies = [ [[package]] name = "pallet-collective-content" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11889,7 +11940,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "frame-benchmarking", @@ -11919,7 +11970,7 @@ dependencies = [ [[package]] name = "pallet-contracts-mock-network" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -11950,7 +12001,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro2", "quote", @@ -11960,7 +12011,7 @@ dependencies = [ [[package]] name = "pallet-contracts-uapi" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -11971,7 +12022,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "assert_matches", "frame-benchmarking", @@ -11987,7 +12038,7 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12005,7 +12056,7 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12020,7 +12071,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12037,7 +12088,7 @@ dependencies = [ [[package]] name = "pallet-derivatives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12057,7 +12108,7 @@ dependencies = [ [[package]] name = "pallet-dev-mode" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12072,7 +12123,7 @@ dependencies = [ [[package]] name = "pallet-dummy-dim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12090,7 +12141,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-block" version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12111,7 +12162,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12132,7 +12183,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12145,7 +12196,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12163,7 +12214,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12181,7 +12232,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -12199,7 +12250,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12221,7 +12272,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12237,7 +12288,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12256,7 +12307,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12271,7 +12322,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12282,7 +12333,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12295,7 +12346,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12311,7 +12362,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "frame-benchmarking", @@ -12330,7 +12381,7 @@ dependencies = [ [[package]] name = "pallet-meta-tx" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12348,7 +12399,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12367,7 +12418,7 @@ dependencies = [ [[package]] name = "pallet-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -12381,7 +12432,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -12393,7 +12444,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -12404,7 +12455,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "pallet-assets", @@ -12417,7 +12468,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12434,7 +12485,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -12443,7 +12494,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12453,7 +12504,7 @@ dependencies = [ [[package]] name = "pallet-node-authorization" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -12464,7 +12515,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12482,7 +12533,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12502,7 +12553,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -12512,7 +12563,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12527,7 +12578,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12547,10 +12598,39 @@ dependencies = [ "sp-staking", ] +[[package]] +name = "pallet-oracle" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "pallet-oracle-runtime-api" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" +dependencies = [ + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-std", +] + [[package]] name = "pallet-origin-restriction" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12568,7 +12648,7 @@ dependencies = [ [[package]] name = "pallet-paged-list" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "parity-scale-codec", @@ -12580,7 +12660,7 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12597,7 +12677,7 @@ dependencies = [ [[package]] name = "pallet-people" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12615,7 +12695,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12631,7 +12711,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12641,7 +12721,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12659,7 +12739,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12669,7 +12749,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12686,7 +12766,7 @@ dependencies = [ [[package]] name = "pallet-remark" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12702,7 +12782,7 @@ dependencies = [ [[package]] name = "pallet-revive" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "alloy-core", "derive_more 0.99.20", @@ -12748,7 +12828,7 @@ dependencies = [ [[package]] name = "pallet-revive-eth-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "anyhow", "clap", @@ -12767,7 +12847,7 @@ dependencies = [ "serde_json", "sp-arithmetic", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-rpc", "sp-runtime", "sp-weights", @@ -12782,7 +12862,7 @@ dependencies = [ [[package]] name = "pallet-revive-fixtures" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "alloy-core", "anyhow", @@ -12799,7 +12879,7 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro2", "quote", @@ -12809,7 +12889,7 @@ dependencies = [ [[package]] name = "pallet-revive-uapi" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "alloy-core", "bitflags 1.3.2", @@ -12824,7 +12904,7 @@ dependencies = [ [[package]] name = "pallet-root-offences" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12840,7 +12920,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12853,7 +12933,7 @@ dependencies = [ [[package]] name = "pallet-safe-mode" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "pallet-balances", @@ -12867,7 +12947,7 @@ dependencies = [ [[package]] name = "pallet-salary" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "pallet-ranked-collective", @@ -12879,7 +12959,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12896,7 +12976,7 @@ dependencies = [ [[package]] name = "pallet-scored-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12909,7 +12989,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12931,7 +13011,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12947,7 +13027,7 @@ dependencies = [ [[package]] name = "pallet-skip-feeless-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12959,7 +13039,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12976,7 +13056,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12997,7 +13077,7 @@ dependencies = [ [[package]] name = "pallet-staking-async" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -13021,7 +13101,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-ah-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13041,7 +13121,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-rc-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -13058,7 +13138,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "sp-arithmetic", @@ -13067,7 +13147,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -13077,7 +13157,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "sp-arithmetic", @@ -13086,7 +13166,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -13096,7 +13176,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13112,7 +13192,7 @@ dependencies = [ [[package]] name = "pallet-statement" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -13129,7 +13209,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -13144,7 +13224,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -13162,7 +13242,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13180,11 +13260,12 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "serde", @@ -13195,7 +13276,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -13207,7 +13288,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13226,7 +13307,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -13245,7 +13326,7 @@ dependencies = [ [[package]] name = "pallet-tx-pause" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "parity-scale-codec", @@ -13256,7 +13337,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13270,7 +13351,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13285,7 +13366,7 @@ dependencies = [ [[package]] name = "pallet-verify-signature" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13300,7 +13381,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13314,7 +13395,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -13324,7 +13405,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bounded-collections 0.3.2", "frame-benchmarking", @@ -13349,7 +13430,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13366,7 +13447,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-messages", "bp-runtime", @@ -13388,7 +13469,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -13408,7 +13489,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -13439,7 +13520,7 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -13907,7 +13988,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -13918,7 +13999,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -13935,7 +14016,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitvec", "bounded-collections 0.3.2", @@ -13964,7 +14045,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitvec", "frame-benchmarking", @@ -14013,7 +14094,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bs58", "frame-benchmarking", @@ -14025,7 +14106,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -14072,7 +14153,7 @@ dependencies = [ [[package]] name = "polkadot-sdk" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "asset-test-utils", "assets-common", @@ -14187,6 +14268,8 @@ dependencies = [ "pallet-nomination-pools-runtime-api", "pallet-offences", "pallet-offences-benchmarking", + "pallet-oracle", + "pallet-oracle-runtime-api", "pallet-origin-restriction", "pallet-paged-list", "pallet-parameters", @@ -14288,7 +14371,7 @@ dependencies = [ "sp-core-hashing", "sp-core-hashing-proc-macro", "sp-crypto-ec-utils", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-crypto-hashing-proc-macro", "sp-database", "sp-debug-derive", @@ -14339,7 +14422,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -15885,7 +15968,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "polkadot-primitives", @@ -16339,7 +16422,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "sp-core", @@ -16350,7 +16433,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "futures", "log", @@ -16372,7 +16455,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -16387,7 +16470,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "docify", @@ -16402,7 +16485,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -16413,7 +16496,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -16424,7 +16507,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "chrono", @@ -16466,7 +16549,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "fnv", "futures", @@ -16492,7 +16575,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "hash-db", "kvdb", @@ -16520,7 +16603,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -16543,7 +16626,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "fork-tree", @@ -16574,7 +16657,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "fork-tree", @@ -16599,7 +16682,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-inherents", "sp-keystore", "sp-runtime", @@ -16611,7 +16694,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "fork-tree", "parity-scale-codec", @@ -16624,7 +16707,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "assert_matches", "async-trait", @@ -16659,7 +16742,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -16682,7 +16765,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -16705,7 +16788,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "polkavm 0.26.0", "sc-allocator", @@ -16718,7 +16801,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "polkavm 0.26.0", @@ -16729,7 +16812,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "anyhow", "log", @@ -16745,7 +16828,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "console", "futures", @@ -16761,7 +16844,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "parking_lot 0.12.4", @@ -16775,7 +16858,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -16803,7 +16886,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16853,7 +16936,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -16863,7 +16946,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16884,7 +16967,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16919,7 +17002,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "futures", @@ -16938,7 +17021,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bs58", "bytes", @@ -16959,7 +17042,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -16968,7 +17051,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "futures", "jsonrpsee", @@ -17000,7 +17083,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -17020,7 +17103,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -17044,7 +17127,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "futures", @@ -17077,7 +17160,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "directories", @@ -17141,7 +17224,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -17152,7 +17235,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "derive_more 0.99.20", "futures", @@ -17165,14 +17248,14 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-io", ] [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "chrono", "futures", @@ -17191,7 +17274,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "chrono", "console", @@ -17219,7 +17302,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -17230,7 +17313,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -17247,7 +17330,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-runtime", "sp-tracing", "sp-transaction-pool", @@ -17261,7 +17344,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -17278,7 +17361,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-channel 1.9.0", "futures", @@ -18183,7 +18266,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "enumn", "parity-scale-codec", @@ -18365,7 +18448,7 @@ dependencies = [ [[package]] name = "snowbridge-core" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-relayers", "frame-support", @@ -18600,7 +18683,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "hash-db", @@ -18622,7 +18705,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "Inflector", "blake2 0.10.6", @@ -18636,7 +18719,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -18648,7 +18731,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "integer-sqrt", @@ -18662,7 +18745,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -18674,7 +18757,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-api", "sp-inherents", @@ -18684,7 +18767,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "futures", "parity-scale-codec", @@ -18703,7 +18786,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -18717,7 +18800,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "parity-scale-codec", @@ -18733,7 +18816,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "parity-scale-codec", @@ -18751,7 +18834,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -18759,7 +18842,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-io", "sp-keystore", "sp-mmr-primitives", @@ -18771,7 +18854,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "finality-grandpa", "log", @@ -18788,7 +18871,7 @@ dependencies = [ [[package]] name = "sp-consensus-pow" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -18799,7 +18882,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -18810,7 +18893,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "ark-vrf", "array-bytes", @@ -18841,7 +18924,7 @@ dependencies = [ "secrecy 0.8.0", "serde", "sha2 0.10.9", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-debug-derive", "sp-externalities", "sp-std", @@ -18857,15 +18940,15 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", ] [[package]] name = "sp-core-hashing-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-crypto-hashing-proc-macro", ] @@ -18873,7 +18956,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -18907,7 +18990,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "blake2b_simd", "byteorder", @@ -18920,17 +19003,17 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "syn 2.0.104", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "kvdb", "parking_lot 0.12.4", @@ -18939,7 +19022,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro2", "quote", @@ -18949,7 +19032,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "parity-scale-codec", @@ -18959,7 +19042,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -18971,7 +19054,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -18984,7 +19067,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bytes", "docify", @@ -18996,7 +19079,7 @@ dependencies = [ "rustversion", "secp256k1 0.28.2", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -19010,7 +19093,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-core", "sp-runtime", @@ -19020,7 +19103,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -19031,7 +19114,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -19040,7 +19123,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -19050,7 +19133,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -19061,7 +19144,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -19078,7 +19161,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -19091,7 +19174,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-api", "sp-core", @@ -19101,7 +19184,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "backtrace", "regex", @@ -19110,7 +19193,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -19120,7 +19203,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "binary-merkle-tree", "docify", @@ -19149,7 +19232,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -19167,7 +19250,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "Inflector", "expander", @@ -19180,7 +19263,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -19194,7 +19277,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -19207,7 +19290,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "hash-db", "log", @@ -19227,7 +19310,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -19240,7 +19323,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-externalities", "sp-runtime", "sp-runtime-interface", @@ -19251,12 +19334,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19268,7 +19351,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "parity-scale-codec", @@ -19280,7 +19363,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "regex", @@ -19292,7 +19375,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-api", "sp-runtime", @@ -19301,7 +19384,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "parity-scale-codec", @@ -19315,7 +19398,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "ahash", "foldhash 0.1.5", @@ -19340,7 +19423,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19357,7 +19440,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -19369,7 +19452,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -19381,7 +19464,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bounded-collections 0.3.2", "parity-scale-codec", @@ -19661,7 +19744,7 @@ dependencies = [ [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -19674,7 +19757,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -19695,7 +19778,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "frame-support", @@ -19719,7 +19802,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "frame-benchmarking", @@ -19903,7 +19986,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -19928,7 +20011,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-support" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "jsonrpsee", @@ -19942,7 +20025,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -19962,7 +20045,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -19976,7 +20059,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "jsonrpsee", @@ -20000,7 +20083,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "build-helper", "cargo_metadata 0.15.4", @@ -20539,7 +20622,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "testnet-parachains-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -22053,9 +22136,11 @@ dependencies = [ "bumpalo", "cc", "cfg-if", + "fxprof-processed-profile", "gimli", "hashbrown 0.15.4", "indexmap 2.10.0", + "ittapi", "libc", "log", "mach2", @@ -22068,6 +22153,7 @@ dependencies = [ "rustix 1.0.8", "serde", "serde_derive", + "serde_json", "smallvec", "target-lexicon", "wasmparser 0.235.0", @@ -22076,6 +22162,7 @@ dependencies = [ "wasmtime-internal-cache", "wasmtime-internal-cranelift", "wasmtime-internal-fiber", + "wasmtime-internal-jit-debug", "wasmtime-internal-jit-icache-coherence", "wasmtime-internal-math", "wasmtime-internal-slab", @@ -22182,6 +22269,18 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "wasmtime-internal-jit-debug" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61d8693995ab3df48e88777b6ee3b2f441f2c4f895ab938996cdac3db26f256c" +dependencies = [ + "cc", + "object", + "rustix 1.0.8", + "wasmtime-internal-versioned-export-macros", +] + [[package]] name = "wasmtime-internal-jit-icache-coherence" version = "35.0.0" @@ -22396,7 +22495,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "polkadot-primitives", @@ -23077,7 +23176,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "Inflector", "proc-macro2", @@ -23088,7 +23187,7 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "parity-scale-codec", @@ -23102,7 +23201,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#e8f1aff5a174f420cdd77f5d5c854dd6dc8a3273" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", diff --git a/crates/anvil-polkadot/Cargo.toml b/crates/anvil-polkadot/Cargo.toml index a2b3056a2c9d8..bafcfd29eef57 100644 --- a/crates/anvil-polkadot/Cargo.toml +++ b/crates/anvil-polkadot/Cargo.toml @@ -20,7 +20,7 @@ path = "bin/main.rs" [dependencies] # foundry internal substrate-runtime = { path = "substrate-runtime" } -polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [ "sc-allocator", "sc-basic-authorship", "sc-block-builder", diff --git a/crates/anvil-polkadot/substrate-runtime/Cargo.toml b/crates/anvil-polkadot/substrate-runtime/Cargo.toml index d6e58e1c4b265..133160c7a2896 100644 --- a/crates/anvil-polkadot/substrate-runtime/Cargo.toml +++ b/crates/anvil-polkadot/substrate-runtime/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true [dependencies] array-bytes = { version = "6.2.2", default-features = false } codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } -polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [ "pallet-balances", "pallet-revive", "pallet-sudo", @@ -27,7 +27,7 @@ scale-info = { version = "2.11.6", default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } [build-dependencies] -polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, optional = true, features = ["substrate-wasm-builder"] } +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, optional = true, features = ["substrate-wasm-builder"] } [features] default = ["std"] diff --git a/crates/forge/tests/cli/main.rs b/crates/forge/tests/cli/main.rs index 5765ccc2acfcb..dc724c14f4cd4 100644 --- a/crates/forge/tests/cli/main.rs +++ b/crates/forge/tests/cli/main.rs @@ -28,6 +28,7 @@ mod revive_compiler; mod revive_config; mod revive_create; mod revive_inspect; +mod revive_prank; mod revive_vm; mod rvm; mod script; diff --git a/crates/revive-env/Cargo.toml b/crates/revive-env/Cargo.toml index f02c3fb552718..938d3ac44bef2 100644 --- a/crates/revive-env/Cargo.toml +++ b/crates/revive-env/Cargo.toml @@ -16,7 +16,7 @@ std = ["polkadot-sdk/std"] codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", features = [ "experimental", "runtime", "polkadot-runtime-common", diff --git a/crates/revive-strategy/Cargo.toml b/crates/revive-strategy/Cargo.toml index a6141c95fe9e3..48e68732b95ba 100644 --- a/crates/revive-strategy/Cargo.toml +++ b/crates/revive-strategy/Cargo.toml @@ -36,7 +36,7 @@ semver.workspace = true codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", features = [ "experimental", "runtime", "polkadot-runtime-common", diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 906ad04f1ddcc..53e594e3f217e 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -22,7 +22,7 @@ use polkadot_sdk::{ pallet_balances, pallet_revive::{ self, AddressMapper, BalanceOf, BalanceWithDust, BumpNonce, Code, Config, DepositLimit, - Pallet, evm::GasEncoder, + InjectExecEnv, Pallet, evm::GasEncoder, }, polkadot_sdk_frame::prelude::OriginFor, sp_core::{self, H160}, @@ -35,7 +35,7 @@ use revm::{ bytecode::opcode as op, context::{CreateScheme, JournalTr}, interpreter::{ - CallInputs, CallOutcome, CreateOutcome, Gas, InstructionResult, Interpreter, + CallInputs, CallOutcome, CallScheme, CreateOutcome, Gas, InstructionResult, Interpreter, InterpreterResult, interpreter_types::Jumps, }, }; @@ -411,6 +411,56 @@ fn select_pvm(ctx: &mut PvmCheatcodeInspectorStrategyContext, data: Ecx<'_, '_, } } +fn create_inject_exec_env( + ecx: &Ecx<'_, '_, '_>, + caller: &Address, + target_address: Option<&Address>, + callee: Option<&Address>, + state: &mut foundry_cheatcodes::Cheatcodes, +) -> (InjectExecEnv, bool) { + let curr_depth = ecx.journaled_state.depth(); + let mut prank_enabled = false; + let pranked_caller = OriginFor::::signed(AccountId::to_fallback_account_id( + &H160::from_slice(caller.as_slice()), + )); + + let delegated_caller = target_address.map(|addr| { + OriginFor::::signed(AccountId::to_fallback_account_id(&H160::from_slice( + addr.as_slice(), + ))) + }); + + let mut state_inject = InjectExecEnv:: { + caller: pranked_caller, + delegated_caller, + first_call_only: true, + callee: callee.map(|addr| H160::from_slice(addr.as_slice())).unwrap_or_default(), + }; + + if let Some(prank) = &state.get_prank(curr_depth) { + if curr_depth >= prank.depth { + state_inject.first_call_only = prank.single_call; + prank_enabled = true; + } + } + (state_inject, prank_enabled) +} + +fn fund_pranked_accounts(prank_enabled: bool, account: Address) { + // Fuzzed prank addresses have no balance, so they won't exist in revive, and + // calls will fail, this is not a problem when running in REVM. + if prank_enabled { + let balance = Pallet::::evm_balance(&H160::from_slice(account.as_slice())); + if balance == 0.into() { + Pallet::::set_evm_balance( + &H160::from_slice(account.as_slice()), + u128::MAX.into(), + ) + .expect("Could not fund pranked account"); + } + } +} + impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspectorStrategyRunner { /// Try handling the `CREATE` within PVM. /// @@ -423,6 +473,8 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector input: &dyn CommonCreateInput, _executor: &mut dyn foundry_cheatcodes::CheatcodesExecutor, ) -> Option { + let (state_inject, prank_enabled) = + create_inject_exec_env(&ecx, &input.caller(), None, None, state); let ctx = get_context_ref_mut(state.strategy.context.as_mut()); if !ctx.using_pvm { @@ -476,10 +528,18 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector externalities.execute_with(|| { trace::(|| { let origin = OriginFor::::signed(AccountId::to_fallback_account_id( - &H160::from_slice(input.caller().as_slice()), + &H160::from_slice(ecx.tx.caller.as_slice()), )); let evm_value = sp_core::U256::from_little_endian(&input.value().as_le_bytes()); + fund_pranked_accounts(prank_enabled, ecx.tx.caller); + + // Pre-Dispatch Increments the nonce of the origin, so let's make sure we do + // that here too to replicate the same address generation. + System::inc_account_nonce(&AccountId::to_fallback_account_id( + &H160::from_slice(ecx.tx.caller.as_slice()), + )); + let (gas_limit, storage_deposit_limit) = <::EthGasEncoder as GasEncoder>>::decode( gas_limit, @@ -510,11 +570,11 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector data, salt, bump_nonce, + Some(state_inject), ) }) }) }); - let mut gas = Gas::new(input.gas_limit()); let gas_used = <::EthGasEncoder as GasEncoder>>::encode( @@ -580,6 +640,10 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector _executor: &mut dyn foundry_cheatcodes::CheatcodesExecutor, ) -> Option { let ctx = get_context_ref_mut(state.strategy.context.as_mut()); + let target_address = match call.scheme { + CallScheme::DelegateCall => Some(call.target_address), + _ => None, + }; if !ctx.using_pvm { return None; @@ -609,12 +673,23 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector ); let gas_limit = sp_core::U256::from(call.gas_limit).min(max_gas); + let (state_inject, prank_enabled) = create_inject_exec_env( + &ecx, + &call.caller, + target_address.as_ref(), + Some(&call.bytecode_address), + state, + ); + let (res, _call_trace, prestate_trace) = execute_with_externalities(|externalities| { externalities.execute_with(|| { trace::(|| { let origin = OriginFor::::signed(AccountId::to_fallback_account_id( - &H160::from_slice(call.caller.as_slice()), + &H160::from_slice(ecx.tx.caller.as_slice()), )); + + fund_pranked_accounts(prank_enabled, ecx.tx.caller); + let evm_value = sp_core::U256::from_little_endian(&call.call_value().as_le_bytes()); @@ -633,6 +708,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector gas_limit, storage_deposit_limit, call.input.bytes(ecx).to_vec(), + Some(state_inject), ) }) }) From 51804f53c60ce4f08e71506eff1e6766b1c9cc60 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Thu, 2 Oct 2025 12:42:45 +0300 Subject: [PATCH 02/52] add prank testsuite Signed-off-by: Alexandru Gheorghe --- crates/forge/tests/cli/revive_prank.rs | 1018 ++++++++++++++++++++++++ 1 file changed, 1018 insertions(+) create mode 100644 crates/forge/tests/cli/revive_prank.rs diff --git a/crates/forge/tests/cli/revive_prank.rs b/crates/forge/tests/cli/revive_prank.rs new file mode 100644 index 0000000000000..26a8497197a0e --- /dev/null +++ b/crates/forge/tests/cli/revive_prank.rs @@ -0,0 +1,1018 @@ +// Just a copy of cheatcodes Prank.t.sol adapted to work with pvm backend. +// The adaptions are only to switch back and forth between evm and pvm. +use crate::foundry_test_utils::snapbox::IntoData; +forgetest!(prank, |prj, cmd| { + prj.insert_ds_test(); + prj.insert_vm(); + prj.insert_console(); + prj.add_source( + "Balance.t.sol", + r#" +// SPDX-License-Identifier: MIT OR Apache-2.0 +pragma solidity ^0.8.18; + + +import "./test.sol"; +import "./Vm.sol"; +import {console} from "./console.sol"; + +contract Victim { + + function assertCallerAndOrigin( + address expectedSender, + string memory senderMessage, + address expectedOrigin, + string memory originMessage + ) public view { + require(msg.sender == expectedSender, senderMessage); + require(tx.origin == expectedOrigin, originMessage); + } +} + +contract ConstructorVictim is Victim { + constructor( + address expectedSender, + string memory senderMessage, + address expectedOrigin, + string memory originMessage + ) { + require(msg.sender == expectedSender, senderMessage); + require(tx.origin == expectedOrigin, originMessage); + } +} + +contract NestedVictim { + Victim innerVictim; + + constructor(Victim victim) { + innerVictim = victim; + } + + // function assertCallerAndOrigin( + // address expectedSender, + // string memory senderMessage, + // address expectedOrigin, + // string memory originMessage + // ) public view { + // console.log("msg.sender:", msg.sender); + // // require(msg.sender == expectedSender, senderMessage); + // // require(msg.sender == tx.origin, "NestedVictim: msg.sender should equal tx.origin"); + // require(tx.origin == expectedOrigin, "NestedVictim: tx.origin invariant failed"); + // require(msg.sender == expectedSender, senderMessage); + // // require(tx.origin == expectedOrigin, originMessage); + // innerVictim.assertCallerAndOrigin( + // address(this), + // //msg.sender, + // "msg.sender was incorrectly set for nested victim", + // expectedOrigin, + // "tx.origin was incorrectly set for nested victim" + // ); + // } + + function assertCallerAndOrigin( + address expectedSender, + string memory senderMessage, + address expectedOrigin, + string memory originMessage + ) public view { + require(msg.sender == expectedSender, senderMessage); + require(tx.origin == expectedOrigin, originMessage); + innerVictim.assertCallerAndOrigin( + address(this), + "msg.sender was incorrectly set for nested victim", + expectedOrigin, + "tx.origin was incorrectly set for nested victim" + ); + } +} + +contract NestedPranker { + Vm constant vm = Vm(address(bytes20(uint160(uint256(keccak256("hevm cheat code")))))); + + address newSender; + address newOrigin; + address oldOrigin; + + constructor(address _newSender, address _newOrigin) { + newSender = _newSender; + newOrigin = _newOrigin; + oldOrigin = tx.origin; + } + + function incompletePrank() public { + vm.startPrank(newSender, newOrigin); + } + + function completePrank(NestedVictim victim) public { + vm.pvm(true); + + victim.assertCallerAndOrigin( + newSender, "msg.sender was not set in nested prank", newOrigin, "tx.origin was not set in nested prank" + ); + + vm.pvm(false); + + vm.stopPrank(); + + vm.pvm(true); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), + "msg.sender was not cleaned up in nested prank", + oldOrigin, + "tx.origin was not cleaned up in nested prank" + ); + } +} + +contract ImplementationTest { + uint256 public num; + address public sender; + + function assertCorrectCaller(address expectedSender) public { + require(msg.sender == expectedSender); + + } + + function assertCorrectOrigin(address expectedOrigin) public { + require(tx.origin == expectedOrigin); + + } + + function setNum(uint256 _num) public { + num = _num; + } +} + +contract ProxyTest { + uint256 public num; + address public sender; +} + +contract PrankTest is DSTest { + Vm constant vm = Vm(HEVM_ADDRESS); + + function testPrankDelegateCallPrank2() public { + vm.pvm(true); + ProxyTest proxy = new ProxyTest(); + ImplementationTest impl = new ImplementationTest(); + // vm.prank(address(proxy), true); + console.log("Proxy address:", address(proxy)); + console.log("Impl address:", address(impl)); + // Assert correct `msg.sender` + (bool success,) = + address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", address(proxy))); + + require(success, "prank2: delegate call failed assertCorrectCaller"); + + // Assert storage updates + uint256 num = 42; + vm.prank(address(proxy), true); + (bool successTwo,) = address(impl).delegatecall(abi.encodeWithSignature("setNum(uint256)", num)); + require(successTwo, "prank2: delegate call failed setNum"); + require(proxy.num() == num, "prank2: proxy's storage was not set correctly"); + vm.stopPrank(); + } + + function testPrankDelegateCallStartPrank2() public { + vm.pvm(true); + ProxyTest proxy = new ProxyTest(); + ImplementationTest impl = new ImplementationTest(); + vm.startPrank(address(proxy), true); + + // Assert correct `msg.sender` + (bool success,) = + address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", address(proxy))); + require(success, "startPrank2: delegate call failed assertCorrectCaller"); + + // Assert storage updates + uint256 num = 42; + (bool successTwo,) = address(impl).delegatecall(abi.encodeWithSignature("setNum(uint256)", num)); + require(successTwo, "startPrank2: delegate call failed setNum"); + require(proxy.num() == num, "startPrank2: proxy's storage was not set correctly"); + vm.stopPrank(); + } + + function testPrankDelegateCallPrank3(address origin) public { + vm.assume(isNotReserved(origin)); + vm.pvm(true); + ProxyTest proxy = new ProxyTest(); + ImplementationTest impl = new ImplementationTest(); + vm.prank(address(proxy), origin, true); + + // Assert correct `msg.sender` + (bool success,) = + address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", address(proxy))); + require(success, "prank3: delegate call failed assertCorrectCaller"); + + // Assert correct `tx.origin` + vm.prank(address(proxy), origin, true); + (bool successTwo,) = address(impl).delegatecall(abi.encodeWithSignature("assertCorrectOrigin(address)", origin)); + require(successTwo, "prank3: delegate call failed assertCorrectOrigin"); + + // Assert storage updates + uint256 num = 42; + vm.prank(address(proxy), address(origin), true); + (bool successThree,) = address(impl).delegatecall(abi.encodeWithSignature("setNum(uint256)", num)); + require(successThree, "prank3: delegate call failed setNum"); + require(proxy.num() == num, "prank3: proxy's storage was not set correctly"); + vm.stopPrank(); + } + + function testPrankDelegateCallStartPrank3(address origin) public { + vm.assume(isNotReserved(origin)); + vm.pvm(true); + + ProxyTest proxy = new ProxyTest(); + ImplementationTest impl = new ImplementationTest(); + vm.startPrank(address(proxy), origin, true); + + // Assert correct `msg.sender` + (bool success,) = + address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", address(proxy))); + require(success, "startPrank3: delegate call failed assertCorrectCaller"); + + // Assert correct `tx.origin` + (bool successTwo,) = address(impl).delegatecall(abi.encodeWithSignature("assertCorrectOrigin(address)", origin)); + require(successTwo, "startPrank3: delegate call failed assertCorrectOrigin"); + + // Assert storage updates + uint256 num = 42; + (bool successThree,) = address(impl).delegatecall(abi.encodeWithSignature("setNum(uint256)", num)); + require(successThree, "startPrank3: delegate call failed setNum"); + require(proxy.num() == num, "startPrank3: proxy's storage was not set correctly"); + vm.stopPrank(); + } + + /// forge-config: default.allow_internal_expect_revert = true + function testRevertIfPrankDelegateCalltoEOA() public { + uint256 privateKey = uint256(keccak256(abi.encodePacked("alice"))); + address alice = vm.addr(privateKey); + ImplementationTest impl = new ImplementationTest(); + vm.expectRevert("vm.prank: cannot `prank` delegate call from an EOA"); + vm.prank(alice, true); + // Should fail when EOA pranked with delegatecall. + address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", alice)); + } + + function testPrankSender(address sender) public { + vm.assume(isNotReserved(sender)); + // Perform the prank + vm.pvm(true); + + Victim victim = new Victim(); + vm.prank(sender); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", tx.origin, "tx.origin invariant failed" + ); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin invariant failed" + ); + } + + function testPrankOrigin(address sender, address origin) public { + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + address oldOrigin = tx.origin; + vm.pvm(true); + + // Perform the prank + Victim victim = new Victim(); + vm.prank(sender, origin); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", origin, "tx.origin was not set during prank" + ); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin was not cleaned up" + ); + } + + function testPrank1AfterPrank0(address sender, address origin) public { + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + address oldOrigin = tx.origin; + vm.pvm(true); + + Victim victim = new Victim(); + vm.prank(sender); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", oldOrigin, "tx.origin was not set during prank" + ); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin invariant failed" + ); + + // Overwrite the prank + vm.prank(sender, origin); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", origin, "tx.origin invariant failed" + ); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin invariant failed" + ); + } + + function isNotReserved(address addr) internal pure returns (bool) { + // Check for zero address and common precompiles (addresses 1-9) + if ( + addr == address(0) || + addr == address(1) || + addr == address(2) || + addr == address(3) || + addr == address(4) || + addr == address(5) || + addr == address(6) || + addr == address(7) || + addr == address(8) || + addr == address(9) || + addr == address(10) || + addr == address(11) || + addr == address(12) || + addr == address(13) || + addr == address(14) || + addr == address(15) + ) { + return false; + } + return true; + } + + function testPrank0AfterPrank1(address sender, address origin) public { + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + address oldOrigin = tx.origin; + vm.pvm(true); + Victim victim = new Victim(); + console.log("Balance of sender before prank:", sender.balance); + console.log("Balance of origin before prank:", origin.balance); + vm.prank(sender, origin); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", origin, "tx.origin was not set during prank" + ); + + console.log("After first prank - msg.sender:", address(this)); + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin invariant failed" + ); + + // Overwrite the prank + vm.prank(sender); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", oldOrigin, "tx.origin invariant failed" + ); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin invariant failed" + ); + } + + + function testStartPrank0AfterPrank1(address sender, address origin) public { + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + vm.pvm(true); + address oldOrigin = tx.origin; + Victim victim = new Victim(); + vm.startPrank(sender, origin); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", origin, "tx.origin was not set during prank" + ); + + // Overwrite the prank + vm.startPrank(sender); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", oldOrigin, "tx.origin invariant failed" + ); + + vm.stopPrank(); + // Ensure we cleaned up correctly after stopping the prank + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin invariant failed" + ); + } + + function testStartPrank1AfterStartPrank0(address sender, address origin) public { + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + vm.pvm(true); + // Perform the prank + address oldOrigin = tx.origin; + Victim victim = new Victim(); + vm.startPrank(sender); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", oldOrigin, "tx.origin was set during prank incorrectly" + ); + + // Ensure prank is still up as startPrank covers multiple calls + victim.assertCallerAndOrigin( + sender, "msg.sender was cleaned up incorrectly", oldOrigin, "tx.origin invariant failed" + ); + + // Overwrite the prank + vm.startPrank(sender, origin); + victim.assertCallerAndOrigin(sender, "msg.sender was not set during prank", origin, "tx.origin was not set"); + + // Ensure prank is still up as startPrank covers multiple calls + victim.assertCallerAndOrigin( + sender, "msg.sender was cleaned up incorrectly", origin, "tx.origin invariant failed" + ); + + vm.stopPrank(); + // Ensure everything is back to normal after stopPrank + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin invariant failed" + ); + } + + /// forge-config: default.allow_internal_expect_revert = true + function testRevertIfOverwriteUnusedPrank(address sender, address origin) public { + // Set the prank, but not use it + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + vm.pvm(true); + address oldOrigin = tx.origin; + Victim victim = new Victim(); + vm.startPrank(sender, origin); + // try to overwrite the prank. This should fail. + vm.expectRevert("vm.startPrank: cannot overwrite a prank until it is applied at least once"); + vm.startPrank(address(this), origin); + } + + /// forge-config: default.allow_internal_expect_revert = true + function testRevertIfOverwriteUnusedPrankAfterSuccessfulPrank(address sender, address origin) public { + // Set the prank, but not use it + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Set the prank, but not use it + address oldOrigin = tx.origin; + vm.pvm(true); + Victim victim = new Victim(); + vm.startPrank(sender, origin); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", origin, "tx.origin was set during prank incorrectly" + ); + vm.startPrank(address(this), origin); + // try to overwrite the prank. This should fail. + vm.expectRevert("vm.startPrank: cannot overwrite a prank until it is applied at least once"); + vm.startPrank(sender, origin); + } + + function testStartPrank0AfterStartPrank1(address sender, address origin) public { + // Perform the prank + // Set the prank, but not use it + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + vm.pvm(true); + address oldOrigin = tx.origin; + Victim victim = new Victim(); + vm.startPrank(sender, origin); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", origin, "tx.origin was not set during prank" + ); + + // Ensure prank is still ongoing as we haven't called stopPrank + victim.assertCallerAndOrigin( + sender, "msg.sender was cleaned up incorrectly", origin, "tx.origin was cleaned up incorrectly" + ); + + // Overwrite the prank + vm.startPrank(sender); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", oldOrigin, "tx.origin was not reset correctly" + ); + + vm.stopPrank(); + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin invariant failed" + ); + } + + function testPrankConstructorSender(address sender) public { + // Set the prank, but not use it + vm.assume(isNotReserved(sender)); + // Perform the prank + vm.pvm(true); + vm.prank(sender); + ConstructorVictim victim = new ConstructorVictim( + sender, "msg.sender was not set during prank", tx.origin, "tx.origin invariant failed" + ); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin invariant failed" + ); + } + + function testPrankConstructorOrigin(address sender, address origin) public { + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + vm.pvm(true); + // Perform the prank + vm.prank(sender, origin); + ConstructorVictim victim = new ConstructorVictim( + sender, "msg.sender was not set during prank", origin, "tx.origin was not set during prank" + ); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin was not cleaned up" + ); + } + + function testPrankStartStop(address sender, address origin) public { + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + vm.pvm(true); + address oldOrigin = tx.origin; + + // Perform the prank + Victim victim = new Victim(); + vm.startPrank(sender, origin); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set during prank", origin, "tx.origin was not set during prank" + ); + victim.assertCallerAndOrigin( + sender, + "msg.sender was not set during prank (call 2)", + origin, + "tx.origin was not set during prank (call 2)" + ); + vm.stopPrank(); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin was not cleaned up" + ); + } + + function testxxxxPrankStartStopConstructor(address sender, address origin) public { + // Perform the prank + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + vm.pvm(true); + vm.startPrank(sender, origin); + ConstructorVictim victim = new ConstructorVictim( + sender, "msg.sender was not set during prank", origin, "tx.origin was not set during prank" + ); + new ConstructorVictim( + sender, + "msg.sender was not set during prank (call 2)", + origin, + "tx.origin was not set during prank (call 2)" + ); + vm.stopPrank(); + + // Ensure we cleaned up correctly + victim.assertCallerAndOrigin( + address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin was not cleaned up" + ); + } + + /// This test checks that depth is working correctly with respect + /// to the `startPrank` and `stopPrank` cheatcodes. + /// + /// The nested pranker calls `startPrank` but does not call + /// `stopPrank` at first. + /// + /// Then, we call our victim from the main test: this call + /// should NOT have altered `msg.sender` or `tx.origin`. + /// + /// Then, the nested pranker will complete their prank: this call + /// SHOULD have altered `msg.sender` and `tx.origin`. + /// + /// Each call to the victim calls yet another victim. The expected + /// behavior for this call is that `tx.origin` is altered when + /// the nested pranker calls, otherwise not. In both cases, + /// `msg.sender` should be the address of the first victim. + /// + /// Success case: + /// + /// ┌────┐ ┌───────┐ ┌──────┐ ┌──────┐ ┌────────────┐ + /// │Test│ │Pranker│ │Vm│ │Victim│ │Inner Victim│ + /// └─┬──┘ └───┬───┘ └──┬───┘ └──┬───┘ └─────┬──────┘ + /// │ │ │ │ │ + /// │incompletePrank()│ │ │ │ + /// │────────────────>│ │ │ │ + /// │ │ │ │ │ + /// │ │startPrank()│ │ │ + /// │ │───────────>│ │ │ + /// │ │ │ │ │ + /// │ should not be pranked│ │ │ + /// │──────────────────────────────────────>│ │ + /// │ │ │ │ │ + /// │ │ │ │ should not be pranked │ + /// │ │ │ │────────────────────────>│ + /// │ │ │ │ │ + /// │ completePrank() │ │ │ │ + /// │────────────────>│ │ │ │ + /// │ │ │ │ │ + /// │ │ should be pranked │ │ + /// │ │────────────────────>│ │ + /// │ │ │ │ │ + /// │ │ │ │only tx.origin is pranked│ + /// │ │ │ │────────────────────────>│ + /// │ │ │ │ │ + /// │ │stopPrank() │ │ │ + /// │ │───────────>│ │ │ + /// │ │ │ │ │ + /// │ │should not be pranked│ │ + /// │ │────────────────────>│ │ + /// │ │ │ │ │ + /// │ │ │ │ should not be pranked │ + /// │ │ │ │────────────────────────>│ + /// ┌─┴──┐ ┌───┴───┐ ┌──┴───┐ ┌──┴───┐ ┌─────┴──────┐ + /// │Test│ │Pranker│ │Vm│ │Victim│ │Inner Victim│ + /// └────┘ └───────┘ └──────┘ └──────┘ └────────────┘ + /// If this behavior is incorrectly implemented then the victim + /// will be pranked the first time it is called. + /// + /// !!!!! Currently failing until switch back to evm is added !!!! + // function testPrankComplex(address sender, address origin) public { + // vm.assume(isNotReserved(sender)); + // vm.assume(isNotReserved(origin)); + // // Perform the prank + // address oldOrigin = tx.origin; + + // NestedPranker pranker = new NestedPranker(sender, origin); + + // vm.pvm(true); + // Victim innerVictim = new Victim(); + // NestedVictim victim = new NestedVictim(innerVictim); + + // vm.pvm(false); + // pranker.incompletePrank(); + // vm.pvm(true); + + // victim.assertCallerAndOrigin( + // address(this), + // "msg.sender was altered at an incorrect depth", + // oldOrigin, + // "tx.origin was altered at an incorrect depth" + // ); + + // pranker.completePrank(victim); + // } + + /// Checks that `tx.origin` is set for all subcalls of a `prank`. + /// + /// Ref: issue #1210 + function testTxOriginInNestedPrank(address sender, address origin) public { + vm.assume(isNotReserved(sender)); + vm.assume(isNotReserved(origin)); + // Perform the prank + vm.pvm(true); + address oldSender = msg.sender; + address oldOrigin = tx.origin; + + Victim innerVictim = new Victim(); + NestedVictim victim = new NestedVictim(innerVictim); + + vm.prank(sender, origin); + victim.assertCallerAndOrigin( + sender, "msg.sender was not set correctly", origin, "tx.origin was not set correctly" + ); + } +} + +contract Issue9990 is DSTest { + Vm constant vm = Vm(address(bytes20(uint160(uint256(keccak256("hevm cheat code")))))); + + // TODO: Etch does not work. + function testDelegatePrank() external { + A a = new A(); + vm.etch(address(0x11111), hex"11"); + vm.startPrank(address(0x11111), true); + (bool success,) = address(a).delegatecall(abi.encodeWithSelector(A.foo.selector)); + require(success, "MyTest: error calling foo on A"); + vm.stopPrank(); + } +} + +// Contracts for DELEGATECALL test case: testDelegatePrank +contract A { + function foo() external { + require(address(0x11111) == msg.sender, "wrong msg.sender in A"); + require(address(0x11111) == address(this), "wrong address(this) in A"); + B b = new B(); + (bool success,) = address(b).call(abi.encodeWithSelector(B.bar.selector)); + require(success, "A: error calling B.bar"); + } +} + +contract B { + function bar() external { + require(address(0x11111) == msg.sender, "wrong msg.sender in B"); + require(0x769A6A5f81bD725e4302751162A7cb30482A222d == address(this), "wrong address(this) in B"); + C c = new C(); + (bool success,) = address(c).delegatecall(abi.encodeWithSelector(C.bar.selector)); + require(success, "B: error calling C.bar"); + } +} + +contract C { + function bar() external view { + require(address(0x11111) == msg.sender, "wrong msg.sender in C"); + require(0x769A6A5f81bD725e4302751162A7cb30482A222d == address(this), "wrong address(this) in C"); + } +} + +contract Counter { + uint256 number; + + function increment() external { + number++; + } +} + +contract Issue10528 is DSTest { + Vm constant vm = Vm(address(bytes20(uint160(uint256(keccak256("hevm cheat code")))))); + + function testStartPrankOnContractCreation() external { + vm.startPrank(address(0x22222)); + // Perform the prank + vm.pvm(true); + Counter counter = new Counter(); + + vm.startPrank(address(0x11111)); + counter.increment(); + } +} + +"#, + ) + .unwrap(); + + let res = cmd.args(["test", "--resolc", "--resolc-startup"]).assert_success(); + + res.stderr_eq(str![""]).stdout_eq(str![[r#" +[COMPILING_FILES] with [SOLC_VERSION] +[SOLC_VERSION] [ELAPSED] +Compiler run successful with warnings: +Warning (9302): Return value of low-level calls not used. + [FILE]:247:9: + | +247 | address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", alice)); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:440:9: + | +440 | address oldOrigin = tx.origin; + | ^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:441:9: + | +441 | Victim victim = new Victim(); + | ^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:454:9: + | +454 | address oldOrigin = tx.origin; + | ^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:676:9: + | +676 | address oldSender = msg.sender; + | ^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:677:9: + | +677 | address oldOrigin = tx.origin; + | ^^^^^^^^^^^^^^^^^ + +Warning (2018): Function state mutability can be restricted to view + [FILE]:124:5: + | +124 | function assertCorrectCaller(address expectedSender) public { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to view + [FILE]:129:5: + | +129 | function assertCorrectOrigin(address expectedOrigin) public { + | ^ (Relevant source part starts here and spans across multiple lines). + +[COMPILING_FILES] with [RESOLC_VERSION] +[RESOLC_VERSION] [ELAPSED] +Compiler run successful with warnings: +Warning (9302): Return value of low-level calls not used. + [FILE]:247:9: + | +247 | address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", alice)); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:440:9: + | +440 | address oldOrigin = tx.origin; + | ^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:441:9: + | +441 | Victim victim = new Victim(); + | ^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:454:9: + | +454 | address oldOrigin = tx.origin; + | ^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:676:9: + | +676 | address oldSender = msg.sender; + | ^^^^^^^^^^^^^^^^^ + +Warning (2072): Unused local variable. + [FILE]:677:9: + | +677 | address oldOrigin = tx.origin; + | ^^^^^^^^^^^^^^^^^ + +Warning (2018): Function state mutability can be restricted to view + [FILE]:124:5: + | +124 | function assertCorrectCaller(address expectedSender) public { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning (2018): Function state mutability can be restricted to view + [FILE]:129:5: + | +129 | function assertCorrectOrigin(address expectedOrigin) public { + | ^ (Relevant source part starts here and spans across multiple lines). + +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. +Polkadot comes with native account abstraction support, and therefore the initiator of a +transaction might be different from the contract calling your code. It is highly recommended NOT +to rely on tx.origin, but use msg.sender instead. +[FILE] +Warning: Warning: Your code or one of its dependencies uses the 'extcodesize' instruction, which is +usually needed in the following cases: + 1. To detect whether an address belongs to a smart contract. + 2. To detect whether the deploy code execution has finished. +Polkadot comes with native account abstraction support (so smart contracts are just accounts +coverned by code), and you should avoid differentiating between contracts and non-contract +addresses. +[FILE] + +Ran 1 test for src/Balance.t.sol:Issue10528 +[PASS] testStartPrankOnContractCreation() ([GAS]) +Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED] + +Ran 1 test for src/Balance.t.sol:Issue9990 +[PASS] testDelegatePrank() ([GAS]) +Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED] + +Ran 19 tests for src/Balance.t.sol:PrankTest +[PASS] testPrank0AfterPrank1(address,address) (runs: 256, [AVG_GAS]) +[PASS] testPrank1AfterPrank0(address,address) (runs: 256, [AVG_GAS]) +[PASS] testPrankConstructorOrigin(address,address) (runs: 256, [AVG_GAS]) +[PASS] testPrankConstructorSender(address) (runs: 256, [AVG_GAS]) +[PASS] testPrankDelegateCallPrank2() ([GAS]) +[PASS] testPrankDelegateCallPrank3(address) (runs: 256, [AVG_GAS]) +[PASS] testPrankDelegateCallStartPrank2() ([GAS]) +[PASS] testPrankDelegateCallStartPrank3(address) (runs: 256, [AVG_GAS]) +[PASS] testPrankOrigin(address,address) (runs: 256, [AVG_GAS]) +[PASS] testPrankSender(address) (runs: 256, [AVG_GAS]) +[PASS] testPrankStartStop(address,address) (runs: 256, [AVG_GAS]) +[PASS] testRevertIfOverwriteUnusedPrank(address,address) (runs: 256, [AVG_GAS]) +[PASS] testRevertIfOverwriteUnusedPrankAfterSuccessfulPrank(address,address) (runs: 256, [AVG_GAS]) +[PASS] testRevertIfPrankDelegateCalltoEOA() ([GAS]) +[PASS] testStartPrank0AfterPrank1(address,address) (runs: 256, [AVG_GAS]) +[PASS] testStartPrank0AfterStartPrank1(address,address) (runs: 256, [AVG_GAS]) +[PASS] testStartPrank1AfterStartPrank0(address,address) (runs: 256, [AVG_GAS]) +[PASS] testTxOriginInNestedPrank(address,address) (runs: 256, [AVG_GAS]) +[PASS] testxxxxPrankStartStopConstructor(address,address) (runs: 256, [AVG_GAS]) +Suite result: ok. 19 passed; 0 failed; 0 skipped; [ELAPSED] + +Ran 3 test suites [ELAPSED]: 21 tests passed, 0 failed, 0 skipped (21 total tests) + +"#]]); +}); From ad700fb2ebdf06ef710d16628259cb757e6c04f6 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Fri, 3 Oct 2025 15:58:06 +0300 Subject: [PATCH 03/52] mocked functions working something Signed-off-by: Alexandru Gheorghe --- Cargo.lock | 327 +----------------- crates/anvil-polkadot/Cargo.toml | 2 +- .../substrate-runtime/Cargo.toml | 4 +- crates/cheatcodes/src/evm/mock.rs | 1 + crates/cheatcodes/src/inspector.rs | 4 + crates/cheatcodes/src/strategy.rs | 4 + crates/evm/evm/src/inspectors/stack.rs | 5 +- crates/revive-env/Cargo.toml | 2 +- crates/revive-strategy/Cargo.toml | 2 +- crates/revive-strategy/src/cheatcodes/mod.rs | 47 ++- prank_test/test/MockFunction.t.sol | 75 ++++ 11 files changed, 155 insertions(+), 318 deletions(-) create mode 100644 prank_test/test/MockFunction.t.sol diff --git a/Cargo.lock b/Cargo.lock index 4ec7a8297e5bf..77f59e1fcc73a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1971,7 +1971,6 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -2001,7 +2000,6 @@ dependencies = [ [[package]] name = "assets-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "ethereum-standards", @@ -2823,7 +2821,6 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "hash-db", "log", @@ -3142,7 +3139,6 @@ checksum = "26c4925bc979b677330a8c7fe7a8c94af2dbb4a2d37b4a20a80d884400f46baa" [[package]] name = "bp-header-chain" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-runtime", "finality-grandpa", @@ -3159,7 +3155,6 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-runtime", @@ -3175,7 +3170,6 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -3192,7 +3186,6 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-messages", "bp-runtime", @@ -3209,7 +3202,6 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-messages", @@ -3227,7 +3219,6 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -3250,7 +3241,6 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-parachains", @@ -3270,7 +3260,6 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-messages", "bp-runtime", @@ -3287,7 +3276,6 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -3299,7 +3287,6 @@ dependencies = [ [[package]] name = "bridge-hub-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3318,7 +3305,6 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -3360,7 +3346,6 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-messages", @@ -4671,7 +4656,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4688,7 +4672,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -4705,7 +4688,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -4742,7 +4724,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -4753,7 +4734,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -4766,7 +4746,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-solo-to-para" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4781,7 +4760,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -4800,7 +4778,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4815,7 +4792,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "approx", "bounded-collections 0.3.2", @@ -4841,7 +4817,6 @@ dependencies = [ [[package]] name = "cumulus-ping" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -4856,7 +4831,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-api", "sp-consensus-aura", @@ -4865,7 +4839,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -4882,7 +4855,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -4896,7 +4868,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -4906,7 +4877,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -4923,7 +4893,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -4933,7 +4902,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4950,7 +4918,6 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -5937,7 +5904,6 @@ dependencies = [ [[package]] name = "ethereum-standards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "alloy-core", ] @@ -6502,7 +6468,6 @@ dependencies = [ [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", ] @@ -7209,7 +7174,6 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-support-procedural", @@ -7233,7 +7197,6 @@ dependencies = [ [[package]] name = "frame-benchmarking-pallet-pov" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -7261,7 +7224,6 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7272,7 +7234,6 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -7289,7 +7250,6 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "aquamarine", "frame-support", @@ -7319,7 +7279,6 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "const-hex", @@ -7335,7 +7294,6 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "aquamarine", "array-bytes", @@ -7376,7 +7334,6 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "Inflector", "cfg-expr", @@ -7389,14 +7346,13 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "syn 2.0.104", ] [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -7408,7 +7364,6 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro2", "quote", @@ -7418,7 +7373,6 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cfg-if", "docify", @@ -7437,7 +7391,6 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -7451,7 +7404,6 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "parity-scale-codec", @@ -7461,7 +7413,6 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "parity-scale-codec", @@ -11435,7 +11386,6 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11446,7 +11396,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-io", "sp-runtime", ] @@ -11454,7 +11404,6 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11472,7 +11421,6 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-ops" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11490,7 +11438,6 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11505,7 +11452,6 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11519,7 +11465,6 @@ dependencies = [ [[package]] name = "pallet-asset-rewards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11537,7 +11482,6 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11553,7 +11497,6 @@ dependencies = [ [[package]] name = "pallet-assets" version = "29.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "ethereum-standards", "frame-benchmarking", @@ -11571,7 +11514,6 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "pallet-assets", @@ -11583,7 +11525,6 @@ dependencies = [ [[package]] name = "pallet-assets-holder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11598,7 +11539,6 @@ dependencies = [ [[package]] name = "pallet-atomic-swap" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11608,7 +11548,6 @@ dependencies = [ [[package]] name = "pallet-aura" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -11624,7 +11563,6 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -11639,7 +11577,6 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -11652,7 +11589,6 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11675,7 +11611,6 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "aquamarine", "docify", @@ -11696,7 +11631,6 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -11712,7 +11646,6 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -11731,7 +11664,6 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -11756,7 +11688,6 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11773,7 +11704,6 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-runtime", @@ -11792,7 +11722,6 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-messages", @@ -11811,7 +11740,6 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-parachains", @@ -11831,7 +11759,6 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-header-chain", "bp-messages", @@ -11854,7 +11781,6 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitvec", "frame-benchmarking", @@ -11872,7 +11798,6 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11890,7 +11815,6 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11909,7 +11833,6 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -11926,7 +11849,6 @@ dependencies = [ [[package]] name = "pallet-collective-content" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -11940,7 +11862,6 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "frame-benchmarking", @@ -11970,7 +11891,6 @@ dependencies = [ [[package]] name = "pallet-contracts-mock-network" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12001,7 +11921,6 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro2", "quote", @@ -12011,7 +11930,6 @@ dependencies = [ [[package]] name = "pallet-contracts-uapi" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -12022,7 +11940,6 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "assert_matches", "frame-benchmarking", @@ -12038,7 +11955,6 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12056,7 +11972,6 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12071,7 +11986,6 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12088,7 +12002,6 @@ dependencies = [ [[package]] name = "pallet-derivatives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12108,7 +12021,6 @@ dependencies = [ [[package]] name = "pallet-dev-mode" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12123,7 +12035,6 @@ dependencies = [ [[package]] name = "pallet-dummy-dim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12141,7 +12052,6 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-block" version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12162,7 +12072,6 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12183,7 +12092,6 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12196,7 +12104,6 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12214,7 +12121,6 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12232,7 +12138,6 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -12250,7 +12155,6 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12272,7 +12176,6 @@ dependencies = [ [[package]] name = "pallet-identity" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12288,7 +12191,6 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12307,7 +12209,6 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12322,7 +12223,6 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12333,7 +12233,6 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12346,7 +12245,6 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12362,7 +12260,6 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "frame-benchmarking", @@ -12381,7 +12278,6 @@ dependencies = [ [[package]] name = "pallet-meta-tx" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12399,7 +12295,6 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12418,7 +12313,6 @@ dependencies = [ [[package]] name = "pallet-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -12432,7 +12326,6 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -12444,7 +12337,6 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -12455,7 +12347,6 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "pallet-assets", @@ -12468,7 +12359,6 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12485,7 +12375,6 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -12494,7 +12383,6 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12504,7 +12392,6 @@ dependencies = [ [[package]] name = "pallet-node-authorization" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -12515,7 +12402,6 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12533,7 +12419,6 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12553,7 +12438,6 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -12563,7 +12447,6 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12578,7 +12461,6 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12601,7 +12483,6 @@ dependencies = [ [[package]] name = "pallet-oracle" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12619,7 +12500,6 @@ dependencies = [ [[package]] name = "pallet-oracle-runtime-api" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -12630,7 +12510,6 @@ dependencies = [ [[package]] name = "pallet-origin-restriction" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12648,7 +12527,6 @@ dependencies = [ [[package]] name = "pallet-paged-list" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "parity-scale-codec", @@ -12660,7 +12538,6 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12677,7 +12554,6 @@ dependencies = [ [[package]] name = "pallet-people" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12695,7 +12571,6 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12711,7 +12586,6 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12721,7 +12595,6 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12739,7 +12612,6 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12749,7 +12621,6 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12766,7 +12637,6 @@ dependencies = [ [[package]] name = "pallet-remark" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -12782,7 +12652,6 @@ dependencies = [ [[package]] name = "pallet-revive" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "alloy-core", "derive_more 0.99.20", @@ -12828,7 +12697,6 @@ dependencies = [ [[package]] name = "pallet-revive-eth-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "anyhow", "clap", @@ -12847,7 +12715,7 @@ dependencies = [ "serde_json", "sp-arithmetic", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-rpc", "sp-runtime", "sp-weights", @@ -12862,7 +12730,6 @@ dependencies = [ [[package]] name = "pallet-revive-fixtures" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "alloy-core", "anyhow", @@ -12879,7 +12746,6 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro2", "quote", @@ -12889,7 +12755,6 @@ dependencies = [ [[package]] name = "pallet-revive-uapi" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "alloy-core", "bitflags 1.3.2", @@ -12904,7 +12769,6 @@ dependencies = [ [[package]] name = "pallet-root-offences" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12920,7 +12784,6 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12933,7 +12796,6 @@ dependencies = [ [[package]] name = "pallet-safe-mode" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "pallet-balances", @@ -12947,7 +12809,6 @@ dependencies = [ [[package]] name = "pallet-salary" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "pallet-ranked-collective", @@ -12959,7 +12820,6 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -12976,7 +12836,6 @@ dependencies = [ [[package]] name = "pallet-scored-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -12989,7 +12848,6 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -13011,7 +12869,6 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13027,7 +12884,6 @@ dependencies = [ [[package]] name = "pallet-skip-feeless-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -13039,7 +12895,6 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13056,7 +12911,6 @@ dependencies = [ [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -13077,7 +12931,6 @@ dependencies = [ [[package]] name = "pallet-staking-async" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -13101,7 +12954,6 @@ dependencies = [ [[package]] name = "pallet-staking-async-ah-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13121,7 +12973,6 @@ dependencies = [ [[package]] name = "pallet-staking-async-rc-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -13138,7 +12989,6 @@ dependencies = [ [[package]] name = "pallet-staking-async-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "sp-arithmetic", @@ -13147,7 +12997,6 @@ dependencies = [ [[package]] name = "pallet-staking-async-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -13157,7 +13006,6 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "sp-arithmetic", @@ -13166,7 +13014,6 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -13176,7 +13023,6 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13192,7 +13038,6 @@ dependencies = [ [[package]] name = "pallet-statement" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", @@ -13209,7 +13054,6 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -13224,7 +13068,6 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -13242,7 +13085,6 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13260,7 +13102,6 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13276,7 +13117,6 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -13288,7 +13128,6 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13307,7 +13146,6 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -13326,7 +13164,6 @@ dependencies = [ [[package]] name = "pallet-tx-pause" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "parity-scale-codec", @@ -13337,7 +13174,6 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13351,7 +13187,6 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13366,7 +13201,6 @@ dependencies = [ [[package]] name = "pallet-verify-signature" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13381,7 +13215,6 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13395,7 +13228,6 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -13405,7 +13237,6 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bounded-collections 0.3.2", "frame-benchmarking", @@ -13430,7 +13261,6 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-benchmarking", "frame-support", @@ -13447,7 +13277,6 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-messages", "bp-runtime", @@ -13469,7 +13298,6 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -13489,7 +13317,6 @@ dependencies = [ [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -13520,7 +13347,6 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -13988,7 +13814,6 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -13999,7 +13824,6 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -14016,7 +13840,6 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitvec", "bounded-collections 0.3.2", @@ -14045,7 +13868,6 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitvec", "frame-benchmarking", @@ -14094,7 +13916,6 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bs58", "frame-benchmarking", @@ -14106,7 +13927,6 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -14153,7 +13973,6 @@ dependencies = [ [[package]] name = "polkadot-sdk" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "asset-test-utils", "assets-common", @@ -14371,7 +14190,7 @@ dependencies = [ "sp-core-hashing", "sp-core-hashing-proc-macro", "sp-crypto-ec-utils", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-crypto-hashing-proc-macro", "sp-database", "sp-debug-derive", @@ -14422,7 +14241,6 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-benchmarking", @@ -15968,7 +15786,6 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "polkadot-primitives", @@ -16422,7 +16239,6 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "sp-core", @@ -16433,7 +16249,6 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "futures", "log", @@ -16455,7 +16270,6 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -16470,7 +16284,6 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "docify", @@ -16485,7 +16298,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -16496,7 +16309,6 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -16507,7 +16319,6 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "chrono", @@ -16549,7 +16360,6 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "fnv", "futures", @@ -16575,7 +16385,6 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "hash-db", "kvdb", @@ -16603,7 +16412,6 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -16626,7 +16434,6 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "fork-tree", @@ -16657,7 +16464,6 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "fork-tree", @@ -16682,7 +16488,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-inherents", "sp-keystore", "sp-runtime", @@ -16694,7 +16500,6 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "fork-tree", "parity-scale-codec", @@ -16707,7 +16512,6 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "assert_matches", "async-trait", @@ -16742,7 +16546,6 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -16765,7 +16568,6 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -16788,7 +16590,6 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "polkavm 0.26.0", "sc-allocator", @@ -16801,7 +16602,6 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "polkavm 0.26.0", @@ -16812,7 +16612,6 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "anyhow", "log", @@ -16828,7 +16627,6 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "console", "futures", @@ -16844,7 +16642,6 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "parking_lot 0.12.4", @@ -16858,7 +16655,6 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -16886,7 +16682,6 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16936,7 +16731,6 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -16946,7 +16740,6 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16967,7 +16760,6 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -17002,7 +16794,6 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "futures", @@ -17021,7 +16812,6 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bs58", "bytes", @@ -17042,7 +16832,6 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -17051,7 +16840,6 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "futures", "jsonrpsee", @@ -17083,7 +16871,6 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -17103,7 +16890,6 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -17127,7 +16913,6 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "futures", @@ -17160,7 +16945,6 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "directories", @@ -17224,7 +17008,6 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -17235,7 +17018,6 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "derive_more 0.99.20", "futures", @@ -17248,14 +17030,13 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-io", ] [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "chrono", "futures", @@ -17274,7 +17055,6 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "chrono", "console", @@ -17302,7 +17082,6 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -17313,7 +17092,6 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -17330,7 +17108,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-runtime", "sp-tracing", "sp-transaction-pool", @@ -17344,7 +17122,6 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -17361,7 +17138,6 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-channel 1.9.0", "futures", @@ -18266,7 +18042,6 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "enumn", "parity-scale-codec", @@ -18448,7 +18223,6 @@ dependencies = [ [[package]] name = "snowbridge-core" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bp-relayers", "frame-support", @@ -18683,7 +18457,6 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "hash-db", @@ -18705,7 +18478,6 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "Inflector", "blake2 0.10.6", @@ -18719,7 +18491,6 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -18731,7 +18502,6 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "integer-sqrt", @@ -18745,7 +18515,6 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -18757,7 +18526,6 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-api", "sp-inherents", @@ -18767,7 +18535,6 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "futures", "parity-scale-codec", @@ -18786,7 +18553,6 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "futures", @@ -18800,7 +18566,6 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "parity-scale-codec", @@ -18816,7 +18581,6 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "parity-scale-codec", @@ -18834,7 +18598,6 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -18842,7 +18605,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-io", "sp-keystore", "sp-mmr-primitives", @@ -18854,7 +18617,6 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "finality-grandpa", "log", @@ -18871,7 +18633,6 @@ dependencies = [ [[package]] name = "sp-consensus-pow" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "sp-api", @@ -18882,7 +18643,6 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -18893,7 +18653,6 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "ark-vrf", "array-bytes", @@ -18924,7 +18683,7 @@ dependencies = [ "secrecy 0.8.0", "serde", "sha2 0.10.9", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-debug-derive", "sp-externalities", "sp-std", @@ -18940,15 +18699,13 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", ] [[package]] name = "sp-core-hashing-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-crypto-hashing-proc-macro", ] @@ -18956,7 +18713,6 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -18976,8 +18732,6 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" dependencies = [ "blake2b_simd", "byteorder", @@ -18990,7 +18744,8 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" dependencies = [ "blake2b_simd", "byteorder", @@ -19003,17 +18758,15 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "syn 2.0.104", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "kvdb", "parking_lot 0.12.4", @@ -19022,7 +18775,6 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "proc-macro2", "quote", @@ -19032,7 +18784,6 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "parity-scale-codec", @@ -19042,7 +18793,6 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -19054,7 +18804,6 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -19067,7 +18816,6 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bytes", "docify", @@ -19079,7 +18827,7 @@ dependencies = [ "rustversion", "secp256k1 0.28.2", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -19093,7 +18841,6 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-core", "sp-runtime", @@ -19103,7 +18850,6 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -19114,7 +18860,6 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -19123,7 +18868,6 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -19133,7 +18877,6 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -19144,7 +18887,6 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "log", "parity-scale-codec", @@ -19161,7 +18903,6 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -19174,7 +18915,6 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-api", "sp-core", @@ -19184,7 +18924,6 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "backtrace", "regex", @@ -19193,7 +18932,6 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -19203,7 +18941,6 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "binary-merkle-tree", "docify", @@ -19232,7 +18969,6 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -19250,7 +18986,6 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "Inflector", "expander", @@ -19263,7 +18998,6 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "scale-info", @@ -19277,7 +19011,6 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -19290,7 +19023,6 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "hash-db", "log", @@ -19310,7 +19042,6 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -19323,7 +19054,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0", "sp-externalities", "sp-runtime", "sp-runtime-interface", @@ -19334,12 +19065,10 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19351,7 +19080,6 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "parity-scale-codec", @@ -19363,7 +19091,6 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "regex", @@ -19375,7 +19102,6 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "sp-api", "sp-runtime", @@ -19384,7 +19110,6 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "parity-scale-codec", @@ -19398,7 +19123,6 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "ahash", "foldhash 0.1.5", @@ -19423,7 +19147,6 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19440,7 +19163,6 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -19452,7 +19174,6 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -19464,7 +19185,6 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "bounded-collections 0.3.2", "parity-scale-codec", @@ -19744,7 +19464,6 @@ dependencies = [ [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -19757,7 +19476,6 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -19778,7 +19496,6 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "frame-support", @@ -19802,7 +19519,6 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "environmental", "frame-benchmarking", @@ -19986,7 +19702,6 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -20011,7 +19726,6 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-support" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "jsonrpsee", @@ -20025,7 +19739,6 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -20045,7 +19758,6 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -20059,7 +19771,6 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "async-trait", "jsonrpsee", @@ -20083,7 +19794,6 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "build-helper", "cargo_metadata 0.15.4", @@ -20622,7 +20332,6 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "testnet-parachains-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -22495,7 +22204,6 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "polkadot-primitives", @@ -23176,7 +22884,6 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "Inflector", "proc-macro2", @@ -23187,7 +22894,6 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "parity-scale-codec", @@ -23201,7 +22907,6 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#08574bd1e8a693647c3dcfeec44666219187d148" dependencies = [ "frame-support", "frame-system", diff --git a/crates/anvil-polkadot/Cargo.toml b/crates/anvil-polkadot/Cargo.toml index bafcfd29eef57..d10416257b9c9 100644 --- a/crates/anvil-polkadot/Cargo.toml +++ b/crates/anvil-polkadot/Cargo.toml @@ -20,7 +20,7 @@ path = "bin/main.rs" [dependencies] # foundry internal substrate-runtime = { path = "substrate-runtime" } -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [ +polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", default-features = false, features = [ "sc-allocator", "sc-basic-authorship", "sc-block-builder", diff --git a/crates/anvil-polkadot/substrate-runtime/Cargo.toml b/crates/anvil-polkadot/substrate-runtime/Cargo.toml index 133160c7a2896..62a2ebb2416ac 100644 --- a/crates/anvil-polkadot/substrate-runtime/Cargo.toml +++ b/crates/anvil-polkadot/substrate-runtime/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true [dependencies] array-bytes = { version = "6.2.2", default-features = false } codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [ +polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", default-features = false, features = [ "pallet-balances", "pallet-revive", "pallet-sudo", @@ -27,7 +27,7 @@ scale-info = { version = "2.11.6", default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } [build-dependencies] -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, optional = true, features = ["substrate-wasm-builder"] } +polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", default-features = false, optional = true, features = ["substrate-wasm-builder"] } [features] default = ["std"] diff --git a/crates/cheatcodes/src/evm/mock.rs b/crates/cheatcodes/src/evm/mock.rs index e526e094a17c9..838a76bada5b9 100644 --- a/crates/cheatcodes/src/evm/mock.rs +++ b/crates/cheatcodes/src/evm/mock.rs @@ -199,6 +199,7 @@ fn mock_calls( rdata_vec: &[Bytes], ret_type: InstructionResult, ) { + println!("==================== {:?} ====================", cdata); state.mocked_calls.entry(*callee).or_default().insert( MockCallDataContext { calldata: Bytes::copy_from_slice(cdata), value: value.copied() }, rdata_vec diff --git a/crates/cheatcodes/src/inspector.rs b/crates/cheatcodes/src/inspector.rs index 8ae38cf201e0f..df706da43e7a9 100644 --- a/crates/cheatcodes/src/inspector.rs +++ b/crates/cheatcodes/src/inspector.rs @@ -926,6 +926,10 @@ impl Cheatcodes { } } + pub fn is_pvm_enabled(&mut self) -> bool { + self.strategy.runner.is_pvm_enabled(self) + } + pub fn call_with_executor( &mut self, ecx: Ecx, diff --git a/crates/cheatcodes/src/strategy.rs b/crates/cheatcodes/src/strategy.rs index 1d977909a6d79..3fc4895b235d9 100644 --- a/crates/cheatcodes/src/strategy.rs +++ b/crates/cheatcodes/src/strategy.rs @@ -238,6 +238,10 @@ impl Clone for CheatcodeInspectorStrategy { /// Defined in revive-strategy pub trait CheatcodeInspectorStrategyExt { + fn is_pvm_enabled(&self, _state: &mut crate::Cheatcodes) -> bool { + false + } + fn revive_try_create( &self, _state: &mut crate::Cheatcodes, diff --git a/crates/evm/evm/src/inspectors/stack.rs b/crates/evm/evm/src/inspectors/stack.rs index af3caedf2c12c..195a94a075aa5 100644 --- a/crates/evm/evm/src/inspectors/stack.rs +++ b/crates/evm/evm/src/inspectors/stack.rs @@ -913,8 +913,11 @@ impl Inspector> for InspectorStackRefMut<'_> ); if let Some(cheatcodes) = self.cheatcodes.as_deref_mut() { + let is_pvm_enabled = cheatcodes.is_pvm_enabled(); // Handle mocked functions, replace bytecode address with mock if matched. - if let Some(mocks) = cheatcodes.mocked_functions.get(&call.target_address) { + if let Some(mocks) = cheatcodes.mocked_functions.get(&call.target_address) + && !is_pvm_enabled + { // Check if any mock function set for call data or if catch-all mock function set // for selector. if let Some(target) = mocks.get(&call.input.bytes(ecx)).or_else(|| { diff --git a/crates/revive-env/Cargo.toml b/crates/revive-env/Cargo.toml index 938d3ac44bef2..fa36cc537c558 100644 --- a/crates/revive-env/Cargo.toml +++ b/crates/revive-env/Cargo.toml @@ -16,7 +16,7 @@ std = ["polkadot-sdk/std"] codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", features = [ +polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", features = [ "experimental", "runtime", "polkadot-runtime-common", diff --git a/crates/revive-strategy/Cargo.toml b/crates/revive-strategy/Cargo.toml index 48e68732b95ba..61fa1636d7a56 100644 --- a/crates/revive-strategy/Cargo.toml +++ b/crates/revive-strategy/Cargo.toml @@ -36,7 +36,7 @@ semver.workspace = true codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", features = [ +polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", features = [ "experimental", "runtime", "polkadot-runtime-common", diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 53e594e3f217e..3019d4f734da4 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -22,7 +22,7 @@ use polkadot_sdk::{ pallet_balances, pallet_revive::{ self, AddressMapper, BalanceOf, BalanceWithDust, BumpNonce, Code, Config, DepositLimit, - InjectExecEnv, Pallet, evm::GasEncoder, + InjectExecEnv, MockCallDataContext, MockCallReturnData, Pallet, evm::GasEncoder, }, polkadot_sdk_frame::prelude::OriginFor, sp_core::{self, H160}, @@ -434,7 +434,46 @@ fn create_inject_exec_env( caller: pranked_caller, delegated_caller, first_call_only: true, + mocked_calls: state + .mocked_calls + .iter() + .map(|(addr, keys)| { + ( + H160::from_slice(addr.as_slice()), + keys.iter() + .map(|(k, v)| { + ( + MockCallDataContext { + calldata: k.calldata.as_ref().to_vec().into(), + value: k.value.map(|value| { + sp_core::U256::from_little_endian(value.as_le_slice()) + }), + }, + v.iter() + .map(|ret| MockCallReturnData { + ret_type: ret.ret_type, + data: ret.data.as_ref().to_vec().into(), + }) + .collect(), + ) + }) + .collect(), + ) + }) + .collect(), callee: callee.map(|addr| H160::from_slice(addr.as_slice())).unwrap_or_default(), + mocked_functions: state + .mocked_functions + .iter() + .map(|(addr, keys)| { + ( + H160::from_slice(addr.as_slice()), + keys.iter() + .map(|(k, v)| (k.to_vec().into(), H160::from_slice(v.as_slice()))) + .collect(), + ) + }) + .collect(), }; if let Some(prank) = &state.get_prank(curr_depth) { @@ -462,6 +501,12 @@ fn fund_pranked_accounts(prank_enabled: bool, account: Address) { } impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspectorStrategyRunner { + fn is_pvm_enabled(&self, state: &mut foundry_cheatcodes::Cheatcodes) -> bool { + let ctx = get_context_ref_mut(state.strategy.context.as_mut()); + + ctx.using_pvm + } + /// Try handling the `CREATE` within PVM. /// /// If `Some` is returned then the result must be returned immediately, else the call must be diff --git a/prank_test/test/MockFunction.t.sol b/prank_test/test/MockFunction.t.sol new file mode 100644 index 0000000000000..0093a5e1ea9f9 --- /dev/null +++ b/prank_test/test/MockFunction.t.sol @@ -0,0 +1,75 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +pragma solidity ^0.8.18; + +import {Vm, console} from "forge-std/Test.sol"; +import "ds-test/test.sol"; + +contract MockFunctionContract { + uint256 public a; + + function mocked_function() public { + a = 321; + } + + function mocked_args_function(uint256 x) public { + a = 321 + x; + } +} + +contract ModelMockFunctionContract { + uint256 public a; + + function mocked_function() public { + a = 123; + } + + function mocked_args_function(uint256 x) public { + a = 123 + x; + } +} + +contract MockFunctionTest is DSTest { + MockFunctionContract my_contract; + ModelMockFunctionContract model_contract; + Vm vm = Vm(HEVM_ADDRESS); + + function setUp() public { + vm.pvm(true); + my_contract = new MockFunctionContract(); + model_contract = new ModelMockFunctionContract(); + } + + function test_mockx_function() public { + vm.mockFunction( + address(my_contract), + address(model_contract), + abi.encodeWithSelector(MockFunctionContract.mocked_function.selector) + ); + my_contract.mocked_function(); + assertEq(my_contract.a(), 123); + } + + function test_mock_function_concrete_args() public { + vm.mockFunction( + address(my_contract), + address(model_contract), + abi.encodeWithSelector(MockFunctionContract.mocked_args_function.selector, 456) + ); + my_contract.mocked_args_function(456); + assertEq(my_contract.a(), 123 + 456); + my_contract.mocked_args_function(567); + assertEq(my_contract.a(), 321 + 567); + } + + function test_mock_function_all_args() public { + vm.mockFunction( + address(my_contract), + address(model_contract), + abi.encodeWithSelector(MockFunctionContract.mocked_args_function.selector) + ); + my_contract.mocked_args_function(678); + assertEq(my_contract.a(), 123 + 678); + my_contract.mocked_args_function(789); + assertEq(my_contract.a(), 123 + 789); + } +} From 08e63fda8950eb3dd1d47d85e33e4b45ee97b633 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Tue, 7 Oct 2025 15:58:18 +0300 Subject: [PATCH 04/52] add support for mocks Signed-off-by: Alexandru Gheorghe --- Cargo.lock | 1011 ++++++----------- crates/anvil-polkadot/Cargo.toml | 3 +- .../substrate-runtime/Cargo.toml | 4 +- crates/cheatcodes/src/evm.rs | 2 +- crates/cheatcodes/src/evm/mock.rs | 1 - crates/cheatcodes/src/inspector.rs | 74 +- crates/cheatcodes/src/lib.rs | 1 + crates/evm/evm/src/inspectors/stack.rs | 8 + crates/forge/tests/cli/revive_vm.rs | 10 +- crates/revive-env/Cargo.toml | 2 +- crates/revive-env/src/runtime.rs | 1 + crates/revive-strategy/Cargo.toml | 3 +- .../src/cheatcodes/mock_handler.rs | 222 ++++ crates/revive-strategy/src/cheatcodes/mod.rs | 193 +--- 14 files changed, 682 insertions(+), 853 deletions(-) create mode 100644 crates/revive-strategy/src/cheatcodes/mock_handler.rs diff --git a/Cargo.lock b/Cargo.lock index 77f59e1fcc73a..e06049b8aecc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1971,6 +1971,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-test-utils" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -2000,6 +2001,7 @@ dependencies = [ [[package]] name = "assets-common" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "ethereum-standards", @@ -2245,15 +2247,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "atoi" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528" -dependencies = [ - "num-traits", -] - [[package]] name = "atomic" version = "0.6.1" @@ -2371,7 +2364,7 @@ version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbfd150b5dbdb988bcc8fb1fe787eb6b7ee6180ca24da683b61ea5405f3d43ff" dependencies = [ - "bindgen 0.69.5", + "bindgen", "cc", "cmake", "dunce", @@ -2821,6 +2814,7 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "hash-db", "log", @@ -2850,24 +2844,6 @@ dependencies = [ "which 4.4.2", ] -[[package]] -name = "bindgen" -version = "0.72.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" -dependencies = [ - "bitflags 2.9.1", - "cexpr", - "clang-sys", - "itertools 0.13.0", - "proc-macro2", - "quote", - "regex", - "rustc-hash 2.1.1", - "shlex", - "syn 2.0.104", -] - [[package]] name = "bip32" version = "0.5.3" @@ -2892,6 +2868,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43d193de1f7487df1914d3a568b772458861d33f9c54249612cc2893d6915054" dependencies = [ "bitcoin_hashes 0.13.0", + "rand 0.8.5", + "rand_core 0.6.4", "serde", "unicode-normalization", ] @@ -3139,6 +3117,7 @@ checksum = "26c4925bc979b677330a8c7fe7a8c94af2dbb4a2d37b4a20a80d884400f46baa" [[package]] name = "bp-header-chain" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-runtime", "finality-grandpa", @@ -3155,6 +3134,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-header-chain", "bp-runtime", @@ -3170,6 +3150,7 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -3186,6 +3167,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-messages", "bp-runtime", @@ -3202,6 +3184,7 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-header-chain", "bp-messages", @@ -3219,6 +3202,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -3241,6 +3225,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-header-chain", "bp-parachains", @@ -3260,6 +3245,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-messages", "bp-runtime", @@ -3276,6 +3262,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -3287,6 +3274,7 @@ dependencies = [ [[package]] name = "bridge-hub-common" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3305,6 +3293,7 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -3346,6 +3335,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-header-chain", "bp-messages", @@ -3455,16 +3445,6 @@ dependencies = [ "either", ] -[[package]] -name = "bzip2-sys" -version = "0.1.13+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14" -dependencies = [ - "cc", - "pkg-config", -] - [[package]] name = "c-kzg" version = "2.1.1" @@ -4656,6 +4636,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4672,6 +4653,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -4688,6 +4670,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -4724,6 +4707,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -4734,6 +4718,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4746,6 +4731,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-solo-to-para" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4760,6 +4746,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -4778,6 +4765,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4792,6 +4780,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.1" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "approx", "bounded-collections 0.3.2", @@ -4817,6 +4806,7 @@ dependencies = [ [[package]] name = "cumulus-ping" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -4831,6 +4821,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "sp-api", "sp-consensus-aura", @@ -4839,6 +4830,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -4855,6 +4847,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -4868,6 +4861,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -4877,6 +4871,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -4893,6 +4888,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -4902,6 +4898,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4918,6 +4915,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -5853,17 +5851,6 @@ version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dea2df4cf52843e0452895c455a1a2cfbb842a1e7329671acf418fdc53ed4c59" -[[package]] -name = "etcetera" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943" -dependencies = [ - "cfg-if", - "home", - "windows-sys 0.48.0", -] - [[package]] name = "eth-keystore" version = "0.5.0" @@ -5904,6 +5891,7 @@ dependencies = [ [[package]] name = "ethereum-standards" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "alloy-core", ] @@ -6142,16 +6130,6 @@ dependencies = [ "scale-info", ] -[[package]] -name = "finito" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2384245d85162258a14b43567a9ee3598f5ae746a1581fb5d3d2cb780f0dbf95" -dependencies = [ - "futures-timer", - "pin-project 1.1.10", -] - [[package]] name = "fixed-hash" version = "0.8.0" @@ -6181,17 +6159,6 @@ dependencies = [ "miniz_oxide", ] -[[package]] -name = "flume" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095" -dependencies = [ - "futures-core", - "futures-sink", - "spin 0.9.8", -] - [[package]] name = "fnv" version = "1.0.7" @@ -6468,6 +6435,7 @@ dependencies = [ [[package]] name = "fork-tree" version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", ] @@ -7174,6 +7142,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-support-procedural", @@ -7197,6 +7166,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-pallet-pov" version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -7224,6 +7194,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7234,6 +7205,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -7250,6 +7222,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "aquamarine", "frame-support", @@ -7279,6 +7252,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "const-hex", @@ -7294,6 +7268,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "aquamarine", "array-bytes", @@ -7334,6 +7309,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "Inflector", "cfg-expr", @@ -7346,13 +7322,14 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "syn 2.0.104", ] [[package]] name = "frame-support-procedural-tools" version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -7364,6 +7341,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "proc-macro2", "quote", @@ -7373,6 +7351,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cfg-if", "docify", @@ -7391,6 +7370,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -7404,6 +7384,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "parity-scale-codec", @@ -7413,6 +7394,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "parity-scale-codec", @@ -7533,17 +7515,6 @@ dependencies = [ "num_cpus", ] -[[package]] -name = "futures-intrusive" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" -dependencies = [ - "futures-core", - "lock_api", - "parking_lot 0.12.4", -] - [[package]] name = "futures-io" version = "0.3.31" @@ -7602,10 +7573,6 @@ name = "futures-timer" version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" -dependencies = [ - "gloo-timers", - "send_wrapper 0.4.0", -] [[package]] name = "futures-util" @@ -7773,19 +7740,6 @@ dependencies = [ "stable_deref_trait", ] -[[package]] -name = "git2" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2deb07a133b1520dc1a5690e9bd08950108873d7ed5de38dcc74d3b5ebffa110" -dependencies = [ - "bitflags 2.9.1", - "libc", - "libgit2-sys", - "log", - "url", -] - [[package]] name = "glob" version = "0.3.2" @@ -7805,52 +7759,6 @@ dependencies = [ "regex-syntax", ] -[[package]] -name = "gloo-net" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06f627b1a58ca3d42b45d6104bf1e1a03799df472df00988b6ba21accc10580" -dependencies = [ - "futures-channel", - "futures-core", - "futures-sink", - "gloo-utils", - "http 1.3.1", - "js-sys", - "pin-project 1.1.10", - "serde", - "serde_json", - "thiserror 1.0.69", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - -[[package]] -name = "gloo-timers" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "gloo-utils" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b5555354113b18c547c1d3a98fbf7fb32a9ff4f6fa112ce823a21641a0ba3aa" -dependencies = [ - "js-sys", - "serde", - "serde_json", - "wasm-bindgen", - "web-sys", -] - [[package]] name = "gmp-mpfr-sys" version = "1.6.5" @@ -8017,15 +7925,6 @@ dependencies = [ "hashbrown 0.14.5", ] -[[package]] -name = "hashlink" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" -dependencies = [ - "hashbrown 0.15.4", -] - [[package]] name = "heck" version = "0.4.1" @@ -8390,7 +8289,6 @@ dependencies = [ "http 1.3.1", "hyper 1.6.0", "hyper-util", - "log", "rustls", "rustls-native-certs", "rustls-pki-types", @@ -9069,11 +8967,9 @@ checksum = "37b26c20e2178756451cfeb0661fb74c47dd5988cb7e3939de7e9241fd604d42" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", - "jsonrpsee-http-client", "jsonrpsee-proc-macros", "jsonrpsee-server", "jsonrpsee-types", - "jsonrpsee-wasm-client", "jsonrpsee-ws-client", "tokio", "tracing", @@ -9086,9 +8982,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bacb85abf4117092455e1573625e21b8f8ef4dec8aff13361140b2dc266cdff2" dependencies = [ "base64 0.22.1", - "futures-channel", "futures-util", - "gloo-net", "http 1.3.1", "jsonrpsee-core", "pin-project 1.1.10", @@ -9128,32 +9022,6 @@ dependencies = [ "tokio", "tokio-stream", "tracing", - "wasm-bindgen-futures", -] - -[[package]] -name = "jsonrpsee-http-client" -version = "0.24.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c872b6c9961a4ccc543e321bb5b89f6b2d2c7fe8b61906918273a3333c95400c" -dependencies = [ - "async-trait", - "base64 0.22.1", - "http-body 1.0.1", - "hyper 1.6.0", - "hyper-rustls", - "hyper-util", - "jsonrpsee-core", - "jsonrpsee-types", - "rustls", - "rustls-platform-verifier", - "serde", - "serde_json", - "thiserror 1.0.69", - "tokio", - "tower 0.4.13", - "tracing", - "url", ] [[package]] @@ -9208,17 +9076,6 @@ dependencies = [ "thiserror 1.0.69", ] -[[package]] -name = "jsonrpsee-wasm-client" -version = "0.24.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6558a9586cad43019dafd0b6311d0938f46efc116b34b28c74778bc11a2edf6" -dependencies = [ - "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-types", -] - [[package]] name = "jsonrpsee-ws-client" version = "0.24.9" @@ -9342,19 +9199,6 @@ dependencies = [ "parking_lot 0.12.4", ] -[[package]] -name = "kvdb-rocksdb" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8beb5ce840610e5a945f0306f6e7a2d5b3e68ea3e64e9a4f081fa4ee5aa6525" -dependencies = [ - "kvdb", - "num_cpus", - "parking_lot 0.12.4", - "regex", - "rocksdb", -] - [[package]] name = "lalrpop" version = "0.22.2" @@ -9429,18 +9273,6 @@ dependencies = [ "pkg-config", ] -[[package]] -name = "libgit2-sys" -version = "0.18.2+1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c42fe03df2bd3c53a3a9c7317ad91d80c81cd1fb0caec8d7cc4cd2bfa10c222" -dependencies = [ - "cc", - "libc", - "libz-sys", - "pkg-config", -] - [[package]] name = "libloading" version = "0.8.8" @@ -9902,20 +9734,6 @@ dependencies = [ "redox_syscall 0.5.13", ] -[[package]] -name = "librocksdb-sys" -version = "0.17.3+10.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cef2a00ee60fe526157c9023edab23943fae1ce2ab6f4abb2a807c1746835de9" -dependencies = [ - "bindgen 0.72.1", - "bzip2-sys", - "cc", - "libc", - "libz-sys", - "tikv-jemalloc-sys", -] - [[package]] name = "libsecp256k1" version = "0.7.2" @@ -9964,17 +9782,6 @@ dependencies = [ "libsecp256k1-core", ] -[[package]] -name = "libsqlite3-sys" -version = "0.30.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - [[package]] name = "libusb1-sys" version = "0.7.0" @@ -9996,18 +9803,6 @@ dependencies = [ "zlib-rs", ] -[[package]] -name = "libz-sys" -version = "1.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b70e7a7df205e92a1a4cd9aaae7898dac0aa555503cc0a649494d0d60e7651d" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - [[package]] name = "link-cplusplus" version = "1.0.12" @@ -10329,16 +10124,6 @@ dependencies = [ "rawpointer", ] -[[package]] -name = "md-5" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" -dependencies = [ - "cfg-if", - "digest 0.10.7", -] - [[package]] name = "mdbook" version = "0.4.52" @@ -10531,7 +10316,7 @@ dependencies = [ "c2-chacha", "curve25519-dalek", "either", - "hashlink 0.8.4", + "hashlink", "lioness", "log", "parking_lot 0.12.4", @@ -11001,23 +10786,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-bigint-dig" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" -dependencies = [ - "byteorder", - "lazy_static", - "libm", - "num-integer", - "num-iter", - "num-traits", - "rand 0.8.5", - "smallvec", - "zeroize", -] - [[package]] name = "num-complex" version = "0.4.6" @@ -11386,6 +11154,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11396,7 +11165,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-io", "sp-runtime", ] @@ -11404,6 +11173,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11421,6 +11191,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-ops" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11438,6 +11209,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11452,6 +11224,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11465,6 +11238,7 @@ dependencies = [ [[package]] name = "pallet-asset-rewards" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11482,6 +11256,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11497,14 +11272,13 @@ dependencies = [ [[package]] name = "pallet-assets" version = "29.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ - "ethereum-standards", "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", "log", - "pallet-revive", "parity-scale-codec", "scale-info", "sp-core", @@ -11514,6 +11288,7 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "pallet-assets", @@ -11525,6 +11300,7 @@ dependencies = [ [[package]] name = "pallet-assets-holder" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11536,9 +11312,21 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-assets-precompiles" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +dependencies = [ + "ethereum-standards", + "frame-support", + "pallet-assets", + "pallet-revive", +] + [[package]] name = "pallet-atomic-swap" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11548,6 +11336,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -11563,6 +11352,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -11577,6 +11367,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -11589,6 +11380,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11611,6 +11403,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "aquamarine", "docify", @@ -11631,6 +11424,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -11646,6 +11440,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -11664,6 +11459,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -11688,6 +11484,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11704,6 +11501,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-header-chain", "bp-runtime", @@ -11722,6 +11520,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-header-chain", "bp-messages", @@ -11740,6 +11539,7 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-header-chain", "bp-parachains", @@ -11759,6 +11559,7 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-header-chain", "bp-messages", @@ -11781,6 +11582,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bitvec", "frame-benchmarking", @@ -11798,6 +11600,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11815,6 +11618,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11833,6 +11637,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -11849,6 +11654,7 @@ dependencies = [ [[package]] name = "pallet-collective-content" version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11862,6 +11668,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "environmental", "frame-benchmarking", @@ -11891,6 +11698,7 @@ dependencies = [ [[package]] name = "pallet-contracts-mock-network" version = "3.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -11921,6 +11729,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "18.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "proc-macro2", "quote", @@ -11930,6 +11739,7 @@ dependencies = [ [[package]] name = "pallet-contracts-uapi" version = "5.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -11940,6 +11750,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -11955,6 +11766,7 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "12.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -11972,6 +11784,7 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -11986,6 +11799,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12002,6 +11816,7 @@ dependencies = [ [[package]] name = "pallet-derivatives" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12021,6 +11836,7 @@ dependencies = [ [[package]] name = "pallet-dev-mode" version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -12035,6 +11851,7 @@ dependencies = [ [[package]] name = "pallet-dummy-dim" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12052,6 +11869,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-block" version = "0.9.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12072,6 +11890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12092,6 +11911,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12104,6 +11924,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12121,6 +11942,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -12138,6 +11960,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -12155,6 +11978,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12176,6 +12000,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12191,6 +12016,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12209,6 +12035,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12223,6 +12050,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12233,6 +12061,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12245,6 +12074,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12260,6 +12090,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "environmental", "frame-benchmarking", @@ -12278,6 +12109,7 @@ dependencies = [ [[package]] name = "pallet-meta-tx" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -12295,6 +12127,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -12313,6 +12146,7 @@ dependencies = [ [[package]] name = "pallet-mixnet" version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "parity-scale-codec", @@ -12326,6 +12160,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "parity-scale-codec", @@ -12337,6 +12172,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "parity-scale-codec", @@ -12347,6 +12183,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "pallet-assets", @@ -12359,6 +12196,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "22.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12375,6 +12213,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "sp-api", @@ -12383,6 +12222,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12392,6 +12232,7 @@ dependencies = [ [[package]] name = "pallet-node-authorization" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "parity-scale-codec", @@ -12402,6 +12243,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -12419,6 +12261,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12438,6 +12281,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -12447,6 +12291,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -12461,6 +12306,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12483,6 +12329,7 @@ dependencies = [ [[package]] name = "pallet-oracle" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12500,6 +12347,7 @@ dependencies = [ [[package]] name = "pallet-oracle-runtime-api" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -12510,6 +12358,7 @@ dependencies = [ [[package]] name = "pallet-origin-restriction" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12527,6 +12376,7 @@ dependencies = [ [[package]] name = "pallet-paged-list" version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "parity-scale-codec", @@ -12538,6 +12388,7 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -12554,6 +12405,7 @@ dependencies = [ [[package]] name = "pallet-people" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12571,6 +12423,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12586,6 +12439,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12595,6 +12449,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12612,6 +12467,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12621,6 +12477,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12637,6 +12494,7 @@ dependencies = [ [[package]] name = "pallet-remark" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12652,6 +12510,7 @@ dependencies = [ [[package]] name = "pallet-revive" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "alloy-core", "derive_more 0.99.20", @@ -12674,8 +12533,8 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "paste", - "polkavm 0.27.0", - "polkavm-common 0.27.0", + "polkavm 0.29.1", + "polkavm-common 0.29.0", "rand 0.8.5", "revm", "ripemd", @@ -12694,49 +12553,17 @@ dependencies = [ "subxt-signer", ] -[[package]] -name = "pallet-revive-eth-rpc" -version = "0.1.0" -dependencies = [ - "anyhow", - "clap", - "futures", - "git2", - "hex", - "jsonrpsee", - "log", - "pallet-revive", - "parity-scale-codec", - "rlp 0.6.1", - "sc-cli", - "sc-rpc", - "sc-rpc-api", - "sc-service", - "serde_json", - "sp-arithmetic", - "sp-core", - "sp-crypto-hashing 0.1.0", - "sp-rpc", - "sp-runtime", - "sp-weights", - "sqlx", - "substrate-prometheus-endpoint", - "subxt", - "subxt-signer", - "thiserror 1.0.69", - "tokio", -] - [[package]] name = "pallet-revive-fixtures" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "alloy-core", "anyhow", "cargo_metadata 0.15.4", "hex", "pallet-revive-uapi", - "polkavm-linker 0.27.0", + "polkavm-linker 0.29.0", "serde_json", "sp-core", "sp-io", @@ -12746,6 +12573,7 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "proc-macro2", "quote", @@ -12755,6 +12583,7 @@ dependencies = [ [[package]] name = "pallet-revive-uapi" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "alloy-core", "bitflags 1.3.2", @@ -12762,13 +12591,14 @@ dependencies = [ "hex-literal", "pallet-revive-proc-macro", "parity-scale-codec", - "polkavm-derive 0.27.0", + "polkavm-derive 0.29.0", "scale-info", ] [[package]] name = "pallet-root-offences" version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -12784,6 +12614,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -12796,6 +12627,7 @@ dependencies = [ [[package]] name = "pallet-safe-mode" version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "pallet-balances", @@ -12809,6 +12641,7 @@ dependencies = [ [[package]] name = "pallet-salary" version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "pallet-ranked-collective", @@ -12820,6 +12653,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -12836,6 +12670,7 @@ dependencies = [ [[package]] name = "pallet-scored-pool" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -12848,6 +12683,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -12869,6 +12705,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12884,6 +12721,7 @@ dependencies = [ [[package]] name = "pallet-skip-feeless-payment" version = "3.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -12895,6 +12733,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12911,6 +12750,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12931,6 +12771,7 @@ dependencies = [ [[package]] name = "pallet-staking-async" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12954,6 +12795,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-ah-client" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -12973,6 +12815,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-rc-client" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -12989,6 +12832,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-reward-fn" version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "sp-arithmetic", @@ -12997,6 +12841,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-runtime-api" version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "sp-api", @@ -13006,6 +12851,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "sp-arithmetic", @@ -13014,6 +12860,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "sp-api", @@ -13023,6 +12870,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -13038,6 +12886,7 @@ dependencies = [ [[package]] name = "pallet-statement" version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", @@ -13054,6 +12903,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -13068,6 +12918,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -13085,6 +12936,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -13102,6 +12954,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -13117,6 +12970,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -13128,6 +12982,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -13146,6 +13001,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -13164,6 +13020,7 @@ dependencies = [ [[package]] name = "pallet-tx-pause" version = "9.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "parity-scale-codec", @@ -13174,6 +13031,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -13187,6 +13045,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -13201,6 +13060,7 @@ dependencies = [ [[package]] name = "pallet-verify-signature" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -13215,6 +13075,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -13228,6 +13089,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -13237,6 +13099,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bounded-collections 0.3.2", "frame-benchmarking", @@ -13261,6 +13124,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -13277,6 +13141,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-messages", "bp-runtime", @@ -13298,6 +13163,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.5.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -13317,6 +13183,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -13347,6 +13214,7 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -13374,19 +13242,6 @@ dependencies = [ "xcm-runtime-apis", ] -[[package]] -name = "parity-bip39" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" -dependencies = [ - "bitcoin_hashes 0.13.0", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", -] - [[package]] name = "parity-db" version = "0.4.13" @@ -13774,17 +13629,6 @@ dependencies = [ "futures-io", ] -[[package]] -name = "pkcs1" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" -dependencies = [ - "der", - "pkcs8", - "spki", -] - [[package]] name = "pkcs8" version = "0.10.2" @@ -13814,6 +13658,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -13824,6 +13669,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -13840,6 +13686,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bitvec", "bounded-collections 0.3.2", @@ -13868,6 +13715,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bitvec", "frame-benchmarking", @@ -13916,6 +13764,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bs58", "frame-benchmarking", @@ -13927,6 +13776,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -13973,6 +13823,7 @@ dependencies = [ [[package]] name = "polkadot-sdk" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "asset-test-utils", "assets-common", @@ -14030,6 +13881,7 @@ dependencies = [ "pallet-assets", "pallet-assets-freezer", "pallet-assets-holder", + "pallet-assets-precompiles", "pallet-atomic-swap", "pallet-aura", "pallet-authority-discovery", @@ -14100,7 +13952,7 @@ dependencies = [ "pallet-referenda", "pallet-remark", "pallet-revive", - "pallet-revive-eth-rpc", + "pallet-revive-uapi", "pallet-root-offences", "pallet-root-testing", "pallet-safe-mode", @@ -14190,7 +14042,7 @@ dependencies = [ "sp-core-hashing", "sp-core-hashing-proc-macro", "sp-crypto-ec-utils", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-crypto-hashing-proc-macro", "sp-database", "sp-debug-derive", @@ -14241,6 +14093,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-benchmarking", @@ -14287,15 +14140,15 @@ dependencies = [ [[package]] name = "polkavm" -version = "0.27.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ef5796e5aaa109df210fed7c6ff82e89c7bf94c28f6332d57bd0efb865fdc2a" +checksum = "63c8211d36125b6cc451b3cbc46b8ee27fefb54521b67f43c8630bd1afbd44d4" dependencies = [ "libc", "log", - "polkavm-assembler 0.27.0", - "polkavm-common 0.27.0", - "polkavm-linux-raw 0.27.0", + "polkavm-assembler 0.29.0", + "polkavm-common 0.29.0", + "polkavm-linux-raw 0.29.0", ] [[package]] @@ -14309,9 +14162,9 @@ dependencies = [ [[package]] name = "polkavm-assembler" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70bf3be2911acc089dfe54a92bfec22002f4fbf423b8fa771d1f7e7227f0195f" +checksum = "914aacebfbc22da7772f5ecb6f79b39901dc4061121598bd4383a590a7506ebb" dependencies = [ "log", ] @@ -14328,13 +14181,13 @@ dependencies = [ [[package]] name = "polkavm-common" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19805789e7bf778ac5855f6fe9350353f6a1697c2aab9bfb6fc7c831be54fad" +checksum = "f634b46a6a47a5de381f56d1d8cced9f8640d063b2b1a44b0da6dbef91bbd400" dependencies = [ "blake3", "log", - "polkavm-assembler 0.27.0", + "polkavm-assembler 0.29.0", ] [[package]] @@ -14348,11 +14201,11 @@ dependencies = [ [[package]] name = "polkavm-derive" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eea46a17d87cbf3c0f3f6156f6300f60cec67cf9eaca296c770e0873f8389d6" +checksum = "37ba6256c003853b6adb5dc8394e0e1882a9545ee3bec4e4ce533e7e4f488825" dependencies = [ - "polkavm-derive-impl-macro 0.27.0", + "polkavm-derive-impl-macro 0.29.0", ] [[package]] @@ -14369,11 +14222,11 @@ dependencies = [ [[package]] name = "polkavm-derive-impl" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8abdd1210d96b1dda9ac21199ec469448fd628cea102e2ff0e0df1667c4c3b5f" +checksum = "90751404f08622c8a671695605cfc1bd83ec091339bd3258a37acc7a931c8741" dependencies = [ - "polkavm-common 0.27.0", + "polkavm-common 0.29.0", "proc-macro2", "quote", "syn 2.0.104", @@ -14391,11 +14244,11 @@ dependencies = [ [[package]] name = "polkavm-derive-impl-macro" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a45173d70138aa1879892c50777ed0d8b0c8556f7678372f09fa1d89bbbddb4" +checksum = "10e463de593b485c8685d42737aae81c24005dba967deaaaccbb6f3e936d8596" dependencies = [ - "polkavm-derive-impl 0.27.0", + "polkavm-derive-impl 0.29.0", "syn 2.0.104", ] @@ -14417,16 +14270,16 @@ dependencies = [ [[package]] name = "polkavm-linker" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99fe3704d21e96c5d1e6a1b1a43ac57f9dce110d3331fbf8299e9f57d5884066" +checksum = "43e01613e9e3e4ebd624aa3a11f1775a5c90b881200c50e054fe13c3ba451f98" dependencies = [ "dirs 5.0.1", "gimli", "hashbrown 0.14.5", "log", "object", - "polkavm-common 0.27.0", + "polkavm-common 0.29.0", "regalloc2 0.9.3", "rustc-demangle", ] @@ -14439,9 +14292,9 @@ checksum = "28919f542476f4158cc71e6c072b1051f38f4b514253594ac3ad80e3c0211fc8" [[package]] name = "polkavm-linux-raw" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061088785efd93e4367faf12f341bb356208c06bab43aa942d472068af80d1c4" +checksum = "751fbbcf86635834dd9a700039c74ce8c7871b317acc84582d9667dad2ed9848" [[package]] name = "polling" @@ -15773,19 +15626,10 @@ dependencies = [ "rustc-hex", ] -[[package]] -name = "rocksdb" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddb7af00d2b17dbd07d82c0063e25411959748ff03e8d4f96134c2ff41fce34f" -dependencies = [ - "libc", - "librocksdb-sys", -] - [[package]] name = "rococo-runtime-constants" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "polkadot-primitives", @@ -15815,26 +15659,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "rsa" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b" -dependencies = [ - "const-oid", - "digest 0.10.7", - "num-bigint-dig", - "num-integer", - "num-traits", - "pkcs1", - "pkcs8", - "rand_core 0.6.4", - "signature", - "spki", - "subtle 2.6.1", - "zeroize", -] - [[package]] name = "rtnetlink" version = "0.13.1" @@ -16239,6 +16063,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "sp-core", @@ -16249,6 +16074,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "futures", "log", @@ -16270,6 +16096,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "sp-api", @@ -16284,6 +16111,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "docify", @@ -16298,7 +16126,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -16309,6 +16137,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -16319,8 +16148,10 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", + "bip39", "chrono", "clap", "fdlimit", @@ -16329,7 +16160,6 @@ dependencies = [ "libp2p-identity", "log", "names", - "parity-bip39", "parity-scale-codec", "rand 0.8.5", "regex", @@ -16360,6 +16190,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "fnv", "futures", @@ -16385,11 +16216,11 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "hash-db", "kvdb", "kvdb-memorydb", - "kvdb-rocksdb", "linked-hash-map", "log", "parity-db", @@ -16412,6 +16243,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "futures", @@ -16434,6 +16266,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "fork-tree", @@ -16464,6 +16297,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "fork-tree", @@ -16488,7 +16322,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-inherents", "sp-keystore", "sp-runtime", @@ -16500,6 +16334,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "fork-tree", "parity-scale-codec", @@ -16512,6 +16347,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "assert_matches", "async-trait", @@ -16546,6 +16382,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "futures", @@ -16568,6 +16405,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -16590,6 +16428,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "polkavm 0.26.0", "sc-allocator", @@ -16602,6 +16441,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "polkavm 0.26.0", @@ -16612,6 +16452,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "anyhow", "log", @@ -16627,6 +16468,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "console", "futures", @@ -16642,6 +16484,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "parking_lot 0.12.4", @@ -16655,6 +16498,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -16682,6 +16526,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16731,6 +16576,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -16740,6 +16586,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16760,6 +16607,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16794,6 +16642,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "futures", @@ -16812,6 +16661,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bs58", "bytes", @@ -16832,6 +16682,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -16840,6 +16691,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "futures", "jsonrpsee", @@ -16871,6 +16723,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -16890,6 +16743,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -16913,6 +16767,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "futures", @@ -16945,6 +16800,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "directories", @@ -17008,6 +16864,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "parity-scale-codec", @@ -17018,6 +16875,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "derive_more 0.99.20", "futures", @@ -17030,13 +16888,14 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-io", ] [[package]] name = "sc-telemetry" version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "chrono", "futures", @@ -17055,6 +16914,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "chrono", "console", @@ -17082,6 +16942,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -17092,6 +16953,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "futures", @@ -17108,7 +16970,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-runtime", "sp-tracing", "sp-transaction-pool", @@ -17122,6 +16984,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "futures", @@ -17138,6 +17001,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-channel 1.9.0", "futures", @@ -17626,12 +17490,6 @@ dependencies = [ "pest", ] -[[package]] -name = "send_wrapper" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" - [[package]] name = "send_wrapper" version = "0.6.0" @@ -18042,6 +17900,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "enumn", "parity-scale-codec", @@ -18223,6 +18082,7 @@ dependencies = [ [[package]] name = "snowbridge-core" version = "0.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bp-relayers", "frame-support", @@ -18457,6 +18317,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "hash-db", @@ -18478,6 +18339,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "Inflector", "blake2 0.10.6", @@ -18491,6 +18353,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -18502,6 +18365,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "integer-sqrt", @@ -18515,6 +18379,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -18526,6 +18391,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "sp-api", "sp-inherents", @@ -18535,6 +18401,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "futures", "parity-scale-codec", @@ -18553,6 +18420,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "futures", @@ -18566,6 +18434,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "parity-scale-codec", @@ -18581,6 +18450,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "parity-scale-codec", @@ -18598,6 +18468,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -18605,7 +18476,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-io", "sp-keystore", "sp-mmr-primitives", @@ -18617,6 +18488,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "finality-grandpa", "log", @@ -18633,6 +18505,7 @@ dependencies = [ [[package]] name = "sp-consensus-pow" version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "sp-api", @@ -18643,6 +18516,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -18653,9 +18527,11 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "ark-vrf", "array-bytes", + "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections 0.3.2", @@ -18671,7 +18547,6 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "parity-bip39", "parity-scale-codec", "parking_lot 0.12.4", "paste", @@ -18683,7 +18558,7 @@ dependencies = [ "secrecy 0.8.0", "serde", "sha2 0.10.9", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-debug-derive", "sp-externalities", "sp-std", @@ -18699,13 +18574,15 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", ] [[package]] name = "sp-core-hashing-proc-macro" version = "15.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "sp-crypto-hashing-proc-macro", ] @@ -18713,6 +18590,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -18732,6 +18610,8 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" dependencies = [ "blake2b_simd", "byteorder", @@ -18744,8 +18624,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "blake2b_simd", "byteorder", @@ -18758,15 +18637,17 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "syn 2.0.104", ] [[package]] name = "sp-database" version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "kvdb", "parking_lot 0.12.4", @@ -18775,6 +18656,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "proc-macro2", "quote", @@ -18784,6 +18666,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "environmental", "parity-scale-codec", @@ -18793,6 +18676,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -18804,6 +18688,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -18816,6 +18701,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bytes", "docify", @@ -18827,7 +18713,7 @@ dependencies = [ "rustversion", "secp256k1 0.28.2", "sp-core", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -18841,6 +18727,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "sp-core", "sp-runtime", @@ -18850,6 +18737,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -18860,6 +18748,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -18868,6 +18757,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -18877,6 +18767,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -18887,6 +18778,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "log", "parity-scale-codec", @@ -18903,6 +18795,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -18915,6 +18808,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "sp-api", "sp-core", @@ -18924,6 +18818,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "backtrace", "regex", @@ -18932,6 +18827,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -18941,6 +18837,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "binary-merkle-tree", "docify", @@ -18969,6 +18866,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -18986,6 +18884,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "Inflector", "expander", @@ -18998,6 +18897,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -19011,6 +18911,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -19023,6 +18924,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "hash-db", "log", @@ -19042,6 +18944,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -19054,7 +18957,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", "sp-externalities", "sp-runtime", "sp-runtime-interface", @@ -19065,10 +18968,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" [[package]] name = "sp-storage" version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19080,6 +18985,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "parity-scale-codec", @@ -19091,6 +18997,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "regex", @@ -19102,6 +19009,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "sp-api", "sp-runtime", @@ -19110,6 +19018,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "parity-scale-codec", @@ -19123,6 +19032,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "ahash", "foldhash 0.1.5", @@ -19147,6 +19057,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19163,6 +19074,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -19174,6 +19086,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -19185,6 +19098,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "bounded-collections 0.3.2", "parity-scale-codec", @@ -19216,9 +19130,6 @@ name = "spin" version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" -dependencies = [ - "lock_api", -] [[package]] name = "spinning_top" @@ -19239,194 +19150,6 @@ dependencies = [ "der", ] -[[package]] -name = "sqlx" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fefb893899429669dcdd979aff487bd78f4064e5e7907e4269081e0ef7d97dc" -dependencies = [ - "sqlx-core", - "sqlx-macros", - "sqlx-mysql", - "sqlx-postgres", - "sqlx-sqlite", -] - -[[package]] -name = "sqlx-core" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee6798b1838b6a0f69c007c133b8df5866302197e404e8b6ee8ed3e3a5e68dc6" -dependencies = [ - "base64 0.22.1", - "bytes", - "crc", - "crossbeam-queue", - "either", - "event-listener 5.4.1", - "futures-core", - "futures-intrusive", - "futures-io", - "futures-util", - "hashbrown 0.15.4", - "hashlink 0.10.0", - "indexmap 2.10.0", - "log", - "memchr", - "once_cell", - "percent-encoding", - "serde", - "serde_json", - "sha2 0.10.9", - "smallvec", - "thiserror 2.0.12", - "tokio", - "tokio-stream", - "tracing", - "url", -] - -[[package]] -name = "sqlx-macros" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2d452988ccaacfbf5e0bdbc348fb91d7c8af5bee192173ac3636b5fb6e6715d" -dependencies = [ - "proc-macro2", - "quote", - "sqlx-core", - "sqlx-macros-core", - "syn 2.0.104", -] - -[[package]] -name = "sqlx-macros-core" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19a9c1841124ac5a61741f96e1d9e2ec77424bf323962dd894bdb93f37d5219b" -dependencies = [ - "dotenvy", - "either", - "heck 0.5.0", - "hex", - "once_cell", - "proc-macro2", - "quote", - "serde", - "serde_json", - "sha2 0.10.9", - "sqlx-core", - "sqlx-mysql", - "sqlx-postgres", - "sqlx-sqlite", - "syn 2.0.104", - "tokio", - "url", -] - -[[package]] -name = "sqlx-mysql" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa003f0038df784eb8fecbbac13affe3da23b45194bd57dba231c8f48199c526" -dependencies = [ - "atoi", - "base64 0.22.1", - "bitflags 2.9.1", - "byteorder", - "bytes", - "crc", - "digest 0.10.7", - "dotenvy", - "either", - "futures-channel", - "futures-core", - "futures-io", - "futures-util", - "generic-array 0.14.7", - "hex", - "hkdf", - "hmac 0.12.1", - "itoa", - "log", - "md-5", - "memchr", - "once_cell", - "percent-encoding", - "rand 0.8.5", - "rsa", - "serde", - "sha1", - "sha2 0.10.9", - "smallvec", - "sqlx-core", - "stringprep", - "thiserror 2.0.12", - "tracing", - "whoami", -] - -[[package]] -name = "sqlx-postgres" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db58fcd5a53cf07c184b154801ff91347e4c30d17a3562a635ff028ad5deda46" -dependencies = [ - "atoi", - "base64 0.22.1", - "bitflags 2.9.1", - "byteorder", - "crc", - "dotenvy", - "etcetera", - "futures-channel", - "futures-core", - "futures-util", - "hex", - "hkdf", - "hmac 0.12.1", - "home", - "itoa", - "log", - "md-5", - "memchr", - "once_cell", - "rand 0.8.5", - "serde", - "serde_json", - "sha2 0.10.9", - "smallvec", - "sqlx-core", - "stringprep", - "thiserror 2.0.12", - "tracing", - "whoami", -] - -[[package]] -name = "sqlx-sqlite" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2d12fe70b2c1b4401038055f90f151b78208de1f9f89a7dbfd41587a10c3eea" -dependencies = [ - "atoi", - "flume", - "futures-channel", - "futures-core", - "futures-executor", - "futures-intrusive", - "futures-util", - "libsqlite3-sys", - "log", - "percent-encoding", - "serde", - "serde_urlencoded", - "sqlx-core", - "thiserror 2.0.12", - "tracing", - "url", -] - [[package]] name = "ss58-registry" version = "1.51.0" @@ -19464,6 +19187,7 @@ dependencies = [ [[package]] name = "staging-parachain-info" version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -19476,6 +19200,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -19496,6 +19221,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "environmental", "frame-support", @@ -19519,6 +19245,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "environmental", "frame-benchmarking", @@ -19611,17 +19338,6 @@ dependencies = [ "quote", ] -[[package]] -name = "stringprep" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1" -dependencies = [ - "unicode-bidi", - "unicode-normalization", - "unicode-properties", -] - [[package]] name = "strip-ansi-escapes" version = "0.2.1" @@ -19702,6 +19418,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -19726,6 +19443,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-support" version = "29.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "jsonrpsee", @@ -19739,6 +19457,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -19758,6 +19477,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -19771,6 +19491,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.33.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "async-trait", "jsonrpsee", @@ -19794,6 +19515,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "build-helper", "cargo_metadata 0.15.4", @@ -19969,7 +19691,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25de7727144780d780a6a7d78bbfd28414b8adbab68b05e87329c367d7705be4" dependencies = [ "derive-where", - "finito", "frame-metadata", "futures", "hex", @@ -19982,7 +19703,6 @@ dependencies = [ "subxt-core", "subxt-lightclient", "thiserror 2.0.12", - "tokio", "tokio-util", "tracing", "url", @@ -20332,6 +20052,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "testnet-parachains-constants" version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -21180,12 +20901,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-properties" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0" - [[package]] name = "unicode-segmentation" version = "1.12.0" @@ -21546,12 +21261,6 @@ dependencies = [ "wit-bindgen-rt", ] -[[package]] -name = "wasite" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" - [[package]] name = "wasm-bindgen" version = "0.2.100" @@ -22204,6 +21913,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "polkadot-primitives", @@ -22239,16 +21949,6 @@ dependencies = [ "winsafe", ] -[[package]] -name = "whoami" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d4a4db5077702ca3015d3d02d74974948aba2ad9e12ab7df718ee64ccd7e97d" -dependencies = [ - "libredox", - "wasite", -] - [[package]] name = "wide" version = "0.7.33" @@ -22819,7 +22519,7 @@ dependencies = [ "log", "pharos", "rustc_version 0.4.1", - "send_wrapper 0.6.0", + "send_wrapper", "thiserror 2.0.12", "wasm-bindgen", "wasm-bindgen-futures", @@ -22884,6 +22584,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "Inflector", "proc-macro2", @@ -22894,6 +22595,7 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.1.1" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "parity-scale-codec", @@ -22907,6 +22609,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "7.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" dependencies = [ "frame-support", "frame-system", diff --git a/crates/anvil-polkadot/Cargo.toml b/crates/anvil-polkadot/Cargo.toml index d10416257b9c9..a57c7ff106c68 100644 --- a/crates/anvil-polkadot/Cargo.toml +++ b/crates/anvil-polkadot/Cargo.toml @@ -20,7 +20,7 @@ path = "bin/main.rs" [dependencies] # foundry internal substrate-runtime = { path = "substrate-runtime" } -polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", default-features = false, features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [ "sc-allocator", "sc-basic-authorship", "sc-block-builder", @@ -57,7 +57,6 @@ polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", default "substrate-frame-rpc-system", "substrate-rpc-client", "substrate-wasm-builder", - "pallet-revive-eth-rpc" ] } anvil.workspace = true anvil-core.workspace = true diff --git a/crates/anvil-polkadot/substrate-runtime/Cargo.toml b/crates/anvil-polkadot/substrate-runtime/Cargo.toml index 62a2ebb2416ac..133160c7a2896 100644 --- a/crates/anvil-polkadot/substrate-runtime/Cargo.toml +++ b/crates/anvil-polkadot/substrate-runtime/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true [dependencies] array-bytes = { version = "6.2.2", default-features = false } codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } -polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", default-features = false, features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [ "pallet-balances", "pallet-revive", "pallet-sudo", @@ -27,7 +27,7 @@ scale-info = { version = "2.11.6", default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } [build-dependencies] -polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", default-features = false, optional = true, features = ["substrate-wasm-builder"] } +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, optional = true, features = ["substrate-wasm-builder"] } [features] default = ["std"] diff --git a/crates/cheatcodes/src/evm.rs b/crates/cheatcodes/src/evm.rs index d1f604c51850d..daa1f3acf93e6 100644 --- a/crates/cheatcodes/src/evm.rs +++ b/crates/cheatcodes/src/evm.rs @@ -39,7 +39,7 @@ use serde::Serialize; mod fork; pub(crate) mod mapping; -pub(crate) mod mock; +pub mod mock; pub(crate) mod prank; /// Records storage slots reads and writes. diff --git a/crates/cheatcodes/src/evm/mock.rs b/crates/cheatcodes/src/evm/mock.rs index 838a76bada5b9..e526e094a17c9 100644 --- a/crates/cheatcodes/src/evm/mock.rs +++ b/crates/cheatcodes/src/evm/mock.rs @@ -199,7 +199,6 @@ fn mock_calls( rdata_vec: &[Bytes], ret_type: InstructionResult, ) { - println!("==================== {:?} ====================", cdata); state.mocked_calls.entry(*callee).or_default().insert( MockCallDataContext { calldata: Bytes::copy_from_slice(cdata), value: value.copied() }, rdata_vec diff --git a/crates/cheatcodes/src/inspector.rs b/crates/cheatcodes/src/inspector.rs index df706da43e7a9..520da162be2eb 100644 --- a/crates/cheatcodes/src/inspector.rs +++ b/crates/cheatcodes/src/inspector.rs @@ -926,6 +926,7 @@ impl Cheatcodes { } } + // Tells whether PVM is enabled or not. pub fn is_pvm_enabled(&mut self) -> bool { self.strategy.runner.is_pvm_enabled(self) } @@ -1013,40 +1014,51 @@ impl Cheatcodes { } } - // Handle mocked calls - if let Some(mocks) = self.mocked_calls.get_mut(&call.bytecode_address) { - let ctx = MockCallDataContext { - calldata: call.input.bytes(ecx), - value: call.transfer_value(), - }; + // Do not handle mocked calls if PVM is enabled and let the revive call handle it. + // There is literally no problem with handling mocked calls with PVM enabled here as well, + // but the downside is that if call a mocked call from the test it will not exercise the + // paths in revive that handle mocked calls and only nested mocks will be handle by the + // revive specific calls. + // This is undesirable because conformity tests could accidentally pass and the revive code + // paths be broken. + if !self.is_pvm_enabled() { + // Handle mocked calls + if let Some(mocks) = self.mocked_calls.get_mut(&call.bytecode_address) { + let ctx = MockCallDataContext { + calldata: call.input.bytes(ecx), + value: call.transfer_value(), + }; - if let Some(return_data_queue) = match mocks.get_mut(&ctx) { - Some(queue) => Some(queue), - None => mocks - .iter_mut() - .find(|(mock, _)| { - call.input.bytes(ecx).get(..mock.calldata.len()) == Some(&mock.calldata[..]) - && mock.value.is_none_or(|value| Some(value) == call.transfer_value()) - }) - .map(|(_, v)| v), - } && let Some(return_data) = if return_data_queue.len() == 1 { - // If the mocked calls stack has a single element in it, don't empty it - return_data_queue.front().map(|x| x.to_owned()) - } else { - // Else, we pop the front element - return_data_queue.pop_front() - } { - return Some(CallOutcome { - result: InterpreterResult { - result: return_data.ret_type, - output: return_data.data, - gas, - }, - memory_offset: call.return_memory_offset.clone(), - }); + if let Some(return_data_queue) = match mocks.get_mut(&ctx) { + Some(queue) => Some(queue), + None => mocks + .iter_mut() + .find(|(mock, _)| { + call.input.bytes(ecx).get(..mock.calldata.len()) + == Some(&mock.calldata[..]) + && mock + .value + .is_none_or(|value| Some(value) == call.transfer_value()) + }) + .map(|(_, v)| v), + } && let Some(return_data) = if return_data_queue.len() == 1 { + // If the mocked calls stack has a single element in it, don't empty it + return_data_queue.front().map(|x| x.to_owned()) + } else { + // Else, we pop the front element + return_data_queue.pop_front() + } { + return Some(CallOutcome { + result: InterpreterResult { + result: return_data.ret_type, + output: return_data.data, + gas, + }, + memory_offset: call.return_memory_offset.clone(), + }); + } } } - // Apply our prank if let Some(prank) = &self.get_prank(curr_depth) { // Apply delegate call, `call.caller`` will not equal `prank.prank_caller` diff --git a/crates/cheatcodes/src/lib.rs b/crates/cheatcodes/src/lib.rs index 461781a6e7a67..7d7313c356d0c 100644 --- a/crates/cheatcodes/src/lib.rs +++ b/crates/cheatcodes/src/lib.rs @@ -55,6 +55,7 @@ mod script; pub use script::{Broadcast, Wallets, WalletsInner}; mod strategy; +pub use evm::mock::{MockCallDataContext, MockCallReturnData}; pub use strategy::{ CheatcodeInspectorStrategy, CheatcodeInspectorStrategyContext, CheatcodeInspectorStrategyExt, CheatcodeInspectorStrategyRunner, CheatcodesStrategy, EvmCheatcodeInspectorStrategyRunner, diff --git a/crates/evm/evm/src/inspectors/stack.rs b/crates/evm/evm/src/inspectors/stack.rs index 195a94a075aa5..b4627c92fde9a 100644 --- a/crates/evm/evm/src/inspectors/stack.rs +++ b/crates/evm/evm/src/inspectors/stack.rs @@ -915,6 +915,14 @@ impl Inspector> for InspectorStackRefMut<'_> if let Some(cheatcodes) = self.cheatcodes.as_deref_mut() { let is_pvm_enabled = cheatcodes.is_pvm_enabled(); // Handle mocked functions, replace bytecode address with mock if matched. + + // Do not handle mocked functions if PVM is enabled and let the revive call handle it. + // There is literally no problem with handling mocked functions with PVM enabled here as + // well, but the downside is that if we call a mocked functions from the test it + // will not exercise the paths in revive that handle mocked calls and only + // nested mocks will be handle by the revive specific calls. + // This is undesirable because conformity tests could accidentally pass and the revive + // code paths be broken. if let Some(mocks) = cheatcodes.mocked_functions.get(&call.target_address) && !is_pvm_enabled { diff --git a/crates/forge/tests/cli/revive_vm.rs b/crates/forge/tests/cli/revive_vm.rs index ff6c817e3c760..8cf7edbdd1d6f 100644 --- a/crates/forge/tests/cli/revive_vm.rs +++ b/crates/forge/tests/cli/revive_vm.rs @@ -143,15 +143,7 @@ contract CounterTest is DSTest { Compiler run successful! [COMPILING_FILES] with [RESOLC_VERSION] [RESOLC_VERSION] [ELAPSED] -Compiler run successful with warnings: -Warning: Warning: Your code or one of its dependencies uses the 'extcodesize' instruction, which is -usually needed in the following cases: - 1. To detect whether an address belongs to a smart contract. - 2. To detect whether the deploy code execution has finished. -Polkadot comes with native account abstraction support (so smart contracts are just accounts -coverned by code), and you should avoid differentiating between contracts and non-contract -addresses. -[FILE] +Compiler run successful! Ran 4 tests for src/CounterTest.t.sol:CounterTest [PASS] testFuzz_SetNumber(uint256) (runs: 256, [AVG_GAS]) diff --git a/crates/revive-env/Cargo.toml b/crates/revive-env/Cargo.toml index fa36cc537c558..938d3ac44bef2 100644 --- a/crates/revive-env/Cargo.toml +++ b/crates/revive-env/Cargo.toml @@ -16,7 +16,7 @@ std = ["polkadot-sdk/std"] codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", features = [ "experimental", "runtime", "polkadot-runtime-common", diff --git a/crates/revive-env/src/runtime.rs b/crates/revive-env/src/runtime.rs index cba968a51bd10..5c933a44fe444 100644 --- a/crates/revive-env/src/runtime.rs +++ b/crates/revive-env/src/runtime.rs @@ -77,6 +77,7 @@ parameter_types! { impl pallet_revive::Config for Runtime { type Time = Timestamp; type Currency = Balances; + type Balance = Balance; type DepositPerByte = DepositPerByte; type DepositPerItem = DepositPerItem; type AddressMapper = AccountId32Mapper; diff --git a/crates/revive-strategy/Cargo.toml b/crates/revive-strategy/Cargo.toml index 61fa1636d7a56..4d52eeb9a1a4f 100644 --- a/crates/revive-strategy/Cargo.toml +++ b/crates/revive-strategy/Cargo.toml @@ -36,11 +36,12 @@ semver.workspace = true codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = {path = "/home/alexggh/ssd2/repos/polkadot-sdk/umbrella", features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", features = [ "experimental", "runtime", "polkadot-runtime-common", "pallet-revive", + "pallet-revive-uapi", "pallet-balances", "pallet-timestamp" ]} diff --git a/crates/revive-strategy/src/cheatcodes/mock_handler.rs b/crates/revive-strategy/src/cheatcodes/mock_handler.rs new file mode 100644 index 0000000000000..b2f28e92b0467 --- /dev/null +++ b/crates/revive-strategy/src/cheatcodes/mock_handler.rs @@ -0,0 +1,222 @@ +use std::{ + collections::{BTreeMap, VecDeque}, + sync::{Arc, Mutex}, +}; + +use alloy_primitives::{Address, Bytes, map::foldhash::HashMap, ruint::aliases::U256}; +use foundry_cheatcodes::{Ecx, MockCallDataContext, MockCallReturnData}; +use foundry_common::sh_err; +use polkadot_sdk::{ + frame_system, + pallet_revive::{ + self, AddressMapper, DelegateInfo, ExecOrigin, ExecReturnValue, Pallet, mock::MockHandler, + }, + pallet_revive_uapi::ReturnFlags, + polkadot_sdk_frame::prelude::OriginFor, + sp_core::H160, +}; +use revive_env::{AccountId, Runtime}; + +use revm::{context::JournalTr, interpreter::InstructionResult}; + +// Implementation object that holds the mock state and implements the MockHandler trait for Revive. +// It is only purpose is to make transferring the mock state into the Revive EVM easier and then +// synchronize whatever mocks got consumed back into the Cheatcodes state after the call. +#[derive(Clone)] +pub(crate) struct MockHandlerImpl { + inner: Arc>>, + pub prank_enabled: bool, +} + +impl MockHandlerImpl { + /// Creates a new MockHandlerImpl from the given Ecx and Cheatcodes state. + pub(crate) fn new( + ecx: &Ecx<'_, '_, '_>, + caller: &Address, + target_address: Option<&Address>, + callee: Option<&Address>, + state: &mut foundry_cheatcodes::Cheatcodes, + ) -> Self { + let (inject_env, prank_enabled) = + MockHandlerInner::new(ecx, caller, target_address, callee, state); + Self { inner: Arc::new(Mutex::new(inject_env)), prank_enabled } + } + + /// Updates the given Cheatcodes state with the current mock state. + /// This is used to synchronize the mock state after a call has been executed in Revive + pub(crate) fn update_state_mocks(&self, state: &mut foundry_cheatcodes::Cheatcodes) { + if let Ok(mock_inner) = self.inner.lock() { + state.mocked_calls = mock_inner.mocked_calls.clone(); + state.mocked_functions = mock_inner.mocked_functions.clone(); + } else { + let _ = sh_err!("Could not update state mocks"); + } + } + + pub(crate) fn fund_pranked_accounts(&self, account: Address) { + // Fuzzed prank addresses have no balance, so they won't exist in revive, and + // calls will fail, this is not a problem when running in REVM. + // TODO: Figure it out why this is still needed. + if self.prank_enabled { + let balance = Pallet::::evm_balance(&H160::from_slice(account.as_slice())); + if balance == 0.into() { + Pallet::::set_evm_balance( + &H160::from_slice(account.as_slice()), + u128::MAX.into(), + ) + .expect("Could not fund pranked account"); + } + } + } +} + +impl MockHandler for MockHandlerImpl { + fn mock_call( + &self, + callee: H160, + call_data: Vec, + value_transferred: polkadot_sdk::pallet_revive::U256, + ) -> Option { + let mut mock_inner = self.inner.lock().ok()?; + let ctx = MockCallDataContext { + calldata: call_data.clone().into(), + value: Some(U256::from_limbs(value_transferred.0)), + }; + + // Use the same logic as in inspect.rs to find the correct mocked call and consume some of + // them. https://github.com/paritytech/foundry-polkadot/blob/26eda0de53ac03f7ac9b6a6023d8243101cffaf1/crates/cheatcodes/src/inspector.rs#L1013 + if let Some(mock_data) = + mock_inner.mocked_calls.get_mut(&Address::from_slice(callee.as_bytes())) + { + if let Some(return_data_queue) = match mock_data.get_mut(&ctx) { + Some(found) => Some(found), + None => mock_data + .iter_mut() + .find(|(key, _)| { + ctx.calldata.starts_with(&key.calldata) + && (key.value.is_none() + || ctx.value == key.value + || (ctx.value == Some(U256::ZERO) && key.value.is_none())) + }) + .map(|(_, v)| v), + } && let Some(return_data) = if return_data_queue.len() == 1 { + // If the mocked calls stack has a single element in it, don't empty it + return_data_queue.front().map(|x| x.to_owned()) + } else { + // Else, we pop the front element + return_data_queue.pop_front() + } { + return Some(ExecReturnValue { + flags: if matches!(return_data.ret_type, InstructionResult::Revert) { + ReturnFlags::REVERT + } else { + ReturnFlags::default() + }, + data: return_data.data.0.to_vec(), + }); + } + }; + None + } + + fn mock_caller(&self, frames_len: usize) -> Option> { + let mock_inner = self.inner.lock().ok()?; + + if (frames_len == 0 || !mock_inner.first_call_only) && mock_inner.delegated_caller.is_none() + { + return Some(mock_inner.caller.clone()); + } + None + } + + fn mock_delegated_caller( + &self, + dest: H160, + input_data: Vec, + ) -> Option> { + let mock_inner = self.inner.lock().ok()?; + + // Mocked functions are implemented by making use of the hooks for delegated calls. + if let Some(mocked_function) = + mock_inner.mocked_functions.get(&Address::from_slice(dest.as_bytes())) + { + let input_data = Bytes::from(input_data); + if let Some(target) = mocked_function + .get(&input_data) + .or_else(|| input_data.get(..4).and_then(|selector| mocked_function.get(selector))) + { + return Some(DelegateInfo { + caller: + ExecOrigin::::from_runtime_origin(OriginFor::::signed( + ::AddressMapper::to_account_id(&dest), + )).ok()?, + callee: H160::from_slice(target.as_slice()) + } + ); + } + } + + mock_inner.delegated_caller.as_ref().and_then(|delegate_caller| { + Some(DelegateInfo { + caller: ExecOrigin::::from_runtime_origin(delegate_caller.clone()).ok()?, + callee: mock_inner.callee, + }) + }) + } +} + +// Internal struct that holds the mock state. It is wrapped in an Arc> in MockHandlerImpl +// to make it easier to transfer the state into Revive and back and be able to mutate it from the +// MockHandler trait methods. +#[derive(Clone)] +struct MockHandlerInner { + pub caller: OriginFor, + pub delegated_caller: Option>, + pub callee: H160, + + pub first_call_only: bool, + pub mocked_calls: HashMap>>, + pub mocked_functions: HashMap>, +} + +impl MockHandlerInner { + /// Creates a new MockHandlerInner from the given Ecx and Cheatcodes state. + /// Also returns whether a prank is currently enabled. + fn new( + ecx: &Ecx<'_, '_, '_>, + caller: &Address, + target_address: Option<&Address>, + callee: Option<&Address>, + state: &mut foundry_cheatcodes::Cheatcodes, + ) -> (Self, bool) { + let curr_depth = ecx.journaled_state.depth(); + let mut prank_enabled = false; + let pranked_caller = OriginFor::::signed(AccountId::to_fallback_account_id( + &H160::from_slice(caller.as_slice()), + )); + + let delegated_caller = target_address.map(|addr| { + OriginFor::::signed(AccountId::to_fallback_account_id(&H160::from_slice( + addr.as_slice(), + ))) + }); + + let mut state_inject = MockHandlerInner:: { + caller: pranked_caller, + delegated_caller, + first_call_only: true, + mocked_calls: state.mocked_calls.clone(), + callee: callee.map(|addr| H160::from_slice(addr.as_slice())).unwrap_or_default(), + mocked_functions: state.mocked_functions.clone(), + }; + + if let Some(prank) = &state.get_prank(curr_depth) { + if curr_depth >= prank.depth { + state_inject.first_call_only = prank.single_call; + prank_enabled = true; + } + } + (state_inject, prank_enabled) + } +} diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 3019d4f734da4..77997a2408df0 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -1,3 +1,4 @@ +mod mock_handler; use std::{ any::{Any, TypeId}, fmt::Debug, @@ -13,6 +14,7 @@ use foundry_cheatcodes::{ CommonCreateInput, DealRecord, Ecx, EvmCheatcodeInspectorStrategyRunner, Result, Vm::{dealCall, getNonce_0Call, pvmCall, rollCall, setNonceCall, setNonceUnsafeCall, warpCall}, }; + use foundry_common::sh_err; use foundry_compilers::resolc::dual_compiled_contracts::DualCompiledContracts; use revive_env::{AccountId, Runtime, System, Timestamp}; @@ -21,15 +23,18 @@ use polkadot_sdk::{ frame_support::traits::{Currency, fungible::Mutate}, pallet_balances, pallet_revive::{ - self, AddressMapper, BalanceOf, BalanceWithDust, BumpNonce, Code, Config, DepositLimit, - InjectExecEnv, MockCallDataContext, MockCallReturnData, Pallet, evm::GasEncoder, + self, AddressMapper, BalanceOf, BalanceWithDust, Code, Config, ExecConfig, Pallet, }, + polkadot_runtime_common::Bounded, polkadot_sdk_frame::prelude::OriginFor, sp_core::{self, H160}, sp_weights::Weight, }; -use crate::{execute_with_externalities, trace, tracing::apply_prestate_trace}; +use crate::{ + cheatcodes::mock_handler::MockHandlerImpl, execute_with_externalities, trace, + tracing::apply_prestate_trace, +}; use alloy_eips::eip7702::SignedAuthorization; use revm::{ bytecode::opcode as op, @@ -411,95 +416,6 @@ fn select_pvm(ctx: &mut PvmCheatcodeInspectorStrategyContext, data: Ecx<'_, '_, } } -fn create_inject_exec_env( - ecx: &Ecx<'_, '_, '_>, - caller: &Address, - target_address: Option<&Address>, - callee: Option<&Address>, - state: &mut foundry_cheatcodes::Cheatcodes, -) -> (InjectExecEnv, bool) { - let curr_depth = ecx.journaled_state.depth(); - let mut prank_enabled = false; - let pranked_caller = OriginFor::::signed(AccountId::to_fallback_account_id( - &H160::from_slice(caller.as_slice()), - )); - - let delegated_caller = target_address.map(|addr| { - OriginFor::::signed(AccountId::to_fallback_account_id(&H160::from_slice( - addr.as_slice(), - ))) - }); - - let mut state_inject = InjectExecEnv:: { - caller: pranked_caller, - delegated_caller, - first_call_only: true, - mocked_calls: state - .mocked_calls - .iter() - .map(|(addr, keys)| { - ( - H160::from_slice(addr.as_slice()), - keys.iter() - .map(|(k, v)| { - ( - MockCallDataContext { - calldata: k.calldata.as_ref().to_vec().into(), - value: k.value.map(|value| { - sp_core::U256::from_little_endian(value.as_le_slice()) - }), - }, - v.iter() - .map(|ret| MockCallReturnData { - ret_type: ret.ret_type, - data: ret.data.as_ref().to_vec().into(), - }) - .collect(), - ) - }) - .collect(), - ) - }) - .collect(), - callee: callee.map(|addr| H160::from_slice(addr.as_slice())).unwrap_or_default(), - mocked_functions: state - .mocked_functions - .iter() - .map(|(addr, keys)| { - ( - H160::from_slice(addr.as_slice()), - keys.iter() - .map(|(k, v)| (k.to_vec().into(), H160::from_slice(v.as_slice()))) - .collect(), - ) - }) - .collect(), - }; - - if let Some(prank) = &state.get_prank(curr_depth) { - if curr_depth >= prank.depth { - state_inject.first_call_only = prank.single_call; - prank_enabled = true; - } - } - (state_inject, prank_enabled) -} - -fn fund_pranked_accounts(prank_enabled: bool, account: Address) { - // Fuzzed prank addresses have no balance, so they won't exist in revive, and - // calls will fail, this is not a problem when running in REVM. - if prank_enabled { - let balance = Pallet::::evm_balance(&H160::from_slice(account.as_slice())); - if balance == 0.into() { - Pallet::::set_evm_balance( - &H160::from_slice(account.as_slice()), - u128::MAX.into(), - ) - .expect("Could not fund pranked account"); - } - } -} - impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspectorStrategyRunner { fn is_pvm_enabled(&self, state: &mut foundry_cheatcodes::Cheatcodes) -> bool { let ctx = get_context_ref_mut(state.strategy.context.as_mut()); @@ -518,9 +434,10 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector input: &dyn CommonCreateInput, _executor: &mut dyn foundry_cheatcodes::CheatcodesExecutor, ) -> Option { - let (state_inject, prank_enabled) = - create_inject_exec_env(&ecx, &input.caller(), None, None, state); - let ctx = get_context_ref_mut(state.strategy.context.as_mut()); + let mock_handler = MockHandlerImpl::new(&ecx, &input.caller(), None, None, state); + + let ctx: &mut PvmCheatcodeInspectorStrategyContext = + get_context_ref_mut(state.strategy.context.as_mut()); if !ctx.using_pvm { return None; @@ -561,14 +478,6 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector let constructor_args = find_contract.constructor_args(); let contract = find_contract.contract(); - let max_gas = - <::EthGasEncoder as GasEncoder>>::encode( - Default::default(), - Weight::MAX, - 1u128 << 99, - ); - let gas_limit = sp_core::U256::from(input.gas_limit()).min(max_gas); - let (res, _call_trace, prestate_trace) = execute_with_externalities(|externalities| { externalities.execute_with(|| { trace::(|| { @@ -577,7 +486,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector )); let evm_value = sp_core::U256::from_little_endian(&input.value().as_le_bytes()); - fund_pranked_accounts(prank_enabled, ecx.tx.caller); + mock_handler.fund_pranked_accounts(ecx.tx.caller); // Pre-Dispatch Increments the nonce of the origin, so let's make sure we do // that here too to replicate the same address generation. @@ -585,12 +494,12 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector &H160::from_slice(ecx.tx.caller.as_slice()), )); - let (gas_limit, storage_deposit_limit) = - <::EthGasEncoder as GasEncoder>>::decode( - gas_limit, - ) - .expect("gas limit is valid"); - let storage_deposit_limit = DepositLimit::Balance(storage_deposit_limit); + let exec_config = ExecConfig { + bump_nonce: true, + collect_deposit_from_hold: false, + effective_gas_price: Some(>::evm_gas_price()), + mock_handler: Some(Box::new(mock_handler.clone())), + }; let code = Code::Upload(contract.resolc_bytecode.as_bytes().unwrap().to_vec()); let data = constructor_args.to_vec(); let salt = match input.scheme() { @@ -604,32 +513,26 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector ), _ => None, }; - let bump_nonce = BumpNonce::Yes; Pallet::::bare_instantiate( origin, evm_value, - gas_limit, - storage_deposit_limit, + // TODO: Gas and storage limit handling needs fixing. + Weight::max_value(), + BalanceOf::::max_value(), code, data, salt, - bump_nonce, - Some(state_inject), + exec_config, ) }) }) }); let mut gas = Gas::new(input.gas_limit()); - let gas_used = - <::EthGasEncoder as GasEncoder>>::encode( - gas_limit, - res.gas_required, - res.storage_deposit.charge_or_zero(), - ); let result = match &res.result { Ok(result) => { - let _ = gas.record_cost(gas_used.as_u64()); + // TODO Needs fixing. + let _ = gas.record_cost(input.gas_limit() / 10); let outcome = if result.result.did_revert() { CreateOutcome { @@ -669,6 +572,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector }; apply_prestate_trace(prestate_trace, ecx); + mock_handler.update_state_mocks(state); result } @@ -710,15 +614,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector tracing::info!("running call in PVM {:#?}", call); - let max_gas = - <::EthGasEncoder as GasEncoder>>::encode( - Default::default(), - Weight::MAX, - 1u128 << 99, - ); - let gas_limit = sp_core::U256::from(call.gas_limit).min(max_gas); - - let (state_inject, prank_enabled) = create_inject_exec_env( + let mock_handler = MockHandlerImpl::new( &ecx, &call.caller, target_address.as_ref(), @@ -733,42 +629,37 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector &H160::from_slice(ecx.tx.caller.as_slice()), )); - fund_pranked_accounts(prank_enabled, ecx.tx.caller); + mock_handler.fund_pranked_accounts(ecx.tx.caller); let evm_value = sp_core::U256::from_little_endian(&call.call_value().as_le_bytes()); - - let (gas_limit, storage_deposit_limit) = - <::EthGasEncoder as GasEncoder>>::decode( - gas_limit, - ) - .expect("gas limit is valid"); - let storage_deposit_limit = DepositLimit::Balance(storage_deposit_limit); let target = H160::from_slice(call.target_address.as_slice()); - + let exec_config = ExecConfig { + bump_nonce: true, + collect_deposit_from_hold: false, + effective_gas_price: Some(>::evm_gas_price()), + mock_handler: Some(Box::new(mock_handler.clone())), + }; Pallet::::bare_call( origin, target, evm_value, - gas_limit, - storage_deposit_limit, + Weight::max_value(), + // TODO: gas needs fixing. + BalanceOf::::max_value(), call.input.bytes(ecx).to_vec(), - Some(state_inject), + exec_config, ) }) }) }); - + mock_handler.update_state_mocks(state); let mut gas = Gas::new(call.gas_limit); - let gas_used = - <::EthGasEncoder as GasEncoder>>::encode( - gas_limit, - res.gas_required, - res.storage_deposit.charge_or_zero(), - ); + let result = match res.result { Ok(result) => { - let _ = gas.record_cost(gas_used.as_u64()); + // TODO: gas needs fixing. + let _ = gas.record_cost(call.gas_limit / 10); let outcome = if result.did_revert() { tracing::error!("Contract call reverted"); CallOutcome { From aaa472f82650cbc00b97c3fad925e95240f1035e Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Wed, 8 Oct 2025 18:38:40 +0300 Subject: [PATCH 05/52] add mock Signed-off-by: Alexandru Gheorghe --- crates/forge/tests/cli/main.rs | 3 + crates/forge/tests/cli/revive_mock_call.rs | 444 ++++++++++++++++++ crates/forge/tests/cli/revive_mock_calls.rs | 100 ++++ .../forge/tests/cli/revive_mock_functions.rs | 111 +++++ crates/forge/tests/cli/revive_prank.rs | 149 ++++-- crates/revive-strategy/src/cheatcodes/mod.rs | 2 +- 6 files changed, 771 insertions(+), 38 deletions(-) create mode 100644 crates/forge/tests/cli/revive_mock_call.rs create mode 100644 crates/forge/tests/cli/revive_mock_calls.rs create mode 100644 crates/forge/tests/cli/revive_mock_functions.rs diff --git a/crates/forge/tests/cli/main.rs b/crates/forge/tests/cli/main.rs index dc724c14f4cd4..aca8ca2864c36 100644 --- a/crates/forge/tests/cli/main.rs +++ b/crates/forge/tests/cli/main.rs @@ -28,6 +28,9 @@ mod revive_compiler; mod revive_config; mod revive_create; mod revive_inspect; +mod revive_mock_call; +mod revive_mock_calls; +mod revive_mock_functions; mod revive_prank; mod revive_vm; mod rvm; diff --git a/crates/forge/tests/cli/revive_mock_call.rs b/crates/forge/tests/cli/revive_mock_call.rs new file mode 100644 index 0000000000000..1907708fb7ecb --- /dev/null +++ b/crates/forge/tests/cli/revive_mock_call.rs @@ -0,0 +1,444 @@ +// Just a copy of cheatcodes Prank.t.sol adapted to work with pvm backend. +// The adaptions are only to switch back and forth between evm and pvm. +forgetest!(mock_call, |prj, cmd| { + prj.insert_ds_test(); + prj.insert_vm(); + prj.insert_console(); + prj.add_source( + "MockCall.t.sol", + r#" +// SPDX-License-Identifier: MIT OR Apache-2.0 +pragma solidity ^0.8.18; + + +import "./test.sol"; +import "./Vm.sol"; +import {console} from "./console.sol"; + +contract Mock { + uint256 state = 0; + + function numberA() public pure returns (uint256) { + return 1; + } + + function numberB() public pure returns (uint256) { + return 2; + } + + function add(uint256 a, uint256 b) public pure returns (uint256) { + return a + b; + } + + function pay(uint256 a) public payable returns (uint256) { + return a; + } + + function noReturnValue() public { + // Does nothing of value, but also ensures that Solidity will 100% + // generate an `extcodesize` check. + state += 1; + } +} + +contract NestedMock { + Mock private inner; + + constructor(Mock _inner) { + inner = _inner; + } + + function sum() public view returns (uint256) { + return inner.numberA() + inner.numberB(); + } +} + +contract NestedMockDelegateCall { + Mock private inner; + + constructor(Mock _inner) { + inner = _inner; + } + + function sum() public returns (uint256) { + (, bytes memory dataA) = address(inner).delegatecall(abi.encodeWithSelector(Mock.numberA.selector)); + (, bytes memory dataB) = address(inner).delegatecall(abi.encodeWithSelector(Mock.numberB.selector)); + return abi.decode(dataA, (uint256)) + abi.decode(dataB, (uint256)); + } +} + +contract MockCallTest is DSTest { + Vm constant vm = Vm(HEVM_ADDRESS); + + function testMockGetters() public { + vm.pvm(true); + Mock target = new Mock(); + + // pre-mock + assertEq(target.numberA(), 1); + assertEq(target.numberB(), 2); + + vm.mockCall(address(target), abi.encodeWithSelector(target.numberB.selector), abi.encode(10)); + + // post-mock + assertEq(target.numberA(), 1); + assertEq(target.numberB(), 10); + } + + function testMockNested() public { + vm.pvm(true); + + Mock inner = new Mock(); + NestedMock target = new NestedMock(inner); + + // pre-mock + assertEq(target.sum(), 3); + console.log("SUM BEFORE MOCK", address(inner)); + vm.mockCall(address(inner), abi.encodeWithSelector(inner.numberB.selector), abi.encode(9)); + + // post-mock + assertEq(target.sum(), 10); + } + + // Ref: https://github.com/foundry-rs/foundry/issues/8066 + function testMockNestedDelegate() public { + vm.pvm(true); + + Mock inner = new Mock(); + NestedMockDelegateCall target = new NestedMockDelegateCall(inner); + + assertEq(target.sum(), 3); + + vm.mockCall(address(inner), abi.encodeWithSelector(inner.numberB.selector), abi.encode(9)); + + assertEq(target.sum(), 10); + } + + function testMockSelector() public { + vm.pvm(true); + + Mock target = new Mock(); + assertEq(target.add(5, 5), 10); + + vm.mockCall(address(target), abi.encodeWithSelector(target.add.selector), abi.encode(11)); + + assertEq(target.add(5, 5), 11); + } + + function testMockCalldata() public { + vm.pvm(true); + + Mock target = new Mock(); + assertEq(target.add(5, 5), 10); + assertEq(target.add(6, 4), 10); + + vm.mockCall(address(target), abi.encodeWithSelector(target.add.selector, 5, 5), abi.encode(11)); + + assertEq(target.add(5, 5), 11); + assertEq(target.add(6, 4), 10); + } + + function testClearMockedCalls() public { + vm.pvm(true); + + Mock target = new Mock(); + + vm.mockCall(address(target), abi.encodeWithSelector(target.numberB.selector), abi.encode(10)); + + assertEq(target.numberA(), 1); + assertEq(target.numberB(), 10); + + vm.clearMockedCalls(); + + assertEq(target.numberA(), 1); + assertEq(target.numberB(), 2); + } + + function testMockCallMultiplePartialMatch() public { + vm.pvm(true); + + Mock mock = new Mock(); + + vm.mockCall(address(mock), abi.encodeWithSelector(mock.add.selector), abi.encode(10)); + vm.mockCall(address(mock), abi.encodeWithSelector(mock.add.selector, 2), abi.encode(20)); + vm.mockCall(address(mock), abi.encodeWithSelector(mock.add.selector, 2, 3), abi.encode(30)); + + assertEq(mock.add(1, 2), 10); + assertEq(mock.add(2, 2), 20); + assertEq(mock.add(2, 3), 30); + } + + function testMockCallWithValue() public { + vm.pvm(true); + Mock mock = new Mock(); + + vm.mockCall(address(mock), 10, abi.encodeWithSelector(mock.pay.selector), abi.encode(10)); + + assertEq(mock.pay{value: 10}(1), 10); + assertEq(mock.pay(1), 1); + + for (uint256 i = 0; i < 100; i++) { + vm.mockCall(address(mock), i, abi.encodeWithSelector(mock.pay.selector), abi.encode(i * 2)); + } + + assertEq(mock.pay(1), 0); + assertEq(mock.pay{value: 10}(1), 20); + assertEq(mock.pay{value: 50}(1), 100); + } + + function testMockCallWithValueCalldataPrecedence() public { + vm.pvm(true); + + Mock mock = new Mock(); + + vm.mockCall(address(mock), 10, abi.encodeWithSelector(mock.pay.selector), abi.encode(10)); + vm.mockCall(address(mock), abi.encodeWithSelector(mock.pay.selector, 2), abi.encode(2)); + + assertEq(mock.pay{value: 10}(1), 10); + assertEq(mock.pay{value: 10}(2), 2); + assertEq(mock.pay(2), 2); + } + + function testMockCallEmptyAccount() public { + vm.pvm(true); + + Mock mock = Mock(address(100)); + + vm.mockCall(address(mock), abi.encodeWithSelector(mock.add.selector), abi.encode(10)); + vm.mockCall(address(mock), mock.noReturnValue.selector, abi.encode()); + + assertEq(mock.add(1, 2), 10); + mock.noReturnValue(); + } +} + +contract MockCallRevertTest is DSTest { + Vm constant vm = Vm(HEVM_ADDRESS); + + error TestError(bytes msg); + + bytes constant ERROR_MESSAGE = "ERROR_MESSAGE"; + + function testMockGettersRevert() public { + vm.pvm(true); + + Mock target = new Mock(); + + // pre-mock + assertEq(target.numberA(), 1); + assertEq(target.numberB(), 2); + + vm.mockCallRevert(address(target), target.numberB.selector, ERROR_MESSAGE); + + // post-mock + assertEq(target.numberA(), 1); + try target.numberB() { + revert(); + } catch (bytes memory err) { + require(keccak256(err) == keccak256(ERROR_MESSAGE)); + } + } + + function testMockRevertWithCustomError() public { + vm.pvm(true); + + Mock target = new Mock(); + + assertEq(target.numberA(), 1); + assertEq(target.numberB(), 2); + + bytes memory customError = abi.encodeWithSelector(TestError.selector, ERROR_MESSAGE); + + vm.mockCallRevert(address(target), abi.encodeWithSelector(target.numberB.selector), customError); + + assertEq(target.numberA(), 1); + try target.numberB() { + revert(); + } catch (bytes memory err) { + require(keccak256(err) == keccak256(customError)); + } + } + + function testMockNestedRevert() public { + vm.pvm(true); + Mock inner = new Mock(); + NestedMock target = new NestedMock(inner); + + assertEq(target.sum(), 3); + + vm.mockCallRevert(address(inner), abi.encodeWithSelector(inner.numberB.selector), ERROR_MESSAGE); + + try target.sum() { + revert(); + } catch (bytes memory err) { + require(keccak256(err) == keccak256(ERROR_MESSAGE)); + } + } + + function testMockCalldataRevert() public { + vm.pvm(true); + + Mock target = new Mock(); + assertEq(target.add(5, 5), 10); + assertEq(target.add(6, 4), 10); + + vm.mockCallRevert(address(target), abi.encodeWithSelector(target.add.selector, 5, 5), ERROR_MESSAGE); + + assertEq(target.add(6, 4), 10); + + try target.add(5, 5) { + revert(); + } catch (bytes memory err) { + require(keccak256(err) == keccak256(ERROR_MESSAGE)); + } + } + + function testClearMockRevertedCalls() public { + vm.pvm(true); + + Mock target = new Mock(); + + vm.mockCallRevert(address(target), abi.encodeWithSelector(target.numberB.selector), ERROR_MESSAGE); + + vm.clearMockedCalls(); + + assertEq(target.numberA(), 1); + assertEq(target.numberB(), 2); + } + + function testMockCallRevertPartialMatch() public { + vm.pvm(true); + + Mock mock = new Mock(); + + vm.mockCallRevert(address(mock), abi.encodeWithSelector(mock.add.selector, 2), ERROR_MESSAGE); + + assertEq(mock.add(1, 2), 3); + + try mock.add(2, 3) { + revert(); + } catch (bytes memory err) { + require(keccak256(err) == keccak256(ERROR_MESSAGE)); + } + } + + function testMockCallRevertWithValue() public { + vm.pvm(true); + + Mock mock = new Mock(); + + vm.mockCallRevert(address(mock), 10, abi.encodeWithSelector(mock.pay.selector), ERROR_MESSAGE); + + assertEq(mock.pay(1), 1); + assertEq(mock.pay(2), 2); + + try mock.pay{value: 10}(1) { + revert(); + } catch (bytes memory err) { + require(keccak256(err) == keccak256(ERROR_MESSAGE)); + } + } + + function testMockCallResetsMockCallRevert() public { + vm.pvm(true); + + Mock mock = new Mock(); + + vm.mockCallRevert(address(mock), abi.encodeWithSelector(mock.add.selector), ERROR_MESSAGE); + + vm.mockCall(address(mock), abi.encodeWithSelector(mock.add.selector), abi.encode(5)); + assertEq(mock.add(2, 3), 5); + } + + function testMockCallRevertResetsMockCall() public { + vm.pvm(true); + + Mock mock = new Mock(); + + vm.mockCall(address(mock), abi.encodeWithSelector(mock.add.selector), abi.encode(5)); + assertEq(mock.add(2, 3), 5); + + vm.mockCallRevert(address(mock), abi.encodeWithSelector(mock.add.selector), ERROR_MESSAGE); + + try mock.add(2, 3) { + revert(); + } catch (bytes memory err) { + require(keccak256(err) == keccak256(ERROR_MESSAGE)); + } + } + + function testMockCallRevertWithCall() public { + vm.pvm(true); + + Mock mock = new Mock(); + + bytes memory customError = abi.encodeWithSelector(TestError.selector, ERROR_MESSAGE); + + vm.mockCallRevert(address(mock), abi.encodeWithSelector(mock.add.selector), customError); + + (bool success, bytes memory data) = address(mock).call(abi.encodeWithSelector(Mock.add.selector, 2, 3)); + assertEq(success, false); + assertEq(data, customError); + } + + function testMockCallEmptyAccount() public { + vm.pvm(true); + + Mock mock = Mock(address(100)); + + vm.mockCallRevert(address(mock), abi.encodeWithSelector(mock.add.selector), ERROR_MESSAGE); + + try mock.add(2, 3) { + revert(); + } catch (bytes memory err) { + require(keccak256(err) == keccak256(ERROR_MESSAGE)); + } + } +} + + +"#, + ) + .unwrap(); + + let res = cmd.args(["test", "--resolc", "--resolc-startup"]).assert_success(); + + res.stderr_eq(str![""]).stdout_eq(str![[r#" +[COMPILING_FILES] with [SOLC_VERSION] +[SOLC_VERSION] [ELAPSED] +Compiler run successful! +[COMPILING_FILES] with [RESOLC_VERSION] +[RESOLC_VERSION] [ELAPSED] +Compiler run successful! + +Ran 11 tests for src/MockCall.t.sol:MockCallRevertTest +[PASS] testClearMockRevertedCalls() ([GAS]) +[PASS] testMockCallEmptyAccount() ([GAS]) +[PASS] testMockCallResetsMockCallRevert() ([GAS]) +[PASS] testMockCallRevertPartialMatch() ([GAS]) +[PASS] testMockCallRevertResetsMockCall() ([GAS]) +[PASS] testMockCallRevertWithCall() ([GAS]) +[PASS] testMockCallRevertWithValue() ([GAS]) +[PASS] testMockCalldataRevert() ([GAS]) +[PASS] testMockGettersRevert() ([GAS]) +[PASS] testMockNestedRevert() ([GAS]) +[PASS] testMockRevertWithCustomError() ([GAS]) +Suite result: ok. 11 passed; 0 failed; 0 skipped; [ELAPSED] + +Ran 10 tests for src/MockCall.t.sol:MockCallTest +[PASS] testClearMockedCalls() ([GAS]) +[PASS] testMockCallEmptyAccount() ([GAS]) +[PASS] testMockCallMultiplePartialMatch() ([GAS]) +[PASS] testMockCallWithValue() ([GAS]) +[PASS] testMockCallWithValueCalldataPrecedence() ([GAS]) +[PASS] testMockCalldata() ([GAS]) +[PASS] testMockGetters() ([GAS]) +[PASS] testMockNested() ([GAS]) +[PASS] testMockNestedDelegate() ([GAS]) +[PASS] testMockSelector() ([GAS]) +Suite result: ok. 10 passed; 0 failed; 0 skipped; [ELAPSED] + +Ran 2 test suites [ELAPSED]: 21 tests passed, 0 failed, 0 skipped (21 total tests) + +"#]]); +}); diff --git a/crates/forge/tests/cli/revive_mock_calls.rs b/crates/forge/tests/cli/revive_mock_calls.rs new file mode 100644 index 0000000000000..c41a03964f1c7 --- /dev/null +++ b/crates/forge/tests/cli/revive_mock_calls.rs @@ -0,0 +1,100 @@ +// Just a copy of cheatcodes Prank.t.sol adapted to work with pvm backend. +// The adaptions are only to switch back and forth between evm and pvm. +forgetest!(mock_call, |prj, cmd| { + prj.insert_ds_test(); + prj.insert_vm(); + prj.insert_console(); + prj.add_source( + "MockCall.t.sol", + r#" +// SPDX-License-Identifier: MIT OR Apache-2.0 +pragma solidity ^0.8.18; + + +import "./test.sol"; +import "./Vm.sol"; +import {console} from "./console.sol"; + +contract MockCallsTest is DSTest { + Vm constant vm = Vm(HEVM_ADDRESS); + + function testMockCallsLastShouldPersist() public { + vm.pvm(true); + address mockUser = vm.addr(vm.randomUint()); + address mockErc20 = vm.addr(vm.randomUint()); + bytes memory data = abi.encodeWithSignature("balanceOf(address)", mockUser); + bytes[] memory mocks = new bytes[](2); + mocks[0] = abi.encode(2 ether); + mocks[1] = abi.encode(7.219 ether); + vm.mockCalls(mockErc20, data, mocks); + (, bytes memory ret1) = mockErc20.call(data); + assertEq(abi.decode(ret1, (uint256)), 2 ether); + (, bytes memory ret2) = mockErc20.call(data); + assertEq(abi.decode(ret2, (uint256)), 7.219 ether); + (, bytes memory ret3) = mockErc20.call(data); + assertEq(abi.decode(ret3, (uint256)), 7.219 ether); + } + + function testMockCallsWithValue() public { + vm.pvm(true); + + address mockUser = vm.addr(vm.randomUint()); + address mockErc20 = vm.addr(vm.randomUint()); + bytes memory data = abi.encodeWithSignature("balanceOf(address)", mockUser); + bytes[] memory mocks = new bytes[](3); + mocks[0] = abi.encode(2 ether); + mocks[1] = abi.encode(1 ether); + mocks[2] = abi.encode(6.423 ether); + vm.mockCalls(mockErc20, 1 ether, data, mocks); + (, bytes memory ret1) = mockErc20.call{value: 1 ether}(data); + assertEq(abi.decode(ret1, (uint256)), 2 ether); + (, bytes memory ret2) = mockErc20.call{value: 1 ether}(data); + assertEq(abi.decode(ret2, (uint256)), 1 ether); + (, bytes memory ret3) = mockErc20.call{value: 1 ether}(data); + assertEq(abi.decode(ret3, (uint256)), 6.423 ether); + } + + function testMockCalls() public { + vm.pvm(true); + + address mockUser = vm.addr(vm.randomUint()); + address mockErc20 = vm.addr(vm.randomUint()); + bytes memory data = abi.encodeWithSignature("balanceOf(address)", mockUser); + bytes[] memory mocks = new bytes[](3); + mocks[0] = abi.encode(2 ether); + mocks[1] = abi.encode(1 ether); + mocks[2] = abi.encode(6.423 ether); + vm.mockCalls(mockErc20, data, mocks); + (, bytes memory ret1) = mockErc20.call(data); + assertEq(abi.decode(ret1, (uint256)), 2 ether); + (, bytes memory ret2) = mockErc20.call(data); + assertEq(abi.decode(ret2, (uint256)), 1 ether); + (, bytes memory ret3) = mockErc20.call(data); + assertEq(abi.decode(ret3, (uint256)), 6.423 ether); + } +} + +"#, + ) + .unwrap(); + + let res = cmd.args(["test", "--resolc", "--resolc-startup"]).assert_success(); + + res.stderr_eq(str![""]).stdout_eq(str![[r#" +[COMPILING_FILES] with [SOLC_VERSION] +[SOLC_VERSION] [ELAPSED] +Compiler run successful! +[COMPILING_FILES] with [RESOLC_VERSION] +[RESOLC_VERSION] [ELAPSED] +Compiler run successful! + +Ran 3 tests for src/MockCall.t.sol:MockCallsTest +[PASS] testMockCalls() ([GAS]) +[PASS] testMockCallsLastShouldPersist() ([GAS]) +[PASS] testMockCallsWithValue() ([GAS]) +Suite result: ok. 3 passed; 0 failed; 0 skipped; [ELAPSED] + +Ran 1 test suite [ELAPSED]: 3 tests passed, 0 failed, 0 skipped (3 total tests) + +"#]]); +}); diff --git a/crates/forge/tests/cli/revive_mock_functions.rs b/crates/forge/tests/cli/revive_mock_functions.rs new file mode 100644 index 0000000000000..b7b47462dd82e --- /dev/null +++ b/crates/forge/tests/cli/revive_mock_functions.rs @@ -0,0 +1,111 @@ +// Just a copy of cheatcodes Prank.t.sol adapted to work with pvm backend. +// The adaptions are only to switch back and forth between evm and pvm. +forgetest!(mock_call, |prj, cmd| { + prj.insert_ds_test(); + prj.insert_vm(); + prj.insert_console(); + prj.add_source( + "MockCall.t.sol", + r#" +// SPDX-License-Identifier: MIT OR Apache-2.0 +pragma solidity ^0.8.18; + + +import "./test.sol"; +import "./Vm.sol"; +import {console} from "./console.sol"; + +contract MockFunctionContract { + uint256 public a; + + function mocked_function() public { + a = 321; + } + + function mocked_args_function(uint256 x) public { + a = 321 + x; + } +} + +contract ModelMockFunctionContract { + uint256 public a; + + function mocked_function() public { + a = 123; + } + + function mocked_args_function(uint256 x) public { + a = 123 + x; + } +} + +contract MockFunctionTest is DSTest { + MockFunctionContract my_contract; + ModelMockFunctionContract model_contract; + Vm vm = Vm(HEVM_ADDRESS); + + function setUp() public { + vm.pvm(true); + my_contract = new MockFunctionContract(); + model_contract = new ModelMockFunctionContract(); + } + + function test_mockx_function() public { + vm.mockFunction( + address(my_contract), + address(model_contract), + abi.encodeWithSelector(MockFunctionContract.mocked_function.selector) + ); + my_contract.mocked_function(); + assertEq(my_contract.a(), 123); + } + + function test_mock_function_concrete_args() public { + vm.mockFunction( + address(my_contract), + address(model_contract), + abi.encodeWithSelector(MockFunctionContract.mocked_args_function.selector, 456) + ); + my_contract.mocked_args_function(456); + assertEq(my_contract.a(), 123 + 456); + my_contract.mocked_args_function(567); + assertEq(my_contract.a(), 321 + 567); + } + + function test_mock_function_all_args() public { + vm.mockFunction( + address(my_contract), + address(model_contract), + abi.encodeWithSelector(MockFunctionContract.mocked_args_function.selector) + ); + my_contract.mocked_args_function(678); + assertEq(my_contract.a(), 123 + 678); + my_contract.mocked_args_function(789); + assertEq(my_contract.a(), 123 + 789); + } +} + +"#, + ) + .unwrap(); + + let res = cmd.args(["test", "--resolc", "--resolc-startup"]).assert_success(); + + res.stderr_eq(str![""]).stdout_eq(str![[r#" +[COMPILING_FILES] with [SOLC_VERSION] +[SOLC_VERSION] [ELAPSED] +Compiler run successful! +[COMPILING_FILES] with [RESOLC_VERSION] +[RESOLC_VERSION] [ELAPSED] +Compiler run successful! + +Ran 3 tests for src/MockCall.t.sol:MockFunctionTest +[PASS] test_mock_function_all_args() ([GAS]) +[PASS] test_mock_function_concrete_args() ([GAS]) +[PASS] test_mockx_function() ([GAS]) +Suite result: ok. 3 passed; 0 failed; 0 skipped; [ELAPSED] + +Ran 1 test suite [ELAPSED]: 3 tests passed, 0 failed, 0 skipped (3 total tests) + +"#]]); +}); diff --git a/crates/forge/tests/cli/revive_prank.rs b/crates/forge/tests/cli/revive_prank.rs index 26a8497197a0e..d2f4022ae772a 100644 --- a/crates/forge/tests/cli/revive_prank.rs +++ b/crates/forge/tests/cli/revive_prank.rs @@ -1,12 +1,11 @@ // Just a copy of cheatcodes Prank.t.sol adapted to work with pvm backend. // The adaptions are only to switch back and forth between evm and pvm. -use crate::foundry_test_utils::snapbox::IntoData; forgetest!(prank, |prj, cmd| { prj.insert_ds_test(); prj.insert_vm(); prj.insert_console(); prj.add_source( - "Balance.t.sol", + "Prank.t.sol", r#" // SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.18; @@ -872,125 +871,201 @@ Warning: Warning: You are checking for 'tx.origin' in your code, which might lea Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:19:15 + | + 19 | require(tx.origin == expectedOrigin, originMessage); + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:31:15 + | + 31 | require(tx.origin == expectedOrigin, originMessage); + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:70:15 + | + 70 | require(tx.origin == expectedOrigin, originMessage); + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:90:19 + | + 90 | oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:130:15 + | + 130 | require(tx.origin == expectedOrigin); + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:258:58 + | + 258 | sender, "msg.sender was not set during prank", tx.origin, "tx.origin invariant failed" + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:263:59 + | + 263 | address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin invariant failed" + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:270:27 + | + 270 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:290:27 + | + 290 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:345:27 + | + 345 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:379:27 + | + 379 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:405:27 + | + 405 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:440:27 + | + 440 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:454:27 + | + 454 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:474:27 + | + 474 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:506:58 + | + 506 | sender, "msg.sender was not set during prank", tx.origin, "tx.origin invariant failed" + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:511:59 + | + 511 | address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin invariant failed" + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:528:59 + | + 528 | address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin was not cleaned up" + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:537:27 + | + 537 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] + [FILE]:579:59 + | + 579 | address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin was not cleaned up" + | ^^^^^^^^^ + Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. Polkadot comes with native account abstraction support, and therefore the initiator of a transaction might be different from the contract calling your code. It is highly recommended NOT to rely on tx.origin, but use msg.sender instead. -[FILE] -Warning: Warning: Your code or one of its dependencies uses the 'extcodesize' instruction, which is -usually needed in the following cases: - 1. To detect whether an address belongs to a smart contract. - 2. To detect whether the deploy code execution has finished. -Polkadot comes with native account abstraction support (so smart contracts are just accounts -coverned by code), and you should avoid differentiating between contracts and non-contract -addresses. -[FILE] - -Ran 1 test for src/Balance.t.sol:Issue10528 -[PASS] testStartPrankOnContractCreation() ([GAS]) -Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED] + [FILE]:677:27 + | + 677 | address oldOrigin = tx.origin; + | ^^^^^^^^^ + -Ran 1 test for src/Balance.t.sol:Issue9990 +Ran 1 test for src/Prank.t.sol:Issue9990 [PASS] testDelegatePrank() ([GAS]) Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED] -Ran 19 tests for src/Balance.t.sol:PrankTest +Ran 1 test for src/Prank.t.sol:Issue10528 +[PASS] testStartPrankOnContractCreation() ([GAS]) +Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED] + +Ran 19 tests for src/Prank.t.sol:PrankTest [PASS] testPrank0AfterPrank1(address,address) (runs: 256, [AVG_GAS]) [PASS] testPrank1AfterPrank0(address,address) (runs: 256, [AVG_GAS]) [PASS] testPrankConstructorOrigin(address,address) (runs: 256, [AVG_GAS]) diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 77997a2408df0..187b4f5f62575 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -661,7 +661,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector // TODO: gas needs fixing. let _ = gas.record_cost(call.gas_limit / 10); let outcome = if result.did_revert() { - tracing::error!("Contract call reverted"); + tracing::info!("Contract call reverted"); CallOutcome { result: InterpreterResult { result: InstructionResult::Revert, From f7145b462e70382d0293b49294eb0e2061d75134 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Wed, 8 Oct 2025 18:41:58 +0300 Subject: [PATCH 06/52] remove unneeded changes Signed-off-by: Alexandru Gheorghe --- crates/forge/tests/cli/revive_vm.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/forge/tests/cli/revive_vm.rs b/crates/forge/tests/cli/revive_vm.rs index 8cf7edbdd1d6f..ff6c817e3c760 100644 --- a/crates/forge/tests/cli/revive_vm.rs +++ b/crates/forge/tests/cli/revive_vm.rs @@ -143,7 +143,15 @@ contract CounterTest is DSTest { Compiler run successful! [COMPILING_FILES] with [RESOLC_VERSION] [RESOLC_VERSION] [ELAPSED] -Compiler run successful! +Compiler run successful with warnings: +Warning: Warning: Your code or one of its dependencies uses the 'extcodesize' instruction, which is +usually needed in the following cases: + 1. To detect whether an address belongs to a smart contract. + 2. To detect whether the deploy code execution has finished. +Polkadot comes with native account abstraction support (so smart contracts are just accounts +coverned by code), and you should avoid differentiating between contracts and non-contract +addresses. +[FILE] Ran 4 tests for src/CounterTest.t.sol:CounterTest [PASS] testFuzz_SetNumber(uint256) (runs: 256, [AVG_GAS]) From 8608a9967eb0cd03a16208192dfee0919d46869e Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Wed, 8 Oct 2025 18:43:22 +0300 Subject: [PATCH 07/52] remove unneeded file Signed-off-by: Alexandru Gheorghe --- prank_test/test/MockFunction.t.sol | 75 ------------------------------ 1 file changed, 75 deletions(-) delete mode 100644 prank_test/test/MockFunction.t.sol diff --git a/prank_test/test/MockFunction.t.sol b/prank_test/test/MockFunction.t.sol deleted file mode 100644 index 0093a5e1ea9f9..0000000000000 --- a/prank_test/test/MockFunction.t.sol +++ /dev/null @@ -1,75 +0,0 @@ -// SPDX-License-Identifier: MIT OR Apache-2.0 -pragma solidity ^0.8.18; - -import {Vm, console} from "forge-std/Test.sol"; -import "ds-test/test.sol"; - -contract MockFunctionContract { - uint256 public a; - - function mocked_function() public { - a = 321; - } - - function mocked_args_function(uint256 x) public { - a = 321 + x; - } -} - -contract ModelMockFunctionContract { - uint256 public a; - - function mocked_function() public { - a = 123; - } - - function mocked_args_function(uint256 x) public { - a = 123 + x; - } -} - -contract MockFunctionTest is DSTest { - MockFunctionContract my_contract; - ModelMockFunctionContract model_contract; - Vm vm = Vm(HEVM_ADDRESS); - - function setUp() public { - vm.pvm(true); - my_contract = new MockFunctionContract(); - model_contract = new ModelMockFunctionContract(); - } - - function test_mockx_function() public { - vm.mockFunction( - address(my_contract), - address(model_contract), - abi.encodeWithSelector(MockFunctionContract.mocked_function.selector) - ); - my_contract.mocked_function(); - assertEq(my_contract.a(), 123); - } - - function test_mock_function_concrete_args() public { - vm.mockFunction( - address(my_contract), - address(model_contract), - abi.encodeWithSelector(MockFunctionContract.mocked_args_function.selector, 456) - ); - my_contract.mocked_args_function(456); - assertEq(my_contract.a(), 123 + 456); - my_contract.mocked_args_function(567); - assertEq(my_contract.a(), 321 + 567); - } - - function test_mock_function_all_args() public { - vm.mockFunction( - address(my_contract), - address(model_contract), - abi.encodeWithSelector(MockFunctionContract.mocked_args_function.selector) - ); - my_contract.mocked_args_function(678); - assertEq(my_contract.a(), 123 + 678); - my_contract.mocked_args_function(789); - assertEq(my_contract.a(), 123 + 789); - } -} From 50e8f4378b04f39fc379eea84161c2762d3fd194 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Mon, 20 Oct 2025 14:40:01 +0300 Subject: [PATCH 08/52] compile against latest branch Signed-off-by: Alexandru Gheorghe --- Cargo.toml | 2 +- crates/revive-strategy/src/cheatcodes/mock_handler.rs | 8 ++++---- crates/revive-strategy/src/cheatcodes/mod.rs | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 01b3386266544..778424ea1e0ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -265,7 +265,7 @@ alloy-sol-types = "1.2.1" alloy-chains = "0.2" alloy-rlp = "0.3" -alloy-trie = "0.9" +alloy-trie = "0.9.1" ## op-alloy op-alloy-consensus = "0.17.2" diff --git a/crates/revive-strategy/src/cheatcodes/mock_handler.rs b/crates/revive-strategy/src/cheatcodes/mock_handler.rs index b2f28e92b0467..8c447c4f84e33 100644 --- a/crates/revive-strategy/src/cheatcodes/mock_handler.rs +++ b/crates/revive-strategy/src/cheatcodes/mock_handler.rs @@ -74,12 +74,12 @@ impl MockHandler for MockHandlerImpl { fn mock_call( &self, callee: H160, - call_data: Vec, + call_data: &[u8], value_transferred: polkadot_sdk::pallet_revive::U256, ) -> Option { let mut mock_inner = self.inner.lock().ok()?; let ctx = MockCallDataContext { - calldata: call_data.clone().into(), + calldata: call_data.to_vec().into(), value: Some(U256::from_limbs(value_transferred.0)), }; @@ -132,7 +132,7 @@ impl MockHandler for MockHandlerImpl { fn mock_delegated_caller( &self, dest: H160, - input_data: Vec, + input_data: &[u8], ) -> Option> { let mock_inner = self.inner.lock().ok()?; @@ -140,7 +140,7 @@ impl MockHandler for MockHandlerImpl { if let Some(mocked_function) = mock_inner.mocked_functions.get(&Address::from_slice(dest.as_bytes())) { - let input_data = Bytes::from(input_data); + let input_data = Bytes::from(input_data.to_vec()); if let Some(target) = mocked_function .get(&input_data) .or_else(|| input_data.get(..4).and_then(|selector| mocked_function.get(selector))) diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 187b4f5f62575..2cebc8c9c1002 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -496,8 +496,8 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector let exec_config = ExecConfig { bump_nonce: true, - collect_deposit_from_hold: false, - effective_gas_price: Some(>::evm_gas_price()), + collect_deposit_from_hold: None, + effective_gas_price: Some(>::evm_base_fee()), mock_handler: Some(Box::new(mock_handler.clone())), }; let code = Code::Upload(contract.resolc_bytecode.as_bytes().unwrap().to_vec()); @@ -636,8 +636,8 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector let target = H160::from_slice(call.target_address.as_slice()); let exec_config = ExecConfig { bump_nonce: true, - collect_deposit_from_hold: false, - effective_gas_price: Some(>::evm_gas_price()), + collect_deposit_from_hold: None, + effective_gas_price: Some(>::evm_base_fee()), mock_handler: Some(Box::new(mock_handler.clone())), }; Pallet::::bare_call( From 0b39a22b6c09f5263447273fa8fc9ffca400fb77 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Mon, 20 Oct 2025 14:54:07 +0300 Subject: [PATCH 09/52] rebased on master Signed-off-by: Alexandru Gheorghe --- Cargo.lock | 634 ++++++++++++++++++++++++++++------------------------- 1 file changed, 335 insertions(+), 299 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e06049b8aecc9..720a1d31e6193 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -940,9 +940,9 @@ dependencies = [ [[package]] name = "alloy-trie" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bada1fc392a33665de0dc50d401a3701b62583c655e3522a323490a5da016962" +checksum = "e3412d52bb97c6c6cc27ccc28d4e6e8cf605469101193b50b0bd5813b1f990b5" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -1971,7 +1971,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -2001,7 +2001,7 @@ dependencies = [ [[package]] name = "assets-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "ethereum-standards", @@ -2814,7 +2814,7 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "hash-db", "log", @@ -3117,7 +3117,7 @@ checksum = "26c4925bc979b677330a8c7fe7a8c94af2dbb4a2d37b4a20a80d884400f46baa" [[package]] name = "bp-header-chain" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-runtime", "finality-grandpa", @@ -3134,7 +3134,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-header-chain", "bp-runtime", @@ -3150,7 +3150,7 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -3167,7 +3167,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-messages", "bp-runtime", @@ -3184,7 +3184,7 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-header-chain", "bp-messages", @@ -3202,7 +3202,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -3225,7 +3225,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-header-chain", "bp-parachains", @@ -3245,7 +3245,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-messages", "bp-runtime", @@ -3262,7 +3262,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -3274,7 +3274,7 @@ dependencies = [ [[package]] name = "bridge-hub-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3293,7 +3293,7 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -3335,7 +3335,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-header-chain", "bp-messages", @@ -3944,7 +3944,7 @@ checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" dependencies = [ "serde", "termcolor", - "unicode-width 0.1.14", + "unicode-width 0.2.0", ] [[package]] @@ -4636,7 +4636,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4653,7 +4653,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -4670,7 +4670,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -4707,7 +4707,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -4718,7 +4718,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4731,7 +4731,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-solo-to-para" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4746,7 +4746,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -4765,7 +4765,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4780,7 +4780,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "approx", "bounded-collections 0.3.2", @@ -4806,7 +4806,7 @@ dependencies = [ [[package]] name = "cumulus-ping" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -4821,7 +4821,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "sp-api", "sp-consensus-aura", @@ -4830,7 +4830,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -4847,7 +4847,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -4861,7 +4861,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -4871,7 +4871,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -4888,7 +4888,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -4898,7 +4898,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4915,7 +4915,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -5891,7 +5891,7 @@ dependencies = [ [[package]] name = "ethereum-standards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "alloy-core", ] @@ -6435,7 +6435,7 @@ dependencies = [ [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", ] @@ -7142,7 +7142,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-support-procedural", @@ -7166,7 +7166,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-pallet-pov" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7194,7 +7194,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7205,7 +7205,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -7222,7 +7222,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "aquamarine", "frame-support", @@ -7252,7 +7252,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "const-hex", @@ -7268,7 +7268,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "aquamarine", "array-bytes", @@ -7309,7 +7309,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "Inflector", "cfg-expr", @@ -7329,7 +7329,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -7341,7 +7341,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "proc-macro2", "quote", @@ -7351,7 +7351,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cfg-if", "docify", @@ -7370,7 +7370,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7384,7 +7384,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "parity-scale-codec", @@ -7394,7 +7394,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "parity-scale-codec", @@ -11154,7 +11154,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11173,7 +11173,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11191,7 +11191,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-ops" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11209,7 +11209,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11224,7 +11224,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11238,7 +11238,7 @@ dependencies = [ [[package]] name = "pallet-asset-rewards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11256,7 +11256,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11272,7 +11272,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "29.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11288,7 +11288,7 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "pallet-assets", @@ -11300,7 +11300,7 @@ dependencies = [ [[package]] name = "pallet-assets-holder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11315,7 +11315,7 @@ dependencies = [ [[package]] name = "pallet-assets-precompiles" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "ethereum-standards", "frame-support", @@ -11326,7 +11326,7 @@ dependencies = [ [[package]] name = "pallet-atomic-swap" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11336,7 +11336,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -11352,7 +11352,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -11367,7 +11367,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -11380,7 +11380,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11403,7 +11403,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "aquamarine", "docify", @@ -11424,7 +11424,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -11440,7 +11440,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -11459,7 +11459,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -11484,7 +11484,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11501,7 +11501,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-header-chain", "bp-runtime", @@ -11520,7 +11520,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-header-chain", "bp-messages", @@ -11539,7 +11539,7 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-header-chain", "bp-parachains", @@ -11559,7 +11559,7 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-header-chain", "bp-messages", @@ -11582,7 +11582,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bitvec", "frame-benchmarking", @@ -11600,7 +11600,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11618,7 +11618,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11637,7 +11637,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -11654,7 +11654,7 @@ dependencies = [ [[package]] name = "pallet-collective-content" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11668,7 +11668,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "environmental", "frame-benchmarking", @@ -11698,7 +11698,7 @@ dependencies = [ [[package]] name = "pallet-contracts-mock-network" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -11729,7 +11729,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "proc-macro2", "quote", @@ -11739,7 +11739,7 @@ dependencies = [ [[package]] name = "pallet-contracts-uapi" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -11750,7 +11750,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "assert_matches", "frame-benchmarking", @@ -11766,7 +11766,7 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11784,7 +11784,7 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -11799,7 +11799,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11816,7 +11816,7 @@ dependencies = [ [[package]] name = "pallet-derivatives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11836,7 +11836,7 @@ dependencies = [ [[package]] name = "pallet-dev-mode" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -11851,7 +11851,7 @@ dependencies = [ [[package]] name = "pallet-dummy-dim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11869,7 +11869,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-block" version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11890,7 +11890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11911,7 +11911,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11924,7 +11924,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -11942,7 +11942,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -11960,7 +11960,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -11978,7 +11978,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12000,7 +12000,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12016,7 +12016,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12035,7 +12035,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12050,7 +12050,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12061,7 +12061,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12074,7 +12074,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12090,7 +12090,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "environmental", "frame-benchmarking", @@ -12109,7 +12109,7 @@ dependencies = [ [[package]] name = "pallet-meta-tx" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -12127,7 +12127,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -12146,7 +12146,7 @@ dependencies = [ [[package]] name = "pallet-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "parity-scale-codec", @@ -12160,7 +12160,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "parity-scale-codec", @@ -12169,10 +12169,27 @@ dependencies = [ "sp-mmr-primitives", ] +[[package]] +name = "pallet-multi-asset-bounties" +version = "1.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "parity-scale-codec", @@ -12183,7 +12200,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "pallet-assets", @@ -12196,7 +12213,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12213,7 +12230,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "sp-api", @@ -12222,7 +12239,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12232,7 +12249,7 @@ dependencies = [ [[package]] name = "pallet-node-authorization" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "parity-scale-codec", @@ -12243,7 +12260,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -12261,7 +12278,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12281,7 +12298,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -12291,7 +12308,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -12306,7 +12323,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12329,7 +12346,7 @@ dependencies = [ [[package]] name = "pallet-oracle" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12347,7 +12364,7 @@ dependencies = [ [[package]] name = "pallet-oracle-runtime-api" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -12358,7 +12375,7 @@ dependencies = [ [[package]] name = "pallet-origin-restriction" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12376,7 +12393,7 @@ dependencies = [ [[package]] name = "pallet-paged-list" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "parity-scale-codec", @@ -12388,7 +12405,7 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -12405,7 +12422,7 @@ dependencies = [ [[package]] name = "pallet-people" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12423,7 +12440,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12439,7 +12456,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12449,7 +12466,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12467,7 +12484,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12477,7 +12494,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12494,7 +12511,7 @@ dependencies = [ [[package]] name = "pallet-remark" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12510,9 +12527,11 @@ dependencies = [ [[package]] name = "pallet-revive" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ + "alloy-consensus", "alloy-core", + "alloy-trie", "derive_more 0.99.20", "environmental", "ethereum-standards", @@ -12523,6 +12542,7 @@ dependencies = [ "hex-literal", "humantime-serde", "impl-trait-for-tuples", + "k256", "log", "num-bigint", "num-integer", @@ -12549,6 +12569,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-version", "substrate-bn", "subxt-signer", ] @@ -12556,7 +12577,7 @@ dependencies = [ [[package]] name = "pallet-revive-fixtures" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "alloy-core", "anyhow", @@ -12573,7 +12594,7 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "proc-macro2", "quote", @@ -12583,7 +12604,7 @@ dependencies = [ [[package]] name = "pallet-revive-uapi" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "alloy-core", "bitflags 1.3.2", @@ -12598,7 +12619,7 @@ dependencies = [ [[package]] name = "pallet-root-offences" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -12614,7 +12635,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -12627,7 +12648,7 @@ dependencies = [ [[package]] name = "pallet-safe-mode" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "pallet-balances", @@ -12641,7 +12662,7 @@ dependencies = [ [[package]] name = "pallet-salary" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "pallet-ranked-collective", @@ -12653,7 +12674,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -12670,7 +12691,7 @@ dependencies = [ [[package]] name = "pallet-scored-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -12683,7 +12704,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -12705,7 +12726,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12721,7 +12742,7 @@ dependencies = [ [[package]] name = "pallet-skip-feeless-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -12733,7 +12754,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12750,7 +12771,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12771,7 +12792,7 @@ dependencies = [ [[package]] name = "pallet-staking-async" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12795,7 +12816,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-ah-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12815,7 +12836,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-rc-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -12832,7 +12853,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "sp-arithmetic", @@ -12841,7 +12862,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "sp-api", @@ -12851,7 +12872,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "sp-arithmetic", @@ -12860,7 +12881,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "sp-api", @@ -12870,7 +12891,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12886,7 +12907,7 @@ dependencies = [ [[package]] name = "pallet-statement" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", @@ -12903,7 +12924,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -12918,7 +12939,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -12936,7 +12957,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12954,7 +12975,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -12970,7 +12991,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -12982,7 +13003,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -13001,7 +13022,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -13020,7 +13041,7 @@ dependencies = [ [[package]] name = "pallet-tx-pause" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "parity-scale-codec", @@ -13031,7 +13052,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -13045,7 +13066,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -13060,7 +13081,7 @@ dependencies = [ [[package]] name = "pallet-verify-signature" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -13075,7 +13096,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -13089,7 +13110,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -13099,7 +13120,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bounded-collections 0.3.2", "frame-benchmarking", @@ -13107,7 +13128,6 @@ dependencies = [ "frame-system", "hex-literal", "pallet-balances", - "pallet-revive", "parity-scale-codec", "scale-info", "serde", @@ -13124,7 +13144,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -13141,7 +13161,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-messages", "bp-runtime", @@ -13163,7 +13183,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -13180,10 +13200,24 @@ dependencies = [ "tracing", ] +[[package]] +name = "pallet-xcm-precompiles" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +dependencies = [ + "frame-support", + "pallet-revive", + "pallet-xcm", + "parity-scale-codec", + "staging-xcm", + "staging-xcm-executor", + "tracing", +] + [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -13214,7 +13248,7 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -13658,7 +13692,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -13669,7 +13703,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -13686,7 +13720,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bitvec", "bounded-collections 0.3.2", @@ -13715,7 +13749,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bitvec", "frame-benchmarking", @@ -13764,7 +13798,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bs58", "frame-benchmarking", @@ -13776,7 +13810,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -13823,7 +13857,7 @@ dependencies = [ [[package]] name = "polkadot-sdk" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "asset-test-utils", "assets-common", @@ -13928,6 +13962,7 @@ dependencies = [ "pallet-migrations", "pallet-mixnet", "pallet-mmr", + "pallet-multi-asset-bounties", "pallet-multisig", "pallet-nft-fractionalization", "pallet-nfts", @@ -13990,6 +14025,7 @@ dependencies = [ "pallet-xcm-benchmarks", "pallet-xcm-bridge-hub", "pallet-xcm-bridge-hub-router", + "pallet-xcm-precompiles", "parachains-common", "parachains-runtimes-test-utils", "polkadot-core-primitives", @@ -14093,7 +14129,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-benchmarking", @@ -15629,7 +15665,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "polkadot-primitives", @@ -16063,7 +16099,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "sp-core", @@ -16074,7 +16110,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "futures", "log", @@ -16096,7 +16132,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "sp-api", @@ -16111,7 +16147,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "docify", @@ -16137,7 +16173,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -16148,7 +16184,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "bip39", @@ -16190,7 +16226,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "fnv", "futures", @@ -16216,7 +16252,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "hash-db", "kvdb", @@ -16243,7 +16279,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "futures", @@ -16266,7 +16302,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "fork-tree", @@ -16297,7 +16333,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "fork-tree", @@ -16334,7 +16370,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "fork-tree", "parity-scale-codec", @@ -16347,7 +16383,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "assert_matches", "async-trait", @@ -16382,7 +16418,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "futures", @@ -16405,7 +16441,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -16428,7 +16464,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "polkavm 0.26.0", "sc-allocator", @@ -16441,7 +16477,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "polkavm 0.26.0", @@ -16452,7 +16488,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "anyhow", "log", @@ -16468,7 +16504,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "console", "futures", @@ -16484,7 +16520,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "parking_lot 0.12.4", @@ -16498,7 +16534,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -16526,7 +16562,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16576,7 +16612,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -16586,7 +16622,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16607,7 +16643,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16642,7 +16678,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "futures", @@ -16661,7 +16697,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bs58", "bytes", @@ -16682,7 +16718,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -16691,7 +16727,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "futures", "jsonrpsee", @@ -16723,7 +16759,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -16743,7 +16779,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -16767,7 +16803,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "futures", @@ -16800,7 +16836,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "directories", @@ -16864,7 +16900,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "parity-scale-codec", @@ -16875,7 +16911,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "derive_more 0.99.20", "futures", @@ -16895,7 +16931,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "chrono", "futures", @@ -16914,7 +16950,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "chrono", "console", @@ -16942,7 +16978,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -16953,7 +16989,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "futures", @@ -16984,7 +17020,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "futures", @@ -17001,7 +17037,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-channel 1.9.0", "futures", @@ -17900,7 +17936,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "enumn", "parity-scale-codec", @@ -18082,7 +18118,7 @@ dependencies = [ [[package]] name = "snowbridge-core" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bp-relayers", "frame-support", @@ -18317,7 +18353,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "hash-db", @@ -18339,7 +18375,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "Inflector", "blake2 0.10.6", @@ -18353,7 +18389,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -18365,7 +18401,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "integer-sqrt", @@ -18379,7 +18415,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -18391,7 +18427,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "sp-api", "sp-inherents", @@ -18401,7 +18437,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "futures", "parity-scale-codec", @@ -18420,7 +18456,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "futures", @@ -18434,7 +18470,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "parity-scale-codec", @@ -18450,7 +18486,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "parity-scale-codec", @@ -18468,7 +18504,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -18488,7 +18524,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "finality-grandpa", "log", @@ -18505,7 +18541,7 @@ dependencies = [ [[package]] name = "sp-consensus-pow" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "sp-api", @@ -18516,7 +18552,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -18527,7 +18563,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "ark-vrf", "array-bytes", @@ -18574,7 +18610,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", ] @@ -18582,7 +18618,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "sp-crypto-hashing-proc-macro", ] @@ -18590,7 +18626,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -18624,7 +18660,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "blake2b_simd", "byteorder", @@ -18637,7 +18673,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "quote", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", @@ -18647,7 +18683,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "kvdb", "parking_lot 0.12.4", @@ -18656,7 +18692,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "proc-macro2", "quote", @@ -18666,7 +18702,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "environmental", "parity-scale-codec", @@ -18676,7 +18712,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -18688,7 +18724,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -18701,7 +18737,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bytes", "docify", @@ -18727,7 +18763,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "sp-core", "sp-runtime", @@ -18737,7 +18773,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -18748,7 +18784,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -18757,7 +18793,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -18767,7 +18803,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -18778,7 +18814,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "log", "parity-scale-codec", @@ -18795,7 +18831,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -18808,7 +18844,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "sp-api", "sp-core", @@ -18818,7 +18854,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "backtrace", "regex", @@ -18827,7 +18863,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -18837,7 +18873,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "binary-merkle-tree", "docify", @@ -18866,7 +18902,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -18884,7 +18920,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "Inflector", "expander", @@ -18897,7 +18933,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -18911,7 +18947,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -18924,7 +18960,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "hash-db", "log", @@ -18944,7 +18980,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -18968,12 +19004,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -18985,7 +19021,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "parity-scale-codec", @@ -18997,7 +19033,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "regex", @@ -19009,7 +19045,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "sp-api", "sp-runtime", @@ -19018,7 +19054,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "parity-scale-codec", @@ -19032,7 +19068,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "ahash", "foldhash 0.1.5", @@ -19057,7 +19093,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19074,7 +19110,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -19086,7 +19122,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -19098,7 +19134,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "bounded-collections 0.3.2", "parity-scale-codec", @@ -19187,7 +19223,7 @@ dependencies = [ [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -19200,7 +19236,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -19221,7 +19257,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "environmental", "frame-support", @@ -19245,7 +19281,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "environmental", "frame-benchmarking", @@ -19418,7 +19454,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -19443,7 +19479,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-support" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "jsonrpsee", @@ -19457,7 +19493,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -19477,7 +19513,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -19491,7 +19527,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "async-trait", "jsonrpsee", @@ -19515,7 +19551,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "build-helper", "cargo_metadata 0.15.4", @@ -20052,7 +20088,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "testnet-parachains-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -21913,7 +21949,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "polkadot-primitives", @@ -22584,7 +22620,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "Inflector", "proc-macro2", @@ -22595,7 +22631,7 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "parity-scale-codec", @@ -22609,7 +22645,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#9d13964cf3f5e10a5c91a25275966868f39e24b3" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" dependencies = [ "frame-support", "frame-system", From effbecbc79e365e6e37befaa683aec72f2f8f6f0 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Tue, 21 Oct 2025 13:04:47 +0300 Subject: [PATCH 10/52] add cheatcode testsuite Signed-off-by: Alexandru Gheorghe --- crates/forge/tests/cli/main.rs | 4 - .../forge/tests/it/revive/cheat_mock_call.rs | 171 +++++++ .../forge/tests/it/revive/cheat_mock_calls.rs | 27 ++ .../tests/it/revive/cheat_mock_functions.rs | 27 ++ crates/forge/tests/it/revive/cheat_prank.rs | 169 +++++++ crates/forge/tests/it/revive/mod.rs | 4 + .../default/revive/MockCall.t.sol | 63 +-- .../default/revive/MockCalls.t.sol | 42 +- .../default/revive/MockFunction.t.sol | 43 +- .../default/revive/Prank.t.sol | 421 +----------------- 10 files changed, 433 insertions(+), 538 deletions(-) create mode 100644 crates/forge/tests/it/revive/cheat_mock_call.rs create mode 100644 crates/forge/tests/it/revive/cheat_mock_calls.rs create mode 100644 crates/forge/tests/it/revive/cheat_mock_functions.rs create mode 100644 crates/forge/tests/it/revive/cheat_prank.rs rename crates/forge/tests/cli/revive_mock_call.rs => testdata/default/revive/MockCall.t.sol (84%) rename crates/forge/tests/cli/revive_mock_calls.rs => testdata/default/revive/MockCalls.t.sol (71%) rename crates/forge/tests/cli/revive_mock_functions.rs => testdata/default/revive/MockFunction.t.sol (63%) rename crates/forge/tests/cli/revive_prank.rs => testdata/default/revive/Prank.t.sol (60%) diff --git a/crates/forge/tests/cli/main.rs b/crates/forge/tests/cli/main.rs index aca8ca2864c36..5765ccc2acfcb 100644 --- a/crates/forge/tests/cli/main.rs +++ b/crates/forge/tests/cli/main.rs @@ -28,10 +28,6 @@ mod revive_compiler; mod revive_config; mod revive_create; mod revive_inspect; -mod revive_mock_call; -mod revive_mock_calls; -mod revive_mock_functions; -mod revive_prank; mod revive_vm; mod rvm; mod script; diff --git a/crates/forge/tests/it/revive/cheat_mock_call.rs b/crates/forge/tests/it/revive/cheat_mock_call.rs new file mode 100644 index 0000000000000..5fe67c06aa899 --- /dev/null +++ b/crates/forge/tests/it/revive/cheat_mock_call.rs @@ -0,0 +1,171 @@ +use crate::{config::*, test_helpers::TEST_DATA_REVIVE}; +use foundry_test_utils::Filter; +use revm::primitives::hardfork::SpecId; + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_getters() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockGetters", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_clear_mock_reverted_calls() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testClearMockRevertedCalls", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_empty_account_revert() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallEmptyAccountRevert", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_revert() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallResetsMockCallRevert", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_reverts_partial_match() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallRevertPartialMatch", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_revert_resets_mock_call() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallRevertResetsMockCall", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_revert_with_call() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallRevertWithCall", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_revert_with_value() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallRevertWithValue", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_data_revert() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCalldataRevert", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_getters_revert() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockGettersRevert", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_nested_revert() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockNestedRevert", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_revert_with_custom_error() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockRevertWithCustomError", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_clear_mocked_calls() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testClearMockedCalls", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_empty_account() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallEmptyAccount", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_multiple_partial_match() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallMultiplePartialMatch", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_with_value() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallWithValue", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_call_with_value_calldata_precedence() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallWithValueCalldataPrecedence", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_calldata() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCalldata", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_nested() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockNested", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_nested_delegate() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockNestedDelegate", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_selector() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockSelector", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} diff --git a/crates/forge/tests/it/revive/cheat_mock_calls.rs b/crates/forge/tests/it/revive/cheat_mock_calls.rs new file mode 100644 index 0000000000000..a509b533cc178 --- /dev/null +++ b/crates/forge/tests/it/revive/cheat_mock_calls.rs @@ -0,0 +1,27 @@ +use crate::{config::*, test_helpers::TEST_DATA_REVIVE}; +use foundry_test_utils::Filter; +use revm::primitives::hardfork::SpecId; + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_calls() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCalls", "MockCalls", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_calls_last_should_persist() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallsLastShouldPersist", "MockCalls", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_calls_with_value() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockCallsWithValue", "MockCalls", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} diff --git a/crates/forge/tests/it/revive/cheat_mock_functions.rs b/crates/forge/tests/it/revive/cheat_mock_functions.rs new file mode 100644 index 0000000000000..246396de70921 --- /dev/null +++ b/crates/forge/tests/it/revive/cheat_mock_functions.rs @@ -0,0 +1,27 @@ +use crate::{config::*, test_helpers::TEST_DATA_REVIVE}; +use foundry_test_utils::Filter; +use revm::primitives::hardfork::SpecId; + +#[tokio::test(flavor = "multi_thread")] +async fn test_mockx_function() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("test_mockx_function", "MockFunction", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_function_concrete_args() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("test_mock_function_concrete_args", "MockFunction", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_function_all_args() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("test_mock_function_all_args", "MockFunction", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} diff --git a/crates/forge/tests/it/revive/cheat_prank.rs b/crates/forge/tests/it/revive/cheat_prank.rs new file mode 100644 index 0000000000000..4f701aff9cba1 --- /dev/null +++ b/crates/forge/tests/it/revive/cheat_prank.rs @@ -0,0 +1,169 @@ +use crate::{config::*, test_helpers::TEST_DATA_REVIVE}; +use foundry_test_utils::Filter; +use revm::primitives::hardfork::SpecId; + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank0_after_prank1() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrank0AfterPrank1", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank1_after_prank0() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrank1AfterPrank0", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_constructor_origin() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankConstructorOrigin", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_constructor_sender() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankConstructorSender", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_delegate_call_prank2() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankDelegateCallPrank2", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_delegate_call_prank3() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankDelegateCallPrank3", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_delegate_call_start_prank2() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankDelegateCallStartPrank2", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_delegate_call_start_prank3() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankDelegateCallStartPrank3", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_origin() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankOrigin", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_sender() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankSender", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_start_stop() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankStartStop", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_start_stop_constructor() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testPrankStartStopConstructor", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_revert_if_overwrite_unused_prank() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testRevertIfOverwriteUnusedPrank", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_revert_if_overwrite_unused_prank_after_successful_prank() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new( + "testRevertIfOverwriteUnusedPrankAfterSuccessfulPrank", + "Prank", + ".*/revive/.*", + ); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_delegate_call_to_eoa() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testRevertIfPrankDelegateCalltoEOA", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_start_prank0_after_prank1() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testStartPrank0AfterPrank1", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_start_prank0_after_start_prank1() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testStartPrank0AfterStartPrank1", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_start_prank1_after_start_prank0() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testStartPrank1AfterStartPrank0", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_prank_tx_origin_in_nested_prank() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testTxOriginInNestedPrank", "Prank", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +// TODO: Enable once etch support is enabled. + +// #[tokio::test(flavor = "multi_thread")] +// async fn test_revive_delegate_prank() { +// let runner = TEST_DATA_REVIVE.runner_revive(); +// let filter = Filter::new("testDelegatePrank", "Prank", ".*/revive/.*"); + +// TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +// } diff --git a/crates/forge/tests/it/revive/mod.rs b/crates/forge/tests/it/revive/mod.rs index 2bdb64d1c630f..ba48f24f81c17 100644 --- a/crates/forge/tests/it/revive/mod.rs +++ b/crates/forge/tests/it/revive/mod.rs @@ -1,3 +1,7 @@ //! Revive strategy tests +pub mod cheat_mock_call; +pub mod cheat_mock_calls; +pub mod cheat_mock_functions; +pub mod cheat_prank; pub mod migration; diff --git a/crates/forge/tests/cli/revive_mock_call.rs b/testdata/default/revive/MockCall.t.sol similarity index 84% rename from crates/forge/tests/cli/revive_mock_call.rs rename to testdata/default/revive/MockCall.t.sol index 1907708fb7ecb..595b4f79d4e2f 100644 --- a/crates/forge/tests/cli/revive_mock_call.rs +++ b/testdata/default/revive/MockCall.t.sol @@ -1,19 +1,10 @@ -// Just a copy of cheatcodes Prank.t.sol adapted to work with pvm backend. -// The adaptions are only to switch back and forth between evm and pvm. -forgetest!(mock_call, |prj, cmd| { - prj.insert_ds_test(); - prj.insert_vm(); - prj.insert_console(); - prj.add_source( - "MockCall.t.sol", - r#" // SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.18; -import "./test.sol"; -import "./Vm.sol"; -import {console} from "./console.sol"; +import "ds-test/test.sol"; +import "cheats/Vm.sol"; +import "../../default/logs/console.sol"; contract Mock { uint256 state = 0; @@ -381,7 +372,7 @@ contract MockCallRevertTest is DSTest { assertEq(data, customError); } - function testMockCallEmptyAccount() public { + function testMockCallEmptyAccountRevert() public { vm.pvm(true); Mock mock = Mock(address(100)); @@ -396,49 +387,3 @@ contract MockCallRevertTest is DSTest { } } - -"#, - ) - .unwrap(); - - let res = cmd.args(["test", "--resolc", "--resolc-startup"]).assert_success(); - - res.stderr_eq(str![""]).stdout_eq(str![[r#" -[COMPILING_FILES] with [SOLC_VERSION] -[SOLC_VERSION] [ELAPSED] -Compiler run successful! -[COMPILING_FILES] with [RESOLC_VERSION] -[RESOLC_VERSION] [ELAPSED] -Compiler run successful! - -Ran 11 tests for src/MockCall.t.sol:MockCallRevertTest -[PASS] testClearMockRevertedCalls() ([GAS]) -[PASS] testMockCallEmptyAccount() ([GAS]) -[PASS] testMockCallResetsMockCallRevert() ([GAS]) -[PASS] testMockCallRevertPartialMatch() ([GAS]) -[PASS] testMockCallRevertResetsMockCall() ([GAS]) -[PASS] testMockCallRevertWithCall() ([GAS]) -[PASS] testMockCallRevertWithValue() ([GAS]) -[PASS] testMockCalldataRevert() ([GAS]) -[PASS] testMockGettersRevert() ([GAS]) -[PASS] testMockNestedRevert() ([GAS]) -[PASS] testMockRevertWithCustomError() ([GAS]) -Suite result: ok. 11 passed; 0 failed; 0 skipped; [ELAPSED] - -Ran 10 tests for src/MockCall.t.sol:MockCallTest -[PASS] testClearMockedCalls() ([GAS]) -[PASS] testMockCallEmptyAccount() ([GAS]) -[PASS] testMockCallMultiplePartialMatch() ([GAS]) -[PASS] testMockCallWithValue() ([GAS]) -[PASS] testMockCallWithValueCalldataPrecedence() ([GAS]) -[PASS] testMockCalldata() ([GAS]) -[PASS] testMockGetters() ([GAS]) -[PASS] testMockNested() ([GAS]) -[PASS] testMockNestedDelegate() ([GAS]) -[PASS] testMockSelector() ([GAS]) -Suite result: ok. 10 passed; 0 failed; 0 skipped; [ELAPSED] - -Ran 2 test suites [ELAPSED]: 21 tests passed, 0 failed, 0 skipped (21 total tests) - -"#]]); -}); diff --git a/crates/forge/tests/cli/revive_mock_calls.rs b/testdata/default/revive/MockCalls.t.sol similarity index 71% rename from crates/forge/tests/cli/revive_mock_calls.rs rename to testdata/default/revive/MockCalls.t.sol index c41a03964f1c7..b9b68be1681e4 100644 --- a/crates/forge/tests/cli/revive_mock_calls.rs +++ b/testdata/default/revive/MockCalls.t.sol @@ -1,19 +1,10 @@ -// Just a copy of cheatcodes Prank.t.sol adapted to work with pvm backend. -// The adaptions are only to switch back and forth between evm and pvm. -forgetest!(mock_call, |prj, cmd| { - prj.insert_ds_test(); - prj.insert_vm(); - prj.insert_console(); - prj.add_source( - "MockCall.t.sol", - r#" // SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.18; -import "./test.sol"; -import "./Vm.sol"; -import {console} from "./console.sol"; +import "ds-test/test.sol"; +import "cheats/Vm.sol"; +import "../../default/logs/console.sol"; contract MockCallsTest is DSTest { Vm constant vm = Vm(HEVM_ADDRESS); @@ -72,29 +63,4 @@ contract MockCallsTest is DSTest { (, bytes memory ret3) = mockErc20.call(data); assertEq(abi.decode(ret3, (uint256)), 6.423 ether); } -} - -"#, - ) - .unwrap(); - - let res = cmd.args(["test", "--resolc", "--resolc-startup"]).assert_success(); - - res.stderr_eq(str![""]).stdout_eq(str![[r#" -[COMPILING_FILES] with [SOLC_VERSION] -[SOLC_VERSION] [ELAPSED] -Compiler run successful! -[COMPILING_FILES] with [RESOLC_VERSION] -[RESOLC_VERSION] [ELAPSED] -Compiler run successful! - -Ran 3 tests for src/MockCall.t.sol:MockCallsTest -[PASS] testMockCalls() ([GAS]) -[PASS] testMockCallsLastShouldPersist() ([GAS]) -[PASS] testMockCallsWithValue() ([GAS]) -Suite result: ok. 3 passed; 0 failed; 0 skipped; [ELAPSED] - -Ran 1 test suite [ELAPSED]: 3 tests passed, 0 failed, 0 skipped (3 total tests) - -"#]]); -}); +} \ No newline at end of file diff --git a/crates/forge/tests/cli/revive_mock_functions.rs b/testdata/default/revive/MockFunction.t.sol similarity index 63% rename from crates/forge/tests/cli/revive_mock_functions.rs rename to testdata/default/revive/MockFunction.t.sol index b7b47462dd82e..937fa3a4fa572 100644 --- a/crates/forge/tests/cli/revive_mock_functions.rs +++ b/testdata/default/revive/MockFunction.t.sol @@ -1,19 +1,9 @@ -// Just a copy of cheatcodes Prank.t.sol adapted to work with pvm backend. -// The adaptions are only to switch back and forth between evm and pvm. -forgetest!(mock_call, |prj, cmd| { - prj.insert_ds_test(); - prj.insert_vm(); - prj.insert_console(); - prj.add_source( - "MockCall.t.sol", - r#" -// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.18; -import "./test.sol"; -import "./Vm.sol"; -import {console} from "./console.sol"; +import "ds-test/test.sol"; +import "cheats/Vm.sol"; +import "../../default/logs/console.sol"; contract MockFunctionContract { uint256 public a; @@ -83,29 +73,4 @@ contract MockFunctionTest is DSTest { my_contract.mocked_args_function(789); assertEq(my_contract.a(), 123 + 789); } -} - -"#, - ) - .unwrap(); - - let res = cmd.args(["test", "--resolc", "--resolc-startup"]).assert_success(); - - res.stderr_eq(str![""]).stdout_eq(str![[r#" -[COMPILING_FILES] with [SOLC_VERSION] -[SOLC_VERSION] [ELAPSED] -Compiler run successful! -[COMPILING_FILES] with [RESOLC_VERSION] -[RESOLC_VERSION] [ELAPSED] -Compiler run successful! - -Ran 3 tests for src/MockCall.t.sol:MockFunctionTest -[PASS] test_mock_function_all_args() ([GAS]) -[PASS] test_mock_function_concrete_args() ([GAS]) -[PASS] test_mockx_function() ([GAS]) -Suite result: ok. 3 passed; 0 failed; 0 skipped; [ELAPSED] - -Ran 1 test suite [ELAPSED]: 3 tests passed, 0 failed, 0 skipped (3 total tests) - -"#]]); -}); +} \ No newline at end of file diff --git a/crates/forge/tests/cli/revive_prank.rs b/testdata/default/revive/Prank.t.sol similarity index 60% rename from crates/forge/tests/cli/revive_prank.rs rename to testdata/default/revive/Prank.t.sol index d2f4022ae772a..0e941a47a5374 100644 --- a/crates/forge/tests/cli/revive_prank.rs +++ b/testdata/default/revive/Prank.t.sol @@ -1,19 +1,10 @@ -// Just a copy of cheatcodes Prank.t.sol adapted to work with pvm backend. -// The adaptions are only to switch back and forth between evm and pvm. -forgetest!(prank, |prj, cmd| { - prj.insert_ds_test(); - prj.insert_vm(); - prj.insert_console(); - prj.add_source( - "Prank.t.sol", - r#" // SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.18; -import "./test.sol"; -import "./Vm.sol"; -import {console} from "./console.sol"; +import "ds-test/test.sol"; +import "cheats/Vm.sol"; +import "../../default/logs/console.sol"; contract Victim { @@ -47,27 +38,6 @@ contract NestedVictim { innerVictim = victim; } - // function assertCallerAndOrigin( - // address expectedSender, - // string memory senderMessage, - // address expectedOrigin, - // string memory originMessage - // ) public view { - // console.log("msg.sender:", msg.sender); - // // require(msg.sender == expectedSender, senderMessage); - // // require(msg.sender == tx.origin, "NestedVictim: msg.sender should equal tx.origin"); - // require(tx.origin == expectedOrigin, "NestedVictim: tx.origin invariant failed"); - // require(msg.sender == expectedSender, senderMessage); - // // require(tx.origin == expectedOrigin, originMessage); - // innerVictim.assertCallerAndOrigin( - // address(this), - // //msg.sender, - // "msg.sender was incorrectly set for nested victim", - // expectedOrigin, - // "tx.origin was incorrectly set for nested victim" - // ); - // } - function assertCallerAndOrigin( address expectedSender, string memory senderMessage, @@ -156,9 +126,10 @@ contract PrankTest is DSTest { vm.pvm(true); ProxyTest proxy = new ProxyTest(); ImplementationTest impl = new ImplementationTest(); - // vm.prank(address(proxy), true); - console.log("Proxy address:", address(proxy)); - console.log("Impl address:", address(impl)); + vm.prank(address(proxy), true); + // console.log("Proxy address:", address(proxy)); + // console.log("Impl address:", address(impl)); + // console.log("THIS address:", address(this)); // Assert correct `msg.sender` (bool success,) = address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", address(proxy))); @@ -193,7 +164,8 @@ contract PrankTest is DSTest { vm.stopPrank(); } - function testPrankDelegateCallPrank3(address origin) public { + function testPrankDelegateCallPrank3() public { + address origin = address(999); vm.assume(isNotReserved(origin)); vm.pvm(true); ProxyTest proxy = new ProxyTest(); @@ -321,7 +293,7 @@ contract PrankTest is DSTest { ); } - function isNotReserved(address addr) internal pure returns (bool) { + function isNotReserved(address addr) internal returns (bool) { // Check for zero address and common precompiles (addresses 1-9) if ( addr == address(0) || @@ -339,7 +311,7 @@ contract PrankTest is DSTest { addr == address(12) || addr == address(13) || addr == address(14) || - addr == address(15) + addr == address(15) || addr == address(this) ) { return false; } @@ -382,6 +354,7 @@ contract PrankTest is DSTest { function testStartPrank0AfterPrank1(address sender, address origin) public { vm.assume(isNotReserved(sender)); vm.assume(isNotReserved(origin)); + // Perform the prank vm.pvm(true); address oldOrigin = tx.origin; @@ -564,7 +537,7 @@ contract PrankTest is DSTest { ); } - function testxxxxPrankStartStopConstructor(address sender, address origin) public { + function testPrankStartStopConstructor(address sender, address origin) public { // Perform the prank vm.assume(isNotReserved(sender)); vm.assume(isNotReserved(origin)); @@ -697,15 +670,15 @@ contract PrankTest is DSTest { contract Issue9990 is DSTest { Vm constant vm = Vm(address(bytes20(uint160(uint256(keccak256("hevm cheat code")))))); - // TODO: Etch does not work. - function testDelegatePrank() external { - A a = new A(); - vm.etch(address(0x11111), hex"11"); - vm.startPrank(address(0x11111), true); - (bool success,) = address(a).delegatecall(abi.encodeWithSelector(A.foo.selector)); - require(success, "MyTest: error calling foo on A"); - vm.stopPrank(); - } + // TODO: Enable when Etch support is merged. + // function testDelegatePrank() external { + // A a = new A(); + // vm.etch(address(0x11111), hex"11"); + // vm.startPrank(address(0x11111), true); + // (bool success,) = address(a).delegatecall(abi.encodeWithSelector(A.foo.selector)); + // require(success, "MyTest: error calling foo on A"); + // vm.stopPrank(); + // } } // Contracts for DELEGATECALL test case: testDelegatePrank @@ -742,352 +715,4 @@ contract Counter { function increment() external { number++; } -} - -contract Issue10528 is DSTest { - Vm constant vm = Vm(address(bytes20(uint160(uint256(keccak256("hevm cheat code")))))); - - function testStartPrankOnContractCreation() external { - vm.startPrank(address(0x22222)); - // Perform the prank - vm.pvm(true); - Counter counter = new Counter(); - - vm.startPrank(address(0x11111)); - counter.increment(); - } -} - -"#, - ) - .unwrap(); - - let res = cmd.args(["test", "--resolc", "--resolc-startup"]).assert_success(); - - res.stderr_eq(str![""]).stdout_eq(str![[r#" -[COMPILING_FILES] with [SOLC_VERSION] -[SOLC_VERSION] [ELAPSED] -Compiler run successful with warnings: -Warning (9302): Return value of low-level calls not used. - [FILE]:247:9: - | -247 | address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", alice)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:440:9: - | -440 | address oldOrigin = tx.origin; - | ^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:441:9: - | -441 | Victim victim = new Victim(); - | ^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:454:9: - | -454 | address oldOrigin = tx.origin; - | ^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:676:9: - | -676 | address oldSender = msg.sender; - | ^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:677:9: - | -677 | address oldOrigin = tx.origin; - | ^^^^^^^^^^^^^^^^^ - -Warning (2018): Function state mutability can be restricted to view - [FILE]:124:5: - | -124 | function assertCorrectCaller(address expectedSender) public { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to view - [FILE]:129:5: - | -129 | function assertCorrectOrigin(address expectedOrigin) public { - | ^ (Relevant source part starts here and spans across multiple lines). - -[COMPILING_FILES] with [RESOLC_VERSION] -[RESOLC_VERSION] [ELAPSED] -Compiler run successful with warnings: -Warning (9302): Return value of low-level calls not used. - [FILE]:247:9: - | -247 | address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", alice)); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:440:9: - | -440 | address oldOrigin = tx.origin; - | ^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:441:9: - | -441 | Victim victim = new Victim(); - | ^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:454:9: - | -454 | address oldOrigin = tx.origin; - | ^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:676:9: - | -676 | address oldSender = msg.sender; - | ^^^^^^^^^^^^^^^^^ - -Warning (2072): Unused local variable. - [FILE]:677:9: - | -677 | address oldOrigin = tx.origin; - | ^^^^^^^^^^^^^^^^^ - -Warning (2018): Function state mutability can be restricted to view - [FILE]:124:5: - | -124 | function assertCorrectCaller(address expectedSender) public { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning (2018): Function state mutability can be restricted to view - [FILE]:129:5: - | -129 | function assertCorrectOrigin(address expectedOrigin) public { - | ^ (Relevant source part starts here and spans across multiple lines). - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:19:15 - | - 19 | require(tx.origin == expectedOrigin, originMessage); - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:31:15 - | - 31 | require(tx.origin == expectedOrigin, originMessage); - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:70:15 - | - 70 | require(tx.origin == expectedOrigin, originMessage); - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:90:19 - | - 90 | oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:130:15 - | - 130 | require(tx.origin == expectedOrigin); - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:258:58 - | - 258 | sender, "msg.sender was not set during prank", tx.origin, "tx.origin invariant failed" - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:263:59 - | - 263 | address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin invariant failed" - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:270:27 - | - 270 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:290:27 - | - 290 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:345:27 - | - 345 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:379:27 - | - 379 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:405:27 - | - 405 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:440:27 - | - 440 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:454:27 - | - 454 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:474:27 - | - 474 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:506:58 - | - 506 | sender, "msg.sender was not set during prank", tx.origin, "tx.origin invariant failed" - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:511:59 - | - 511 | address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin invariant failed" - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:528:59 - | - 528 | address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin was not cleaned up" - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:537:27 - | - 537 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:579:59 - | - 579 | address(this), "msg.sender was not cleaned up", tx.origin, "tx.origin was not cleaned up" - | ^^^^^^^^^ - -Warning: Warning: You are checking for 'tx.origin' in your code, which might lead to unexpected behavior. -Polkadot comes with native account abstraction support, and therefore the initiator of a -transaction might be different from the contract calling your code. It is highly recommended NOT -to rely on tx.origin, but use msg.sender instead. - [FILE]:677:27 - | - 677 | address oldOrigin = tx.origin; - | ^^^^^^^^^ - - -Ran 1 test for src/Prank.t.sol:Issue9990 -[PASS] testDelegatePrank() ([GAS]) -Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED] - -Ran 1 test for src/Prank.t.sol:Issue10528 -[PASS] testStartPrankOnContractCreation() ([GAS]) -Suite result: ok. 1 passed; 0 failed; 0 skipped; [ELAPSED] - -Ran 19 tests for src/Prank.t.sol:PrankTest -[PASS] testPrank0AfterPrank1(address,address) (runs: 256, [AVG_GAS]) -[PASS] testPrank1AfterPrank0(address,address) (runs: 256, [AVG_GAS]) -[PASS] testPrankConstructorOrigin(address,address) (runs: 256, [AVG_GAS]) -[PASS] testPrankConstructorSender(address) (runs: 256, [AVG_GAS]) -[PASS] testPrankDelegateCallPrank2() ([GAS]) -[PASS] testPrankDelegateCallPrank3(address) (runs: 256, [AVG_GAS]) -[PASS] testPrankDelegateCallStartPrank2() ([GAS]) -[PASS] testPrankDelegateCallStartPrank3(address) (runs: 256, [AVG_GAS]) -[PASS] testPrankOrigin(address,address) (runs: 256, [AVG_GAS]) -[PASS] testPrankSender(address) (runs: 256, [AVG_GAS]) -[PASS] testPrankStartStop(address,address) (runs: 256, [AVG_GAS]) -[PASS] testRevertIfOverwriteUnusedPrank(address,address) (runs: 256, [AVG_GAS]) -[PASS] testRevertIfOverwriteUnusedPrankAfterSuccessfulPrank(address,address) (runs: 256, [AVG_GAS]) -[PASS] testRevertIfPrankDelegateCalltoEOA() ([GAS]) -[PASS] testStartPrank0AfterPrank1(address,address) (runs: 256, [AVG_GAS]) -[PASS] testStartPrank0AfterStartPrank1(address,address) (runs: 256, [AVG_GAS]) -[PASS] testStartPrank1AfterStartPrank0(address,address) (runs: 256, [AVG_GAS]) -[PASS] testTxOriginInNestedPrank(address,address) (runs: 256, [AVG_GAS]) -[PASS] testxxxxPrankStartStopConstructor(address,address) (runs: 256, [AVG_GAS]) -Suite result: ok. 19 passed; 0 failed; 0 skipped; [ELAPSED] - -Ran 3 test suites [ELAPSED]: 21 tests passed, 0 failed, 0 skipped (21 total tests) - -"#]]); -}); +} \ No newline at end of file From b005fa097bbeb01df0cbd0eddc6e2866987aa60e Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Thu, 23 Oct 2025 17:34:36 +0300 Subject: [PATCH 11/52] prank latest Signed-off-by: Alexandru Gheorghe --- Cargo.lock | 602 +++++++++--------- .../forge/tests/it/revive/cheat_mock_call.rs | 12 +- crates/revive-strategy/src/cheatcodes/mod.rs | 2 + testdata/default/revive/MockCall.t.sol | 24 +- 4 files changed, 337 insertions(+), 303 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bee591c2d9343..4b609fda86b85 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1979,7 +1979,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -2009,7 +2009,7 @@ dependencies = [ [[package]] name = "assets-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "ethereum-standards", @@ -2831,7 +2831,7 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "hash-db", "log", @@ -3134,7 +3134,7 @@ checksum = "26c4925bc979b677330a8c7fe7a8c94af2dbb4a2d37b4a20a80d884400f46baa" [[package]] name = "bp-header-chain" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-runtime", "finality-grandpa", @@ -3151,7 +3151,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-header-chain", "bp-runtime", @@ -3167,7 +3167,7 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -3184,7 +3184,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-messages", "bp-runtime", @@ -3201,7 +3201,7 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-header-chain", "bp-messages", @@ -3219,7 +3219,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -3242,7 +3242,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-header-chain", "bp-parachains", @@ -3262,7 +3262,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-messages", "bp-runtime", @@ -3279,7 +3279,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -3291,7 +3291,7 @@ dependencies = [ [[package]] name = "bridge-hub-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3310,7 +3310,7 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -3352,7 +3352,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-header-chain", "bp-messages", @@ -4653,7 +4653,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4670,7 +4670,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -4687,7 +4687,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -4724,7 +4724,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -4735,7 +4735,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -4748,7 +4748,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-solo-to-para" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4763,7 +4763,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -4782,7 +4782,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4797,7 +4797,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "approx", "bounded-collections 0.3.2", @@ -4823,7 +4823,7 @@ dependencies = [ [[package]] name = "cumulus-ping" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -4838,7 +4838,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "sp-api", "sp-consensus-aura", @@ -4847,7 +4847,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -4864,7 +4864,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -4878,7 +4878,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -4888,7 +4888,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -4915,7 +4915,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4932,7 +4932,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -5919,7 +5919,7 @@ dependencies = [ [[package]] name = "ethereum-standards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "alloy-core", ] @@ -6474,7 +6474,7 @@ dependencies = [ [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", ] @@ -7181,7 +7181,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-support-procedural", @@ -7205,7 +7205,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-pallet-pov" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7233,7 +7233,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7244,7 +7244,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -7261,7 +7261,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "aquamarine", "frame-support", @@ -7291,7 +7291,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "const-hex", @@ -7307,7 +7307,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "aquamarine", "array-bytes", @@ -7348,7 +7348,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "Inflector", "cfg-expr", @@ -7368,7 +7368,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -7380,7 +7380,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "proc-macro2", "quote", @@ -7390,7 +7390,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cfg-if", "docify", @@ -7409,7 +7409,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -7423,7 +7423,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "parity-scale-codec", @@ -7433,7 +7433,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "parity-scale-codec", @@ -9931,9 +9931,9 @@ dependencies = [ [[package]] name = "litep2p" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c666ef772d123a7643323ad4979c30dd825e9c68ec1aa5b387a6c9a9871c11ea" +checksum = "766f82624163f63b3df107fcdd014acb28fc9e4990d2a70e56dc454287fd4565" dependencies = [ "async-trait", "bs58", @@ -9954,6 +9954,7 @@ dependencies = [ "prost 0.13.5", "prost-build", "rand 0.8.5", + "ring 0.17.14", "serde", "sha2 0.10.9", "simple-dns", @@ -11259,7 +11260,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11278,7 +11279,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11296,7 +11297,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-ops" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11314,7 +11315,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11329,7 +11330,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11343,7 +11344,7 @@ dependencies = [ [[package]] name = "pallet-asset-rewards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11361,7 +11362,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11377,7 +11378,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "29.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11393,7 +11394,7 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "pallet-assets", @@ -11405,7 +11406,7 @@ dependencies = [ [[package]] name = "pallet-assets-holder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11420,7 +11421,7 @@ dependencies = [ [[package]] name = "pallet-assets-precompiles" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "ethereum-standards", "frame-support", @@ -11431,7 +11432,7 @@ dependencies = [ [[package]] name = "pallet-atomic-swap" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11441,7 +11442,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -11457,7 +11458,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -11472,7 +11473,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -11485,7 +11486,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11508,7 +11509,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "aquamarine", "docify", @@ -11529,7 +11530,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -11545,7 +11546,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -11564,7 +11565,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -11589,7 +11590,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11606,7 +11607,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-header-chain", "bp-runtime", @@ -11625,7 +11626,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-header-chain", "bp-messages", @@ -11644,7 +11645,7 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-header-chain", "bp-parachains", @@ -11664,7 +11665,7 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-header-chain", "bp-messages", @@ -11687,7 +11688,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bitvec", "frame-benchmarking", @@ -11705,7 +11706,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11723,7 +11724,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11742,7 +11743,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -11759,7 +11760,7 @@ dependencies = [ [[package]] name = "pallet-collective-content" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11773,7 +11774,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "environmental", "frame-benchmarking", @@ -11803,7 +11804,7 @@ dependencies = [ [[package]] name = "pallet-contracts-mock-network" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -11834,7 +11835,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "proc-macro2", "quote", @@ -11844,7 +11845,7 @@ dependencies = [ [[package]] name = "pallet-contracts-uapi" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -11855,7 +11856,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "assert_matches", "frame-benchmarking", @@ -11871,7 +11872,7 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11889,7 +11890,7 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -11904,7 +11905,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11921,7 +11922,7 @@ dependencies = [ [[package]] name = "pallet-derivatives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11941,7 +11942,7 @@ dependencies = [ [[package]] name = "pallet-dev-mode" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -11956,7 +11957,7 @@ dependencies = [ [[package]] name = "pallet-dummy-dim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -11974,7 +11975,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-block" version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -11995,7 +11996,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12016,7 +12017,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12029,7 +12030,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12047,7 +12048,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -12065,7 +12066,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -12083,7 +12084,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12105,7 +12106,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12121,7 +12122,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12140,7 +12141,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12155,7 +12156,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12166,7 +12167,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12179,7 +12180,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12195,7 +12196,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "environmental", "frame-benchmarking", @@ -12214,7 +12215,7 @@ dependencies = [ [[package]] name = "pallet-meta-tx" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -12232,7 +12233,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -12251,7 +12252,7 @@ dependencies = [ [[package]] name = "pallet-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "parity-scale-codec", @@ -12265,7 +12266,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "parity-scale-codec", @@ -12277,7 +12278,7 @@ dependencies = [ [[package]] name = "pallet-multi-asset-bounties" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -12294,7 +12295,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "parity-scale-codec", @@ -12305,7 +12306,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "pallet-assets", @@ -12318,7 +12319,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12335,7 +12336,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "sp-api", @@ -12344,7 +12345,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12354,7 +12355,7 @@ dependencies = [ [[package]] name = "pallet-node-authorization" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "parity-scale-codec", @@ -12365,7 +12366,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -12383,7 +12384,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12403,7 +12404,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -12413,7 +12414,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -12428,7 +12429,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12451,7 +12452,7 @@ dependencies = [ [[package]] name = "pallet-oracle" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12469,7 +12470,7 @@ dependencies = [ [[package]] name = "pallet-oracle-runtime-api" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -12480,7 +12481,7 @@ dependencies = [ [[package]] name = "pallet-origin-restriction" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12498,7 +12499,7 @@ dependencies = [ [[package]] name = "pallet-paged-list" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "parity-scale-codec", @@ -12510,7 +12511,7 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -12527,7 +12528,7 @@ dependencies = [ [[package]] name = "pallet-people" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12545,7 +12546,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12561,7 +12562,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12571,7 +12572,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12589,7 +12590,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12599,7 +12600,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12616,7 +12617,7 @@ dependencies = [ [[package]] name = "pallet-remark" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12632,7 +12633,7 @@ dependencies = [ [[package]] name = "pallet-revive" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "alloy-consensus", "alloy-core", @@ -12682,7 +12683,7 @@ dependencies = [ [[package]] name = "pallet-revive-fixtures" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "alloy-core", "anyhow", @@ -12699,7 +12700,7 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "proc-macro2", "quote", @@ -12709,7 +12710,7 @@ dependencies = [ [[package]] name = "pallet-revive-uapi" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "alloy-core", "bitflags 1.3.2", @@ -12724,7 +12725,7 @@ dependencies = [ [[package]] name = "pallet-root-offences" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -12740,7 +12741,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -12753,7 +12754,7 @@ dependencies = [ [[package]] name = "pallet-safe-mode" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "pallet-balances", @@ -12767,7 +12768,7 @@ dependencies = [ [[package]] name = "pallet-salary" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "pallet-ranked-collective", @@ -12779,7 +12780,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -12796,7 +12797,7 @@ dependencies = [ [[package]] name = "pallet-scored-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -12809,7 +12810,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -12831,7 +12832,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12847,7 +12848,7 @@ dependencies = [ [[package]] name = "pallet-skip-feeless-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -12859,7 +12860,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12876,7 +12877,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12897,7 +12898,7 @@ dependencies = [ [[package]] name = "pallet-staking-async" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12921,7 +12922,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-ah-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12941,7 +12942,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-rc-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -12958,7 +12959,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "sp-arithmetic", @@ -12967,7 +12968,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "sp-api", @@ -12977,7 +12978,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "sp-arithmetic", @@ -12986,7 +12987,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "sp-api", @@ -12996,7 +12997,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -13012,7 +13013,7 @@ dependencies = [ [[package]] name = "pallet-statement" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", @@ -13029,7 +13030,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -13044,7 +13045,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -13062,7 +13063,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -13080,7 +13081,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -13096,7 +13097,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -13108,7 +13109,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -13127,7 +13128,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -13146,7 +13147,7 @@ dependencies = [ [[package]] name = "pallet-tx-pause" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "parity-scale-codec", @@ -13157,7 +13158,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -13171,7 +13172,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -13186,7 +13187,7 @@ dependencies = [ [[package]] name = "pallet-verify-signature" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -13201,7 +13202,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -13215,7 +13216,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -13225,7 +13226,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bounded-collections 0.3.2", "frame-benchmarking", @@ -13249,7 +13250,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -13266,7 +13267,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-messages", "bp-runtime", @@ -13288,7 +13289,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -13308,7 +13309,7 @@ dependencies = [ [[package]] name = "pallet-xcm-precompiles" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "pallet-revive", @@ -13322,7 +13323,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -13353,7 +13354,7 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -13808,7 +13809,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -13819,7 +13820,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -13836,7 +13837,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bitvec", "bounded-collections 0.3.2", @@ -13865,7 +13866,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bitvec", "frame-benchmarking", @@ -13914,7 +13915,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bs58", "frame-benchmarking", @@ -13926,7 +13927,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -13973,7 +13974,7 @@ dependencies = [ [[package]] name = "polkadot-sdk" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "asset-test-utils", "assets-common", @@ -14248,7 +14249,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-benchmarking", @@ -15790,7 +15791,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "polkadot-primitives", @@ -16273,7 +16274,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "sp-core", @@ -16284,7 +16285,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "futures", "log", @@ -16306,7 +16307,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "sp-api", @@ -16321,7 +16322,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "docify", @@ -16347,7 +16348,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -16358,7 +16359,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "bip39", @@ -16400,7 +16401,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "fnv", "futures", @@ -16426,7 +16427,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "hash-db", "kvdb", @@ -16453,7 +16454,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "futures", @@ -16476,7 +16477,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "fork-tree", @@ -16507,7 +16508,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "fork-tree", @@ -16544,7 +16545,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "fork-tree", "parity-scale-codec", @@ -16557,7 +16558,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "assert_matches", "async-trait", @@ -16592,7 +16593,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "futures", @@ -16615,7 +16616,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -16638,7 +16639,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "polkavm 0.26.0", "sc-allocator", @@ -16651,7 +16652,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "polkavm 0.26.0", @@ -16662,7 +16663,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "anyhow", "log", @@ -16678,7 +16679,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "console", "futures", @@ -16694,7 +16695,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "parking_lot 0.12.4", @@ -16708,7 +16709,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -16736,7 +16737,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16786,7 +16787,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -16796,7 +16797,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16817,7 +16818,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -16852,7 +16853,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "futures", @@ -16871,7 +16872,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bs58", "bytes", @@ -16892,7 +16893,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -16901,7 +16902,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "futures", "jsonrpsee", @@ -16933,7 +16934,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -16953,7 +16954,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -16977,7 +16978,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "futures", @@ -17010,7 +17011,7 @@ dependencies = [ [[package]] name = "sc-runtime-utilities" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "sc-executor", @@ -17025,7 +17026,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "directories", @@ -17089,7 +17090,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "parity-scale-codec", @@ -17100,7 +17101,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "derive_more 0.99.20", "futures", @@ -17120,7 +17121,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "chrono", "futures", @@ -17139,7 +17140,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "chrono", "console", @@ -17167,7 +17168,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -17178,7 +17179,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "futures", @@ -17209,7 +17210,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "futures", @@ -17226,7 +17227,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-channel 1.9.0", "futures", @@ -18125,7 +18126,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "enumn", "parity-scale-codec", @@ -18307,7 +18308,7 @@ dependencies = [ [[package]] name = "snowbridge-core" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bp-relayers", "frame-support", @@ -18542,7 +18543,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "hash-db", @@ -18564,7 +18565,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "Inflector", "blake2 0.10.6", @@ -18578,7 +18579,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -18590,7 +18591,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "integer-sqrt", @@ -18604,7 +18605,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -18616,7 +18617,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "sp-api", "sp-inherents", @@ -18626,7 +18627,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "futures", "parity-scale-codec", @@ -18645,7 +18646,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "futures", @@ -18659,7 +18660,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "parity-scale-codec", @@ -18675,7 +18676,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "parity-scale-codec", @@ -18693,7 +18694,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -18713,7 +18714,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "finality-grandpa", "log", @@ -18730,7 +18731,7 @@ dependencies = [ [[package]] name = "sp-consensus-pow" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "sp-api", @@ -18741,7 +18742,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -18752,7 +18753,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "ark-vrf", "array-bytes", @@ -18799,7 +18800,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", ] @@ -18807,7 +18808,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "sp-crypto-hashing-proc-macro", ] @@ -18815,7 +18816,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -18849,7 +18850,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "blake2b_simd", "byteorder", @@ -18862,7 +18863,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "quote", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", @@ -18872,7 +18873,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "kvdb", "parking_lot 0.12.4", @@ -18881,7 +18882,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "proc-macro2", "quote", @@ -18891,7 +18892,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "environmental", "parity-scale-codec", @@ -18901,7 +18902,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -18913,7 +18914,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -18926,7 +18927,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bytes", "docify", @@ -18952,7 +18953,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "sp-core", "sp-runtime", @@ -18962,7 +18963,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -18973,7 +18974,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -18982,7 +18983,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -18992,7 +18993,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -19003,7 +19004,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "log", "parity-scale-codec", @@ -19020,7 +19021,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -19033,7 +19034,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "sp-api", "sp-core", @@ -19043,7 +19044,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "backtrace", "regex", @@ -19052,7 +19053,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -19062,9 +19063,10 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "binary-merkle-tree", + "bytes", "docify", "either", "hash256-std-hasher", @@ -19091,7 +19093,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -19109,7 +19111,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "Inflector", "expander", @@ -19122,7 +19124,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -19136,7 +19138,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -19149,7 +19151,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "hash-db", "log", @@ -19169,7 +19171,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -19193,12 +19195,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19210,7 +19212,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "parity-scale-codec", @@ -19222,7 +19224,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "regex", @@ -19234,7 +19236,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "sp-api", "sp-runtime", @@ -19243,7 +19245,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "parity-scale-codec", @@ -19257,7 +19259,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "ahash", "foldhash 0.1.5", @@ -19282,7 +19284,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19299,7 +19301,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -19311,7 +19313,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -19323,7 +19325,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "bounded-collections 0.3.2", "parity-scale-codec", @@ -19600,7 +19602,7 @@ dependencies = [ [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -19613,7 +19615,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -19634,7 +19636,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "environmental", "frame-support", @@ -19658,7 +19660,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "environmental", "frame-benchmarking", @@ -19842,7 +19844,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -19867,7 +19869,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-support" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "jsonrpsee", @@ -19881,7 +19883,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -19901,7 +19903,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -19915,7 +19917,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "async-trait", "jsonrpsee", @@ -19939,7 +19941,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "build-helper", "cargo_metadata 0.15.4", @@ -20476,7 +20478,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "testnet-parachains-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -22349,7 +22351,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "polkadot-primitives", @@ -23030,7 +23032,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "Inflector", "proc-macro2", @@ -23041,7 +23043,7 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "parity-scale-codec", @@ -23055,7 +23057,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#5f4e784c6b29e53f0108d0dc6198e340741044a4" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#47f5cf8f61ba32aaae595626f2129a8f5ca151fc" dependencies = [ "frame-support", "frame-system", diff --git a/crates/forge/tests/it/revive/cheat_mock_call.rs b/crates/forge/tests/it/revive/cheat_mock_call.rs index 5fe67c06aa899..f5d496fdba5b1 100644 --- a/crates/forge/tests/it/revive/cheat_mock_call.rs +++ b/crates/forge/tests/it/revive/cheat_mock_call.rs @@ -147,9 +147,17 @@ async fn test_mock_calldata() { } #[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested() { +async fn test_mock_nested_simple() { let runner = TEST_DATA_REVIVE.runner_revive(); - let filter = Filter::new("testMockNested", "MockCall", ".*/revive/.*"); + let filter = Filter::new("testMockNestedSimple", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_nested_pay_doesnt_transfer() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockNestedPayDoesntTransfer", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index ddf165467bf95..7851baff16642 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -667,6 +667,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector collect_deposit_from_hold: None, effective_gas_price: Some(>::evm_base_fee()), mock_handler: Some(Box::new(mock_handler.clone())), + is_dry_run: false, }; let code = Code::Upload(contract.resolc_bytecode.as_bytes().unwrap().to_vec()); let data = constructor_args.to_vec(); @@ -807,6 +808,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector collect_deposit_from_hold: None, effective_gas_price: Some(>::evm_base_fee()), mock_handler: Some(Box::new(mock_handler.clone())), + is_dry_run: false, }; Pallet::::bare_call( origin, diff --git a/testdata/default/revive/MockCall.t.sol b/testdata/default/revive/MockCall.t.sol index 595b4f79d4e2f..61e6fe34da95e 100644 --- a/testdata/default/revive/MockCall.t.sol +++ b/testdata/default/revive/MockCall.t.sol @@ -17,6 +17,10 @@ contract Mock { return 2; } + function numberBPayable() public payable returns (uint256) { + return 2; + } + function add(uint256 a, uint256 b) public pure returns (uint256) { return a + b; } @@ -42,6 +46,10 @@ contract NestedMock { function sum() public view returns (uint256) { return inner.numberA() + inner.numberB(); } + + function sumPay() public returns (uint256) { + return inner.numberA() + inner.numberBPayable{value:10}(); + } } contract NestedMockDelegateCall { @@ -76,7 +84,7 @@ contract MockCallTest is DSTest { assertEq(target.numberB(), 10); } - function testMockNested() public { + function testMockNestedSimple() public { vm.pvm(true); Mock inner = new Mock(); @@ -91,6 +99,20 @@ contract MockCallTest is DSTest { assertEq(target.sum(), 10); } + function testMockNestedPayDoesntTransfer() public { + vm.pvm(true); + + Mock inner = new Mock(); + NestedMock target = new NestedMock(inner); + + vm.mockCall(address(inner), abi.encodeWithSelector(inner.numberBPayable.selector), abi.encode(9)); + // Check balance of inner before and after call to ensure no ETH was transferred + uint256 balance_before = address(inner).balance; + assertEq(target.sumPay(), 10); + uint256 balance_after = address(inner).balance; + assertEq(balance_before, balance_after); + } + // Ref: https://github.com/foundry-rs/foundry/issues/8066 function testMockNestedDelegate() public { vm.pvm(true); From e15127f70a9b96895364763585b23cc8dae68704 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Mon, 27 Oct 2025 10:36:04 +0200 Subject: [PATCH 12/52] fixup migration Signed-off-by: Alexandru Gheorghe --- crates/forge/tests/cli/revive_vm.rs | 190 ++++++++++++++-------------- 1 file changed, 95 insertions(+), 95 deletions(-) diff --git a/crates/forge/tests/cli/revive_vm.rs b/crates/forge/tests/cli/revive_vm.rs index 9b5532e67c4a3..af1e478d90bc4 100644 --- a/crates/forge/tests/cli/revive_vm.rs +++ b/crates/forge/tests/cli/revive_vm.rs @@ -416,53 +416,53 @@ Compiler run successful! Ran 2 tests for src/CounterTest.t.sol:CounterTest [PASS] test_Increment() ([GAS]) Traces: - [765075403] CounterTest::setUp() - ├─ [262294819] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [747441095] CounterTest::setUp() + ├─ [260232041] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 7404 bytes of code ├─ [0] VM::expectEmit() │ └─ ← [Return] ├─ emit SetNumber(result: 5) - ├─ [385250826] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::setNumber(5) + ├─ [376824103] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setNumber(5) │ ├─ emit SetNumber(result: 5) │ └─ ← [Stop] - ├─ [117489011] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::number() [staticcall] + ├─ [110344204] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 5 └─ ← [Stop] - [737726031] CounterTest::test_Increment() - ├─ [117489011] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::number() [staticcall] + [1045451058] CounterTest::test_Increment() + ├─ [110344204] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 5 - ├─ [385250826] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::setNumber(55) + ├─ [376824103] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setNumber(55) │ ├─ emit SetNumber(result: 55) │ └─ ← [Stop] - ├─ [117489011] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::number() [staticcall] + ├─ [110344204] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 55 - ├─ [0] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::increment() + ├─ [447930375] 0x34A1D3fff3958843C43aD80F30b94c510645C316::increment() │ ├─ emit Increment(result: 56) │ └─ ← [Stop] - ├─ [117489011] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::number() [staticcall] + ├─ [0] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 56 └─ ← [Stop] [PASS] test_expectRevert() ([GAS]) Traces: - [765075403] CounterTest::setUp() - ├─ [262294819] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [747441095] CounterTest::setUp() + ├─ [260232041] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 7404 bytes of code ├─ [0] VM::expectEmit() │ └─ ← [Return] ├─ emit SetNumber(result: 5) - ├─ [385250826] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::setNumber(5) + ├─ [376824103] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setNumber(5) │ ├─ emit SetNumber(result: 5) │ └─ ← [Stop] - ├─ [117489011] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::number() [staticcall] + ├─ [110344204] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 5 └─ ← [Stop] - [56930227] CounterTest::test_expectRevert() + [47479926] CounterTest::test_expectRevert() ├─ [0] VM::expectRevert(custom error 0xf28dceb3: 0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006456941a80000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000076661696c7572650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) │ └─ ← [Return] - ├─ [56921388] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::failed_call() [staticcall] + ├─ [47471087] 0x34A1D3fff3958843C43aD80F30b94c510645C316::failed_call() [staticcall] │ └─ ← [Revert] Revert("failure") └─ ← [Stop] @@ -598,51 +598,51 @@ Compiler run successful! Ran 2 tests for src/Test.t.sol:RecordTest [PASS] testRecordAccess() ([GAS]) Traces: - [961089406] RecordTest::testRecordAccess() - ├─ [16788608] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [943952687] RecordTest::testRecordAccess() + ├─ [14363527] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 4095 bytes of code - ├─ [16788608] → new @0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f + ├─ [14363527] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 │ └─ ← [Return] 2182 bytes of code ├─ [0] VM::record() │ └─ ← [Return] - ├─ [927440089] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::record(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f) - │ ├─ [0] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::record() + ├─ [915153532] 0x34A1D3fff3958843C43aD80F30b94c510645C316::record(0x90193C961A926261B756D1E5bb255e67ff9498A1) + │ ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::record() │ │ └─ ← [Return] │ └─ ← [Stop] - ├─ [0] VM::accesses(0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC) + ├─ [0] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) │ └─ ← [Return] [0x0000000000000000000000000000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000000000000000000000000001], [0x0000000000000000000000000000000000000000000000000000000000000001] - ├─ [0] VM::accesses(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f) + ├─ [0] VM::accesses(0x90193C961A926261B756D1E5bb255e67ff9498A1) │ └─ ← [Return] [0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000002], [0x0000000000000000000000000000000000000000000000000000000000000002] └─ ← [Stop] [PASS] testStopRecordAccess() ([GAS]) Traces: - [961093272] RecordTest::testStopRecordAccess() - ├─ [16788608] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [943956553] RecordTest::testStopRecordAccess() + ├─ [14363527] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 4095 bytes of code - ├─ [16788608] → new @0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f + ├─ [14363527] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 │ └─ ← [Return] 2182 bytes of code ├─ [0] VM::record() │ └─ ← [Return] - ├─ [927440089] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::record(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f) - │ ├─ [0] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::record() + ├─ [915153532] 0x34A1D3fff3958843C43aD80F30b94c510645C316::record(0x90193C961A926261B756D1E5bb255e67ff9498A1) + │ ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::record() │ │ └─ ← [Return] │ └─ ← [Stop] - ├─ [0] VM::accesses(0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC) + ├─ [0] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) │ └─ ← [Return] [0x0000000000000000000000000000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000000000000000000000000001], [0x0000000000000000000000000000000000000000000000000000000000000001] ├─ [0] VM::stopRecord() │ └─ ← [Return] - ├─ [0] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::record(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f) - │ ├─ [0] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::record() + ├─ [0] 0x34A1D3fff3958843C43aD80F30b94c510645C316::record(0x90193C961A926261B756D1E5bb255e67ff9498A1) + │ ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::record() │ │ └─ ← [Return] │ └─ ← [Stop] - ├─ [0] VM::accesses(0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC) + ├─ [0] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) │ └─ ← [Return] [0x0000000000000000000000000000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000000000000000000000000001], [0x0000000000000000000000000000000000000000000000000000000000000001] ├─ [0] VM::record() │ └─ ← [Return] ├─ [0] VM::stopRecord() │ └─ ← [Return] - ├─ [0] VM::accesses(0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC) + ├─ [0] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) │ └─ ← [Return] [], [] └─ ← [Stop] @@ -915,35 +915,35 @@ Compiler run successful! Ran 7 tests for src/Test.t.sol:RecordLogsTest [PASS] testEmitRecordEmit() ([GAS]) Traces: - [16868742] RecordLogsTest::setUp() - ├─ [16830999] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [14435813] RecordLogsTest::setUp() + ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 12583 bytes of code └─ ← [Stop] - [357757177] RecordLogsTest::testEmitRecordEmit() - ├─ [183812741] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(1, 2, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) + [307413004] RecordLogsTest::testEmitRecordEmit() + ├─ [157803902] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 2, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) │ ├─ emit LogTopic12(topic1: 1, topic2: 2, data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) │ └─ ← [Stop] ├─ [0] VM::recordLogs() │ └─ ← [Return] - ├─ [173888857] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(3, 0x2e38edeff9493e0004540e975027a429) + ├─ [149553523] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(3, 0x2e38edeff9493e0004540e975027a429) │ ├─ emit LogTopic1(topic1: 3, data: 0x2e38edeff9493e0004540e975027a429) │ └─ ← [Stop] ├─ [0] VM::getRecordedLogs() - │ └─ ← [Return] [([0x7c7d81fafce31d4330303f05da0ccb9d970101c475382b40aa072986ee4caaad, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000102e38edeff9493e0004540e975027a42900000000000000000000000000000000, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC)] + │ └─ ← [Return] [([0x7c7d81fafce31d4330303f05da0ccb9d970101c475382b40aa072986ee4caaad, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000102e38edeff9493e0004540e975027a42900000000000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] ├─ storage changes: │ @ 1: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350 → 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4232d03ee63e14e30 └─ ← [Stop] [PASS] testRecordOffGetsNothing() ([GAS]) Traces: - [16868742] RecordLogsTest::setUp() - ├─ [16830999] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [14435813] RecordLogsTest::setUp() + ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 12583 bytes of code └─ ← [Stop] - [202674284] RecordLogsTest::testRecordOffGetsNothing() - ├─ [202625294] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(1, 2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) + [174915500] RecordLogsTest::testRecordOffGetsNothing() + ├─ [174866510] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) │ ├─ emit LogTopic123(topic1: 1, topic2: 2, topic3: 3, data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) │ └─ ← [Stop] ├─ [0] VM::getRecordedLogs() @@ -954,35 +954,35 @@ Traces: [PASS] testRecordOnEmitDifferentDepths() ([GAS]) Traces: - [16868742] RecordLogsTest::setUp() - ├─ [16830999] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [14435813] RecordLogsTest::setUp() + ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 12583 bytes of code └─ ← [Stop] - [999237291] RecordLogsTest::testRecordOnEmitDifferentDepths() + [967163397] RecordLogsTest::testRecordOnEmitDifferentDepths() ├─ [0] VM::recordLogs() │ └─ ← [Return] ├─ emit LogTopic(topic1: 1, data: 0x43a26051362b8040b289abe93334a5e3) - ├─ [180758801] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa) + ├─ [155315462] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa) │ ├─ emit LogTopic12(topic1: 2, topic2: 3, data: 0x43a26051362b8040b289abe93334a5e3662751aa) │ └─ ← [Stop] - ├─ [818371229] → new @0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f + ├─ [811740674] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 │ └─ ← [Return] 10554 bytes of code - ├─ [0] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) - │ ├─ [0] 0x104fBc016F4bb334D775a19E8A6510109AC63E00::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) + ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) + │ ├─ [0] 0xd04404bcf6d969FC0Ec22021b4736510CAcec492::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) │ │ ├─ emit LogTopic123(topic1: 4, topic2: 5, topic3: 6, data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) │ │ └─ ← [Return] │ └─ ← [Stop] ├─ [0] VM::getRecordedLogs() - │ └─ ← [Return] [([0x61fb7db3625c10432927a76bb32400c33a94e9bb6374137c4cd59f6e465bfdcb, 0x0000000000000000000000000000000000000000000000000000000000000001], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001043a26051362b8040b289abe93334a5e300000000000000000000000000000000, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496), ([0x7af92d5e3102a27d908bb1859fdef71b723f3c438e5d84f3af49dab68e18dc6d, 0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001443a26051362b8040b289abe93334a5e3662751aa000000000000000000000000, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC), ([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000004, 0x0000000000000000000000000000000000000000000000000000000000000005, 0x0000000000000000000000000000000000000000000000000000000000000006], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001843a26051362b8040b289abe93334a5e3662751aa691185ae0000000000000000, 0x104fBc016F4bb334D775a19E8A6510109AC63E00)] - ├─ [0] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::getEmitterAddr() [staticcall] - │ └─ ← [Return] 0x104fBc016F4bb334D775a19E8A6510109AC63E00 + │ └─ ← [Return] [([0x61fb7db3625c10432927a76bb32400c33a94e9bb6374137c4cd59f6e465bfdcb, 0x0000000000000000000000000000000000000000000000000000000000000001], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001043a26051362b8040b289abe93334a5e300000000000000000000000000000000, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496), ([0x7af92d5e3102a27d908bb1859fdef71b723f3c438e5d84f3af49dab68e18dc6d, 0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001443a26051362b8040b289abe93334a5e3662751aa000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316), ([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000004, 0x0000000000000000000000000000000000000000000000000000000000000005, 0x0000000000000000000000000000000000000000000000000000000000000006], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001843a26051362b8040b289abe93334a5e3662751aa691185ae0000000000000000, 0xd04404bcf6d969FC0Ec22021b4736510CAcec492)] + ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::getEmitterAddr() [staticcall] + │ └─ ← [Return] 0xd04404bcf6d969FC0Ec22021b4736510CAcec492 └─ ← [Stop] [PASS] testRecordOnNoLogs() ([GAS]) Traces: - [16868742] RecordLogsTest::setUp() - ├─ [16830999] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [14435813] RecordLogsTest::setUp() + ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 12583 bytes of code └─ ← [Stop] @@ -995,73 +995,73 @@ Traces: [PASS] testRecordOnSingleLog() ([GAS]) Traces: - [16868742] RecordLogsTest::setUp() - ├─ [16830999] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [14435813] RecordLogsTest::setUp() + ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 12583 bytes of code └─ ← [Stop] - [187093023] RecordLogsTest::testRecordOnSingleLog() + [160643851] RecordLogsTest::testRecordOnSingleLog() ├─ [0] VM::recordLogs() │ └─ ← [Return] - ├─ [187077066] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(1, 2, 3, 0x4576656e74204461746120696e20537472696e67) + ├─ [160627894] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 2, 3, 0x4576656e74204461746120696e20537472696e67) │ ├─ emit LogTopic123(topic1: 1, topic2: 2, topic3: 3, data: 0x4576656e74204461746120696e20537472696e67) │ └─ ← [Stop] ├─ [0] VM::getRecordedLogs() - │ └─ ← [Return] [([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000144576656e74204461746120696e20537472696e67000000000000000000000000, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC)] + │ └─ ← [Return] [([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000144576656e74204461746120696e20537472696e67000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] └─ ← [Stop] [PASS] testRecordOnSingleLogTopic0() ([GAS]) Traces: - [16868742] RecordLogsTest::setUp() - ├─ [16830999] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [14435813] RecordLogsTest::setUp() + ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 12583 bytes of code └─ ← [Stop] - [184656340] RecordLogsTest::testRecordOnSingleLogTopic0() + [159742399] RecordLogsTest::testRecordOnSingleLogTopic0() ├─ [0] VM::recordLogs() │ └─ ← [Return] - ├─ [184603101] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) + ├─ [159689160] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) │ ├─ emit LogTopic0(data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) │ └─ ← [Stop] ├─ [0] VM::getRecordedLogs() - │ └─ ← [Return] [([0x0a28c6fad56bcbad1788721e440963b3b762934a3134924733eaf8622cb44279], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003043a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a42900000000000000000000000000000000, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC)] + │ └─ ← [Return] [([0x0a28c6fad56bcbad1788721e440963b3b762934a3134924733eaf8622cb44279], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003043a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a42900000000000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] ├─ storage changes: │ @ 1: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350 → 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4232d03ee63e14e30 └─ ← [Stop] [PASS] testRecordsConsumednAsRead() ([GAS]) Traces: - [16868742] RecordLogsTest::setUp() - ├─ [16830999] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [14435813] RecordLogsTest::setUp() + ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 12583 bytes of code └─ ← [Stop] - [903065419] RecordLogsTest::testRecordsConsumednAsRead() - ├─ [173888857] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(1, 0x43a26051362b8040b289abe93334a5e3) + [775841573] RecordLogsTest::testRecordsConsumednAsRead() + ├─ [149553523] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 0x43a26051362b8040b289abe93334a5e3) │ ├─ emit LogTopic1(topic1: 1, data: 0x43a26051362b8040b289abe93334a5e3) │ └─ ← [Stop] ├─ [0] VM::recordLogs() │ └─ ← [Return] ├─ [0] VM::getRecordedLogs() │ └─ ← [Return] [] - ├─ [181776781] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) + ├─ [156144942] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) │ ├─ emit LogTopic12(topic1: 2, topic2: 3, data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) │ └─ ← [Stop] ├─ [0] VM::getRecordedLogs() - │ └─ ← [Return] [([0x7af92d5e3102a27d908bb1859fdef71b723f3c438e5d84f3af49dab68e18dc6d, 0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001843a26051362b8040b289abe93334a5e3662751aa691185ae0000000000000000, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC)] - ├─ [187077066] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa) + │ └─ ← [Return] [([0x7af92d5e3102a27d908bb1859fdef71b723f3c438e5d84f3af49dab68e18dc6d, 0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001843a26051362b8040b289abe93334a5e3662751aa691185ae0000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] + ├─ [160627894] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa) │ ├─ emit LogTopic123(topic1: 4, topic2: 5, topic3: 6, data: 0x43a26051362b8040b289abe93334a5e3662751aa) │ └─ ← [Stop] - ├─ [172108813] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) + ├─ [147938984] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) │ ├─ emit LogTopic0(data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) │ └─ ← [Stop] ├─ [0] VM::getRecordedLogs() - │ └─ ← [Return] [([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000004, 0x0000000000000000000000000000000000000000000000000000000000000005, 0x0000000000000000000000000000000000000000000000000000000000000006], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001443a26051362b8040b289abe93334a5e3662751aa000000000000000000000000, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC), ([0x0a28c6fad56bcbad1788721e440963b3b762934a3134924733eaf8622cb44279], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002043a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC)] - ├─ [188095046] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::emitEvent(7, 8, 9, 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4) + │ └─ ← [Return] [([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000004, 0x0000000000000000000000000000000000000000000000000000000000000005, 0x0000000000000000000000000000000000000000000000000000000000000006], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001443a26051362b8040b289abe93334a5e3662751aa000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316), ([0x0a28c6fad56bcbad1788721e440963b3b762934a3134924733eaf8622cb44279], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002043a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] + ├─ [161457374] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(7, 8, 9, 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4) │ ├─ emit LogTopic123(topic1: 7, topic2: 8, topic3: 9, data: 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4) │ └─ ← [Stop] ├─ [0] VM::getRecordedLogs() - │ └─ ← [Return] [([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000007, 0x0000000000000000000000000000000000000000000000000000000000000008, 0x0000000000000000000000000000000000000000000000000000000000000009], 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000182e38edeff9493e0004540e975027a429ee666d1289f2c7a40000000000000000, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC)] + │ └─ ← [Return] [([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000007, 0x0000000000000000000000000000000000000000000000000000000000000008, 0x0000000000000000000000000000000000000000000000000000000000000009], 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000182e38edeff9493e0004540e975027a429ee666d1289f2c7a40000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] ├─ storage changes: │ @ 1: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350 → 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4232d03ee63e14e30 └─ ← [Stop] @@ -1211,58 +1211,58 @@ Compiler run successful! Ran 3 tests for src/Test.t.sol:StateDiffTest [PASS] testCallProxyaccesses() ([GAS]) Traces: - [585251161] StateDiffTest::setUp() - ├─ [292049387] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [570494757] StateDiffTest::setUp() + ├─ [284769285] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 5531 bytes of code - ├─ [293109162] → new @0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f + ├─ [285632860] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 │ └─ ← [Return] 6405 bytes of code └─ ← [Stop] - [728077974] StateDiffTest::testCallProxyaccesses() + [709209629] StateDiffTest::testCallProxyaccesses() ├─ [0] VM::startStateDiffRecording() │ └─ ← [Return] - ├─ [728040641] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::proxyCall(55) - │ ├─ [0] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::setter(55) + ├─ [709172296] 0x90193C961A926261B756D1E5bb255e67ff9498A1::proxyCall(55) + │ ├─ [0] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setter(55) │ │ └─ ← [Return] │ └─ ← [Stop] ├─ [0] VM::stopAndReturnStateDiff() - │ └─ ← [Return] [((0, 31337 [3.133e4]), 0, 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496, true, 0, 1000000000000000000 [1e18], 0x, 0, 0xac1b14ff0000000000000000000000000000000000000000000000000000000000000037, false, [(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f, 0x0000000000000000000000000000000000000000000000000000000000000000, false, 0x0000000000000000000000007d8cb8f412b3ee9ac79558791333f41d2b1ccdac, 0x0000000000000000000000007d8cb8f412b3ee9ac79558791333f41d2b1ccdac, false)], 1), ((0, 31337 [3.133e4]), 0, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC, 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f, true, 1000000000000000000 [1e18], 1000000000000000000 [1e18], 0x, 0, 0xd423740b0000000000000000000000000000000000000000000000000000000000000037, false, [(0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC, 0x0000000000000000000000000000000000000000000000000000000000000001, false, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000064, false), (0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC, 0x0000000000000000000000000000000000000000000000000000000000000001, true, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000037, false)], 2)] + │ └─ ← [Return] [((0, 31337 [3.133e4]), 0, 0x90193C961A926261B756D1E5bb255e67ff9498A1, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496, true, 0, 1000000000000000000 [1e18], 0x, 0, 0xac1b14ff0000000000000000000000000000000000000000000000000000000000000037, false, [(0x90193C961A926261B756D1E5bb255e67ff9498A1, 0x0000000000000000000000000000000000000000000000000000000000000000, false, 0x00000000000000000000000034a1d3fff3958843c43ad80f30b94c510645c316, 0x00000000000000000000000034a1d3fff3958843c43ad80f30b94c510645c316, false)], 1), ((0, 31337 [3.133e4]), 0, 0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x90193C961A926261B756D1E5bb255e67ff9498A1, true, 1000000000000000000 [1e18], 1000000000000000000 [1e18], 0x, 0, 0xd423740b0000000000000000000000000000000000000000000000000000000000000037, false, [(0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x0000000000000000000000000000000000000000000000000000000000000001, false, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000064, false), (0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x0000000000000000000000000000000000000000000000000000000000000001, true, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000037, false)], 2)] └─ ← [Stop] [PASS] testCallaccesses() ([GAS]) Traces: - [585251161] StateDiffTest::setUp() - ├─ [292049387] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [570494757] StateDiffTest::setUp() + ├─ [284769285] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 5531 bytes of code - ├─ [293109162] → new @0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f + ├─ [285632860] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 │ └─ ← [Return] 6405 bytes of code └─ ← [Stop] - [276825754] StateDiffTest::testCallaccesses() + [272398730] StateDiffTest::testCallaccesses() ├─ [0] VM::startStateDiffRecording() │ └─ ← [Return] - ├─ [276796934] 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC::setter(55) + ├─ [272369910] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setter(55) │ └─ ← [Stop] ├─ [0] VM::stopAndReturnStateDiff() - │ └─ ← [Return] [((0, 31337 [3.133e4]), 0, 0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496, true, 1000000000000000000 [1e18], 1000000000000000000 [1e18], 0x, 0, 0xd423740b0000000000000000000000000000000000000000000000000000000000000037, false, [(0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC, 0x0000000000000000000000000000000000000000000000000000000000000001, false, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000064, false), (0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC, 0x0000000000000000000000000000000000000000000000000000000000000001, true, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000037, false)], 1)] + │ └─ ← [Return] [((0, 31337 [3.133e4]), 0, 0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496, true, 1000000000000000000 [1e18], 1000000000000000000 [1e18], 0x, 0, 0xd423740b0000000000000000000000000000000000000000000000000000000000000037, false, [(0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x0000000000000000000000000000000000000000000000000000000000000001, false, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000064, false), (0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x0000000000000000000000000000000000000000000000000000000000000001, true, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000037, false)], 1)] └─ ← [Stop] [PASS] testCreateaccesses() ([GAS]) Traces: - [585251161] StateDiffTest::setUp() - ├─ [292049387] → new @0x7D8CB8F412B3ee9AC79558791333F41d2b1ccDAC + [570494757] StateDiffTest::setUp() + ├─ [284769285] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 │ └─ ← [Return] 5531 bytes of code - ├─ [293109162] → new @0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f + ├─ [285632860] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 │ └─ ← [Return] 6405 bytes of code └─ ← [Stop] - [292103665] StateDiffTest::testCreateaccesses() + [284823563] StateDiffTest::testCreateaccesses() ├─ [0] VM::startStateDiffRecording() │ └─ ← [Return] - ├─ [292049387] → new @0x2e234DAe75C793f67A35089C9d99245E1C58470b + ├─ [284769285] → new @0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496 │ └─ ← [Return] 5531 bytes of code ├─ [0] VM::stopAndReturnStateDiff() - │ └─ ← [Return] [((0, 31337 [3.133e4]), 4, 0x2e234DAe75C793f67A35089C9d99245E1C58470b, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496, true, 0, 1000000000000000000 [1e18], 0x, 1000000000000000000 [1e18], 0x0000000000000000000000000000000000000000000000000000000000000064, false, [(0x2e234DAe75C793f67A35089C9d99245E1C58470b, 0x0000000000000000000000000000000000000000000000000000000000000001, false, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, false), (0x2e234DAe75C793f67A35089C9d99245E1C58470b, 0x0000000000000000000000000000000000000000000000000000000000000001, true, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000064, false)], 1)] + │ └─ ← [Return] [((0, 31337 [3.133e4]), 4, 0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496, true, 0, 1000000000000000000 [1e18], 0x, 1000000000000000000 [1e18], 0x0000000000000000000000000000000000000000000000000000000000000064, false, [(0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496, 0x0000000000000000000000000000000000000000000000000000000000000001, false, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, false), (0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496, 0x0000000000000000000000000000000000000000000000000000000000000001, true, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000064, false)], 1)] └─ ← [Stop] Suite result: ok. 3 passed; 0 failed; 0 skipped; [ELAPSED] From ad1253da051e2fb489abb88c49c13bb06a6e6080 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Mon, 27 Oct 2025 11:06:26 +0200 Subject: [PATCH 13/52] fix build Signed-off-by: Alexandru Gheorghe --- crates/anvil-polkadot/src/api_server/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/anvil-polkadot/src/api_server/server.rs b/crates/anvil-polkadot/src/api_server/server.rs index b2caf86f20c2b..2639286a1aab1 100644 --- a/crates/anvil-polkadot/src/api_server/server.rs +++ b/crates/anvil-polkadot/src/api_server/server.rs @@ -514,7 +514,7 @@ impl ApiServer { return Ok(None); }; let block = self.eth_rpc_client.evm_block(block, hydrated_transactions).await; - Ok(Some(block)) + Ok(block) } async fn estimate_gas( @@ -638,7 +638,7 @@ impl ApiServer { return Ok(None); }; let block = self.eth_rpc_client.evm_block(block, hydrated_transactions).await; - Ok(Some(block)) + Ok(block) } pub(crate) async fn snapshot(&mut self) -> Result { From f515d422de9ed683586f611fb9e9d7496707d285 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Tue, 28 Oct 2025 14:04:34 +0200 Subject: [PATCH 14/52] add more tests Signed-off-by: Alexandru Gheorghe --- Cargo.lock | 600 +++++++++--------- .../forge/tests/it/revive/cheat_mock_call.rs | 8 + testdata/default/revive/MockCall.t.sol | 13 + 3 files changed, 321 insertions(+), 300 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 27c19d7fdb468..a7d2443ce8c04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1981,7 +1981,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "assets-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "ethereum-standards", @@ -2833,7 +2833,7 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "hash-db", "log", @@ -3154,7 +3154,7 @@ checksum = "26c4925bc979b677330a8c7fe7a8c94af2dbb4a2d37b4a20a80d884400f46baa" [[package]] name = "bp-header-chain" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-runtime", "finality-grandpa", @@ -3171,7 +3171,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-header-chain", "bp-runtime", @@ -3187,7 +3187,7 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -3204,7 +3204,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-messages", "bp-runtime", @@ -3221,7 +3221,7 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-header-chain", "bp-messages", @@ -3239,7 +3239,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -3262,7 +3262,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-header-chain", "bp-parachains", @@ -3282,7 +3282,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-messages", "bp-runtime", @@ -3299,7 +3299,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -3311,7 +3311,7 @@ dependencies = [ [[package]] name = "bridge-hub-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3330,7 +3330,7 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -3372,7 +3372,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-header-chain", "bp-messages", @@ -4683,7 +4683,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4700,7 +4700,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -4717,7 +4717,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -4765,7 +4765,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -4778,7 +4778,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-solo-to-para" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4793,7 +4793,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -4812,7 +4812,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "approx", "bounded-collections 0.3.2", @@ -4853,7 +4853,7 @@ dependencies = [ [[package]] name = "cumulus-ping" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -4868,7 +4868,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "sp-api", "sp-consensus-aura", @@ -4877,7 +4877,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -4894,7 +4894,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -4908,7 +4908,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -4918,7 +4918,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -4945,7 +4945,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4962,7 +4962,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -5949,7 +5949,7 @@ dependencies = [ [[package]] name = "ethereum-standards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "alloy-core", ] @@ -6514,7 +6514,7 @@ dependencies = [ [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", ] @@ -7223,7 +7223,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-support-procedural", @@ -7247,7 +7247,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-pallet-pov" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -7275,7 +7275,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7286,7 +7286,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -7303,7 +7303,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "aquamarine", "frame-support", @@ -7333,7 +7333,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "const-hex", @@ -7349,7 +7349,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "aquamarine", "array-bytes", @@ -7390,7 +7390,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "Inflector", "cfg-expr", @@ -7410,7 +7410,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -7422,7 +7422,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "proc-macro2", "quote", @@ -7432,7 +7432,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cfg-if", "docify", @@ -7451,7 +7451,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -7465,7 +7465,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "parity-scale-codec", @@ -7475,7 +7475,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "parity-scale-codec", @@ -11459,7 +11459,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11478,7 +11478,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11496,7 +11496,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-ops" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11514,7 +11514,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11529,7 +11529,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11543,7 +11543,7 @@ dependencies = [ [[package]] name = "pallet-asset-rewards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11561,7 +11561,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11577,7 +11577,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "29.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11593,7 +11593,7 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "pallet-assets", @@ -11605,7 +11605,7 @@ dependencies = [ [[package]] name = "pallet-assets-holder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11620,7 +11620,7 @@ dependencies = [ [[package]] name = "pallet-assets-precompiles" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "ethereum-standards", "frame-support", @@ -11631,7 +11631,7 @@ dependencies = [ [[package]] name = "pallet-atomic-swap" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11641,7 +11641,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -11657,7 +11657,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -11672,7 +11672,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -11685,7 +11685,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11708,7 +11708,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "aquamarine", "docify", @@ -11729,7 +11729,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -11745,7 +11745,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -11764,7 +11764,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -11789,7 +11789,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11806,7 +11806,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-header-chain", "bp-runtime", @@ -11825,7 +11825,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-header-chain", "bp-messages", @@ -11844,7 +11844,7 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-header-chain", "bp-parachains", @@ -11864,7 +11864,7 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-header-chain", "bp-messages", @@ -11887,7 +11887,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bitvec", "frame-benchmarking", @@ -11905,7 +11905,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11923,7 +11923,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11942,7 +11942,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -11959,7 +11959,7 @@ dependencies = [ [[package]] name = "pallet-collective-content" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -11973,7 +11973,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "environmental", "frame-benchmarking", @@ -12003,7 +12003,7 @@ dependencies = [ [[package]] name = "pallet-contracts-mock-network" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -12034,7 +12034,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "proc-macro2", "quote", @@ -12044,7 +12044,7 @@ dependencies = [ [[package]] name = "pallet-contracts-uapi" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -12055,7 +12055,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "assert_matches", "frame-benchmarking", @@ -12071,7 +12071,7 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12089,7 +12089,7 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -12104,7 +12104,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12121,7 +12121,7 @@ dependencies = [ [[package]] name = "pallet-derivatives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12141,7 +12141,7 @@ dependencies = [ [[package]] name = "pallet-dev-mode" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -12156,7 +12156,7 @@ dependencies = [ [[package]] name = "pallet-dummy-dim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12174,7 +12174,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-block" version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12195,7 +12195,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12216,7 +12216,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12229,7 +12229,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12247,7 +12247,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -12265,7 +12265,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -12283,7 +12283,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12305,7 +12305,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12321,7 +12321,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12340,7 +12340,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12355,7 +12355,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12366,7 +12366,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12379,7 +12379,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12395,7 +12395,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "environmental", "frame-benchmarking", @@ -12414,7 +12414,7 @@ dependencies = [ [[package]] name = "pallet-meta-tx" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -12432,7 +12432,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -12451,7 +12451,7 @@ dependencies = [ [[package]] name = "pallet-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "parity-scale-codec", @@ -12465,7 +12465,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "parity-scale-codec", @@ -12477,7 +12477,7 @@ dependencies = [ [[package]] name = "pallet-multi-asset-bounties" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -12494,7 +12494,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "parity-scale-codec", @@ -12505,7 +12505,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "pallet-assets", @@ -12518,7 +12518,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12535,7 +12535,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "sp-api", @@ -12544,7 +12544,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12554,7 +12554,7 @@ dependencies = [ [[package]] name = "pallet-node-authorization" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "parity-scale-codec", @@ -12565,7 +12565,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -12583,7 +12583,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12603,7 +12603,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -12613,7 +12613,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -12628,7 +12628,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12651,7 +12651,7 @@ dependencies = [ [[package]] name = "pallet-oracle" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12669,7 +12669,7 @@ dependencies = [ [[package]] name = "pallet-oracle-runtime-api" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -12680,7 +12680,7 @@ dependencies = [ [[package]] name = "pallet-origin-restriction" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12698,7 +12698,7 @@ dependencies = [ [[package]] name = "pallet-paged-list" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "parity-scale-codec", @@ -12710,7 +12710,7 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -12727,7 +12727,7 @@ dependencies = [ [[package]] name = "pallet-people" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12745,7 +12745,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12761,7 +12761,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12771,7 +12771,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12789,7 +12789,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12799,7 +12799,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12816,7 +12816,7 @@ dependencies = [ [[package]] name = "pallet-remark" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -12832,7 +12832,7 @@ dependencies = [ [[package]] name = "pallet-revive" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "alloy-consensus", "alloy-core", @@ -12883,7 +12883,7 @@ dependencies = [ [[package]] name = "pallet-revive-eth-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "anyhow", "clap", @@ -12920,7 +12920,7 @@ dependencies = [ [[package]] name = "pallet-revive-fixtures" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "alloy-core", "anyhow", @@ -12937,7 +12937,7 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "proc-macro2", "quote", @@ -12947,7 +12947,7 @@ dependencies = [ [[package]] name = "pallet-revive-uapi" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "alloy-core", "bitflags 1.3.2", @@ -12962,7 +12962,7 @@ dependencies = [ [[package]] name = "pallet-root-offences" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -12978,7 +12978,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -12991,7 +12991,7 @@ dependencies = [ [[package]] name = "pallet-safe-mode" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "pallet-balances", @@ -13005,7 +13005,7 @@ dependencies = [ [[package]] name = "pallet-salary" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "pallet-ranked-collective", @@ -13017,7 +13017,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -13034,7 +13034,7 @@ dependencies = [ [[package]] name = "pallet-scored-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -13047,7 +13047,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -13069,7 +13069,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13085,7 +13085,7 @@ dependencies = [ [[package]] name = "pallet-skip-feeless-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -13097,7 +13097,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13114,7 +13114,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -13135,7 +13135,7 @@ dependencies = [ [[package]] name = "pallet-staking-async" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -13159,7 +13159,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-ah-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13179,7 +13179,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-rc-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -13196,7 +13196,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "sp-arithmetic", @@ -13205,7 +13205,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "sp-api", @@ -13215,7 +13215,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "sp-arithmetic", @@ -13224,7 +13224,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "sp-api", @@ -13234,7 +13234,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13250,7 +13250,7 @@ dependencies = [ [[package]] name = "pallet-statement" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", @@ -13267,7 +13267,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -13282,7 +13282,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -13300,7 +13300,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13318,7 +13318,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13334,7 +13334,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -13346,7 +13346,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13365,7 +13365,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -13384,7 +13384,7 @@ dependencies = [ [[package]] name = "pallet-tx-pause" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "parity-scale-codec", @@ -13395,7 +13395,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13409,7 +13409,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13424,7 +13424,7 @@ dependencies = [ [[package]] name = "pallet-verify-signature" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13439,7 +13439,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13453,7 +13453,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -13463,7 +13463,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bounded-collections 0.3.2", "frame-benchmarking", @@ -13487,7 +13487,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-benchmarking", "frame-support", @@ -13504,7 +13504,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-messages", "bp-runtime", @@ -13526,7 +13526,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -13546,7 +13546,7 @@ dependencies = [ [[package]] name = "pallet-xcm-precompiles" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "pallet-revive", @@ -13560,7 +13560,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -13591,7 +13591,7 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -14046,7 +14046,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -14057,7 +14057,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -14074,7 +14074,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bitvec", "bounded-collections 0.3.2", @@ -14103,7 +14103,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bitvec", "frame-benchmarking", @@ -14152,7 +14152,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bs58", "frame-benchmarking", @@ -14164,7 +14164,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -14211,7 +14211,7 @@ dependencies = [ [[package]] name = "polkadot-sdk" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "asset-test-utils", "assets-common", @@ -14486,7 +14486,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-benchmarking", @@ -15704,7 +15704,7 @@ dependencies = [ [[package]] name = "revive-dev-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "parity-scale-codec", @@ -16062,7 +16062,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "polkadot-primitives", @@ -16545,7 +16545,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "sp-core", @@ -16556,7 +16556,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "futures", "log", @@ -16578,7 +16578,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "sp-api", @@ -16593,7 +16593,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "docify", @@ -16619,7 +16619,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -16630,7 +16630,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "bip39", @@ -16672,7 +16672,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "fnv", "futures", @@ -16698,7 +16698,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "hash-db", "kvdb", @@ -16726,7 +16726,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "futures", @@ -16749,7 +16749,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "fork-tree", @@ -16780,7 +16780,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "fork-tree", @@ -16817,7 +16817,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "fork-tree", "parity-scale-codec", @@ -16830,7 +16830,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "assert_matches", "async-trait", @@ -16865,7 +16865,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "futures", @@ -16888,7 +16888,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -16911,7 +16911,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "polkavm 0.26.0", "sc-allocator", @@ -16924,7 +16924,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "polkavm 0.26.0", @@ -16935,7 +16935,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "anyhow", "log", @@ -16951,7 +16951,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "console", "futures", @@ -16967,7 +16967,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "parking_lot 0.12.4", @@ -16981,7 +16981,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -17009,7 +17009,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -17059,7 +17059,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -17069,7 +17069,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -17090,7 +17090,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -17125,7 +17125,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "futures", @@ -17144,7 +17144,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bs58", "bytes", @@ -17165,7 +17165,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -17174,7 +17174,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "futures", "jsonrpsee", @@ -17206,7 +17206,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -17226,7 +17226,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -17250,7 +17250,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "futures", @@ -17283,7 +17283,7 @@ dependencies = [ [[package]] name = "sc-runtime-utilities" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "sc-executor", @@ -17298,7 +17298,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "directories", @@ -17362,7 +17362,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "parity-scale-codec", @@ -17373,7 +17373,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "derive_more 0.99.20", "futures", @@ -17393,7 +17393,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "chrono", "futures", @@ -17412,7 +17412,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "chrono", "console", @@ -17440,7 +17440,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -17451,7 +17451,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "futures", @@ -17482,7 +17482,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "futures", @@ -17499,7 +17499,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-channel 1.9.0", "futures", @@ -18404,7 +18404,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "enumn", "parity-scale-codec", @@ -18586,7 +18586,7 @@ dependencies = [ [[package]] name = "snowbridge-core" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bp-relayers", "frame-support", @@ -18821,7 +18821,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "hash-db", @@ -18843,7 +18843,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "Inflector", "blake2 0.10.6", @@ -18857,7 +18857,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -18869,7 +18869,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "integer-sqrt", @@ -18883,7 +18883,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -18895,7 +18895,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "sp-api", "sp-inherents", @@ -18905,7 +18905,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "futures", "parity-scale-codec", @@ -18924,7 +18924,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "futures", @@ -18938,7 +18938,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "parity-scale-codec", @@ -18954,7 +18954,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "parity-scale-codec", @@ -18972,7 +18972,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -18992,7 +18992,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "finality-grandpa", "log", @@ -19009,7 +19009,7 @@ dependencies = [ [[package]] name = "sp-consensus-pow" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "sp-api", @@ -19020,7 +19020,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -19031,7 +19031,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "ark-vrf", "array-bytes", @@ -19078,7 +19078,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", ] @@ -19086,7 +19086,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "sp-crypto-hashing-proc-macro", ] @@ -19094,7 +19094,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -19128,7 +19128,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "blake2b_simd", "byteorder", @@ -19141,7 +19141,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "quote", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", @@ -19151,7 +19151,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "kvdb", "parking_lot 0.12.4", @@ -19160,7 +19160,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "proc-macro2", "quote", @@ -19170,7 +19170,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "environmental", "parity-scale-codec", @@ -19180,7 +19180,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -19192,7 +19192,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -19205,7 +19205,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bytes", "docify", @@ -19231,7 +19231,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "sp-core", "sp-runtime", @@ -19241,7 +19241,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -19252,7 +19252,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -19261,7 +19261,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -19271,7 +19271,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -19282,7 +19282,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "log", "parity-scale-codec", @@ -19299,7 +19299,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -19312,7 +19312,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "sp-api", "sp-core", @@ -19322,7 +19322,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "backtrace", "regex", @@ -19331,7 +19331,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -19341,7 +19341,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "binary-merkle-tree", "bytes", @@ -19371,7 +19371,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -19389,7 +19389,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "Inflector", "expander", @@ -19402,7 +19402,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "scale-info", @@ -19416,7 +19416,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -19429,7 +19429,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "hash-db", "log", @@ -19449,7 +19449,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -19473,12 +19473,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19490,7 +19490,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "parity-scale-codec", @@ -19502,7 +19502,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "regex", @@ -19514,7 +19514,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "sp-api", "sp-runtime", @@ -19523,7 +19523,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "parity-scale-codec", @@ -19537,7 +19537,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "ahash", "foldhash 0.1.5", @@ -19562,7 +19562,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19579,7 +19579,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -19591,7 +19591,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -19603,7 +19603,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "bounded-collections 0.3.2", "parity-scale-codec", @@ -19883,7 +19883,7 @@ dependencies = [ [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -19896,7 +19896,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -19917,7 +19917,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "environmental", "frame-support", @@ -19941,7 +19941,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "environmental", "frame-benchmarking", @@ -20125,7 +20125,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -20150,7 +20150,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-support" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "jsonrpsee", @@ -20164,7 +20164,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -20184,7 +20184,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -20198,7 +20198,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "async-trait", "jsonrpsee", @@ -20222,7 +20222,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "build-helper", "cargo_metadata 0.15.4", @@ -20761,7 +20761,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "testnet-parachains-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -22634,7 +22634,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "polkadot-primitives", @@ -23315,7 +23315,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "Inflector", "proc-macro2", @@ -23326,7 +23326,7 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "parity-scale-codec", @@ -23340,7 +23340,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#4b2835f476c1d6ec722e758c3b1e138fd931a579" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" dependencies = [ "frame-support", "frame-system", diff --git a/crates/forge/tests/it/revive/cheat_mock_call.rs b/crates/forge/tests/it/revive/cheat_mock_call.rs index f5d496fdba5b1..9675da1fc1d9a 100644 --- a/crates/forge/tests/it/revive/cheat_mock_call.rs +++ b/crates/forge/tests/it/revive/cheat_mock_call.rs @@ -154,6 +154,14 @@ async fn test_mock_nested_simple() { TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[tokio::test(flavor = "multi_thread")] +async fn test_mock_nested_empty_account() { + let runner = TEST_DATA_REVIVE.runner_revive(); + let filter = Filter::new("testMockNestedEmptyAccount", "MockCall", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + #[tokio::test(flavor = "multi_thread")] async fn test_mock_nested_pay_doesnt_transfer() { let runner = TEST_DATA_REVIVE.runner_revive(); diff --git a/testdata/default/revive/MockCall.t.sol b/testdata/default/revive/MockCall.t.sol index 61e6fe34da95e..ed0426ae961b6 100644 --- a/testdata/default/revive/MockCall.t.sol +++ b/testdata/default/revive/MockCall.t.sol @@ -99,6 +99,19 @@ contract MockCallTest is DSTest { assertEq(target.sum(), 10); } + function testMockNestedEmptyAccount() public { + vm.pvm(true); + + Mock inner = Mock(address(100)); + NestedMock target = new NestedMock(inner); + + vm.mockCall(address(inner), abi.encodeWithSelector(inner.numberB.selector), abi.encode(9)); + vm.mockCall(address(inner), abi.encodeWithSelector(inner.numberA.selector), abi.encode(1)); + + // post-mock + assertEq(target.sum(), 10); + } + function testMockNestedPayDoesntTransfer() public { vm.pvm(true); From 3cb23153ed62bec2eebf1529c7a6af2832b8dfe5 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Fri, 24 Oct 2025 12:56:12 +0300 Subject: [PATCH 15/52] fixup tests Signed-off-by: Alexandru Gheorghe --- .../forge/tests/it/revive/cheat_mock_call.rs | 165 ++++++++++++------ .../forge/tests/it/revive/cheat_mock_calls.rs | 23 ++- .../tests/it/revive/cheat_mock_functions.rs | 23 ++- crates/forge/tests/it/revive/cheat_prank.rs | 141 +++++++++++---- crates/revive-strategy/src/cheatcodes/mod.rs | 3 +- 5 files changed, 252 insertions(+), 103 deletions(-) diff --git a/crates/forge/tests/it/revive/cheat_mock_call.rs b/crates/forge/tests/it/revive/cheat_mock_call.rs index 9675da1fc1d9a..9ae2e11d5af13 100644 --- a/crates/forge/tests/it/revive/cheat_mock_call.rs +++ b/crates/forge/tests/it/revive/cheat_mock_call.rs @@ -1,186 +1,247 @@ use crate::{config::*, test_helpers::TEST_DATA_REVIVE}; use foundry_test_utils::Filter; +use revive_strategy::ReviveRuntimeMode; use revm::primitives::hardfork::SpecId; +use rstest::rstest; +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_getters() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_getters(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockGetters", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_clear_mock_reverted_calls() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_clear_mock_reverted_calls(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testClearMockRevertedCalls", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_empty_account_revert() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_empty_account_revert(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallEmptyAccountRevert", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_revert() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_revert(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallResetsMockCallRevert", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_reverts_partial_match() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_reverts_partial_match(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallRevertPartialMatch", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_revert_resets_mock_call() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_revert_resets_mock_call(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallRevertResetsMockCall", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_revert_with_call() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_revert_with_call(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallRevertWithCall", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_revert_with_value() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_revert_with_value(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallRevertWithValue", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_data_revert() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_data_revert(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCalldataRevert", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_getters_revert() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_getters_revert(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockGettersRevert", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested_revert() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_nested_revert(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockNestedRevert", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_revert_with_custom_error() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_revert_with_custom_error(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockRevertWithCustomError", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_clear_mocked_calls() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_clear_mocked_calls(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testClearMockedCalls", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_empty_account() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_empty_account(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallEmptyAccount", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_multiple_partial_match() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_multiple_partial_match(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallMultiplePartialMatch", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_with_value() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_with_value(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallWithValue", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_with_value_calldata_precedence() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_call_with_value_calldata_precedence(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallWithValueCalldataPrecedence", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_calldata() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_calldata(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCalldata", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested_simple() { - let runner = TEST_DATA_REVIVE.runner_revive(); - let filter = Filter::new("testMockNestedSimple", "MockCall", ".*/revive/.*"); +async fn test_mock_nested(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); + let filter = Filter::new("testMockNested", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested_empty_account() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_nested_empty_account(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockNestedEmptyAccount", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested_pay_doesnt_transfer() { - let runner = TEST_DATA_REVIVE.runner_revive(); - let filter = Filter::new("testMockNestedPayDoesntTransfer", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested_delegate() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_nested_delegate(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockNestedDelegate", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_selector() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_selector(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockSelector", "MockCall", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; diff --git a/crates/forge/tests/it/revive/cheat_mock_calls.rs b/crates/forge/tests/it/revive/cheat_mock_calls.rs index a509b533cc178..696a6081e8fb9 100644 --- a/crates/forge/tests/it/revive/cheat_mock_calls.rs +++ b/crates/forge/tests/it/revive/cheat_mock_calls.rs @@ -1,26 +1,37 @@ use crate::{config::*, test_helpers::TEST_DATA_REVIVE}; use foundry_test_utils::Filter; +use revive_strategy::ReviveRuntimeMode; use revm::primitives::hardfork::SpecId; +use rstest::rstest; +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_calls() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_calls(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCalls", "MockCalls", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_calls_last_should_persist() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_calls_last_should_persist(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallsLastShouldPersist", "MockCalls", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_calls_with_value() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_calls_with_value(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testMockCallsWithValue", "MockCalls", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; diff --git a/crates/forge/tests/it/revive/cheat_mock_functions.rs b/crates/forge/tests/it/revive/cheat_mock_functions.rs index 246396de70921..927858bdc3898 100644 --- a/crates/forge/tests/it/revive/cheat_mock_functions.rs +++ b/crates/forge/tests/it/revive/cheat_mock_functions.rs @@ -1,26 +1,37 @@ use crate::{config::*, test_helpers::TEST_DATA_REVIVE}; use foundry_test_utils::Filter; +use revive_strategy::ReviveRuntimeMode; use revm::primitives::hardfork::SpecId; +use rstest::rstest; +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mockx_function() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mockx_function(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("test_mockx_function", "MockFunction", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_function_concrete_args() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_function_concrete_args(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("test_mock_function_concrete_args", "MockFunction", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_function_all_args() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_mock_function_all_args(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("test_mock_function_all_args", "MockFunction", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; diff --git a/crates/forge/tests/it/revive/cheat_prank.rs b/crates/forge/tests/it/revive/cheat_prank.rs index 4f701aff9cba1..d9d33444f47a8 100644 --- a/crates/forge/tests/it/revive/cheat_prank.rs +++ b/crates/forge/tests/it/revive/cheat_prank.rs @@ -1,114 +1,160 @@ use crate::{config::*, test_helpers::TEST_DATA_REVIVE}; use foundry_test_utils::Filter; +use revive_strategy::ReviveRuntimeMode; use revm::primitives::hardfork::SpecId; +use rstest::rstest; +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank0_after_prank1() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank0_after_prank1(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrank0AfterPrank1", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank1_after_prank0() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank1_after_prank0(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrank1AfterPrank0", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_constructor_origin() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_constructor_origin(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankConstructorOrigin", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_constructor_sender() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_constructor_sender(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankConstructorSender", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_prank2() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_delegate_call_prank2(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankDelegateCallPrank2", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_prank3() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_delegate_call_prank3(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankDelegateCallPrank3", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_start_prank2() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_delegate_call_start_prank2(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankDelegateCallStartPrank2", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_start_prank3() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_delegate_call_start_prank3(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankDelegateCallStartPrank3", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_origin() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_origin(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankOrigin", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_sender() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_sender(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankSender", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_stop() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_start_stop(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankStartStop", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_stop_constructor() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_start_stop_constructor(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testPrankStartStopConstructor", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_revert_if_overwrite_unused_prank() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_revert_if_overwrite_unused_prank(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testRevertIfOverwriteUnusedPrank", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_revert_if_overwrite_unused_prank_after_successful_prank() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_revert_if_overwrite_unused_prank_after_successful_prank( + #[case] runtime_mode: ReviveRuntimeMode, +) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new( "testRevertIfOverwriteUnusedPrankAfterSuccessfulPrank", "Prank", @@ -118,41 +164,60 @@ async fn test_revive_revert_if_overwrite_unused_prank_after_successful_prank() { TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_to_eoa() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_delegate_call_to_eoa(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testRevertIfPrankDelegateCalltoEOA", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_prank0_after_prank1() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_start_prank0_after_prank1(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testStartPrank0AfterPrank1", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_prank0_after_start_prank1() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_start_prank0_after_start_prank1( + #[case] runtime_mode: ReviveRuntimeMode, +) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testStartPrank0AfterStartPrank1", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_prank1_after_start_prank0() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_start_prank1_after_start_prank0( + #[case] runtime_mode: ReviveRuntimeMode, +) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testStartPrank1AfterStartPrank0", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_tx_origin_in_nested_prank() { - let runner = TEST_DATA_REVIVE.runner_revive(); +async fn test_revive_prank_tx_origin_in_nested_prank(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); let filter = Filter::new("testTxOriginInNestedPrank", "Prank", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 140b2c8b660c3..e116061caa608 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -946,6 +946,8 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector ); return None; } + + tracing::info!("running call on pallet-revive with {} {:#?}", ctx.runtime_mode, call); let mock_handler = MockHandlerImpl::new( &ecx, @@ -955,7 +957,6 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector state, ); - tracing::info!("running call on pallet-revive with {} {:#?}", ctx.runtime_mode, call); let mut tracer = Tracer::new(true); let res = execute_with_externalities(|externalities| { externalities.execute_with(|| { From a629145e21cfdc61f4be7eeafdd1e816eff63385 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Tue, 28 Oct 2025 16:25:32 +0200 Subject: [PATCH 16/52] switch to master Signed-off-by: Alexandru Gheorghe --- Cargo.lock | 630 +++++++++--------- crates/anvil-polkadot/Cargo.toml | 6 +- .../substrate-runtime/Cargo.toml | 4 +- crates/revive-env/Cargo.toml | 2 +- crates/revive-strategy/Cargo.toml | 2 +- crates/revive-utils/Cargo.toml | 2 +- 6 files changed, 323 insertions(+), 323 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 96e57a77329ae..14b8c50682950 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1982,7 +1982,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -2012,7 +2012,7 @@ dependencies = [ [[package]] name = "assets-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "ethereum-standards", @@ -2834,7 +2834,7 @@ checksum = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "hash-db", "log", @@ -3155,7 +3155,7 @@ checksum = "26c4925bc979b677330a8c7fe7a8c94af2dbb4a2d37b4a20a80d884400f46baa" [[package]] name = "bp-header-chain" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-runtime", "finality-grandpa", @@ -3172,7 +3172,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-header-chain", "bp-runtime", @@ -3188,7 +3188,7 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -3205,7 +3205,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-messages", "bp-runtime", @@ -3222,7 +3222,7 @@ dependencies = [ [[package]] name = "bp-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-header-chain", "bp-messages", @@ -3240,7 +3240,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -3263,7 +3263,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-header-chain", "bp-parachains", @@ -3283,7 +3283,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-messages", "bp-runtime", @@ -3300,7 +3300,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -3312,7 +3312,7 @@ dependencies = [ [[package]] name = "bridge-hub-common" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3331,7 +3331,7 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -3373,7 +3373,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-header-chain", "bp-messages", @@ -4684,7 +4684,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4701,7 +4701,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -4718,7 +4718,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -4755,7 +4755,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -4766,7 +4766,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4779,7 +4779,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-solo-to-para" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -4794,7 +4794,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -4813,7 +4813,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4828,7 +4828,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "approx", "bounded-collections 0.3.2", @@ -4854,7 +4854,7 @@ dependencies = [ [[package]] name = "cumulus-ping" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -4869,7 +4869,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "sp-api", "sp-consensus-aura", @@ -4878,7 +4878,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -4895,7 +4895,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -4909,7 +4909,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -4919,7 +4919,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -4936,7 +4936,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -4946,7 +4946,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4963,7 +4963,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -5950,7 +5950,7 @@ dependencies = [ [[package]] name = "ethereum-standards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "alloy-core", ] @@ -6516,7 +6516,7 @@ dependencies = [ [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", ] @@ -7225,7 +7225,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-support-procedural", @@ -7249,7 +7249,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-pallet-pov" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7277,7 +7277,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7288,7 +7288,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -7305,7 +7305,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "aquamarine", "frame-support", @@ -7335,7 +7335,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "const-hex", @@ -7351,7 +7351,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "aquamarine", "array-bytes", @@ -7392,7 +7392,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "Inflector", "cfg-expr", @@ -7405,14 +7405,14 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "syn 2.0.104", ] [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -7424,7 +7424,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "proc-macro2", "quote", @@ -7434,7 +7434,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cfg-if", "docify", @@ -7453,7 +7453,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7467,7 +7467,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "parity-scale-codec", @@ -7477,7 +7477,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "parity-scale-codec", @@ -11461,7 +11461,7 @@ dependencies = [ [[package]] name = "pallet-alliance" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11472,7 +11472,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-io", "sp-runtime", ] @@ -11480,7 +11480,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11498,7 +11498,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-ops" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11516,7 +11516,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11531,7 +11531,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11545,7 +11545,7 @@ dependencies = [ [[package]] name = "pallet-asset-rewards" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11563,7 +11563,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11579,7 +11579,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "29.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11595,7 +11595,7 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "pallet-assets", @@ -11607,7 +11607,7 @@ dependencies = [ [[package]] name = "pallet-assets-holder" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11622,7 +11622,7 @@ dependencies = [ [[package]] name = "pallet-assets-precompiles" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "ethereum-standards", "frame-support", @@ -11633,7 +11633,7 @@ dependencies = [ [[package]] name = "pallet-atomic-swap" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11643,7 +11643,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -11659,7 +11659,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -11674,7 +11674,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -11687,7 +11687,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11710,7 +11710,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "aquamarine", "docify", @@ -11731,7 +11731,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -11747,7 +11747,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -11766,7 +11766,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -11791,7 +11791,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11808,7 +11808,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-header-chain", "bp-runtime", @@ -11827,7 +11827,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-header-chain", "bp-messages", @@ -11846,7 +11846,7 @@ dependencies = [ [[package]] name = "pallet-bridge-parachains" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-header-chain", "bp-parachains", @@ -11866,7 +11866,7 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-header-chain", "bp-messages", @@ -11889,7 +11889,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bitvec", "frame-benchmarking", @@ -11907,7 +11907,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11925,7 +11925,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11944,7 +11944,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -11961,7 +11961,7 @@ dependencies = [ [[package]] name = "pallet-collective-content" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -11975,7 +11975,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "environmental", "frame-benchmarking", @@ -12005,7 +12005,7 @@ dependencies = [ [[package]] name = "pallet-contracts-mock-network" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -12036,7 +12036,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "proc-macro2", "quote", @@ -12046,7 +12046,7 @@ dependencies = [ [[package]] name = "pallet-contracts-uapi" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -12057,7 +12057,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "assert_matches", "frame-benchmarking", @@ -12073,7 +12073,7 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12091,7 +12091,7 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -12106,7 +12106,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12123,7 +12123,7 @@ dependencies = [ [[package]] name = "pallet-derivatives" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12143,7 +12143,7 @@ dependencies = [ [[package]] name = "pallet-dev-mode" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -12158,7 +12158,7 @@ dependencies = [ [[package]] name = "pallet-dummy-dim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12176,7 +12176,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-block" version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12197,7 +12197,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12218,7 +12218,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12231,7 +12231,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12249,7 +12249,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -12267,7 +12267,7 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -12285,7 +12285,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12307,7 +12307,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12323,7 +12323,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12342,7 +12342,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12357,7 +12357,7 @@ dependencies = [ [[package]] name = "pallet-insecure-randomness-collective-flip" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12368,7 +12368,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12381,7 +12381,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12397,7 +12397,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "environmental", "frame-benchmarking", @@ -12416,7 +12416,7 @@ dependencies = [ [[package]] name = "pallet-meta-tx" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -12434,7 +12434,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -12453,7 +12453,7 @@ dependencies = [ [[package]] name = "pallet-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "parity-scale-codec", @@ -12467,7 +12467,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "parity-scale-codec", @@ -12479,7 +12479,7 @@ dependencies = [ [[package]] name = "pallet-multi-asset-bounties" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -12496,7 +12496,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "parity-scale-codec", @@ -12507,7 +12507,7 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "pallet-assets", @@ -12520,7 +12520,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -12537,7 +12537,7 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "sp-api", @@ -12546,7 +12546,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12556,7 +12556,7 @@ dependencies = [ [[package]] name = "pallet-node-authorization" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "parity-scale-codec", @@ -12567,7 +12567,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -12585,7 +12585,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12605,7 +12605,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -12615,7 +12615,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -12630,7 +12630,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -12653,7 +12653,7 @@ dependencies = [ [[package]] name = "pallet-oracle" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12671,7 +12671,7 @@ dependencies = [ [[package]] name = "pallet-oracle-runtime-api" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -12682,7 +12682,7 @@ dependencies = [ [[package]] name = "pallet-origin-restriction" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12700,7 +12700,7 @@ dependencies = [ [[package]] name = "pallet-paged-list" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "parity-scale-codec", @@ -12712,7 +12712,7 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -12729,7 +12729,7 @@ dependencies = [ [[package]] name = "pallet-people" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12747,7 +12747,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12763,7 +12763,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12773,7 +12773,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12791,7 +12791,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -12801,7 +12801,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12818,7 +12818,7 @@ dependencies = [ [[package]] name = "pallet-remark" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -12834,7 +12834,7 @@ dependencies = [ [[package]] name = "pallet-revive" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "alloy-consensus", "alloy-core", @@ -12885,7 +12885,7 @@ dependencies = [ [[package]] name = "pallet-revive-eth-rpc" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "anyhow", "clap", @@ -12906,7 +12906,7 @@ dependencies = [ "serde_json", "sp-arithmetic", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-io", "sp-rpc", "sp-runtime", @@ -12922,7 +12922,7 @@ dependencies = [ [[package]] name = "pallet-revive-fixtures" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "alloy-core", "anyhow", @@ -12939,7 +12939,7 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "proc-macro2", "quote", @@ -12949,7 +12949,7 @@ dependencies = [ [[package]] name = "pallet-revive-uapi" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "alloy-core", "bitflags 1.3.2", @@ -12964,7 +12964,7 @@ dependencies = [ [[package]] name = "pallet-root-offences" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -12980,7 +12980,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -12993,7 +12993,7 @@ dependencies = [ [[package]] name = "pallet-safe-mode" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "pallet-balances", @@ -13007,7 +13007,7 @@ dependencies = [ [[package]] name = "pallet-salary" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "pallet-ranked-collective", @@ -13019,7 +13019,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -13036,7 +13036,7 @@ dependencies = [ [[package]] name = "pallet-scored-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -13049,7 +13049,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -13071,7 +13071,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13087,7 +13087,7 @@ dependencies = [ [[package]] name = "pallet-skip-feeless-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -13099,7 +13099,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13116,7 +13116,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -13137,7 +13137,7 @@ dependencies = [ [[package]] name = "pallet-staking-async" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -13161,7 +13161,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-ah-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13181,7 +13181,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-rc-client" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -13198,7 +13198,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "sp-arithmetic", @@ -13207,7 +13207,7 @@ dependencies = [ [[package]] name = "pallet-staking-async-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "sp-api", @@ -13217,7 +13217,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "sp-arithmetic", @@ -13226,7 +13226,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "sp-api", @@ -13236,7 +13236,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13252,7 +13252,7 @@ dependencies = [ [[package]] name = "pallet-statement" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", @@ -13269,7 +13269,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -13284,7 +13284,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -13302,7 +13302,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13320,7 +13320,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13336,7 +13336,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -13348,7 +13348,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13367,7 +13367,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -13386,7 +13386,7 @@ dependencies = [ [[package]] name = "pallet-tx-pause" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "parity-scale-codec", @@ -13397,7 +13397,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13411,7 +13411,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13426,7 +13426,7 @@ dependencies = [ [[package]] name = "pallet-verify-signature" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13441,7 +13441,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13455,7 +13455,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -13465,7 +13465,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bounded-collections 0.3.2", "frame-benchmarking", @@ -13489,7 +13489,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-benchmarking", "frame-support", @@ -13506,7 +13506,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-messages", "bp-runtime", @@ -13528,7 +13528,7 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -13548,7 +13548,7 @@ dependencies = [ [[package]] name = "pallet-xcm-precompiles" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "pallet-revive", @@ -13562,7 +13562,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -13593,7 +13593,7 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -14048,7 +14048,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -14059,7 +14059,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -14076,7 +14076,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bitvec", "bounded-collections 0.3.2", @@ -14105,7 +14105,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bitvec", "frame-benchmarking", @@ -14154,7 +14154,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bs58", "frame-benchmarking", @@ -14166,7 +14166,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -14213,7 +14213,7 @@ dependencies = [ [[package]] name = "polkadot-sdk" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "asset-test-utils", "assets-common", @@ -14437,7 +14437,7 @@ dependencies = [ "sp-core-hashing", "sp-core-hashing-proc-macro", "sp-crypto-ec-utils", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-crypto-hashing-proc-macro", "sp-database", "sp-debug-derive", @@ -14488,7 +14488,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-benchmarking", @@ -15706,7 +15706,7 @@ dependencies = [ [[package]] name = "revive-dev-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "parity-scale-codec", @@ -16064,7 +16064,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "polkadot-primitives", @@ -16577,7 +16577,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "sp-core", @@ -16588,7 +16588,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "futures", "log", @@ -16610,7 +16610,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "sp-api", @@ -16625,7 +16625,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "docify", @@ -16640,7 +16640,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -16651,7 +16651,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -16662,7 +16662,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "bip39", @@ -16704,7 +16704,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "fnv", "futures", @@ -16730,7 +16730,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "hash-db", "kvdb", @@ -16758,7 +16758,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "futures", @@ -16781,7 +16781,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "fork-tree", @@ -16812,7 +16812,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "fork-tree", @@ -16837,7 +16837,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-inherents", "sp-keystore", "sp-runtime", @@ -16849,7 +16849,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -16862,7 +16862,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "assert_matches", "async-trait", @@ -16897,7 +16897,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "futures", @@ -16920,7 +16920,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -16943,7 +16943,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "polkavm 0.26.0", "sc-allocator", @@ -16956,7 +16956,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "polkavm 0.26.0", @@ -16967,7 +16967,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "anyhow", "log", @@ -16983,7 +16983,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "console", "futures", @@ -16999,7 +16999,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "parking_lot 0.12.4", @@ -17013,7 +17013,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -17041,7 +17041,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -17091,7 +17091,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -17101,7 +17101,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -17122,7 +17122,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -17157,7 +17157,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "futures", @@ -17176,7 +17176,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bs58", "bytes", @@ -17197,7 +17197,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -17206,7 +17206,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "futures", "jsonrpsee", @@ -17238,7 +17238,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -17258,7 +17258,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -17282,7 +17282,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "futures", @@ -17315,13 +17315,13 @@ dependencies = [ [[package]] name = "sc-runtime-utilities" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "sc-executor", "sc-executor-common", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-state-machine", "sp-wasm-interface", "thiserror 1.0.69", @@ -17330,7 +17330,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "directories", @@ -17394,7 +17394,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "parity-scale-codec", @@ -17405,7 +17405,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "derive_more 0.99.20", "futures", @@ -17418,14 +17418,14 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-io", ] [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "chrono", "futures", @@ -17444,7 +17444,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "chrono", "console", @@ -17472,7 +17472,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -17483,7 +17483,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "futures", @@ -17500,7 +17500,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-runtime", "sp-tracing", "sp-transaction-pool", @@ -17514,7 +17514,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "futures", @@ -17531,7 +17531,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-channel 1.9.0", "futures", @@ -18436,7 +18436,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "enumn", "parity-scale-codec", @@ -18618,7 +18618,7 @@ dependencies = [ [[package]] name = "snowbridge-core" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bp-relayers", "frame-support", @@ -18853,7 +18853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "hash-db", @@ -18875,7 +18875,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "Inflector", "blake2 0.10.6", @@ -18889,7 +18889,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -18901,7 +18901,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "integer-sqrt", @@ -18915,7 +18915,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -18927,7 +18927,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "sp-api", "sp-inherents", @@ -18937,7 +18937,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "futures", "parity-scale-codec", @@ -18956,7 +18956,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "futures", @@ -18970,7 +18970,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "parity-scale-codec", @@ -18986,7 +18986,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "parity-scale-codec", @@ -19004,7 +19004,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -19012,7 +19012,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-io", "sp-keystore", "sp-mmr-primitives", @@ -19024,7 +19024,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "finality-grandpa", "log", @@ -19041,7 +19041,7 @@ dependencies = [ [[package]] name = "sp-consensus-pow" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "sp-api", @@ -19052,7 +19052,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -19063,7 +19063,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "ark-vrf", "array-bytes", @@ -19094,7 +19094,7 @@ dependencies = [ "secrecy 0.8.0", "serde", "sha2 0.10.9", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-debug-derive", "sp-externalities", "sp-std", @@ -19110,15 +19110,15 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", ] [[package]] name = "sp-core-hashing-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "sp-crypto-hashing-proc-macro", ] @@ -19126,7 +19126,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -19160,7 +19160,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "blake2b_simd", "byteorder", @@ -19173,17 +19173,17 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "syn 2.0.104", ] [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "kvdb", "parking_lot 0.12.4", @@ -19192,7 +19192,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "proc-macro2", "quote", @@ -19202,7 +19202,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "environmental", "parity-scale-codec", @@ -19212,7 +19212,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -19224,7 +19224,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -19237,7 +19237,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bytes", "docify", @@ -19249,7 +19249,7 @@ dependencies = [ "rustversion", "secp256k1 0.28.2", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -19263,7 +19263,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "sp-core", "sp-runtime", @@ -19273,7 +19273,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "parking_lot 0.12.4", @@ -19284,7 +19284,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -19293,7 +19293,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -19303,7 +19303,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -19314,7 +19314,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "log", "parity-scale-codec", @@ -19331,7 +19331,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -19344,7 +19344,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "sp-api", "sp-core", @@ -19354,7 +19354,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "backtrace", "regex", @@ -19363,7 +19363,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -19373,7 +19373,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "binary-merkle-tree", "bytes", @@ -19403,7 +19403,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -19421,7 +19421,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "Inflector", "expander", @@ -19434,7 +19434,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "scale-info", @@ -19448,7 +19448,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -19461,7 +19461,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "hash-db", "log", @@ -19481,7 +19481,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -19494,7 +19494,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state)", + "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk.git?branch=master)", "sp-externalities", "sp-runtime", "sp-runtime-interface", @@ -19505,12 +19505,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19522,7 +19522,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "parity-scale-codec", @@ -19534,7 +19534,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "regex", @@ -19546,7 +19546,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "sp-api", "sp-runtime", @@ -19555,7 +19555,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "parity-scale-codec", @@ -19569,7 +19569,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "ahash", "foldhash 0.1.5", @@ -19594,7 +19594,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -19611,7 +19611,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -19623,7 +19623,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -19635,7 +19635,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "bounded-collections 0.3.2", "parity-scale-codec", @@ -19915,7 +19915,7 @@ dependencies = [ [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -19928,7 +19928,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "array-bytes", "bounded-collections 0.3.2", @@ -19949,7 +19949,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "environmental", "frame-support", @@ -19973,7 +19973,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "environmental", "frame-benchmarking", @@ -20157,7 +20157,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "hmac 0.12.1", "pbkdf2 0.12.2", @@ -20182,7 +20182,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-support" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "jsonrpsee", @@ -20196,7 +20196,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -20216,7 +20216,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -20230,7 +20230,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "async-trait", "jsonrpsee", @@ -20254,7 +20254,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "build-helper", "cargo_metadata 0.15.4", @@ -20793,7 +20793,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "testnet-parachains-constants" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -22666,7 +22666,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "polkadot-primitives", @@ -23347,7 +23347,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "Inflector", "proc-macro2", @@ -23358,7 +23358,7 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "parity-scale-codec", @@ -23372,7 +23372,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=alexggh%2Finject_state#fc05c4614a612eb36974cfc808bda71d465f9e68" +source = "git+https://github.com/paritytech/polkadot-sdk.git?branch=master#74ac323a85458e8d88e8be98bd24cfb9adad835a" dependencies = [ "frame-support", "frame-system", diff --git a/crates/anvil-polkadot/Cargo.toml b/crates/anvil-polkadot/Cargo.toml index a93da8048eaff..20bb7f1203856 100644 --- a/crates/anvil-polkadot/Cargo.toml +++ b/crates/anvil-polkadot/Cargo.toml @@ -21,11 +21,11 @@ path = "bin/main.rs" # foundry internal codec = { version = "3.7.5", default-features = true, package = "parity-scale-codec" } substrate-runtime = { path = "substrate-runtime" } -pallet-revive-eth-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state" } +pallet-revive-eth-rpc = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } secp256k1 = { version = "0.28.0", default-features = false } libsecp256k1 = { version = "0.7.0", default-features = false } -sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false } -polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [ +sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false } +polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, features = [ "sc-allocator", "sc-basic-authorship", "sc-block-builder", diff --git a/crates/anvil-polkadot/substrate-runtime/Cargo.toml b/crates/anvil-polkadot/substrate-runtime/Cargo.toml index 133160c7a2896..eaa15f78baee5 100644 --- a/crates/anvil-polkadot/substrate-runtime/Cargo.toml +++ b/crates/anvil-polkadot/substrate-runtime/Cargo.toml @@ -12,7 +12,7 @@ license.workspace = true [dependencies] array-bytes = { version = "6.2.2", default-features = false } codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, features = [ "pallet-balances", "pallet-revive", "pallet-sudo", @@ -27,7 +27,7 @@ scale-info = { version = "2.11.6", default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } [build-dependencies] -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", default-features = false, optional = true, features = ["substrate-wasm-builder"] } +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, optional = true, features = ["substrate-wasm-builder"] } [features] default = ["std"] diff --git a/crates/revive-env/Cargo.toml b/crates/revive-env/Cargo.toml index 938d3ac44bef2..3f685bed3701e 100644 --- a/crates/revive-env/Cargo.toml +++ b/crates/revive-env/Cargo.toml @@ -16,7 +16,7 @@ std = ["polkadot-sdk/std"] codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", features = [ "experimental", "runtime", "polkadot-runtime-common", diff --git a/crates/revive-strategy/Cargo.toml b/crates/revive-strategy/Cargo.toml index 4d52eeb9a1a4f..6acffe06daf4d 100644 --- a/crates/revive-strategy/Cargo.toml +++ b/crates/revive-strategy/Cargo.toml @@ -36,7 +36,7 @@ semver.workspace = true codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", features = [ +polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", features = [ "experimental", "runtime", "polkadot-runtime-common", diff --git a/crates/revive-utils/Cargo.toml b/crates/revive-utils/Cargo.toml index d4da2b3420c3e..80e74221d3922 100644 --- a/crates/revive-utils/Cargo.toml +++ b/crates/revive-utils/Cargo.toml @@ -14,7 +14,7 @@ exclude.workspace = true [dependencies] foundry-evm-core.workspace = true foundry-evm-traces.workspace = true -polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "alexggh/inject_state", features = [ +polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", features = [ "experimental", "runtime", "polkadot-runtime-common", From 676b2f8ffef79acc0080fff07939ac87fdf28bb4 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Tue, 28 Oct 2025 17:06:53 +0200 Subject: [PATCH 17/52] make cargo fmt happy Signed-off-by: Alexandru Gheorghe --- crates/forge/tests/it/revive/cheat_mock_call.rs | 1 - crates/revive-strategy/src/cheatcodes/mod.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/forge/tests/it/revive/cheat_mock_call.rs b/crates/forge/tests/it/revive/cheat_mock_call.rs index 9ae2e11d5af13..f86f4569d922d 100644 --- a/crates/forge/tests/it/revive/cheat_mock_call.rs +++ b/crates/forge/tests/it/revive/cheat_mock_call.rs @@ -224,7 +224,6 @@ async fn test_mock_nested_empty_account(#[case] runtime_mode: ReviveRuntimeMode) TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } - #[rstest] #[case::pvm(ReviveRuntimeMode::Pvm)] #[case::evm(ReviveRuntimeMode::Evm)] diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index e116061caa608..d342476efb285 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -946,7 +946,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector ); return None; } - + tracing::info!("running call on pallet-revive with {} {:#?}", ctx.runtime_mode, call); let mock_handler = MockHandlerImpl::new( From 681472cce5ac51b44c251454b94285c7662febcb Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Tue, 28 Oct 2025 17:29:12 +0200 Subject: [PATCH 18/52] make clippy happy Signed-off-by: Alexandru Gheorghe --- .../src/cheatcodes/mock_handler.rs | 25 ++++++++----------- crates/revive-strategy/src/cheatcodes/mod.rs | 2 +- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/crates/revive-strategy/src/cheatcodes/mock_handler.rs b/crates/revive-strategy/src/cheatcodes/mock_handler.rs index 8c447c4f84e33..7de4964f6dbf7 100644 --- a/crates/revive-strategy/src/cheatcodes/mock_handler.rs +++ b/crates/revive-strategy/src/cheatcodes/mock_handler.rs @@ -1,11 +1,11 @@ use std::{ + cell::RefCell, collections::{BTreeMap, VecDeque}, - sync::{Arc, Mutex}, + rc::Rc, }; use alloy_primitives::{Address, Bytes, map::foldhash::HashMap, ruint::aliases::U256}; use foundry_cheatcodes::{Ecx, MockCallDataContext, MockCallReturnData}; -use foundry_common::sh_err; use polkadot_sdk::{ frame_system, pallet_revive::{ @@ -24,7 +24,7 @@ use revm::{context::JournalTr, interpreter::InstructionResult}; // synchronize whatever mocks got consumed back into the Cheatcodes state after the call. #[derive(Clone)] pub(crate) struct MockHandlerImpl { - inner: Arc>>, + inner: Rc>>, pub prank_enabled: bool, } @@ -39,18 +39,15 @@ impl MockHandlerImpl { ) -> Self { let (inject_env, prank_enabled) = MockHandlerInner::new(ecx, caller, target_address, callee, state); - Self { inner: Arc::new(Mutex::new(inject_env)), prank_enabled } + Self { inner: Rc::new(RefCell::new(inject_env)), prank_enabled } } /// Updates the given Cheatcodes state with the current mock state. /// This is used to synchronize the mock state after a call has been executed in Revive pub(crate) fn update_state_mocks(&self, state: &mut foundry_cheatcodes::Cheatcodes) { - if let Ok(mock_inner) = self.inner.lock() { - state.mocked_calls = mock_inner.mocked_calls.clone(); - state.mocked_functions = mock_inner.mocked_functions.clone(); - } else { - let _ = sh_err!("Could not update state mocks"); - } + let mock_inner = self.inner.borrow(); + state.mocked_calls = mock_inner.mocked_calls.clone(); + state.mocked_functions = mock_inner.mocked_functions.clone(); } pub(crate) fn fund_pranked_accounts(&self, account: Address) { @@ -77,7 +74,7 @@ impl MockHandler for MockHandlerImpl { call_data: &[u8], value_transferred: polkadot_sdk::pallet_revive::U256, ) -> Option { - let mut mock_inner = self.inner.lock().ok()?; + let mut mock_inner = self.inner.borrow_mut(); let ctx = MockCallDataContext { calldata: call_data.to_vec().into(), value: Some(U256::from_limbs(value_transferred.0)), @@ -120,7 +117,7 @@ impl MockHandler for MockHandlerImpl { } fn mock_caller(&self, frames_len: usize) -> Option> { - let mock_inner = self.inner.lock().ok()?; + let mock_inner = self.inner.borrow(); if (frames_len == 0 || !mock_inner.first_call_only) && mock_inner.delegated_caller.is_none() { @@ -134,7 +131,7 @@ impl MockHandler for MockHandlerImpl { dest: H160, input_data: &[u8], ) -> Option> { - let mock_inner = self.inner.lock().ok()?; + let mock_inner = self.inner.borrow(); // Mocked functions are implemented by making use of the hooks for delegated calls. if let Some(mocked_function) = @@ -202,7 +199,7 @@ impl MockHandlerInner { ))) }); - let mut state_inject = MockHandlerInner:: { + let mut state_inject = Self { caller: pranked_caller, delegated_caller, first_call_only: true, diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index d342476efb285..e506d073f68bf 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -824,7 +824,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector // Pre-Dispatch Increments the nonce of the origin, so let's make sure we do // that here too to replicate the same address generation. - System::inc_account_nonce(&AccountId::to_fallback_account_id( + System::inc_account_nonce(AccountId::to_fallback_account_id( &H160::from_slice(ecx.tx.caller.as_slice()), )); From ed7b936eb454329e2204e30df3f84698ca290e9e Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Tue, 28 Oct 2025 17:34:50 +0200 Subject: [PATCH 19/52] make forge fmt happy Signed-off-by: Alexandru Gheorghe --- testdata/default/revive/MockCall.t.sol | 4 +- testdata/default/revive/MockCalls.t.sol | 3 +- testdata/default/revive/MockFunction.t.sol | 3 +- testdata/default/revive/Prank.t.sol | 43 +++++++--------------- 4 files changed, 16 insertions(+), 37 deletions(-) diff --git a/testdata/default/revive/MockCall.t.sol b/testdata/default/revive/MockCall.t.sol index ed0426ae961b6..43b04d5d5c29b 100644 --- a/testdata/default/revive/MockCall.t.sol +++ b/testdata/default/revive/MockCall.t.sol @@ -1,7 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.18; - import "ds-test/test.sol"; import "cheats/Vm.sol"; import "../../default/logs/console.sol"; @@ -48,7 +47,7 @@ contract NestedMock { } function sumPay() public returns (uint256) { - return inner.numberA() + inner.numberBPayable{value:10}(); + return inner.numberA() + inner.numberBPayable{value: 10}(); } } @@ -421,4 +420,3 @@ contract MockCallRevertTest is DSTest { } } } - diff --git a/testdata/default/revive/MockCalls.t.sol b/testdata/default/revive/MockCalls.t.sol index b9b68be1681e4..445279db832e5 100644 --- a/testdata/default/revive/MockCalls.t.sol +++ b/testdata/default/revive/MockCalls.t.sol @@ -1,7 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.18; - import "ds-test/test.sol"; import "cheats/Vm.sol"; import "../../default/logs/console.sol"; @@ -63,4 +62,4 @@ contract MockCallsTest is DSTest { (, bytes memory ret3) = mockErc20.call(data); assertEq(abi.decode(ret3, (uint256)), 6.423 ether); } -} \ No newline at end of file +} diff --git a/testdata/default/revive/MockFunction.t.sol b/testdata/default/revive/MockFunction.t.sol index 937fa3a4fa572..c3b99ad812215 100644 --- a/testdata/default/revive/MockFunction.t.sol +++ b/testdata/default/revive/MockFunction.t.sol @@ -1,6 +1,5 @@ pragma solidity ^0.8.18; - import "ds-test/test.sol"; import "cheats/Vm.sol"; import "../../default/logs/console.sol"; @@ -73,4 +72,4 @@ contract MockFunctionTest is DSTest { my_contract.mocked_args_function(789); assertEq(my_contract.a(), 123 + 789); } -} \ No newline at end of file +} diff --git a/testdata/default/revive/Prank.t.sol b/testdata/default/revive/Prank.t.sol index 0e941a47a5374..45383c1b62824 100644 --- a/testdata/default/revive/Prank.t.sol +++ b/testdata/default/revive/Prank.t.sol @@ -1,13 +1,11 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.18; - import "ds-test/test.sol"; import "cheats/Vm.sol"; import "../../default/logs/console.sol"; contract Victim { - function assertCallerAndOrigin( address expectedSender, string memory senderMessage, @@ -101,12 +99,10 @@ contract ImplementationTest { function assertCorrectCaller(address expectedSender) public { require(msg.sender == expectedSender); - } function assertCorrectOrigin(address expectedOrigin) public { require(tx.origin == expectedOrigin); - } function setNum(uint256 _num) public { @@ -133,7 +129,7 @@ contract PrankTest is DSTest { // Assert correct `msg.sender` (bool success,) = address(impl).delegatecall(abi.encodeWithSignature("assertCorrectCaller(address)", address(proxy))); - + require(success, "prank2: delegate call failed assertCorrectCaller"); // Assert storage updates @@ -294,28 +290,16 @@ contract PrankTest is DSTest { } function isNotReserved(address addr) internal returns (bool) { - // Check for zero address and common precompiles (addresses 1-9) - if ( - addr == address(0) || - addr == address(1) || - addr == address(2) || - addr == address(3) || - addr == address(4) || - addr == address(5) || - addr == address(6) || - addr == address(7) || - addr == address(8) || - addr == address(9) || - addr == address(10) || - addr == address(11) || - addr == address(12) || - addr == address(13) || - addr == address(14) || - addr == address(15) || addr == address(this) - ) { - return false; - } - return true; + // Check for zero address and common precompiles (addresses 1-9) + if ( + addr == address(0) || addr == address(1) || addr == address(2) || addr == address(3) || addr == address(4) + || addr == address(5) || addr == address(6) || addr == address(7) || addr == address(8) + || addr == address(9) || addr == address(10) || addr == address(11) || addr == address(12) + || addr == address(13) || addr == address(14) || addr == address(15) || addr == address(this) + ) { + return false; + } + return true; } function testPrank0AfterPrank1(address sender, address origin) public { @@ -332,7 +316,7 @@ contract PrankTest is DSTest { sender, "msg.sender was not set during prank", origin, "tx.origin was not set during prank" ); - console.log("After first prank - msg.sender:", address(this)); + console.log("After first prank - msg.sender:", address(this)); // Ensure we cleaned up correctly victim.assertCallerAndOrigin( address(this), "msg.sender was not cleaned up", oldOrigin, "tx.origin invariant failed" @@ -350,7 +334,6 @@ contract PrankTest is DSTest { ); } - function testStartPrank0AfterPrank1(address sender, address origin) public { vm.assume(isNotReserved(sender)); vm.assume(isNotReserved(origin)); @@ -715,4 +698,4 @@ contract Counter { function increment() external { number++; } -} \ No newline at end of file +} From e29737b290549f2d6a223fecb5f992b32ce9f5b9 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Wed, 29 Oct 2025 15:39:02 +0200 Subject: [PATCH 20/52] fix prank calls Signed-off-by: Alexandru Gheorghe --- crates/revive-strategy/src/cheatcodes/mock_handler.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/crates/revive-strategy/src/cheatcodes/mock_handler.rs b/crates/revive-strategy/src/cheatcodes/mock_handler.rs index 7de4964f6dbf7..7f5472eae4d27 100644 --- a/crates/revive-strategy/src/cheatcodes/mock_handler.rs +++ b/crates/revive-strategy/src/cheatcodes/mock_handler.rs @@ -118,9 +118,7 @@ impl MockHandler for MockHandlerImpl { fn mock_caller(&self, frames_len: usize) -> Option> { let mock_inner = self.inner.borrow(); - - if (frames_len == 0 || !mock_inner.first_call_only) && mock_inner.delegated_caller.is_none() - { + if frames_len == 0 && mock_inner.delegated_caller.is_none() { return Some(mock_inner.caller.clone()); } None @@ -172,7 +170,6 @@ struct MockHandlerInner { pub delegated_caller: Option>, pub callee: H160, - pub first_call_only: bool, pub mocked_calls: HashMap>>, pub mocked_functions: HashMap>, } @@ -199,18 +196,15 @@ impl MockHandlerInner { ))) }); - let mut state_inject = Self { + let state_inject = Self { caller: pranked_caller, delegated_caller, - first_call_only: true, mocked_calls: state.mocked_calls.clone(), callee: callee.map(|addr| H160::from_slice(addr.as_slice())).unwrap_or_default(), mocked_functions: state.mocked_functions.clone(), }; - if let Some(prank) = &state.get_prank(curr_depth) { if curr_depth >= prank.depth { - state_inject.first_call_only = prank.single_call; prank_enabled = true; } } From ee9c3d32baeb552ccd6beec1b6681a6c1c664063 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Wed, 5 Nov 2025 15:30:18 +0200 Subject: [PATCH 21/52] replace with template Signed-off-by: Alexandru Gheorghe --- crates/forge/tests/cli/revive_vm.rs | 272 ++++++++++++++-------------- 1 file changed, 136 insertions(+), 136 deletions(-) diff --git a/crates/forge/tests/cli/revive_vm.rs b/crates/forge/tests/cli/revive_vm.rs index 4b56ae65f4104..60f91b8c8cd87 100644 --- a/crates/forge/tests/cli/revive_vm.rs +++ b/crates/forge/tests/cli/revive_vm.rs @@ -472,53 +472,53 @@ Compiler run successful! Ran 2 tests for src/CounterTest.t.sol:CounterTest [PASS] test_Increment() ([GAS]) Traces: - [747441095] CounterTest::setUp() - ├─ [260232041] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 7404 bytes of code - ├─ [0] VM::expectEmit() + [..] CounterTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code + ├─ [..] VM::expectEmit() │ └─ ← [Return] ├─ emit SetNumber(result: 5) - ├─ [376824103] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setNumber(5) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setNumber(5) │ ├─ emit SetNumber(result: 5) │ └─ ← [Stop] - ├─ [110344204] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 5 └─ ← [Stop] - [1045451058] CounterTest::test_Increment() - ├─ [110344204] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] + [..] CounterTest::test_Increment() + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 5 - ├─ [376824103] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setNumber(55) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setNumber(55) │ ├─ emit SetNumber(result: 55) │ └─ ← [Stop] - ├─ [110344204] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 55 - ├─ [447930375] 0x34A1D3fff3958843C43aD80F30b94c510645C316::increment() + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::increment() │ ├─ emit Increment(result: 56) │ └─ ← [Stop] - ├─ [0] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 56 └─ ← [Stop] [PASS] test_expectRevert() ([GAS]) Traces: - [747441095] CounterTest::setUp() - ├─ [260232041] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 7404 bytes of code - ├─ [0] VM::expectEmit() + [..] CounterTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code + ├─ [..] VM::expectEmit() │ └─ ← [Return] ├─ emit SetNumber(result: 5) - ├─ [376824103] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setNumber(5) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setNumber(5) │ ├─ emit SetNumber(result: 5) │ └─ ← [Stop] - ├─ [110344204] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::number() [staticcall] │ └─ ← [Return] 5 └─ ← [Stop] - [47479926] CounterTest::test_expectRevert() - ├─ [0] VM::expectRevert(custom error 0xf28dceb3: 0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006456941a80000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000076661696c7572650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) + [..] CounterTest::test_expectRevert() + ├─ [..] VM::expectRevert(custom error 0xf28dceb3: 0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006456941a80000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000076661696c7572650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) │ └─ ← [Return] - ├─ [47471087] 0x34A1D3fff3958843C43aD80F30b94c510645C316::failed_call() [staticcall] + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::failed_call() [staticcall] │ └─ ← [Revert] Revert("failure") └─ ← [Stop] @@ -654,51 +654,51 @@ Compiler run successful! Ran 2 tests for src/Test.t.sol:RecordTest [PASS] testRecordAccess() ([GAS]) Traces: - [943952687] RecordTest::testRecordAccess() - ├─ [14363527] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 4095 bytes of code - ├─ [14363527] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 - │ └─ ← [Return] 2182 bytes of code - ├─ [0] VM::record() + [..] RecordTest::testRecordAccess() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code + ├─ [..] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 + │ └─ ← [Return] [..] bytes of code + ├─ [..] VM::record() │ └─ ← [Return] - ├─ [915153532] 0x34A1D3fff3958843C43aD80F30b94c510645C316::record(0x90193C961A926261B756D1E5bb255e67ff9498A1) - │ ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::record() + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::record(0x90193C961A926261B756D1E5bb255e67ff9498A1) + │ ├─ [..] 0x90193C961A926261B756D1E5bb255e67ff9498A1::record() │ │ └─ ← [Return] │ └─ ← [Stop] - ├─ [0] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) + ├─ [..] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) │ └─ ← [Return] [0x0000000000000000000000000000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000000000000000000000000001], [0x0000000000000000000000000000000000000000000000000000000000000001] - ├─ [0] VM::accesses(0x90193C961A926261B756D1E5bb255e67ff9498A1) + ├─ [..] VM::accesses(0x90193C961A926261B756D1E5bb255e67ff9498A1) │ └─ ← [Return] [0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000002], [0x0000000000000000000000000000000000000000000000000000000000000002] └─ ← [Stop] [PASS] testStopRecordAccess() ([GAS]) Traces: - [943956553] RecordTest::testStopRecordAccess() - ├─ [14363527] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 4095 bytes of code - ├─ [14363527] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 - │ └─ ← [Return] 2182 bytes of code - ├─ [0] VM::record() + [..] RecordTest::testStopRecordAccess() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code + ├─ [..] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 + │ └─ ← [Return] [..] bytes of code + ├─ [..] VM::record() │ └─ ← [Return] - ├─ [915153532] 0x34A1D3fff3958843C43aD80F30b94c510645C316::record(0x90193C961A926261B756D1E5bb255e67ff9498A1) - │ ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::record() + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::record(0x90193C961A926261B756D1E5bb255e67ff9498A1) + │ ├─ [..] 0x90193C961A926261B756D1E5bb255e67ff9498A1::record() │ │ └─ ← [Return] │ └─ ← [Stop] - ├─ [0] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) + ├─ [..] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) │ └─ ← [Return] [0x0000000000000000000000000000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000000000000000000000000001], [0x0000000000000000000000000000000000000000000000000000000000000001] - ├─ [0] VM::stopRecord() + ├─ [..] VM::stopRecord() │ └─ ← [Return] - ├─ [0] 0x34A1D3fff3958843C43aD80F30b94c510645C316::record(0x90193C961A926261B756D1E5bb255e67ff9498A1) - │ ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::record() + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::record(0x90193C961A926261B756D1E5bb255e67ff9498A1) + │ ├─ [..] 0x90193C961A926261B756D1E5bb255e67ff9498A1::record() │ │ └─ ← [Return] │ └─ ← [Stop] - ├─ [0] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) + ├─ [..] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) │ └─ ← [Return] [0x0000000000000000000000000000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000000000000000000000000001], [0x0000000000000000000000000000000000000000000000000000000000000001] - ├─ [0] VM::record() + ├─ [..] VM::record() │ └─ ← [Return] - ├─ [0] VM::stopRecord() + ├─ [..] VM::stopRecord() │ └─ ← [Return] - ├─ [0] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) + ├─ [..] VM::accesses(0x34A1D3fff3958843C43aD80F30b94c510645C316) │ └─ ← [Return] [], [] └─ ← [Stop] @@ -971,21 +971,21 @@ Compiler run successful! Ran 7 tests for src/Test.t.sol:RecordLogsTest [PASS] testEmitRecordEmit() ([GAS]) Traces: - [14435813] RecordLogsTest::setUp() - ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 12583 bytes of code + [..] RecordLogsTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [307413004] RecordLogsTest::testEmitRecordEmit() - ├─ [157803902] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 2, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) + [..] RecordLogsTest::testEmitRecordEmit() + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 2, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) │ ├─ emit LogTopic12(topic1: 1, topic2: 2, data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) │ └─ ← [Stop] - ├─ [0] VM::recordLogs() + ├─ [..] VM::recordLogs() │ └─ ← [Return] - ├─ [149553523] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(3, 0x2e38edeff9493e0004540e975027a429) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(3, 0x2e38edeff9493e0004540e975027a429) │ ├─ emit LogTopic1(topic1: 3, data: 0x2e38edeff9493e0004540e975027a429) │ └─ ← [Stop] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [([0x7c7d81fafce31d4330303f05da0ccb9d970101c475382b40aa072986ee4caaad, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000102e38edeff9493e0004540e975027a42900000000000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] ├─ storage changes: │ @ 1: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350 → 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4232d03ee63e14e30 @@ -993,16 +993,16 @@ Traces: [PASS] testRecordOffGetsNothing() ([GAS]) Traces: - [14435813] RecordLogsTest::setUp() - ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 12583 bytes of code + [..] RecordLogsTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [174915500] RecordLogsTest::testRecordOffGetsNothing() - ├─ [174866510] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) + [..] RecordLogsTest::testRecordOffGetsNothing() + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) │ ├─ emit LogTopic123(topic1: 1, topic2: 2, topic3: 3, data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) │ └─ ← [Stop] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [] ├─ storage changes: │ @ 1: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350 → 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4232d03ee63e14e30 @@ -1010,76 +1010,76 @@ Traces: [PASS] testRecordOnEmitDifferentDepths() ([GAS]) Traces: - [14435813] RecordLogsTest::setUp() - ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 12583 bytes of code + [..] RecordLogsTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [967163397] RecordLogsTest::testRecordOnEmitDifferentDepths() - ├─ [0] VM::recordLogs() + [..] RecordLogsTest::testRecordOnEmitDifferentDepths() + ├─ [..] VM::recordLogs() │ └─ ← [Return] ├─ emit LogTopic(topic1: 1, data: 0x43a26051362b8040b289abe93334a5e3) - ├─ [155315462] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa) │ ├─ emit LogTopic12(topic1: 2, topic2: 3, data: 0x43a26051362b8040b289abe93334a5e3662751aa) │ └─ ← [Stop] - ├─ [811740674] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 - │ └─ ← [Return] 10554 bytes of code - ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) - │ ├─ [0] 0xd04404bcf6d969FC0Ec22021b4736510CAcec492::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) + ├─ [..] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 + │ └─ ← [Return] [..] bytes of code + ├─ [..] 0x90193C961A926261B756D1E5bb255e67ff9498A1::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) + │ ├─ [..] 0xd04404bcf6d969FC0Ec22021b4736510CAcec492::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) │ │ ├─ emit LogTopic123(topic1: 4, topic2: 5, topic3: 6, data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) │ │ └─ ← [Return] │ └─ ← [Stop] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [([0x61fb7db3625c10432927a76bb32400c33a94e9bb6374137c4cd59f6e465bfdcb, 0x0000000000000000000000000000000000000000000000000000000000000001], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001043a26051362b8040b289abe93334a5e300000000000000000000000000000000, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496), ([0x7af92d5e3102a27d908bb1859fdef71b723f3c438e5d84f3af49dab68e18dc6d, 0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001443a26051362b8040b289abe93334a5e3662751aa000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316), ([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000004, 0x0000000000000000000000000000000000000000000000000000000000000005, 0x0000000000000000000000000000000000000000000000000000000000000006], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001843a26051362b8040b289abe93334a5e3662751aa691185ae0000000000000000, 0xd04404bcf6d969FC0Ec22021b4736510CAcec492)] - ├─ [0] 0x90193C961A926261B756D1E5bb255e67ff9498A1::getEmitterAddr() [staticcall] + ├─ [..] 0x90193C961A926261B756D1E5bb255e67ff9498A1::getEmitterAddr() [staticcall] │ └─ ← [Return] 0xd04404bcf6d969FC0Ec22021b4736510CAcec492 └─ ← [Stop] [PASS] testRecordOnNoLogs() ([GAS]) Traces: - [14435813] RecordLogsTest::setUp() - ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 12583 bytes of code + [..] RecordLogsTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [4118] RecordLogsTest::testRecordOnNoLogs() - ├─ [0] VM::recordLogs() + [..] RecordLogsTest::testRecordOnNoLogs() + ├─ [..] VM::recordLogs() │ └─ ← [Return] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [] └─ ← [Stop] [PASS] testRecordOnSingleLog() ([GAS]) Traces: - [14435813] RecordLogsTest::setUp() - ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 12583 bytes of code + [..] RecordLogsTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [160643851] RecordLogsTest::testRecordOnSingleLog() - ├─ [0] VM::recordLogs() + [..] RecordLogsTest::testRecordOnSingleLog() + ├─ [..] VM::recordLogs() │ └─ ← [Return] - ├─ [160627894] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 2, 3, 0x4576656e74204461746120696e20537472696e67) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 2, 3, 0x4576656e74204461746120696e20537472696e67) │ ├─ emit LogTopic123(topic1: 1, topic2: 2, topic3: 3, data: 0x4576656e74204461746120696e20537472696e67) │ └─ ← [Stop] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000001, 0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000144576656e74204461746120696e20537472696e67000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] └─ ← [Stop] [PASS] testRecordOnSingleLogTopic0() ([GAS]) Traces: - [14435813] RecordLogsTest::setUp() - ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 12583 bytes of code + [..] RecordLogsTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [159742399] RecordLogsTest::testRecordOnSingleLogTopic0() - ├─ [0] VM::recordLogs() + [..] RecordLogsTest::testRecordOnSingleLogTopic0() + ├─ [..] VM::recordLogs() │ └─ ← [Return] - ├─ [159689160] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) │ ├─ emit LogTopic0(data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a429) │ └─ ← [Stop] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [([0x0a28c6fad56bcbad1788721e440963b3b762934a3134924733eaf8622cb44279], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003043a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c1693502e38edeff9493e0004540e975027a42900000000000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] ├─ storage changes: │ @ 1: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350 → 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4232d03ee63e14e30 @@ -1087,36 +1087,36 @@ Traces: [PASS] testRecordsConsumednAsRead() ([GAS]) Traces: - [14435813] RecordLogsTest::setUp() - ├─ [14398070] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 12583 bytes of code + [..] RecordLogsTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [775841573] RecordLogsTest::testRecordsConsumednAsRead() - ├─ [149553523] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 0x43a26051362b8040b289abe93334a5e3) + [..] RecordLogsTest::testRecordsConsumednAsRead() + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(1, 0x43a26051362b8040b289abe93334a5e3) │ ├─ emit LogTopic1(topic1: 1, data: 0x43a26051362b8040b289abe93334a5e3) │ └─ ← [Stop] - ├─ [0] VM::recordLogs() + ├─ [..] VM::recordLogs() │ └─ ← [Return] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [] - ├─ [156144942] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(2, 3, 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) │ ├─ emit LogTopic12(topic1: 2, topic2: 3, data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae) │ └─ ← [Stop] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [([0x7af92d5e3102a27d908bb1859fdef71b723f3c438e5d84f3af49dab68e18dc6d, 0x0000000000000000000000000000000000000000000000000000000000000002, 0x0000000000000000000000000000000000000000000000000000000000000003], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001843a26051362b8040b289abe93334a5e3662751aa691185ae0000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] - ├─ [160627894] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(4, 5, 6, 0x43a26051362b8040b289abe93334a5e3662751aa) │ ├─ emit LogTopic123(topic1: 4, topic2: 5, topic3: 6, data: 0x43a26051362b8040b289abe93334a5e3662751aa) │ └─ ← [Stop] - ├─ [147938984] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) │ ├─ emit LogTopic0(data: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350) │ └─ ← [Stop] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000004, 0x0000000000000000000000000000000000000000000000000000000000000005, 0x0000000000000000000000000000000000000000000000000000000000000006], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001443a26051362b8040b289abe93334a5e3662751aa000000000000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316), ([0x0a28c6fad56bcbad1788721e440963b3b762934a3134924733eaf8622cb44279], 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002043a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] - ├─ [161457374] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(7, 8, 9, 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::emitEvent(7, 8, 9, 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4) │ ├─ emit LogTopic123(topic1: 7, topic2: 8, topic3: 9, data: 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4) │ └─ ← [Stop] - ├─ [0] VM::getRecordedLogs() + ├─ [..] VM::getRecordedLogs() │ └─ ← [Return] [([0xb6d650e5d0bbc0e92ff784e346ada394e49aa2d74a5cee8b099fa1a469bdc452, 0x0000000000000000000000000000000000000000000000000000000000000007, 0x0000000000000000000000000000000000000000000000000000000000000008, 0x0000000000000000000000000000000000000000000000000000000000000009], 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000182e38edeff9493e0004540e975027a429ee666d1289f2c7a40000000000000000, 0x34A1D3fff3958843C43aD80F30b94c510645C316)] ├─ storage changes: │ @ 1: 0x43a26051362b8040b289abe93334a5e3662751aa691185ae9e9a2e1e0c169350 → 0x2e38edeff9493e0004540e975027a429ee666d1289f2c7a4232d03ee63e14e30 @@ -1267,57 +1267,57 @@ Compiler run successful! Ran 3 tests for src/Test.t.sol:StateDiffTest [PASS] testCallProxyaccesses() ([GAS]) Traces: - [570494757] StateDiffTest::setUp() - ├─ [284769285] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 5531 bytes of code - ├─ [285632860] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 - │ └─ ← [Return] 6405 bytes of code + [..] StateDiffTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code + ├─ [..] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [709209629] StateDiffTest::testCallProxyaccesses() - ├─ [0] VM::startStateDiffRecording() + [..] StateDiffTest::testCallProxyaccesses() + ├─ [..] VM::startStateDiffRecording() │ └─ ← [Return] - ├─ [709172296] 0x90193C961A926261B756D1E5bb255e67ff9498A1::proxyCall(55) - │ ├─ [0] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setter(55) + ├─ [..] 0x90193C961A926261B756D1E5bb255e67ff9498A1::proxyCall(55) + │ ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setter(55) │ │ └─ ← [Return] │ └─ ← [Stop] - ├─ [0] VM::stopAndReturnStateDiff() + ├─ [..] VM::stopAndReturnStateDiff() │ └─ ← [Return] [((0, 31337 [3.133e4]), 0, 0x90193C961A926261B756D1E5bb255e67ff9498A1, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496, true, 0, 1000000000000000000 [1e18], 0x, 0, 0xac1b14ff0000000000000000000000000000000000000000000000000000000000000037, false, [(0x90193C961A926261B756D1E5bb255e67ff9498A1, 0x0000000000000000000000000000000000000000000000000000000000000000, false, 0x00000000000000000000000034a1d3fff3958843c43ad80f30b94c510645c316, 0x00000000000000000000000034a1d3fff3958843c43ad80f30b94c510645c316, false)], 1), ((0, 31337 [3.133e4]), 0, 0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x90193C961A926261B756D1E5bb255e67ff9498A1, true, 1000000000000000000 [1e18], 1000000000000000000 [1e18], 0x, 0, 0xd423740b0000000000000000000000000000000000000000000000000000000000000037, false, [(0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x0000000000000000000000000000000000000000000000000000000000000001, false, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000064, false), (0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x0000000000000000000000000000000000000000000000000000000000000001, true, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000037, false)], 2)] └─ ← [Stop] [PASS] testCallaccesses() ([GAS]) Traces: - [570494757] StateDiffTest::setUp() - ├─ [284769285] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 5531 bytes of code - ├─ [285632860] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 - │ └─ ← [Return] 6405 bytes of code + [..] StateDiffTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code + ├─ [..] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [272398730] StateDiffTest::testCallaccesses() - ├─ [0] VM::startStateDiffRecording() + [..] StateDiffTest::testCallaccesses() + ├─ [..] VM::startStateDiffRecording() │ └─ ← [Return] - ├─ [272369910] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setter(55) + ├─ [..] 0x34A1D3fff3958843C43aD80F30b94c510645C316::setter(55) │ └─ ← [Stop] - ├─ [0] VM::stopAndReturnStateDiff() + ├─ [..] VM::stopAndReturnStateDiff() │ └─ ← [Return] [((0, 31337 [3.133e4]), 0, 0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496, true, 1000000000000000000 [1e18], 1000000000000000000 [1e18], 0x, 0, 0xd423740b0000000000000000000000000000000000000000000000000000000000000037, false, [(0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x0000000000000000000000000000000000000000000000000000000000000001, false, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000064, false), (0x34A1D3fff3958843C43aD80F30b94c510645C316, 0x0000000000000000000000000000000000000000000000000000000000000001, true, 0x0000000000000000000000000000000000000000000000000000000000000064, 0x0000000000000000000000000000000000000000000000000000000000000037, false)], 1)] └─ ← [Stop] [PASS] testCreateaccesses() ([GAS]) Traces: - [570494757] StateDiffTest::setUp() - ├─ [284769285] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 - │ └─ ← [Return] 5531 bytes of code - ├─ [285632860] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 - │ └─ ← [Return] 6405 bytes of code + [..] StateDiffTest::setUp() + ├─ [..] → new @0x34A1D3fff3958843C43aD80F30b94c510645C316 + │ └─ ← [Return] [..] bytes of code + ├─ [..] → new @0x90193C961A926261B756D1E5bb255e67ff9498A1 + │ └─ ← [Return] [..] bytes of code └─ ← [Stop] - [284823563] StateDiffTest::testCreateaccesses() - ├─ [0] VM::startStateDiffRecording() + [..] StateDiffTest::testCreateaccesses() + ├─ [..] VM::startStateDiffRecording() │ └─ ← [Return] - ├─ [284769285] → new @0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496 - │ └─ ← [Return] 5531 bytes of code - ├─ [0] VM::stopAndReturnStateDiff() + ├─ [..] → new @0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496 + │ └─ ← [Return] [..] bytes of code + ├─ [..] VM::stopAndReturnStateDiff() │ └─ ← [Return] [((0, 31337 [3.133e4]), 4, 0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496, 0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496, true, 0, 1000000000000000000 [1e18], 0x, 1000000000000000000 [1e18], 0x0000000000000000000000000000000000000000000000000000000000000064, false, [(0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496, 0x0000000000000000000000000000000000000000000000000000000000000001, false, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, false), (0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496, 0x0000000000000000000000000000000000000000000000000000000000000001, true, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000064, false)], 1)] └─ ← [Stop] From 8d11b218195c0a5c3ef1513ef0af6032534fba80 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Wed, 5 Nov 2025 15:48:16 +0200 Subject: [PATCH 22/52] fixup typo Signed-off-by: Alexandru Gheorghe --- crates/anvil-polkadot/substrate-runtime/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/anvil-polkadot/substrate-runtime/Cargo.toml b/crates/anvil-polkadot/substrate-runtime/Cargo.toml index be86b65a0579a..130e21313a834 100644 --- a/crates/anvil-polkadot/substrate-runtime/Cargo.toml +++ b/crates/anvil-polkadot/substrate-runtime/Cargo.toml @@ -29,7 +29,7 @@ scale-info = { version = "2.11.6", default-features = false } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } [build-dependencies] -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, optional = true, features = ["substrate-wasm-builder"] } +polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", default-features = false, optional = true, features = ["substrate-wasm-builder"] } [features] default = ["std"] From d0a562daf663732f13e810dc5ed0b0ed93d44753 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Wed, 5 Nov 2025 15:48:55 +0200 Subject: [PATCH 23/52] fix extra Signed-off-by: Alexandru Gheorghe --- crates/revive-env/Cargo.toml | 2 +- crates/revive-strategy/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/revive-env/Cargo.toml b/crates/revive-env/Cargo.toml index 3f685bed3701e..f02c3fb552718 100644 --- a/crates/revive-env/Cargo.toml +++ b/crates/revive-env/Cargo.toml @@ -16,7 +16,7 @@ std = ["polkadot-sdk/std"] codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", features = [ +polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", features = [ "experimental", "runtime", "polkadot-runtime-common", diff --git a/crates/revive-strategy/Cargo.toml b/crates/revive-strategy/Cargo.toml index 6acffe06daf4d..93c181e6df8cf 100644 --- a/crates/revive-strategy/Cargo.toml +++ b/crates/revive-strategy/Cargo.toml @@ -36,7 +36,7 @@ semver.workspace = true codec = { version = "3.7.5", default-features = false, package = "parity-scale-codec" } scale-info = { version = "2.11.6", default-features = false } -polkadot-sdk = {git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", features = [ +polkadot-sdk = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master", features = [ "experimental", "runtime", "polkadot-runtime-common", From 1da5f68ba04fe61a489b749fe734eef18b3aea46 Mon Sep 17 00:00:00 2001 From: Alexandru Gheorghe Date: Wed, 5 Nov 2025 19:18:37 +0200 Subject: [PATCH 24/52] make tests consume less resources Signed-off-by: Alexandru Gheorghe --- .../forge/tests/it/revive/cheat_mock_call.rs | 234 +----------------- .../forge/tests/it/revive/cheat_mock_calls.rs | 26 +- .../tests/it/revive/cheat_mock_functions.rs | 6 +- crates/forge/tests/it/revive/cheat_prank.rs | 222 +---------------- 4 files changed, 9 insertions(+), 479 deletions(-) diff --git a/crates/forge/tests/it/revive/cheat_mock_call.rs b/crates/forge/tests/it/revive/cheat_mock_call.rs index f86f4569d922d..2545608f2ba7c 100644 --- a/crates/forge/tests/it/revive/cheat_mock_call.rs +++ b/crates/forge/tests/it/revive/cheat_mock_call.rs @@ -8,240 +8,10 @@ use rstest::rstest; #[case::pvm(ReviveRuntimeMode::Pvm)] #[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_mock_getters(#[case] runtime_mode: ReviveRuntimeMode) { +async fn test_mock_call(#[case] runtime_mode: ReviveRuntimeMode) { let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockGetters", "MockCall", ".*/revive/.*"); + let filter = Filter::new(".*", "MockCall", ".*/revive/MockCall.t.sol"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_clear_mock_reverted_calls(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testClearMockRevertedCalls", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_empty_account_revert(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallEmptyAccountRevert", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_revert(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallResetsMockCallRevert", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_reverts_partial_match(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallRevertPartialMatch", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_revert_resets_mock_call(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallRevertResetsMockCall", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_revert_with_call(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallRevertWithCall", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_revert_with_value(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallRevertWithValue", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_data_revert(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCalldataRevert", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_getters_revert(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockGettersRevert", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested_revert(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockNestedRevert", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_revert_with_custom_error(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockRevertWithCustomError", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_clear_mocked_calls(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testClearMockedCalls", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_empty_account(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallEmptyAccount", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_multiple_partial_match(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallMultiplePartialMatch", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_with_value(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallWithValue", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_call_with_value_calldata_precedence(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallWithValueCalldataPrecedence", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_calldata(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCalldata", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockNested", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested_empty_account(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockNestedEmptyAccount", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_nested_delegate(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockNestedDelegate", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_selector(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockSelector", "MockCall", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} diff --git a/crates/forge/tests/it/revive/cheat_mock_calls.rs b/crates/forge/tests/it/revive/cheat_mock_calls.rs index 696a6081e8fb9..2660038f1a04d 100644 --- a/crates/forge/tests/it/revive/cheat_mock_calls.rs +++ b/crates/forge/tests/it/revive/cheat_mock_calls.rs @@ -10,29 +10,7 @@ use rstest::rstest; #[tokio::test(flavor = "multi_thread")] async fn test_mock_calls(#[case] runtime_mode: ReviveRuntimeMode) { let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCalls", "MockCalls", ".*/revive/.*"); + let filter = Filter::new(".*", "MockCalls", ".*/revive/MockCalls.t.sol"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_calls_last_should_persist(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallsLastShouldPersist", "MockCalls", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_mock_calls_with_value(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testMockCallsWithValue", "MockCalls", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} +} \ No newline at end of file diff --git a/crates/forge/tests/it/revive/cheat_mock_functions.rs b/crates/forge/tests/it/revive/cheat_mock_functions.rs index 927858bdc3898..8bcca29c40ee4 100644 --- a/crates/forge/tests/it/revive/cheat_mock_functions.rs +++ b/crates/forge/tests/it/revive/cheat_mock_functions.rs @@ -10,7 +10,7 @@ use rstest::rstest; #[tokio::test(flavor = "multi_thread")] async fn test_mockx_function(#[case] runtime_mode: ReviveRuntimeMode) { let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("test_mockx_function", "MockFunction", ".*/revive/.*"); + let filter = Filter::new("test_mockx_function", "MockFunction", ".*/revive/MockFunction.t.sol"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } @@ -21,7 +21,7 @@ async fn test_mockx_function(#[case] runtime_mode: ReviveRuntimeMode) { #[tokio::test(flavor = "multi_thread")] async fn test_mock_function_concrete_args(#[case] runtime_mode: ReviveRuntimeMode) { let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("test_mock_function_concrete_args", "MockFunction", ".*/revive/.*"); + let filter = Filter::new("test_mock_function_concrete_args", "MockFunction", ".*/revive/MockFunction.t.sol"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } @@ -32,7 +32,7 @@ async fn test_mock_function_concrete_args(#[case] runtime_mode: ReviveRuntimeMod #[tokio::test(flavor = "multi_thread")] async fn test_mock_function_all_args(#[case] runtime_mode: ReviveRuntimeMode) { let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("test_mock_function_all_args", "MockFunction", ".*/revive/.*"); + let filter = Filter::new("test_mock_function_all_args", "MockFunction", ".*/revive/MockFunction.t.sol"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } diff --git a/crates/forge/tests/it/revive/cheat_prank.rs b/crates/forge/tests/it/revive/cheat_prank.rs index d9d33444f47a8..31c850d07b0ef 100644 --- a/crates/forge/tests/it/revive/cheat_prank.rs +++ b/crates/forge/tests/it/revive/cheat_prank.rs @@ -8,227 +8,9 @@ use rstest::rstest; #[case::pvm(ReviveRuntimeMode::Pvm)] #[case::evm(ReviveRuntimeMode::Evm)] #[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank0_after_prank1(#[case] runtime_mode: ReviveRuntimeMode) { +async fn test_revive_prank(#[case] runtime_mode: ReviveRuntimeMode) { let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrank0AfterPrank1", "Prank", ".*/revive/.*"); + let filter = Filter::new(".*", ".*", ".*/revive/Prank.t.sol.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank1_after_prank0(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrank1AfterPrank0", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_constructor_origin(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankConstructorOrigin", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_constructor_sender(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankConstructorSender", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_prank2(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankDelegateCallPrank2", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_prank3(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankDelegateCallPrank3", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_start_prank2(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankDelegateCallStartPrank2", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_start_prank3(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankDelegateCallStartPrank3", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_origin(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankOrigin", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_sender(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankSender", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_stop(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankStartStop", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_stop_constructor(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testPrankStartStopConstructor", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_revert_if_overwrite_unused_prank(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testRevertIfOverwriteUnusedPrank", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_revert_if_overwrite_unused_prank_after_successful_prank( - #[case] runtime_mode: ReviveRuntimeMode, -) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new( - "testRevertIfOverwriteUnusedPrankAfterSuccessfulPrank", - "Prank", - ".*/revive/.*", - ); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_delegate_call_to_eoa(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testRevertIfPrankDelegateCalltoEOA", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_prank0_after_prank1(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testStartPrank0AfterPrank1", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_prank0_after_start_prank1( - #[case] runtime_mode: ReviveRuntimeMode, -) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testStartPrank0AfterStartPrank1", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_start_prank1_after_start_prank0( - #[case] runtime_mode: ReviveRuntimeMode, -) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testStartPrank1AfterStartPrank0", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -#[rstest] -#[case::pvm(ReviveRuntimeMode::Pvm)] -#[case::evm(ReviveRuntimeMode::Evm)] -#[tokio::test(flavor = "multi_thread")] -async fn test_revive_prank_tx_origin_in_nested_prank(#[case] runtime_mode: ReviveRuntimeMode) { - let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("testTxOriginInNestedPrank", "Prank", ".*/revive/.*"); - - TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} - -// TODO: Enable once etch support is enabled. - -// #[tokio::test(flavor = "multi_thread")] -// async fn test_revive_delegate_prank() { -// let runner = TEST_DATA_REVIVE.runner_revive(); -// let filter = Filter::new("testDelegatePrank", "Prank", ".*/revive/.*"); - -// TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -// } From 5855f2bd3b9609fe2b1ff11b2449dd5f63007d46 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Wed, 5 Nov 2025 21:28:34 +0100 Subject: [PATCH 25/52] refactor externalities usage --- crates/evm/evm/src/executors/fuzz/mod.rs | 12 +- crates/evm/evm/src/executors/invariant/mod.rs | 2 - crates/evm/evm/src/executors/mod.rs | 4 +- crates/evm/evm/src/executors/strategy.rs | 11 +- crates/forge/Cargo.toml | 2 +- crates/forge/src/runner.rs | 22 +- crates/forge/tests/cli/revive_vm.rs | 2 +- .../forge/tests/it/revive/cheat_mock_call.rs | 1 - .../forge/tests/it/revive/cheat_mock_calls.rs | 2 +- .../tests/it/revive/cheat_mock_functions.rs | 9 +- crates/revive-env/src/lib.rs | 1 + crates/revive-strategy/src/cheatcodes/mod.rs | 596 ++++++++---------- .../revive-strategy/src/executor/context.rs | 3 +- crates/revive-strategy/src/executor/runner.rs | 67 +- crates/revive-strategy/src/lib.rs | 50 +- crates/revive-strategy/src/state.rs | 138 ++++ crates/revive-strategy/src/tracing/mod.rs | 9 +- testdata/default/.lock-revive | 1 + 18 files changed, 451 insertions(+), 481 deletions(-) create mode 100644 crates/revive-strategy/src/state.rs create mode 100644 testdata/default/.lock-revive diff --git a/crates/evm/evm/src/executors/fuzz/mod.rs b/crates/evm/evm/src/executors/fuzz/mod.rs index 93fef3eeb0fc8..2e60ea52890d4 100644 --- a/crates/evm/evm/src/executors/fuzz/mod.rs +++ b/crates/evm/evm/src/executors/fuzz/mod.rs @@ -106,11 +106,7 @@ impl FuzzedExecutor { if timer.is_timed_out() { return Err(TestCaseError::fail(TEST_TIMEOUT)); } - self.executor.strategy.runner.checkpoint(); - let fuzz_res = self.single_fuzz(address, calldata); - self.executor.strategy.runner.reload_checkpoint(); - - let fuzz_res = fuzz_res?; + let fuzz_res = self.single_fuzz(address, calldata)?; // If running with progress then increment current run. if let Some(progress) = progress { @@ -241,8 +237,8 @@ impl FuzzedExecutor { address: Address, calldata: alloy_primitives::Bytes, ) -> Result { - let mut call = self - .executor + let executor = self.executor.clone(); + let mut call = executor .call_raw(self.sender, address, calldata.clone(), U256::ZERO) .map_err(|e| TestCaseError::fail(e.to_string()))?; @@ -265,7 +261,7 @@ impl FuzzedExecutor { { true } else { - self.executor.is_raw_call_mut_success(address, &mut call, false) + executor.is_raw_call_mut_success(address, &mut call, false) }; if success { diff --git a/crates/evm/evm/src/executors/invariant/mod.rs b/crates/evm/evm/src/executors/invariant/mod.rs index 3c284a4a0a70d..ba64c5e16c638 100644 --- a/crates/evm/evm/src/executors/invariant/mod.rs +++ b/crates/evm/evm/src/executors/invariant/mod.rs @@ -392,7 +392,6 @@ impl<'a> InvariantExecutor<'a> { .last() .ok_or_else(|| eyre!("no input generated to call fuzzed target."))?; - self.executor.strategy.runner.checkpoint(); // Execute call from the randomly generated sequence without committing state. // State is committed only if call is not a magic assume. let call_result = current_run @@ -404,7 +403,6 @@ impl<'a> InvariantExecutor<'a> { U256::ZERO, ) .map_err(|e| eyre!(format!("Could not make raw evm call: {e}"))); - self.executor.strategy.runner.reload_checkpoint(); let mut call_result = call_result?; diff --git a/crates/evm/evm/src/executors/mod.rs b/crates/evm/evm/src/executors/mod.rs index 9768a832d4eca..9eb779fc2ef58 100644 --- a/crates/evm/evm/src/executors/mod.rs +++ b/crates/evm/evm/src/executors/mod.rs @@ -253,7 +253,7 @@ impl Executor { } /// Gets the balance of an account - pub fn get_balance(&self, address: Address) -> BackendResult { + pub fn get_balance(&mut self, address: Address) -> BackendResult { self.strategy.runner.get_balance(self, address) } @@ -263,7 +263,7 @@ impl Executor { } /// Returns the nonce of an account. - pub fn get_nonce(&self, address: Address) -> BackendResult { + pub fn get_nonce(&mut self, address: Address) -> BackendResult { self.strategy.runner.get_nonce(self, address) } diff --git a/crates/evm/evm/src/executors/strategy.rs b/crates/evm/evm/src/executors/strategy.rs index 816ff41728e58..9fd0115fbf3e7 100644 --- a/crates/evm/evm/src/executors/strategy.rs +++ b/crates/evm/evm/src/executors/strategy.rs @@ -64,14 +64,14 @@ pub trait ExecutorStrategyRunner: Debug + Send + Sync + ExecutorStrategyExt { ) -> BackendResult<()>; /// Gets the balance of an account - fn get_balance(&self, executor: &Executor, address: Address) -> BackendResult; + fn get_balance(&self, executor: &mut Executor, address: Address) -> BackendResult; /// Set the nonce of an account. fn set_nonce(&self, executor: &mut Executor, address: Address, nonce: u64) -> BackendResult<()>; /// Returns the nonce of an account. - fn get_nonce(&self, executor: &Executor, address: Address) -> BackendResult; + fn get_nonce(&self, executor: &mut Executor, address: Address) -> BackendResult; /// Execute a transaction and *WITHOUT* applying state changes. fn call( @@ -110,9 +110,6 @@ pub trait ExecutorStrategyExt { _output: ProjectCompileOutput, ) { } - - fn checkpoint(&self) {} - fn reload_checkpoint(&self) {} } /// Implements [ExecutorStrategyRunner] for EVM. @@ -132,7 +129,7 @@ impl ExecutorStrategyRunner for EvmExecutorStrategyRunner { Ok(()) } - fn get_balance(&self, executor: &Executor, address: Address) -> BackendResult { + fn get_balance(&self, executor: &mut Executor, address: Address) -> BackendResult { Ok(executor.backend().basic_ref(address)?.map(|acc| acc.balance).unwrap_or_default()) } @@ -148,7 +145,7 @@ impl ExecutorStrategyRunner for EvmExecutorStrategyRunner { Ok(()) } - fn get_nonce(&self, executor: &Executor, address: Address) -> BackendResult { + fn get_nonce(&self, executor: &mut Executor, address: Address) -> BackendResult { Ok(executor.backend().basic_ref(address)?.map(|acc| acc.nonce).unwrap_or_default()) } diff --git a/crates/forge/Cargo.toml b/crates/forge/Cargo.toml index 22810cd5f004b..55013259d8fe9 100644 --- a/crates/forge/Cargo.toml +++ b/crates/forge/Cargo.toml @@ -23,7 +23,6 @@ path = "tests/ui.rs" harness = false [dependencies] -revive-strategy = { workspace = true } # lib foundry-block-explorers = { workspace = true, features = ["foundry-compilers"] } foundry-common.workspace = true @@ -101,6 +100,7 @@ soldeer-commands.workspace = true quick-junit = "0.5.1" [dev-dependencies] +revive-strategy = { workspace = true } alloy-hardforks.workspace = true anvil.workspace = true forge-script-sequence.workspace = true diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index aa5a2fecb037b..d5ae8eb4d45f7 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -130,6 +130,8 @@ impl<'a> ContractRunner<'a> { // Deploy libraries. self.executor.set_balance(LIBRARY_DEPLOYER, U256::MAX)?; + let nonce = self.executor.get_nonce(self.sender)?; + let address = self.sender.create(nonce); let mut result = TestSetup::default(); for code in &self.mcr.libs_to_deploy { @@ -153,7 +155,6 @@ impl<'a> ContractRunner<'a> { } } - let address = self.sender.create(self.executor.get_nonce(self.sender)?); result.address = address; // NOTE(revive): the test contract is set here instead of where upstream does it as // the test contract address needs to be retrieved in order to skip @@ -411,7 +412,7 @@ impl<'a> ContractRunner<'a> { let fail = TestResult::fail("`testFail*` has been removed. Consider changing to test_Revert[If|When]_Condition and expecting a revert".to_string()); return SuiteResult::new(start.elapsed(), [(instances, fail)].into(), warnings); } - let f = |backend: Option, func: &Function| { + let f = |func: &Function| { let f = || { let start = Instant::now(); @@ -443,22 +444,11 @@ impl<'a> ContractRunner<'a> { (sig, res) }; - if let Some(backend) = backend { - revive_strategy::with_externalities(backend, f) - } else { - f() - } - }; - let backend = if self.config.resolc.resolc_compile || self.config.resolc.polkadot { - Some(revive_strategy::Backend::get()) - } else { - None + f() }; - let test_results = functions - .into_par_iter() - .map(|item| f(backend.clone(), item)) - .collect::>(); + let test_results = + functions.into_par_iter().map(|item| f(item)).collect::>(); let duration = start.elapsed(); SuiteResult::new(duration, test_results, warnings) diff --git a/crates/forge/tests/cli/revive_vm.rs b/crates/forge/tests/cli/revive_vm.rs index 60f91b8c8cd87..9c174c7b8c21d 100644 --- a/crates/forge/tests/cli/revive_vm.rs +++ b/crates/forge/tests/cli/revive_vm.rs @@ -74,7 +74,7 @@ contract CounterTest is DSTest { prj.update_config(|config| config.evm_version = EvmVersion::Cancun); let res = cmd.args(["test", "--resolc", "-vvv", "--polkadot"]).assert(); - res.stderr_eq(str![""]).stdout_eq(str![[r#" + res.stdout_eq(str![[r#" [COMPILING_FILES] with [SOLC_VERSION] [SOLC_VERSION] [ELAPSED] Compiler run successful! diff --git a/crates/forge/tests/it/revive/cheat_mock_call.rs b/crates/forge/tests/it/revive/cheat_mock_call.rs index 2545608f2ba7c..d291db31cc65a 100644 --- a/crates/forge/tests/it/revive/cheat_mock_call.rs +++ b/crates/forge/tests/it/revive/cheat_mock_call.rs @@ -14,4 +14,3 @@ async fn test_mock_call(#[case] runtime_mode: ReviveRuntimeMode) { TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } - diff --git a/crates/forge/tests/it/revive/cheat_mock_calls.rs b/crates/forge/tests/it/revive/cheat_mock_calls.rs index 2660038f1a04d..0b8ece1c11275 100644 --- a/crates/forge/tests/it/revive/cheat_mock_calls.rs +++ b/crates/forge/tests/it/revive/cheat_mock_calls.rs @@ -13,4 +13,4 @@ async fn test_mock_calls(#[case] runtime_mode: ReviveRuntimeMode) { let filter = Filter::new(".*", "MockCalls", ".*/revive/MockCalls.t.sol"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; -} \ No newline at end of file +} diff --git a/crates/forge/tests/it/revive/cheat_mock_functions.rs b/crates/forge/tests/it/revive/cheat_mock_functions.rs index 8bcca29c40ee4..f31e5ed17e91c 100644 --- a/crates/forge/tests/it/revive/cheat_mock_functions.rs +++ b/crates/forge/tests/it/revive/cheat_mock_functions.rs @@ -21,7 +21,11 @@ async fn test_mockx_function(#[case] runtime_mode: ReviveRuntimeMode) { #[tokio::test(flavor = "multi_thread")] async fn test_mock_function_concrete_args(#[case] runtime_mode: ReviveRuntimeMode) { let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("test_mock_function_concrete_args", "MockFunction", ".*/revive/MockFunction.t.sol"); + let filter = Filter::new( + "test_mock_function_concrete_args", + "MockFunction", + ".*/revive/MockFunction.t.sol", + ); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } @@ -32,7 +36,8 @@ async fn test_mock_function_concrete_args(#[case] runtime_mode: ReviveRuntimeMod #[tokio::test(flavor = "multi_thread")] async fn test_mock_function_all_args(#[case] runtime_mode: ReviveRuntimeMode) { let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); - let filter = Filter::new("test_mock_function_all_args", "MockFunction", ".*/revive/MockFunction.t.sol"); + let filter = + Filter::new("test_mock_function_all_args", "MockFunction", ".*/revive/MockFunction.t.sol"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } diff --git a/crates/revive-env/src/lib.rs b/crates/revive-env/src/lib.rs index dbd37db64273b..fd01283ef9b32 100644 --- a/crates/revive-env/src/lib.rs +++ b/crates/revive-env/src/lib.rs @@ -72,6 +72,7 @@ impl ExtBuilder { frame_system::RawOrigin::Signed(pallet_account).into(), ); }); + ext.commit_all().unwrap(); ext } } diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 3706fe5e50559..20bcc8166a9a0 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -6,7 +6,7 @@ use alloy_sol_types::SolValue; use foundry_cheatcodes::{ Broadcast, BroadcastableTransactions, CheatcodeInspectorStrategy, CheatcodeInspectorStrategyContext, CheatcodeInspectorStrategyRunner, CheatsConfig, CheatsCtxt, - CommonCreateInput, DealRecord, Ecx, Error, EvmCheatcodeInspectorStrategyRunner, Result, + CommonCreateInput, Ecx, EvmCheatcodeInspectorStrategyRunner, Result, Vm::{ dealCall, getNonce_0Call, loadCall, pvmCall, resetNonceCall, rollCall, setNonceCall, setNonceUnsafeCall, storeCall, warpCall, @@ -25,7 +25,7 @@ use tracing::warn; use polkadot_sdk::{ pallet_revive::{ - self, AccountInfo, AddressMapper, BalanceOf, Code, ContractInfo, ExecConfig, Pallet, + AccountInfo, AddressMapper, BalanceOf, Code, ContractInfo, ExecConfig, Pallet, evm::CallTrace, }, polkadot_sdk_frame::prelude::OriginFor, @@ -35,7 +35,7 @@ use polkadot_sdk::{ use crate::{ cheatcodes::mock_handler::MockHandlerImpl, - execute_with_externalities, + state::TestEnv, tracing::{Tracer, storage_tracer::AccountAccess}, }; use foundry_cheatcodes::Vm::{AccountAccess as FAccountAccess, ChainInfo}; @@ -54,6 +54,7 @@ pub trait PvmCheatcodeInspectorStrategyBuilder { fn new_pvm( dual_compiled_contracts: DualCompiledContracts, runtime_mode: crate::ReviveRuntimeMode, + externalities: TestEnv, ) -> Self; } impl PvmCheatcodeInspectorStrategyBuilder for CheatcodeInspectorStrategy { @@ -61,12 +62,14 @@ impl PvmCheatcodeInspectorStrategyBuilder for CheatcodeInspectorStrategy { fn new_pvm( dual_compiled_contracts: DualCompiledContracts, runtime_mode: crate::ReviveRuntimeMode, + externalities: TestEnv, ) -> Self { Self { runner: &PvmCheatcodeInspectorStrategyRunner, context: Box::new(PvmCheatcodeInspectorStrategyContext::new( dual_compiled_contracts, runtime_mode, + externalities, )), } } @@ -114,12 +117,20 @@ pub struct PvmCheatcodeInspectorStrategyContext { /// Runtime backend mode when using pallet-revive (PVM or EVM) pub runtime_mode: crate::ReviveRuntimeMode, pub remove_recorded_access_at: Option, + pub externalities: TestEnv, +} + +impl Debug for TestEnv { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + f.write_str("") + } } impl PvmCheatcodeInspectorStrategyContext { pub fn new( dual_compiled_contracts: DualCompiledContracts, runtime_mode: crate::ReviveRuntimeMode, + externalities: TestEnv, ) -> Self { Self { // Start in REVM mode by default @@ -129,6 +140,7 @@ impl PvmCheatcodeInspectorStrategyContext { dual_compiled_contracts, runtime_mode, remove_recorded_access_at: None, + externalities, } } } @@ -147,72 +159,6 @@ impl CheatcodeInspectorStrategyContext for PvmCheatcodeInspectorStrategyContext } } -fn set_nonce(address: Address, nonce: u64, ecx: Ecx<'_, '_, '_>, check_nonce: bool) { - execute_with_externalities(|externalities| { - externalities.execute_with(|| { - let account_id = - AccountId::to_fallback_account_id(&H160::from_slice(address.as_slice())); - let current_nonce = System::account_nonce(&account_id); - if check_nonce { - assert!( - current_nonce as u64 <= nonce, - "Cannot set nonce lower than current nonce: {current_nonce} > {nonce}" - ); - } - - polkadot_sdk::frame_system::Account::::mutate(&account_id, |a| { - a.nonce = nonce.min(u32::MAX.into()).try_into().expect("shouldn't happen"); - }); - }) - }); - let account = ecx.journaled_state.load_account(address).expect("account loaded").data; - account.mark_touch(); - account.info.nonce = nonce; -} - -fn set_balance(address: Address, amount: U256, ecx: Ecx<'_, '_, '_>) -> U256 { - let account = ecx.journaled_state.load_account(address).expect("account loaded").data; - account.mark_touch(); - account.info.balance = amount; - let amount_pvm = sp_core::U256::from_little_endian(&amount.as_le_bytes()).min(u128::MAX.into()); - - let old_balance = execute_with_externalities(|externalities| { - externalities.execute_with(|| { - let h160_addr = H160::from_slice(address.as_slice()); - let old_balance = pallet_revive::Pallet::::evm_balance(&h160_addr); - pallet_revive::Pallet::::set_evm_balance(&h160_addr, amount_pvm) - .expect("failed to set evm balance"); - old_balance - }) - }); - U256::from_limbs(old_balance.0) -} - -fn set_block_number(new_height: U256, ecx: Ecx<'_, '_, '_>) { - // Set block number in EVM context. - ecx.block.number = new_height; - - // Set block number in pallet-revive runtime. - execute_with_externalities(|externalities| { - externalities.execute_with(|| { - System::set_block_number(new_height.try_into().expect("Block number exceeds u64")); - }) - }); -} - -fn set_timestamp(new_timestamp: U256, ecx: Ecx<'_, '_, '_>) { - // Set timestamp in EVM context (seconds). - ecx.block.timestamp = new_timestamp; - - // Set timestamp in pallet-revive runtime (milliseconds). - execute_with_externalities(|externalities| { - externalities.execute_with(|| { - let timestamp_ms = new_timestamp.saturating_to::().saturating_mul(1000); - Timestamp::set_timestamp(timestamp_ms); - }) - }); -} - /// Implements [CheatcodeInspectorStrategyRunner] for PVM. #[derive(Debug, Default, Clone)] pub struct PvmCheatcodeInspectorStrategyRunner; @@ -318,7 +264,8 @@ impl CheatcodeInspectorStrategyRunner for PvmCheatcodeInspectorStrategyRunner { TypeId::of::() == t } let using_pvm = get_context_ref_mut(ccx.state.strategy.context.as_mut()).using_pvm; - + let ctx: &mut PvmCheatcodeInspectorStrategyContext = + get_context_ref_mut(ccx.state.strategy.context.as_mut()); match cheatcode.as_any().type_id() { t if is::(t) => { tracing::info!(cheatcode = ?cheatcode.as_debug() , using_pvm = ?using_pvm); @@ -334,79 +281,63 @@ impl CheatcodeInspectorStrategyRunner for PvmCheatcodeInspectorStrategyRunner { } t if using_pvm && is::(t) => { tracing::info!(cheatcode = ?cheatcode.as_debug() , using_pvm = ?using_pvm); + let dealCall { account, newBalance } = cheatcode.as_any().downcast_ref().unwrap(); - let &dealCall { account, newBalance } = cheatcode.as_any().downcast_ref().unwrap(); - - let old_balance = set_balance(account, newBalance, ccx.ecx); - let record = DealRecord { address: account, old_balance, new_balance: newBalance }; - ccx.state.eth_deals.push(record); - Ok(Default::default()) + ctx.externalities.set_balance(*account, *newBalance); + cheatcode.dyn_apply(ccx, executor) } t if using_pvm && is::(t) => { tracing::info!(cheatcode = ?cheatcode.as_debug() , using_pvm = ?using_pvm); let &setNonceCall { account, newNonce } = cheatcode.as_any().downcast_ref().unwrap(); - set_nonce(account, newNonce, ccx.ecx, true); + ctx.externalities.set_nonce(account, newNonce, true); - Ok(Default::default()) + cheatcode.dyn_apply(ccx, executor) } t if using_pvm && is::(t) => { tracing::info!(cheatcode = ?cheatcode.as_debug() , using_pvm = ?using_pvm); let &setNonceUnsafeCall { account, newNonce } = cheatcode.as_any().downcast_ref().unwrap(); - set_nonce(account, newNonce, ccx.ecx, false); + ctx.externalities.set_nonce(account, newNonce, false); - Ok(Default::default()) + cheatcode.dyn_apply(ccx, executor) } t if using_pvm && is::(t) => { tracing::info!(cheatcode = ?cheatcode.as_debug() , using_pvm = ?using_pvm); let &resetNonceCall { account } = cheatcode.as_any().downcast_ref().unwrap(); - set_nonce(account, 0, ccx.ecx, false); - Ok(Default::default()) + ctx.externalities.set_nonce(account, 0, false); + cheatcode.dyn_apply(ccx, executor) } t if using_pvm && is::(t) => { tracing::info!(cheatcode = ?cheatcode.as_debug() , using_pvm = ?using_pvm); let &getNonce_0Call { account } = cheatcode.as_any().downcast_ref().unwrap(); - let nonce = execute_with_externalities(|externalities| { - externalities.execute_with(|| { - System::account_nonce(AccountId::to_fallback_account_id(&H160::from_slice( - account.as_slice(), - ))) - }) - }); + let ctx = get_context_ref_mut(ccx.state.strategy.context.as_mut()); + let nonce = ctx.externalities.get_nonce(account); Ok(u64::from(nonce).abi_encode()) } t if using_pvm && is::(t) => { let &rollCall { newHeight } = cheatcode.as_any().downcast_ref().unwrap(); - set_block_number(newHeight, ccx.ecx); + ctx.externalities.set_block_number(newHeight); - Ok(Default::default()) + cheatcode.dyn_apply(ccx, executor) } t if using_pvm && is::(t) => { let &warpCall { newTimestamp } = cheatcode.as_any().downcast_ref().unwrap(); tracing::info!(cheatcode = ?cheatcode.as_debug() , using_pvm = ?using_pvm); - set_timestamp(newTimestamp, ccx.ecx); + ctx.externalities.set_timestamp(newTimestamp); - Ok(Default::default()) + cheatcode.dyn_apply(ccx, executor) } t if using_pvm && is::(t) => { tracing::info!(cheatcode = ?cheatcode.as_debug() , using_pvm = ?using_pvm); let &loadCall { target, slot } = cheatcode.as_any().downcast_ref().unwrap(); - let target_address_h160 = H160::from_slice(target.as_slice()); - let storage_value = execute_with_externalities(|externalities| { - externalities.execute_with(|| { - Pallet::::get_storage(target_address_h160, slot.into()) - }) - }); - let result = storage_value - .ok() - .flatten() - .map(|b| B256::from_slice(&b)) - .unwrap_or(B256::ZERO); + let ctx = get_context_ref_mut(ccx.state.strategy.context.as_mut()); + let storage_value = ctx.externalities.get_storage(target, slot)?; + let result = storage_value.map(|b| B256::from_slice(&b)).unwrap_or(B256::ZERO); Ok(result.abi_encode()) } t if using_pvm && is::(t) => { @@ -415,19 +346,9 @@ impl CheatcodeInspectorStrategyRunner for PvmCheatcodeInspectorStrategyRunner { if ccx.is_precompile(&target) { return Err(precompile_error(&target)); } - - let target_address_h160 = H160::from_slice(target.as_slice()); - let _ = execute_with_externalities(|externalities| { - externalities.execute_with(|| { - Pallet::::set_storage( - target_address_h160, - slot.into(), - Some(value.to_vec()), - ) - }) - }) - .map_err(|_| <&str as Into>::into("Could not set storage"))?; - Ok(Default::default()) + let ctx = get_context_ref_mut(ccx.state.strategy.context.as_mut()); + ctx.externalities.store(target, slot, value)?; + cheatcode.dyn_apply(ccx, executor) } // Not custom, just invoke the default behavior _ => cheatcode.dyn_apply(ccx, executor), @@ -527,12 +448,7 @@ impl CheatcodeInspectorStrategyRunner for PvmCheatcodeInspectorStrategyRunner { _ => return true, }; - let balance = execute_with_externalities(|externalities| { - externalities.execute_with(|| { - Pallet::::evm_balance(&H160::from_slice(address.as_slice())) - }) - }); - let balance = U256::from_limbs(balance.0); + let balance = ctx.externalities.get_balance(address); tracing::info!(operation = "get_balance" , using_pvm = ?ctx.using_pvm, target = ?address, balance = ?balance); // Skip the current BALANCE instruction since we've already handled it @@ -558,85 +474,96 @@ fn select_revive(ctx: &mut PvmCheatcodeInspectorStrategyContext, data: Ecx<'_, ' let block_number = data.block.number; let timestamp = data.block.timestamp; - execute_with_externalities(|externalities| { - externalities.execute_with(|| { - System::set_block_number(block_number.saturating_to()); - Timestamp::set_timestamp(timestamp.saturating_to::() * 1000); - - let test_contract = data.journaled_state.database.get_test_contract_address(); - let persistent_accounts = data.journaled_state.database.persistent_accounts().clone(); - - for address in persistent_accounts.into_iter().chain([data.tx.caller]) { - let acc = data.journaled_state.load_account(address).expect("failed to load account"); - let amount = acc.data.info.balance; - let nonce = acc.data.info.nonce; - let account = H160::from_slice(address.as_slice()); - let account_id = - AccountId::to_fallback_account_id(&account); - let amount_pvm = sp_core::U256::from_little_endian(&amount.as_le_bytes()).min(u128::MAX.into()); - Pallet::::set_evm_balance(&account, amount_pvm) - .expect("failed to set evm balance"); - - polkadot_sdk::frame_system::Account::::mutate(&account_id, |a| { - a.nonce = nonce.min(u32::MAX.into()).try_into().expect("shouldn't happen"); - }); - - // TODO handle immutables - // Migrate bytecode for deployed contracts (skip test contract) - if test_contract != Some(address) - && let Some(bytecode) = acc.data.info.code.as_ref() { - - let account_h160 = H160::from_slice(address.as_slice()); - - // Skip if contract already exists in pallet-revive - if AccountInfo::::load_contract(&account_h160).is_none() { - // Determine which bytecode to upload based on runtime mode - let bytecode_to_upload = ctx.dual_compiled_contracts - .find_by_evm_deployed_bytecode_with_immutables(bytecode.original_byte_slice()) - .and_then(|(_, contract)| { - match ctx.runtime_mode { - crate::ReviveRuntimeMode::Pvm => contract.resolc_bytecode.as_bytes().map(|b| b.to_vec()), - crate::ReviveRuntimeMode::Evm => None, - // TODO: We do not have method to upload the EVM bytecode to pallet-revive - //contract.evm_bytecode.as_bytes().map(|b| b.to_vec()) - } - }); - - if let Some(code_bytes) = bytecode_to_upload { - let origin = OriginFor::::signed(Pallet::::account_id()); - let upload_result = Pallet::::bare_upload_code( - origin, - code_bytes.clone(), - BalanceOf::::MAX, - ); - - match upload_result { - Ok(result) => { - let code_hash = result.code_hash; - let contract_info = ContractInfo::::new(&account_h160, nonce as u32, code_hash) - .expect("Failed to create contract info"); - AccountInfo::::insert_contract(&account_h160, contract_info); - } - Err(err) => { - tracing::warn!( - address = ?address, - runtime_mode = ?ctx.runtime_mode, - bytecode_len = code_bytes.len(), - error = ?err, - "Failed to upload bytecode to pallet-revive, skipping migration" - ); + ctx.externalities.0.lock().unwrap().execute_with(|| { + System::set_block_number(block_number.saturating_to()); + Timestamp::set_timestamp(timestamp.saturating_to::() * 1000); + + let test_contract = data.journaled_state.database.get_test_contract_address(); + let persistent_accounts = data.journaled_state.database.persistent_accounts().clone(); + + for address in persistent_accounts.into_iter().chain([data.tx.caller]) { + let acc = data.journaled_state.load_account(address).expect("failed to load account"); + let amount = acc.data.info.balance; + let nonce = acc.data.info.nonce; + let account = H160::from_slice(address.as_slice()); + let account_id = AccountId::to_fallback_account_id(&account); + let amount_pvm = + sp_core::U256::from_little_endian(&amount.as_le_bytes()).min(u128::MAX.into()); + Pallet::::set_evm_balance(&account, amount_pvm) + .expect("failed to set evm balance"); + + polkadot_sdk::frame_system::Account::::mutate(&account_id, |a| { + a.nonce = nonce.min(u32::MAX.into()).try_into().expect("shouldn't happen"); + }); + + // TODO handle immutables + // Migrate bytecode for deployed contracts (skip test contract) + if test_contract != Some(address) + && let Some(bytecode) = acc.data.info.code.as_ref() + { + let account_h160 = H160::from_slice(address.as_slice()); + + // Skip if contract already exists in pallet-revive + if AccountInfo::::load_contract(&account_h160).is_none() { + // Determine which bytecode to upload based on runtime mode + let bytecode_to_upload = ctx + .dual_compiled_contracts + .find_by_evm_deployed_bytecode_with_immutables( + bytecode.original_byte_slice(), + ) + .and_then(|(_, contract)| { + match ctx.runtime_mode { + crate::ReviveRuntimeMode::Pvm => { + contract.resolc_bytecode.as_bytes().map(|b| b.to_vec()) } + crate::ReviveRuntimeMode::Evm => None, + // TODO: We do not have method to upload the EVM bytecode to + // pallet-revive + // contract.evm_bytecode.as_bytes().map(|b| b.to_vec()) + } + }); + + if let Some(code_bytes) = bytecode_to_upload { + let origin = OriginFor::::signed(Pallet::::account_id()); + let upload_result = Pallet::::bare_upload_code( + origin, + code_bytes.clone(), + BalanceOf::::MAX, + ); + + match upload_result { + Ok(result) => { + let code_hash = result.code_hash; + let contract_info = ContractInfo::::new( + &account_h160, + nonce as u32, + code_hash, + ) + .expect("Failed to create contract info"); + AccountInfo::::insert_contract( + &account_h160, + contract_info, + ); + } + Err(err) => { + tracing::warn!( + address = ?address, + runtime_mode = ?ctx.runtime_mode, + bytecode_len = code_bytes.len(), + error = ?err, + "Failed to upload bytecode to pallet-revive, skipping migration" + ); } - } else { - tracing::info!( - address = ?address, - "no PVM equivalent found for EVM bytecode, skipping migration" - ); } + } else { + tracing::info!( + address = ?address, + "no PVM equivalent found for EVM bytecode, skipping migration" + ); } } } - }) + } }); } @@ -649,66 +576,64 @@ fn select_evm(ctx: &mut PvmCheatcodeInspectorStrategyContext, data: Ecx<'_, '_, tracing::info!("switching from pallet-revive back to REVM"); ctx.using_pvm = false; - execute_with_externalities(|externalities| { - externalities.execute_with(|| { - let block_number = System::block_number(); - let timestamp = Timestamp::get(); - - data.block.number = U256::from(block_number); - data.block.timestamp = U256::from(timestamp / 1000); - - let test_contract = data.journaled_state.database.get_test_contract_address(); - let persistent_accounts = data.journaled_state.database.persistent_accounts().clone(); - for address in persistent_accounts.into_iter().chain([data.tx.caller]) { - let account_evm = H160::from_slice(address.as_slice()); - let pallet_evm_nonce = Pallet::::evm_nonce(&account_evm); - let pallet_evm_balance = Pallet::::evm_balance(&account_evm); - let amount_evm = U256::from_limbs(pallet_evm_balance.0); - let account = journaled_account(data, address).expect("failed to load account"); - account.info.balance = amount_evm; - account.info.nonce = pallet_evm_nonce as u64; - - // Migrate bytecode for deployed contracts (skip test contract) - if test_contract != Some(address) - && let Some(info) = AccountInfo::::load_contract(&account_evm) - { - let hash = hex::encode(info.code_hash); - - if let Some((code_hash, bytecode)) = match ctx.runtime_mode { - crate::ReviveRuntimeMode::Pvm => ctx - .dual_compiled_contracts - .find_by_resolc_bytecode_hash(hash) - .and_then(|(_, contract)| { - contract.evm_deployed_bytecode.as_bytes().map(|evm_bytecode| { - ( - contract.evm_bytecode_hash, - Bytecode::new_raw(evm_bytecode.clone()), - ) - }) - }), - crate::ReviveRuntimeMode::Evm => ctx - .dual_compiled_contracts - .find_by_evm_bytecode_hash(hash) - .and_then(|(_, contract)| { - contract.evm_deployed_bytecode.as_bytes().map(|evm_bytecode| { - ( - contract.evm_bytecode_hash, - Bytecode::new_raw(evm_bytecode.clone()), - ) - }) - }), - } { - account.info.code_hash = code_hash; - account.info.code = Some(bytecode); - } else { - tracing::info!( - address = ?address, - "no EVM equivalent found for PVM bytecode, skipping migration" - ); - } + ctx.externalities.0.lock().unwrap().execute_with(|| { + let block_number = System::block_number(); + let timestamp = Timestamp::get(); + + data.block.number = U256::from(block_number); + data.block.timestamp = U256::from(timestamp / 1000); + + let test_contract = data.journaled_state.database.get_test_contract_address(); + let persistent_accounts = data.journaled_state.database.persistent_accounts().clone(); + for address in persistent_accounts.into_iter().chain([data.tx.caller]) { + let account_evm = H160::from_slice(address.as_slice()); + let pallet_evm_nonce = Pallet::::evm_nonce(&account_evm); + let pallet_evm_balance = Pallet::::evm_balance(&account_evm); + let amount_evm = U256::from_limbs(pallet_evm_balance.0); + let account = journaled_account(data, address).expect("failed to load account"); + account.info.balance = amount_evm; + account.info.nonce = pallet_evm_nonce as u64; + + // Migrate bytecode for deployed contracts (skip test contract) + if test_contract != Some(address) + && let Some(info) = AccountInfo::::load_contract(&account_evm) + { + let hash = hex::encode(info.code_hash); + + if let Some((code_hash, bytecode)) = match ctx.runtime_mode { + crate::ReviveRuntimeMode::Pvm => ctx + .dual_compiled_contracts + .find_by_resolc_bytecode_hash(hash) + .and_then(|(_, contract)| { + contract.evm_deployed_bytecode.as_bytes().map(|evm_bytecode| { + ( + contract.evm_bytecode_hash, + Bytecode::new_raw(evm_bytecode.clone()), + ) + }) + }), + crate::ReviveRuntimeMode::Evm => ctx + .dual_compiled_contracts + .find_by_evm_bytecode_hash(hash) + .and_then(|(_, contract)| { + contract.evm_deployed_bytecode.as_bytes().map(|evm_bytecode| { + ( + contract.evm_bytecode_hash, + Bytecode::new_raw(evm_bytecode.clone()), + ) + }) + }), + } { + account.info.code_hash = code_hash; + account.info.code = Some(bytecode); + } else { + tracing::info!( + address = ?address, + "no EVM equivalent found for PVM bytecode, skipping migration" + ); } } - }) + } }); } @@ -786,55 +711,53 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector }; let mut tracer = Tracer::new(true); - let res = execute_with_externalities(|externalities| { - externalities.execute_with(|| { - tracer.trace(|| { - let origin = OriginFor::::signed(AccountId::to_fallback_account_id( - &H160::from_slice(ecx.tx.caller.as_slice()), - )); - let evm_value = sp_core::U256::from_little_endian(&input.value().as_le_bytes()); - - mock_handler.fund_pranked_accounts(ecx.tx.caller); - - // Pre-Dispatch Increments the nonce of the origin, so let's make sure we do - // that here too to replicate the same address generation. - System::inc_account_nonce(AccountId::to_fallback_account_id( - &H160::from_slice(ecx.tx.caller.as_slice()), - )); - - let exec_config = ExecConfig { - bump_nonce: true, - collect_deposit_from_hold: None, - effective_gas_price: Some(>::evm_base_fee()), - mock_handler: Some(Box::new(mock_handler.clone())), - is_dry_run: false, - }; - let code = Code::Upload(code_bytes.clone()); - let data = constructor_args; - let salt = match input.scheme() { - Some(CreateScheme::Create2 { salt }) => Some( - salt.as_limbs() - .iter() - .flat_map(|&x| x.to_le_bytes()) - .collect::>() - .try_into() - .unwrap(), - ), - _ => None, - }; + let res = ctx.externalities.execute_with(|| { + tracer.trace(|| { + let origin = OriginFor::::signed(AccountId::to_fallback_account_id( + &H160::from_slice(ecx.tx.caller.as_slice()), + )); + let evm_value = sp_core::U256::from_little_endian(&input.value().as_le_bytes()); + + mock_handler.fund_pranked_accounts(ecx.tx.caller); + + // Pre-Dispatch Increments the nonce of the origin, so let's make sure we do + // that here too to replicate the same address generation. + System::inc_account_nonce(AccountId::to_fallback_account_id(&H160::from_slice( + ecx.tx.caller.as_slice(), + ))); + + let exec_config = ExecConfig { + bump_nonce: true, + collect_deposit_from_hold: None, + effective_gas_price: Some(>::evm_base_fee()), + mock_handler: Some(Box::new(mock_handler.clone())), + is_dry_run: false, + }; + let code = Code::Upload(code_bytes.clone()); + let data = constructor_args; + let salt = match input.scheme() { + Some(CreateScheme::Create2 { salt }) => Some( + salt.as_limbs() + .iter() + .flat_map(|&x| x.to_le_bytes()) + .collect::>() + .try_into() + .unwrap(), + ), + _ => None, + }; - Pallet::::bare_instantiate( - origin, - evm_value, - Weight::MAX, - // TODO: fixing. - BalanceOf::::MAX, - code, - data, - salt, - exec_config, - ) - }) + Pallet::::bare_instantiate( + origin, + evm_value, + Weight::MAX, + // TODO: fixing. + BalanceOf::::MAX, + code, + data, + salt, + exec_config, + ) }) }); let mut gas = Gas::new(input.gas_limit()); @@ -931,37 +854,36 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector state, ); + let ctx = get_context_ref_mut(state.strategy.context.as_mut()); + let mut tracer = Tracer::new(true); - let res = execute_with_externalities(|externalities| { - externalities.execute_with(|| { - tracer.trace(|| { - let origin = OriginFor::::signed(AccountId::to_fallback_account_id( - &H160::from_slice(ecx.tx.caller.as_slice()), - )); - - mock_handler.fund_pranked_accounts(ecx.tx.caller); - - let evm_value = - sp_core::U256::from_little_endian(&call.call_value().as_le_bytes()); - let target = H160::from_slice(call.target_address.as_slice()); - let exec_config = ExecConfig { - bump_nonce: true, - collect_deposit_from_hold: None, - effective_gas_price: Some(>::evm_base_fee()), - mock_handler: Some(Box::new(mock_handler.clone())), - is_dry_run: false, - }; - Pallet::::bare_call( - origin, - target, - evm_value, - Weight::MAX, - // TODO: fixing. - BalanceOf::::MAX, - call.input.bytes(ecx).to_vec(), - exec_config, - ) - }) + let res = ctx.externalities.execute_with(|| { + tracer.trace(|| { + let origin = OriginFor::::signed(AccountId::to_fallback_account_id( + &H160::from_slice(ecx.tx.caller.as_slice()), + )); + + mock_handler.fund_pranked_accounts(ecx.tx.caller); + + let evm_value = sp_core::U256::from_little_endian(&call.call_value().as_le_bytes()); + let target = H160::from_slice(call.target_address.as_slice()); + let exec_config = ExecConfig { + bump_nonce: true, + collect_deposit_from_hold: None, + effective_gas_price: Some(>::evm_base_fee()), + mock_handler: Some(Box::new(mock_handler.clone())), + is_dry_run: false, + }; + Pallet::::bare_call( + origin, + target, + evm_value, + Weight::MAX, + // TODO: fixing. + BalanceOf::::MAX, + call.input.bytes(ecx).to_vec(), + exec_config, + ) }) }); mock_handler.update_state_mocks(state); @@ -970,6 +892,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector self.append_recorded_accesses(state, ecx, tracer.get_recorded_accesses()); } post_exec(state, ecx, executor, &mut tracer, call.is_static); + match res.result { Ok(result) => { let _ = gas.record_cost(res.gas_required.ref_time()); @@ -1047,8 +970,13 @@ fn post_exec( tracer: &mut Tracer, is_static_call: bool, ) { - tracer.apply_prestate_trace(ecx); - if let Some(traces) = tracer.collect_call_traces() + let externalities = &mut get_context_ref_mut(state.strategy.context.as_mut()).externalities; + + let call_traces = externalities.execute_with(|| { + tracer.apply_prestate_trace(ecx); + tracer.collect_call_traces() + }); + if let Some(traces) = call_traces && !is_static_call { let mut logs = vec![]; diff --git a/crates/revive-strategy/src/executor/context.rs b/crates/revive-strategy/src/executor/context.rs index 66af906dacfe4..ef9fe0c4812a1 100644 --- a/crates/revive-strategy/src/executor/context.rs +++ b/crates/revive-strategy/src/executor/context.rs @@ -3,7 +3,7 @@ use foundry_compilers::{ }; use foundry_evm::executors::ExecutorStrategyContext; -use crate::ReviveRuntimeMode; +use crate::{ReviveRuntimeMode, state::TestEnv}; /// Defines the context for [crate::ReviveExecutorStrategyRunner]. #[derive(Debug, Default, Clone)] @@ -14,6 +14,7 @@ pub struct ReviveExecutorStrategyContext { pub(crate) dual_compiled_contracts: DualCompiledContracts, /// Compilation output. pub(crate) compilation_output: Option, + pub(crate) externalties: TestEnv, } impl ReviveExecutorStrategyContext { diff --git a/crates/revive-strategy/src/executor/runner.rs b/crates/revive-strategy/src/executor/runner.rs index 25beefa99ccc4..a0f51921fb0ef 100644 --- a/crates/revive-strategy/src/executor/runner.rs +++ b/crates/revive-strategy/src/executor/runner.rs @@ -11,18 +11,11 @@ use foundry_evm::{ strategy::ExecutorStrategyExt, }, }; -use polkadot_sdk::{ - frame_support::traits::{Currency, fungible::Mutate}, - pallet_balances, - pallet_revive::{AddressMapper, BalanceOf, BalanceWithDust}, - sp_core::{self, H160}, -}; -use revive_env::{AccountId, Runtime, System}; use revm::context::result::ResultAndState; use crate::{ backend::ReviveBackendStrategyBuilder, cheatcodes::PvmCheatcodeInspectorStrategyBuilder, - execute_with_externalities, executor::context::ReviveExecutorStrategyContext, + executor::context::ReviveExecutorStrategyContext, }; /// Defines the [ExecutorStrategyRunner] strategy for Revive. @@ -45,7 +38,11 @@ impl ExecutorStrategyRunner for ReviveExecutorStrategyRunner { ctx: &dyn ExecutorStrategyContext, ) -> foundry_cheatcodes::CheatcodesStrategy { let ctx = get_context_ref(ctx); - CheatcodeInspectorStrategy::new_pvm(ctx.dual_compiled_contracts.clone(), ctx.runtime_mode) + CheatcodeInspectorStrategy::new_pvm( + ctx.dual_compiled_contracts.clone(), + ctx.runtime_mode, + ctx.externalties.shallow_clone(), + ) } /// Sets the balance of an account. @@ -58,33 +55,24 @@ impl ExecutorStrategyRunner for ReviveExecutorStrategyRunner { address: Address, amount: U256, ) -> foundry_evm::backend::BackendResult<()> { - let amount_pvm = - sp_core::U256::from_little_endian(&amount.as_le_bytes()).min(u128::MAX.into()); - let balance_native = - BalanceWithDust::>::from_value::(amount_pvm).unwrap(); - EvmExecutorStrategyRunner.set_balance(executor, address, amount)?; - let min_balance = pallet_balances::Pallet::::minimum_balance(); + let ctx = get_context_ref_mut(executor.strategy.context.as_mut()); - execute_with_externalities(|externalities| { - externalities.execute_with(|| { - pallet_balances::Pallet::::set_balance( - &AccountId::to_fallback_account_id(&H160::from_slice(address.as_slice())), - balance_native.into_rounded_balance().saturating_add(min_balance), - ); - }) - }); + ctx.externalties.set_balance(address, amount); Ok(()) } fn get_balance( &self, - executor: &foundry_evm::executors::Executor, + executor: &mut foundry_evm::executors::Executor, address: Address, ) -> foundry_evm::backend::BackendResult { let evm_balance = EvmExecutorStrategyRunner.get_balance(executor, address)?; + let ctx = get_context_ref_mut(executor.strategy.context.as_mut()); + let revive_balance = ctx.externalties.get_balance(address); + assert_eq!(evm_balance, revive_balance); Ok(evm_balance) } @@ -95,32 +83,20 @@ impl ExecutorStrategyRunner for ReviveExecutorStrategyRunner { nonce: u64, ) -> foundry_evm::backend::BackendResult<()> { EvmExecutorStrategyRunner.set_nonce(executor, address, nonce)?; - execute_with_externalities(|externalities| { - externalities.execute_with(|| { - let account_id = - AccountId::to_fallback_account_id(&H160::from_slice(address.as_slice())); - - polkadot_sdk::frame_system::Account::::mutate(&account_id, |a| { - a.nonce = nonce.min(u32::MAX.into()).try_into().expect("shouldn't happen"); - }); - }) - }); + let ctx = get_context_ref_mut(executor.strategy.context.as_mut()); + ctx.externalties.set_nonce(address, nonce, false); Ok(()) } fn get_nonce( &self, - executor: &foundry_evm::executors::Executor, + executor: &mut foundry_evm::executors::Executor, address: Address, ) -> foundry_evm::backend::BackendResult { let evm_nonce = EvmExecutorStrategyRunner.get_nonce(executor, address)?; - let revive_nonce = execute_with_externalities(|externalities| { - externalities.execute_with(|| { - System::account_nonce(AccountId::to_fallback_account_id(&H160::from_slice( - address.as_slice(), - ))) - }) - }); + let ctx = get_context_ref_mut(executor.strategy.context.as_mut()); + + let revive_nonce = ctx.externalties.get_nonce(address); assert_eq!(evm_nonce, revive_nonce as u64); Ok(evm_nonce) @@ -177,11 +153,4 @@ impl ExecutorStrategyExt for ReviveExecutorStrategyRunner { let ctx = get_context_ref_mut(ctx); ctx.compilation_output.replace(output); } - - fn checkpoint(&self) { - crate::save_checkpoint(); - } - fn reload_checkpoint(&self) { - crate::return_to_checkpoint(); - } } diff --git a/crates/revive-strategy/src/lib.rs b/crates/revive-strategy/src/lib.rs index 711040cd4a417..2c14e0471898d 100644 --- a/crates/revive-strategy/src/lib.rs +++ b/crates/revive-strategy/src/lib.rs @@ -7,12 +7,6 @@ use std::fmt::Display; use foundry_evm::executors::ExecutorStrategy; -use polkadot_sdk::{ - sp_core::{self, H160}, - sp_io, - sp_state_machine::InMemoryBackend, -}; -use revive_env::ExtBuilder; use crate::executor::{ context::ReviveExecutorStrategyContext, runner::ReviveExecutorStrategyRunner, @@ -21,8 +15,8 @@ use crate::executor::{ mod backend; mod cheatcodes; mod executor; +mod state; mod tracing; - pub use cheatcodes::PvmStartupMigration; /// Runtime backend mode for pallet-revive @@ -58,45 +52,3 @@ impl ReviveExecutorStrategyBuilder for ExecutorStrategy { } } } - -// TODO: rewrite this to something proper rather than a thread local variable -std::thread_local! { - pub static TEST_EXTERNALITIES: std::cell::RefCell = std::cell::RefCell::new(ExtBuilder::default() - .balance_genesis_config(vec![(H160::from_low_u64_be(1), 1000)]) - .build()); - - pub static CHECKPOINT : std::cell::RefCell > = panic!("not set"); -} - -fn execute_with_externalities R>(f: F) -> R { - TEST_EXTERNALITIES.with_borrow_mut(f) -} - -pub fn with_externalities R>(mut backend: Backend, f: F) -> R { - let mut test_externalities = ExtBuilder::default().build(); - std::mem::swap(&mut test_externalities.backend, &mut backend.0); - TEST_EXTERNALITIES.set(test_externalities); - f() -} - -fn save_checkpoint() { - TEST_EXTERNALITIES.with_borrow_mut(|f| CHECKPOINT.set(f.as_backend())) -} - -fn return_to_checkpoint() { - let mut test_externalities = ExtBuilder::default().build(); - let mut backend = CHECKPOINT.take(); - std::mem::swap(&mut test_externalities.backend, &mut backend); - - TEST_EXTERNALITIES.set(test_externalities) -} - -#[derive(Clone)] -pub struct Backend(InMemoryBackend); - -impl Backend { - /// Get the backend of test_externalities - pub fn get() -> Self { - TEST_EXTERNALITIES.with_borrow_mut(|f| Self(f.as_backend())) - } -} diff --git a/crates/revive-strategy/src/state.rs b/crates/revive-strategy/src/state.rs new file mode 100644 index 0000000000000..c2cce84deed78 --- /dev/null +++ b/crates/revive-strategy/src/state.rs @@ -0,0 +1,138 @@ +use alloy_primitives::{Address, FixedBytes, U256}; +use foundry_cheatcodes::Error; +use polkadot_sdk::{ + pallet_revive::{self, AddressMapper}, + sp_core::{self, H160}, + sp_io::TestExternalities, +}; +use revive_env::{AccountId, ExtBuilder, Runtime, System, Timestamp}; +use std::sync::{Arc, Mutex}; +pub struct TestEnv(pub Arc>); + +impl Default for TestEnv { + fn default() -> Self { + Self(Arc::new(Mutex::new( + ExtBuilder::default() + .balance_genesis_config(vec![(H160::from_low_u64_be(1), 1000)]) + .build(), + ))) + } +} + +impl Clone for TestEnv { + fn clone(&self) -> Self { + let mut externalities = ExtBuilder::default().build(); + externalities.backend = self.0.lock().unwrap().as_backend().clone(); + TestEnv(Arc::new(Mutex::new(externalities))) + } +} + +impl TestEnv { + pub fn shallow_clone(&self) -> Self { + Self(self.0.clone()) + } + + pub fn execute_with R>(&mut self, f: F) -> R { + self.0.lock().unwrap().execute_with(f) + } + + pub fn get_nonce(&mut self, account: Address) -> u32 { + self.0.lock().unwrap().execute_with(|| { + System::account_nonce(AccountId::to_fallback_account_id(&H160::from_slice( + account.as_slice(), + ))) + }) + } + + pub fn set_nonce(&mut self, address: Address, nonce: u64, check_nonce: bool) { + self.0.lock().unwrap().execute_with(|| { + let account_id = + AccountId::to_fallback_account_id(&H160::from_slice(address.as_slice())); + let current_nonce = System::account_nonce(&account_id); + if check_nonce { + assert!( + current_nonce as u64 <= nonce, + "Cannot set nonce lower than current nonce: {current_nonce} > {nonce}" + ); + } + + polkadot_sdk::frame_system::Account::::mutate(&account_id, |a| { + a.nonce = nonce.min(u32::MAX.into()).try_into().expect("shouldn't happen"); + }); + }); + } + + pub fn set_block_number(&mut self, new_height: U256) { + // Set block number in pallet-revive runtime. + self.0.lock().unwrap().execute_with(|| { + System::set_block_number(new_height.try_into().expect("Block number exceeds u64")); + }); + } + + pub fn set_timestamp(&mut self, new_timestamp: U256) { + // Set timestamp in pallet-revive runtime (milliseconds). + self.0.lock().unwrap().execute_with(|| { + let timestamp_ms = new_timestamp.saturating_to::().saturating_mul(1000); + Timestamp::set_timestamp(timestamp_ms); + }); + } + + pub fn get_storage( + &mut self, + target: Address, + slot: FixedBytes<32>, + ) -> Result>, Error> { + let target_address_h160 = H160::from_slice(target.as_slice()); + self.0 + .lock() + .unwrap() + .execute_with(|| { + pallet_revive::Pallet::::get_storage(target_address_h160, slot.into()) + }) + .map_err(|_| <&str as Into>::into("Could not set storage")) + } + + pub fn store( + &mut self, + target: Address, + slot: FixedBytes<32>, + value: FixedBytes<32>, + ) -> Result<(), Error> { + let target_address_h160 = H160::from_slice(target.as_slice()); + self.0 + .lock() + .unwrap() + .execute_with(|| { + pallet_revive::Pallet::::set_storage( + target_address_h160, + slot.into(), + Some(value.to_vec()), + ) + }) + .map_err(|_| <&str as Into>::into("Could not set storage"))?; + Ok(()) + } + + pub fn set_balance(&mut self, address: Address, amount: U256) { + let amount_pvm = + sp_core::U256::from_little_endian(&amount.as_le_bytes()).min(u128::MAX.into()); + + self.0.lock().unwrap().execute_with(|| { + let h160_addr = H160::from_slice(address.as_slice()); + pallet_revive::Pallet::::set_evm_balance(&h160_addr, amount_pvm) + .expect("failed to set evm balance"); + }); + } + pub fn get_balance(&mut self, address: Address) -> U256 { + U256::from_limbs( + self.0 + .lock() + .unwrap() + .execute_with(|| { + let h160_addr = H160::from_slice(address.as_slice()); + pallet_revive::Pallet::::evm_balance(&h160_addr) + }) + .0, + ) + } +} diff --git a/crates/revive-strategy/src/tracing/mod.rs b/crates/revive-strategy/src/tracing/mod.rs index ca8fe5c47e850..db1d2760c1dd9 100644 --- a/crates/revive-strategy/src/tracing/mod.rs +++ b/crates/revive-strategy/src/tracing/mod.rs @@ -12,7 +12,6 @@ use revive_env::Runtime; use revm::{context::JournalTr, database::states::StorageSlot, state::Bytecode}; use storage_tracer::{AccountAccess, StorageTracer}; pub mod storage_tracer; -use crate::execute_with_externalities; pub struct Tracer { pub call_tracer: CallTracer U256>, @@ -46,16 +45,12 @@ impl Tracer { /// Collects call traces pub fn collect_call_traces(&mut self) -> Option { - execute_with_externalities(|externalities| { - externalities.execute_with(|| self.call_tracer.clone().collect_trace()) - }) + self.call_tracer.clone().collect_trace() } /// Collects prestate traces fn collect_prestate_traces(&mut self) -> PrestateTrace { - execute_with_externalities(|externalities| { - externalities.execute_with(|| self.prestate_tracer.clone().collect_trace()) - }) + self.prestate_tracer.clone().collect_trace() } /// Collects recorded accesses diff --git a/testdata/default/.lock-revive b/testdata/default/.lock-revive new file mode 100644 index 0000000000000..56a6051ca2b02 --- /dev/null +++ b/testdata/default/.lock-revive @@ -0,0 +1 @@ +1 \ No newline at end of file From 6ea077660d1e801a92f9c429d5862f3636aac47b Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Mon, 17 Nov 2025 18:38:57 +0100 Subject: [PATCH 26/52] fix beforeTestSetups --- crates/anvil-polkadot/tests/it/mining.rs | 2 +- crates/forge/src/runner.rs | 38 +++-- crates/forge/tests/cli/revive_vm.rs | 136 ++++++++++++++++++ .../src/cheatcodes/mock_handler.rs | 27 ++-- crates/revive-strategy/src/cheatcodes/mod.rs | 2 +- crates/revive-strategy/src/state.rs | 6 +- crates/revive-strategy/tests/gas_metering.rs | 3 + 7 files changed, 175 insertions(+), 39 deletions(-) diff --git a/crates/anvil-polkadot/tests/it/mining.rs b/crates/anvil-polkadot/tests/it/mining.rs index 3a1668a00e07e..5a2ba57d48443 100644 --- a/crates/anvil-polkadot/tests/it/mining.rs +++ b/crates/anvil-polkadot/tests/it/mining.rs @@ -407,7 +407,7 @@ async fn test_mining_with_eth_rpc_block_limit() { .value(transfer_amount) .from(Address::from(ReviveAddress::new(alith.address()))) .to(Address::from(ReviveAddress::new(baltathar.address()))); - node.send_transaction(transaction, None).await.unwrap(); + node.send_transaction(transaction).await.unwrap(); unwrap_response::<()>(node.eth_rpc(EthRequest::Mine(None, None)).await.unwrap()).unwrap(); diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index f40216f1d6391..1ad3bd77f091e 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -447,8 +447,7 @@ impl<'a> ContractRunner<'a> { f() }; - let test_results = - functions.into_par_iter().map(|item| f(item)).collect::>(); + let test_results = functions.into_par_iter().map(f).collect::>(); let duration = start.elapsed(); SuiteResult::new(duration, test_results, warnings) @@ -547,12 +546,13 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and unit test function call are discarded after /// test ends, similar to `eth_call`. fn run_unit_test(mut self, func: &Function) -> TestResult { + let mut binding = self.executor.clone().into_owned(); + // Prepare unit test execution. - if self.prepare_test(func).is_err() { + if self.prepare_test(func, &mut binding).is_err() { return self.result; } - let mut binding = self.executor.clone(); - let executor = binding.to_mut(); + let executor = binding; // Run current unit test. let (mut raw_call_result, reason) = match executor.call( self.sender, @@ -576,8 +576,7 @@ impl<'a> FunctionRunner<'a> { } }; - let success = - self.executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); + let success = executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); self.result.single_result(success, reason, raw_call_result); self.result @@ -592,8 +591,10 @@ impl<'a> FunctionRunner<'a> { /// - `bool[] public fixtureSwap = [true, false]` The `table_test` is then called with the pair /// of args `(2, true)` and `(5, false)`. fn run_table_test(mut self, func: &Function) -> TestResult { + let mut executor = self.executor.clone().into_owned(); + // Prepare unit test execution. - if self.prepare_test(func).is_err() { + if self.prepare_test(func, &mut executor).is_err() { return self.result; } @@ -653,7 +654,7 @@ impl<'a> FunctionRunner<'a> { } let args = table_fixtures.iter().map(|row| row[i].clone()).collect_vec(); - let (mut raw_call_result, reason) = match self.executor.call( + let (mut raw_call_result, reason) = match executor.call( self.sender, self.address, func, @@ -674,7 +675,7 @@ impl<'a> FunctionRunner<'a> { }; let is_success = - self.executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); + executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); // Record counterexample if test fails. if !is_success { self.result.counterexample = @@ -931,8 +932,9 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and fuzz test are discarded after test ends, /// similar to `eth_call`. fn run_fuzz_test(mut self, func: &Function) -> TestResult { + let mut executor = self.executor.clone().into_owned(); // Prepare fuzz test execution. - if self.prepare_test(func).is_err() { + if self.prepare_test(func, &mut executor).is_err() { return self.result; } @@ -948,8 +950,7 @@ impl<'a> FunctionRunner<'a> { ); // Run fuzz test. - let fuzzed_executor = - FuzzedExecutor::new(self.executor.into_owned(), runner, self.tcfg.sender, fuzz_config); + let fuzzed_executor = FuzzedExecutor::new(executor, runner, self.tcfg.sender, fuzz_config); let result = fuzzed_executor.fuzz( func, &self.setup.fuzz_fixtures, @@ -971,24 +972,19 @@ impl<'a> FunctionRunner<'a> { /// /// Unit tests within same contract (or even current test) are valid options for before test tx /// configuration. Test execution stops if any of before test txes fails. - fn prepare_test(&mut self, func: &Function) -> Result<(), ()> { + fn prepare_test(&mut self, func: &Function, executor: &mut Executor) -> Result<(), ()> { let address = self.setup.address; // Apply before test configured functions (if any). if self.cr.contract.abi.functions().filter(|func| func.name.is_before_test_setup()).count() == 1 { - for calldata in self.executor.call_sol_default( + for calldata in executor.call_sol_default( address, &ITest::beforeTestSetupCall { testSelector: func.selector() }, ) { // Apply before test configured calldata. - match self.executor.to_mut().transact_raw( - self.tcfg.sender, - address, - calldata, - U256::ZERO, - ) { + match executor.transact_raw(self.tcfg.sender, address, calldata, U256::ZERO) { Ok(call_result) => { let reverted = call_result.reverted; diff --git a/crates/forge/tests/cli/revive_vm.rs b/crates/forge/tests/cli/revive_vm.rs index 8595d59e6a6fc..c2a850bf48307 100644 --- a/crates/forge/tests/cli/revive_vm.rs +++ b/crates/forge/tests/cli/revive_vm.rs @@ -1327,3 +1327,139 @@ Ran 1 test suite [ELAPSED]: 3 tests passed, 0 failed, 0 skipped (3 total tests) "#]]); }); + +forgetest!(before_test_setup, |prj, cmd| { + prj.insert_ds_test(); + prj.insert_vm(); + prj.insert_console(); + prj.add_source( + "Counter.sol", + r#" + // SPDX-License-Identifier: UNLICENSED + pragma solidity ^0.8.13; + + contract Counter { + uint256 public number = 0; + + function setNumber(uint256 newNumber) public { + number = newNumber; + } + + function increment() public { + number = number + 1; + } + } + "#, + ) + .unwrap(); + prj.add_source( + "CounterTest.t.sol", + r#" +import "./test.sol"; +import "./Vm.sol"; +import {Counter} from "./Counter.sol"; +import {console} from "./console.sol"; + +contract CounterTest is DSTest { + Vm constant vm = Vm(HEVM_ADDRESS); + Counter public counter; + + function setUp() public { + counter = new Counter(); + counter.setNumber(5); + assertEq(counter.number(), 5); + vm.deal(address(counter), 1 ether); + } + + function callMe(uint256 number, uint256 amount) public { + counter.setNumber(number); + vm.deal(address(counter), amount * 1 ether); + } + + function beforeTestSetup( + bytes4 testSelector + ) public pure returns (bytes[] memory beforeTestCalldata) { + if (testSelector == this.testA.selector) { + beforeTestCalldata = new bytes[](1); + beforeTestCalldata[0] = abi.encodeWithSignature("callMe(uint256,uint256)", 5, 2); + } + if (testSelector == this.testB.selector) { + beforeTestCalldata = new bytes[](1); + beforeTestCalldata[0] = abi.encodeWithSignature("callMe(uint256,uint256)", 10, 3); + } + if (testSelector == this.testC.selector) { + beforeTestCalldata = new bytes[](1); + beforeTestCalldata[0] = abi.encodeWithSignature("callMe(uint256,uint256)", 15, 4); + } + } + + function testA() public { + assertEq(counter.number(), 5); + assertEq(address(counter).balance, 2 ether); + counter.setNumber(55); + assertEq(counter.number(), 55); + counter.increment(); + assertEq(counter.number(), 56); + } + function testB() public { + assertEq(counter.number(), 10); + assertEq(address(counter).balance, 3 ether); + counter.setNumber(55); + assertEq(counter.number(), 55); + counter.increment(); + assertEq(counter.number(), 56); +} +function testC() public { + assertEq(counter.number(), 15); + assertEq(address(counter).balance, 4 ether); + counter.setNumber(55); + assertEq(counter.number(), 55); + counter.increment(); + assertEq(counter.number(), 56); +} + + function testFuzz_SetNumber(uint256 x) public { + assertEq(counter.number(), 5); + counter.setNumber(x); + assertEq(counter.number(), x); + } + + function testFuzz_SetNumber2(uint256 x) public { + assertEq(counter.number(), 5); + counter.setNumber(x); + assertEq(counter.number(), x); + } + + function testFuzz_SetNumber3(uint256 x) public { + assertEq(counter.number(), 5); + counter.setNumber(x); + assertEq(counter.number(), x); + } +} +"#, + ) + .unwrap(); + prj.update_config(|config| config.evm_version = EvmVersion::Cancun); + + let res = cmd.args(["test", "--resolc", "-vvv", "--polkadot"]).assert(); + res.stdout_eq(str![[r#" +[COMPILING_FILES] with [SOLC_VERSION] +[SOLC_VERSION] [ELAPSED] +Compiler run successful! +[COMPILING_FILES] with [RESOLC_VERSION] +[RESOLC_VERSION] [ELAPSED] +Compiler run successful! + +Ran 6 tests for src/CounterTest.t.sol:CounterTest +[PASS] testA() ([GAS]) +[PASS] testB() ([GAS]) +[PASS] testC() ([GAS]) +[PASS] testFuzz_SetNumber(uint256) (runs: 256, [AVG_GAS]) +[PASS] testFuzz_SetNumber2(uint256) (runs: 256, [AVG_GAS]) +[PASS] testFuzz_SetNumber3(uint256) (runs: 256, [AVG_GAS]) +Suite result: ok. 6 passed; 0 failed; 0 skipped; [ELAPSED] + +Ran 1 test suite [ELAPSED]: 6 tests passed, 0 failed, 0 skipped (6 total tests) + +"#]]); +}); diff --git a/crates/revive-strategy/src/cheatcodes/mock_handler.rs b/crates/revive-strategy/src/cheatcodes/mock_handler.rs index c5d4e7e9cbfec..f23c5481b990d 100644 --- a/crates/revive-strategy/src/cheatcodes/mock_handler.rs +++ b/crates/revive-strategy/src/cheatcodes/mock_handler.rs @@ -88,8 +88,7 @@ impl MockHandler for MockHandlerImpl { // them. https://github.com/paritytech/foundry-polkadot/blob/26eda0de53ac03f7ac9b6a6023d8243101cffaf1/crates/cheatcodes/src/inspector.rs#L1013 if let Some(mock_data) = mock_inner.mocked_calls.get_mut(&Address::from_slice(callee.as_bytes())) - { - if let Some(return_data_queue) = match mock_data.get_mut(&ctx) { + && let Some(return_data_queue) = match mock_data.get_mut(&ctx) { Some(found) => Some(found), None => mock_data .iter_mut() @@ -100,23 +99,25 @@ impl MockHandler for MockHandlerImpl { || (ctx.value == Some(U256::ZERO) && key.value.is_none())) }) .map(|(_, v)| v), - } && let Some(return_data) = if return_data_queue.len() == 1 { + } + && let Some(return_data) = if return_data_queue.len() == 1 { // If the mocked calls stack has a single element in it, don't empty it return_data_queue.front().map(|x| x.to_owned()) } else { // Else, we pop the front element return_data_queue.pop_front() - } { - return Some(ExecReturnValue { - flags: if matches!(return_data.ret_type, InstructionResult::Revert) { - ReturnFlags::REVERT - } else { - ReturnFlags::default() - }, - data: return_data.data.0.to_vec(), - }); } - }; + { + return Some(ExecReturnValue { + flags: if matches!(return_data.ret_type, InstructionResult::Revert) { + ReturnFlags::REVERT + } else { + ReturnFlags::default() + }, + data: return_data.data.0.to_vec(), + }); + } + None } diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index e30dfd89185f8..3b93394184916 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -767,7 +767,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector let res = ctx.externalities.execute_with(|| { tracer.trace(|| { let origin = OriginFor::::signed(AccountId::to_fallback_account_id( - &H160::from_slice(ecx.tx.caller.as_slice()), + &H160::from_slice(input.caller().as_slice()), )); let evm_value = sp_core::U256::from_little_endian(&input.value().as_le_bytes()); mock_handler.fund_pranked_accounts(input.caller()); diff --git a/crates/revive-strategy/src/state.rs b/crates/revive-strategy/src/state.rs index 65f25048d1d57..6896d3bd8fce1 100644 --- a/crates/revive-strategy/src/state.rs +++ b/crates/revive-strategy/src/state.rs @@ -25,8 +25,8 @@ impl Default for TestEnv { impl Clone for TestEnv { fn clone(&self) -> Self { let mut externalities = ExtBuilder::default().build(); - externalities.backend = self.0.lock().unwrap().as_backend().clone(); - TestEnv(Arc::new(Mutex::new(externalities))) + externalities.backend = self.0.lock().unwrap().as_backend(); + Self(Arc::new(Mutex::new(externalities))) } } @@ -90,7 +90,7 @@ impl TestEnv { let code_type = if code.starts_with(b"PVM\0") { BytecodeType::Pvm } else { BytecodeType::Evm }; let contract_blob = Pallet::::try_upload_code( - origin_account.clone(), + origin_account, code, code_type, BalanceOf::::MAX, diff --git a/crates/revive-strategy/tests/gas_metering.rs b/crates/revive-strategy/tests/gas_metering.rs index 1873e71a6518d..a14226e8d9b94 100644 --- a/crates/revive-strategy/tests/gas_metering.rs +++ b/crates/revive-strategy/tests/gas_metering.rs @@ -38,6 +38,7 @@ fn pvm_cheatcodes_state_initializes() { state.strategy = CheatcodeInspectorStrategy::new_pvm( DualCompiledContracts::default(), ReviveRuntimeMode::Pvm, + Default::default(), ); assert!(!state.gas_metering.paused, "Gas metering should not be paused initially in PVM"); @@ -51,6 +52,7 @@ fn pvm_gas_metering_state_structure() { state.strategy = CheatcodeInspectorStrategy::new_pvm( DualCompiledContracts::default(), ReviveRuntimeMode::Pvm, + Default::default(), ); assert!(!state.gas_metering.paused); @@ -69,6 +71,7 @@ fn gas_metering_is_independent_of_mode() { pvm_state.strategy = CheatcodeInspectorStrategy::new_pvm( DualCompiledContracts::default(), ReviveRuntimeMode::Pvm, + Default::default(), ); assert_eq!( From 0707b67295db1180c52d18ae829dad4e99522ab8 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Tue, 18 Nov 2025 13:45:31 +0100 Subject: [PATCH 27/52] accidental changes --- crates/forge/src/runner.rs | 5 ++--- crates/revive-strategy/src/cheatcodes/mod.rs | 11 ++--------- crates/revive-strategy/src/state.rs | 11 ++++++++++- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index 1ad3bd77f091e..7c508a745e9e0 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -130,8 +130,6 @@ impl<'a> ContractRunner<'a> { // Deploy libraries. self.executor.set_balance(LIBRARY_DEPLOYER, U256::MAX)?; - let nonce = self.executor.get_nonce(self.sender)?; - let address = self.sender.create(nonce); let mut result = TestSetup::default(); for code in &self.mcr.libs_to_deploy { @@ -154,7 +152,8 @@ impl<'a> ContractRunner<'a> { return Ok(result); } } - + let nonce = self.executor.get_nonce(self.sender)?; + let address = self.sender.create(nonce); result.address = address; // NOTE(revive): the test contract is set here instead of where upstream does it as // the test contract address needs to be retrieved in order to skip diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 3b93394184916..454bb802d9e83 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -18,7 +18,6 @@ use foundry_compilers::resolc::dual_compiled_contracts::DualCompiledContracts; use revive_env::{AccountId, Runtime, System, Timestamp}; use std::{ any::{Any, TypeId}, - fmt::Debug, sync::Arc, }; use tracing::warn; @@ -121,12 +120,6 @@ pub struct PvmCheatcodeInspectorStrategyContext { pub externalities: TestEnv, } -impl Debug for TestEnv { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - f.write_str("") - } -} - impl PvmCheatcodeInspectorStrategyContext { pub fn new( dual_compiled_contracts: DualCompiledContracts, @@ -626,7 +619,7 @@ fn select_evm(ctx: &mut PvmCheatcodeInspectorStrategyContext, data: Ecx<'_, '_, tracing::info!("switching from pallet-revive back to REVM"); ctx.using_pvm = false; - ctx.externalities.0.lock().unwrap().execute_with(|| { + ctx.externalities.execute_with(|| { let block_number = System::block_number(); let timestamp = Timestamp::get(); @@ -926,7 +919,7 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector let res = ctx.externalities.execute_with(|| { tracer.trace(|| { let origin = OriginFor::::signed(AccountId::to_fallback_account_id( - &H160::from_slice(ecx.tx.caller.as_slice()), + &H160::from_slice(call.caller.as_slice()), )); mock_handler.fund_pranked_accounts(call.caller); diff --git a/crates/revive-strategy/src/state.rs b/crates/revive-strategy/src/state.rs index 6896d3bd8fce1..b3367bfa12807 100644 --- a/crates/revive-strategy/src/state.rs +++ b/crates/revive-strategy/src/state.rs @@ -9,7 +9,10 @@ use polkadot_sdk::{ sp_io::TestExternalities, }; use revive_env::{AccountId, ExtBuilder, Runtime, System, Timestamp}; -use std::sync::{Arc, Mutex}; +use std::{ + fmt::Debug, + sync::{Arc, Mutex}, +}; pub struct TestEnv(pub Arc>); impl Default for TestEnv { @@ -22,6 +25,12 @@ impl Default for TestEnv { } } +impl Debug for TestEnv { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + f.write_str("") + } +} + impl Clone for TestEnv { fn clone(&self) -> Self { let mut externalities = ExtBuilder::default().build(); From 998fccf9ecce7b1dfdb9d7afc10381965d8f6e5a Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Tue, 18 Nov 2025 16:08:38 +0100 Subject: [PATCH 28/52] add invariant test --- crates/evm/evm/src/executors/invariant/mod.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/crates/evm/evm/src/executors/invariant/mod.rs b/crates/evm/evm/src/executors/invariant/mod.rs index ba64c5e16c638..c10547b0aa3e4 100644 --- a/crates/evm/evm/src/executors/invariant/mod.rs +++ b/crates/evm/evm/src/executors/invariant/mod.rs @@ -391,20 +391,17 @@ impl<'a> InvariantExecutor<'a> { .inputs .last() .ok_or_else(|| eyre!("no input generated to call fuzzed target."))?; - + let executor = current_run.executor.clone(); // Execute call from the randomly generated sequence without committing state. // State is committed only if call is not a magic assume. - let call_result = current_run - .executor + let mut call_result = executor .call_raw( tx.sender, tx.call_details.target, tx.call_details.calldata.clone(), U256::ZERO, ) - .map_err(|e| eyre!(format!("Could not make raw evm call: {e}"))); - - let mut call_result = call_result?; + .map_err(|e| eyre!(format!("Could not make raw evm call: {e}")))?; let discarded = call_result.result.as_ref() == MAGIC_ASSUME; if self.config.show_metrics { From c8b6d02be95221b7a3b69235bbb10775988fd6fb Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Tue, 18 Nov 2025 16:19:25 +0100 Subject: [PATCH 29/52] fixup merge --- crates/revive-strategy/src/cheatcodes/mod.rs | 44 +++++++++----------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 170a1f7500cb3..41c0d4388ac90 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -1067,8 +1067,9 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector { return; } - - apply_revm_storage_diff(ecx, call.target_address); + ctx.externalities.execute_with(|| { + apply_revm_storage_diff(ecx, call.target_address); + }); } } @@ -1143,33 +1144,26 @@ fn apply_revm_storage_diff(ecx: Ecx<'_, '_, '_>, address: Address) { let h160_address = H160::from_slice(address.as_slice()); // Check if contract exists in pallet-revive before applying storage diffs - let contract_exists = execute_with_externalities(|externalities| { - externalities - .execute_with(|| AccountInfo::::load_contract(&h160_address).is_some()) - }); + let contract_exists = AccountInfo::::load_contract(&h160_address).is_some(); if !contract_exists { return; } - execute_with_externalities(|externalities| { - externalities.execute_with(|| { - for (slot, storage_slot) in &account_state.storage { - if storage_slot.is_changed() { - let slot_bytes = slot.to_be_bytes::<32>(); - let new_value = storage_slot.present_value; - - if !new_value.is_zero() { - let _ = Pallet::::set_storage( - h160_address, - slot_bytes, - Some(new_value.to_be_bytes::<32>().to_vec()), - ); - } else { - let _ = Pallet::::set_storage(h160_address, slot_bytes, None); - } - } + for (slot, storage_slot) in &account_state.storage { + if storage_slot.is_changed() { + let slot_bytes = slot.to_be_bytes::<32>(); + let new_value = storage_slot.present_value; + + if !new_value.is_zero() { + let _ = Pallet::::set_storage( + h160_address, + slot_bytes, + Some(new_value.to_be_bytes::<32>().to_vec()), + ); + } else { + let _ = Pallet::::set_storage(h160_address, slot_bytes, None); } - }) - }); + } + } } From 08c99c4acdc89c3535d88f5dd3a9ec4331151114 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Wed, 19 Nov 2025 17:00:47 +0100 Subject: [PATCH 30/52] opt --- crates/evm/evm/src/executors/fuzz/mod.rs | 21 +++-- crates/evm/evm/src/executors/invariant/mod.rs | 19 +++- crates/evm/evm/src/executors/strategy.rs | 3 + crates/forge/src/runner.rs | 87 ++++++++++++++----- crates/forge/tests/cli/revive_vm.rs | 24 ++++- crates/revive-strategy/src/executor/runner.rs | 12 +++ 6 files changed, 130 insertions(+), 36 deletions(-) diff --git a/crates/evm/evm/src/executors/fuzz/mod.rs b/crates/evm/evm/src/executors/fuzz/mod.rs index 2e60ea52890d4..d2c49e2b0921e 100644 --- a/crates/evm/evm/src/executors/fuzz/mod.rs +++ b/crates/evm/evm/src/executors/fuzz/mod.rs @@ -52,7 +52,7 @@ pub struct FuzzTestData { /// configuration which can be overridden via [environment variables](proptest::test_runner::Config) pub struct FuzzedExecutor { /// The EVM executor - executor: Executor, + pub executor: Executor, /// The fuzzer runner: TestRunner, /// The account that calls tests @@ -106,8 +106,16 @@ impl FuzzedExecutor { if timer.is_timed_out() { return Err(TestCaseError::fail(TEST_TIMEOUT)); } - let fuzz_res = self.single_fuzz(address, calldata)?; - + self.executor + .strategy + .runner + .start_transaction(self.executor.strategy.context.as_ref()); + let fuzz_res = self.single_fuzz(address, calldata); + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); + let fuzz_res = fuzz_res?; // If running with progress then increment current run. if let Some(progress) = progress { progress.inc(1); @@ -237,11 +245,10 @@ impl FuzzedExecutor { address: Address, calldata: alloy_primitives::Bytes, ) -> Result { - let executor = self.executor.clone(); - let mut call = executor + let mut call = self + .executor .call_raw(self.sender, address, calldata.clone(), U256::ZERO) .map_err(|e| TestCaseError::fail(e.to_string()))?; - // Handle `vm.assume`. if call.result.as_ref() == MAGIC_ASSUME { return Err(TestCaseError::reject(FuzzError::AssumeReject)); @@ -261,7 +268,7 @@ impl FuzzedExecutor { { true } else { - executor.is_raw_call_mut_success(address, &mut call, false) + self.executor.is_raw_call_mut_success(address, &mut call, false) }; if success { diff --git a/crates/evm/evm/src/executors/invariant/mod.rs b/crates/evm/evm/src/executors/invariant/mod.rs index c10547b0aa3e4..43511b1554430 100644 --- a/crates/evm/evm/src/executors/invariant/mod.rs +++ b/crates/evm/evm/src/executors/invariant/mod.rs @@ -391,18 +391,29 @@ impl<'a> InvariantExecutor<'a> { .inputs .last() .ok_or_else(|| eyre!("no input generated to call fuzzed target."))?; - let executor = current_run.executor.clone(); // Execute call from the randomly generated sequence without committing state. // State is committed only if call is not a magic assume. - let mut call_result = executor + current_run + .executor + .strategy + .runner + .start_transaction(current_run.executor.strategy.context.as_ref()); + let call_result = current_run + .executor .call_raw( tx.sender, tx.call_details.target, tx.call_details.calldata.clone(), U256::ZERO, ) - .map_err(|e| eyre!(format!("Could not make raw evm call: {e}")))?; - + .map_err(|e| eyre!(format!("Could not make raw evm call: {e}"))); + current_run + .executor + .strategy + .runner + .rollback_transaction(current_run.executor.strategy.context.as_ref()); + + let mut call_result = call_result?; let discarded = call_result.result.as_ref() == MAGIC_ASSUME; if self.config.show_metrics { invariant_test.record_metrics(tx, call_result.reverted, discarded); diff --git a/crates/evm/evm/src/executors/strategy.rs b/crates/evm/evm/src/executors/strategy.rs index 9fd0115fbf3e7..403d068b5f453 100644 --- a/crates/evm/evm/src/executors/strategy.rs +++ b/crates/evm/evm/src/executors/strategy.rs @@ -110,6 +110,9 @@ pub trait ExecutorStrategyExt { _output: ProjectCompileOutput, ) { } + + fn start_transaction(&self, _ctx: &dyn ExecutorStrategyContext) {} + fn rollback_transaction(&self, _ctx: &dyn ExecutorStrategyContext) {} } /// Implements [ExecutorStrategyRunner] for EVM. diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index 7c508a745e9e0..7afe0c8c02153 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -518,8 +518,7 @@ impl<'a> FunctionRunner<'a> { self.result.single_fail(Some(e.to_string())); return self.result; } - - match kind { + let result = match kind { TestFunctionKind::UnitTest { .. } => self.run_unit_test(func), TestFunctionKind::FuzzTest { .. } => self.run_fuzz_test(func), TestFunctionKind::TableTest => self.run_table_test(func), @@ -533,7 +532,8 @@ impl<'a> FunctionRunner<'a> { ) } _ => unreachable!(), - } + }; + result } /// Runs a single unit test. @@ -545,15 +545,20 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and unit test function call are discarded after /// test ends, similar to `eth_call`. fn run_unit_test(mut self, func: &Function) -> TestResult { - let mut binding = self.executor.clone().into_owned(); - + let executor = self.executor.into_owned().clone(); + self.executor = Cow::Owned(executor); + self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); // Prepare unit test execution. - if self.prepare_test(func, &mut binding).is_err() { + if self.prepare_test(func).is_err() { + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); + return self.result; } - let executor = binding; // Run current unit test. - let (mut raw_call_result, reason) = match executor.call( + let (mut raw_call_result, reason) = match self.executor.call( self.sender, self.address, func, @@ -565,17 +570,25 @@ impl<'a> FunctionRunner<'a> { Err(EvmError::Execution(err)) => (err.raw, Some(err.reason)), Err(EvmError::Skip(reason)) => { self.result.single_skip(reason); - + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } Err(err) => { self.result.single_fail(Some(err.to_string())); - + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } }; + self.executor.strategy.runner.rollback_transaction(self.executor.strategy.context.as_ref()); - let success = executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); + let success = + self.executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); self.result.single_result(success, reason, raw_call_result); self.result @@ -590,10 +603,13 @@ impl<'a> FunctionRunner<'a> { /// - `bool[] public fixtureSwap = [true, false]` The `table_test` is then called with the pair /// of args `(2, true)` and `(5, false)`. fn run_table_test(mut self, func: &Function) -> TestResult { - let mut executor = self.executor.clone().into_owned(); - + self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); // Prepare unit test execution. - if self.prepare_test(func, &mut executor).is_err() { + if self.prepare_test(func).is_err() { + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } @@ -653,7 +669,12 @@ impl<'a> FunctionRunner<'a> { } let args = table_fixtures.iter().map(|row| row[i].clone()).collect_vec(); - let (mut raw_call_result, reason) = match executor.call( + self.executor + .strategy + .runner + .start_transaction(self.executor.strategy.context.as_ref()); + + let (mut raw_call_result, reason) = match self.executor.call( self.sender, self.address, func, @@ -665,16 +686,28 @@ impl<'a> FunctionRunner<'a> { Err(EvmError::Execution(err)) => (err.raw, Some(err.reason)), Err(EvmError::Skip(reason)) => { self.result.single_skip(reason); + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } Err(err) => { self.result.single_fail(Some(err.to_string())); + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } }; + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); let is_success = - executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); + self.executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); // Record counterexample if test fails. if !is_success { self.result.counterexample = @@ -931,9 +964,8 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and fuzz test are discarded after test ends, /// similar to `eth_call`. fn run_fuzz_test(mut self, func: &Function) -> TestResult { - let mut executor = self.executor.clone().into_owned(); // Prepare fuzz test execution. - if self.prepare_test(func, &mut executor).is_err() { + if self.prepare_test(func).is_err() { return self.result; } @@ -949,7 +981,12 @@ impl<'a> FunctionRunner<'a> { ); // Run fuzz test. - let fuzzed_executor = FuzzedExecutor::new(executor, runner, self.tcfg.sender, fuzz_config); + let fuzzed_executor = FuzzedExecutor::new( + self.executor.into_owned().clone(), + runner, + self.tcfg.sender, + fuzz_config, + ); let result = fuzzed_executor.fuzz( func, &self.setup.fuzz_fixtures, @@ -959,6 +996,7 @@ impl<'a> FunctionRunner<'a> { progress.as_ref(), ); self.result.fuzz_result(result); + self.result } @@ -971,19 +1009,24 @@ impl<'a> FunctionRunner<'a> { /// /// Unit tests within same contract (or even current test) are valid options for before test tx /// configuration. Test execution stops if any of before test txes fails. - fn prepare_test(&mut self, func: &Function, executor: &mut Executor) -> Result<(), ()> { + fn prepare_test(&mut self, func: &Function) -> Result<(), ()> { let address = self.setup.address; // Apply before test configured functions (if any). if self.cr.contract.abi.functions().filter(|func| func.name.is_before_test_setup()).count() == 1 { - for calldata in executor.call_sol_default( + for calldata in self.executor.call_sol_default( address, &ITest::beforeTestSetupCall { testSelector: func.selector() }, ) { // Apply before test configured calldata. - match executor.transact_raw(self.tcfg.sender, address, calldata, U256::ZERO) { + match self.executor.to_mut().transact_raw( + self.tcfg.sender, + address, + calldata, + U256::ZERO, + ) { Ok(call_result) => { let reverted = call_result.reverted; diff --git a/crates/forge/tests/cli/revive_vm.rs b/crates/forge/tests/cli/revive_vm.rs index c2a850bf48307..abd615cb573a7 100644 --- a/crates/forge/tests/cli/revive_vm.rs +++ b/crates/forge/tests/cli/revive_vm.rs @@ -417,6 +417,15 @@ forgetest!(trace_counter_test, |prj, cmd| { emit Increment(number); } + function setAndIncrement(uint256 newNumber) public { + setNumber(newNumber); + increment(); + } + function setAndIncrementProxy(uint256 newNumber, Counter target) public { + setNumber(newNumber); + increment(); + target.setAndIncrement(newNumber); + } } "#, ) @@ -432,12 +441,13 @@ import {console} from "./console.sol"; contract CounterTest is DSTest { Vm constant vm = Vm(HEVM_ADDRESS); Counter public counter; +Counter target; function setUp() public { counter = new Counter(); - vm.expectEmit(); + target = new Counter(); + vm.expectEmit(address(counter)); emit Counter.SetNumber(5); - counter.setNumber(5); assertEq(counter.number(), 5); } @@ -450,6 +460,14 @@ function test_Increment() public { assertEq(counter.number(), 56); } +function test_Seq() public { + vm.expectEmit(address(counter)); + emit Counter.SetNumber(5); + vm.expectEmit(address(target)); + emit Counter.Increment(6); + counter.setAndIncrementProxy(5, target); +} + function test_expectRevert() public { vm.expectRevert(abi.encodeWithSelector(Counter.Revert.selector, "failure")); counter.failed_call(); @@ -1442,7 +1460,7 @@ function testC() public { prj.update_config(|config| config.evm_version = EvmVersion::Cancun); let res = cmd.args(["test", "--resolc", "-vvv", "--polkadot"]).assert(); - res.stdout_eq(str![[r#" + res.stderr_eq("").stdout_eq(str![[r#" [COMPILING_FILES] with [SOLC_VERSION] [SOLC_VERSION] [ELAPSED] Compiler run successful! diff --git a/crates/revive-strategy/src/executor/runner.rs b/crates/revive-strategy/src/executor/runner.rs index 99d49fa1761af..4d86635c3f83e 100644 --- a/crates/revive-strategy/src/executor/runner.rs +++ b/crates/revive-strategy/src/executor/runner.rs @@ -11,6 +11,7 @@ use foundry_evm::{ strategy::ExecutorStrategyExt, }, }; +use polkadot_sdk::sp_externalities::Externalities; use revm::context::result::ResultAndState; use crate::{ @@ -153,4 +154,15 @@ impl ExecutorStrategyExt for ReviveExecutorStrategyRunner { let ctx = get_context_ref_mut(ctx); ctx.compilation_output.replace(output); } + fn start_transaction(&self, ctx: &dyn ExecutorStrategyContext) { + let ctx = get_context_ref(ctx); + let mut externalities = ctx.externalties.0.lock().unwrap(); + externalities.ext().storage_start_transaction(); + } + + fn rollback_transaction(&self, ctx: &dyn ExecutorStrategyContext) { + let ctx = get_context_ref(ctx); + let mut externalities = ctx.externalties.0.lock().unwrap(); + externalities.ext().storage_rollback_transaction().unwrap(); + } } From 0662bd407780efc876eff74c063fcd39fd34eb75 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Wed, 19 Nov 2025 18:27:42 +0100 Subject: [PATCH 31/52] upd tests --- crates/forge/src/runner.rs | 19 +++++------- crates/forge/tests/cli/revive_vm.rs | 48 ++++++++++++++++++++++++++--- testdata/default/.lock-revive | 1 - 3 files changed, 50 insertions(+), 18 deletions(-) delete mode 100644 testdata/default/.lock-revive diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index 7afe0c8c02153..d102010d53041 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -518,7 +518,7 @@ impl<'a> FunctionRunner<'a> { self.result.single_fail(Some(e.to_string())); return self.result; } - let result = match kind { + match kind { TestFunctionKind::UnitTest { .. } => self.run_unit_test(func), TestFunctionKind::FuzzTest { .. } => self.run_fuzz_test(func), TestFunctionKind::TableTest => self.run_table_test(func), @@ -532,8 +532,7 @@ impl<'a> FunctionRunner<'a> { ) } _ => unreachable!(), - }; - result + } } /// Runs a single unit test. @@ -545,7 +544,7 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and unit test function call are discarded after /// test ends, similar to `eth_call`. fn run_unit_test(mut self, func: &Function) -> TestResult { - let executor = self.executor.into_owned().clone(); + let executor = self.executor.into_owned(); self.executor = Cow::Owned(executor); self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); // Prepare unit test execution. @@ -738,8 +737,8 @@ impl<'a> FunctionRunner<'a> { identified_contracts: &ContractsByAddress, test_bytecode: &Bytes, ) -> TestResult { - let mut binding = self.executor.clone(); - let executor = binding.to_mut(); + let binding = self.executor.clone().into_owned(); + let executor = binding; // First, run the test normally to see if it needs to be skipped. if let Err(EvmError::Skip(reason)) = executor.call( self.sender, @@ -981,12 +980,8 @@ impl<'a> FunctionRunner<'a> { ); // Run fuzz test. - let fuzzed_executor = FuzzedExecutor::new( - self.executor.into_owned().clone(), - runner, - self.tcfg.sender, - fuzz_config, - ); + let fuzzed_executor = + FuzzedExecutor::new(self.executor.into_owned(), runner, self.tcfg.sender, fuzz_config); let result = fuzzed_executor.fuzz( func, &self.setup.fuzz_fixtures, diff --git a/crates/forge/tests/cli/revive_vm.rs b/crates/forge/tests/cli/revive_vm.rs index 066bab6471fde..eb265d6bf4375 100644 --- a/crates/forge/tests/cli/revive_vm.rs +++ b/crates/forge/tests/cli/revive_vm.rs @@ -553,13 +553,15 @@ Compiler run successful! [RESOLC_VERSION] [ELAPSED] Compiler run successful! -Ran 2 tests for src/CounterTest.t.sol:CounterTest +Ran 3 tests for src/CounterTest.t.sol:CounterTest [PASS] test_Increment() ([GAS]) Traces: [..] CounterTest::setUp() ├─ [..] → new @0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f │ └─ ← [Return] [..] bytes of code - ├─ [..] VM::expectEmit() + ├─ [..] → new @0xF62849F9A0B5Bf2913b396098F7c7019b51A820a + │ └─ ← [Return] [..] bytes of code + ├─ [..] VM::expectEmit(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f) │ └─ ← [Return] ├─ emit SetNumber(result: 5) ├─ [..] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::setNumber(5) @@ -584,12 +586,48 @@ Traces: │ └─ ← [Return] 56 └─ ← [Stop] +[PASS] test_Seq() ([GAS]) +Traces: + [..] CounterTest::setUp() + ├─ [..] → new @0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f + │ └─ ← [Return] [..] bytes of code + ├─ [..] → new @0xF62849F9A0B5Bf2913b396098F7c7019b51A820a + │ └─ ← [Return] [..] bytes of code + ├─ [..] VM::expectEmit(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f) + │ └─ ← [Return] + ├─ emit SetNumber(result: 5) + ├─ [..] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::setNumber(5) + │ ├─ emit SetNumber(result: 5) + │ └─ ← [Stop] + ├─ [..] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::number() [staticcall] + │ └─ ← [Return] 5 + └─ ← [Stop] + + [..] CounterTest::test_Seq() + ├─ [..] VM::expectEmit(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f) + │ └─ ← [Return] + ├─ emit SetNumber(result: 5) + ├─ [..] VM::expectEmit(0xF62849F9A0B5Bf2913b396098F7c7019b51A820a) + │ └─ ← [Return] + ├─ emit Increment(result: 6) + ├─ [..] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::setAndIncrementProxy(5, 0xF62849F9A0B5Bf2913b396098F7c7019b51A820a) + │ ├─ emit SetNumber(result: 5) + │ ├─ emit Increment(result: 6) + │ ├─ [..] 0xF62849F9A0B5Bf2913b396098F7c7019b51A820a::setAndIncrement(5) + │ │ ├─ emit SetNumber(result: 5) + │ │ ├─ emit Increment(result: 6) + │ │ └─ ← [Return] + │ └─ ← [Stop] + └─ ← [Stop] + [PASS] test_expectRevert() ([GAS]) Traces: [..] CounterTest::setUp() ├─ [..] → new @0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f │ └─ ← [Return] [..] bytes of code - ├─ [..] VM::expectEmit() + ├─ [..] → new @0xF62849F9A0B5Bf2913b396098F7c7019b51A820a + │ └─ ← [Return] [..] bytes of code + ├─ [..] VM::expectEmit(0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f) │ └─ ← [Return] ├─ emit SetNumber(result: 5) ├─ [..] 0x5615dEB798BB3E4dFa0139dFa1b3D433Cc23b72f::setNumber(5) @@ -606,9 +644,9 @@ Traces: │ └─ ← [Revert] Revert("failure") └─ ← [Stop] -Suite result: ok. 2 passed; 0 failed; 0 skipped; [ELAPSED] +Suite result: ok. 3 passed; 0 failed; 0 skipped; [ELAPSED] -Ran 1 test suite [ELAPSED]: 2 tests passed, 0 failed, 0 skipped (2 total tests) +Ran 1 test suite [ELAPSED]: 3 tests passed, 0 failed, 0 skipped (3 total tests) "#]]); }); diff --git a/testdata/default/.lock-revive b/testdata/default/.lock-revive deleted file mode 100644 index 56a6051ca2b02..0000000000000 --- a/testdata/default/.lock-revive +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file From 9c4facb8cb5f55639ee9cfb665fad77e5a1fcdfa Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Wed, 19 Nov 2025 23:18:42 +0100 Subject: [PATCH 32/52] remove revive_call_end as redundant --- crates/cheatcodes/src/inspector.rs | 5 -- crates/cheatcodes/src/strategy.rs | 2 - crates/revive-strategy/src/cheatcodes/mod.rs | 58 -------------------- 3 files changed, 65 deletions(-) diff --git a/crates/cheatcodes/src/inspector.rs b/crates/cheatcodes/src/inspector.rs index d8dec93d041ae..3d55d29922e8e 100644 --- a/crates/cheatcodes/src/inspector.rs +++ b/crates/cheatcodes/src/inspector.rs @@ -1817,11 +1817,6 @@ impl Inspector> for Cheatcodes { outcome.result.output = Error::encode(msg); } } - - // Sync REVM state back to pallet-revive if this call was executed in REVM - if outcome.result.is_ok() { - self.strategy.runner.revive_call_end(self, ecx, call); - } } fn create(&mut self, ecx: Ecx, mut input: &mut CreateInputs) -> Option { diff --git a/crates/cheatcodes/src/strategy.rs b/crates/cheatcodes/src/strategy.rs index b1633e72474de..ed7c04133fb24 100644 --- a/crates/cheatcodes/src/strategy.rs +++ b/crates/cheatcodes/src/strategy.rs @@ -262,8 +262,6 @@ pub trait CheatcodeInspectorStrategyExt { None } - fn revive_call_end(&self, _state: &mut crate::Cheatcodes, _ecx: Ecx, _call: &CallInputs) {} - // Remove duplicate accesses in storage_recorder fn revive_remove_duplicate_account_access(&self, _state: &mut crate::Cheatcodes) {} } diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index be1c75a213d42..197b4950e6694 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -1057,30 +1057,6 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector } } } - - fn revive_call_end( - &self, - state: &mut foundry_cheatcodes::Cheatcodes, - ecx: Ecx<'_, '_, '_>, - call: &CallInputs, - ) { - let ctx = get_context_ref_mut(state.strategy.context.as_mut()); - - // Skip storage sync if: in PVM mode AND no test contract - if ctx.using_pvm - && ecx - .journaled_state - .database - .get_test_contract_address() - .map(|addr| call.bytecode_address != addr && call.target_address != addr) - .unwrap_or(true) - { - return; - } - ctx.externalities.execute_with(|| { - apply_revm_storage_diff(ecx, call.target_address); - }); - } } fn post_exec( @@ -1178,37 +1154,3 @@ fn get_context_ref_mut( ) -> &mut PvmCheatcodeInspectorStrategyContext { ctx.as_any_mut().downcast_mut().expect("expected PvmCheatcodeInspectorStrategyContext") } - -/// Applies REVM storage diffs to pallet-revive (REVM → pallet-revive sync) -/// Note: Balance/nonce are NOT synced here as they're handled by migration in select_revive() -fn apply_revm_storage_diff(ecx: Ecx<'_, '_, '_>, address: Address) { - let Some(account_state) = ecx.journaled_state.state.get(&address) else { - return; - }; - - let h160_address = H160::from_slice(address.as_slice()); - - // Check if contract exists in pallet-revive before applying storage diffs - let contract_exists = AccountInfo::::load_contract(&h160_address).is_some(); - - if !contract_exists { - return; - } - - for (slot, storage_slot) in &account_state.storage { - if storage_slot.is_changed() { - let slot_bytes = slot.to_be_bytes::<32>(); - let new_value = storage_slot.present_value; - - if !new_value.is_zero() { - let _ = Pallet::::set_storage( - h160_address, - slot_bytes, - Some(new_value.to_be_bytes::<32>().to_vec()), - ); - } else { - let _ = Pallet::::set_storage(h160_address, slot_bytes, None); - } - } - } -} From 01f9d8ef47fcd967ab1dfcf7d14acaab18f19017 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko <45178695+pkhry@users.noreply.github.com> Date: Wed, 19 Nov 2025 23:09:21 +0100 Subject: [PATCH 33/52] caching fix (#207) * caching fix --- crates/forge/src/args.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/forge/src/args.rs b/crates/forge/src/args.rs index 750246abfa9c1..3291dba86c2e9 100644 --- a/crates/forge/src/args.rs +++ b/crates/forge/src/args.rs @@ -107,10 +107,18 @@ pub fn run_command(args: Forge) -> Result<()> { Ok(()) } ForgeSubcommand::Clean { root } => { - let config = utils::load_config_with_root(root.as_deref())?; + let mut config = utils::load_config_with_root(root.as_deref())?; let project = config.project()?; config.cleanup(&project)?; + // cleanup cache inverse to the one currently used + // e.g. when `resolc` is used it's `solc` cache. + { + config.resolc.resolc_compile = !config.resolc.resolc_compile; + let project = config.project()?; + config.cleanup(&project)?; + } + Ok(()) } ForgeSubcommand::Snapshot(cmd) => { From bbc4cb2f1ac8a5efe95a6b87f6c61f34fd6a099e Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Thu, 20 Nov 2025 16:32:01 +0100 Subject: [PATCH 34/52] tests fixup --- crates/forge/src/runner.rs | 15 ++------------- crates/forge/tests/cli/revive_vm.rs | 12 ++++++++++-- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index d102010d53041..72d1b0afc3121 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -544,18 +544,12 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and unit test function call are discarded after /// test ends, similar to `eth_call`. fn run_unit_test(mut self, func: &Function) -> TestResult { - let executor = self.executor.into_owned(); - self.executor = Cow::Owned(executor); - self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); // Prepare unit test execution. if self.prepare_test(func).is_err() { - self.executor - .strategy - .runner - .rollback_transaction(self.executor.strategy.context.as_ref()); - return self.result; } + self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); + // Run current unit test. let (mut raw_call_result, reason) = match self.executor.call( self.sender, @@ -602,13 +596,8 @@ impl<'a> FunctionRunner<'a> { /// - `bool[] public fixtureSwap = [true, false]` The `table_test` is then called with the pair /// of args `(2, true)` and `(5, false)`. fn run_table_test(mut self, func: &Function) -> TestResult { - self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); // Prepare unit test execution. if self.prepare_test(func).is_err() { - self.executor - .strategy - .runner - .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } diff --git a/crates/forge/tests/cli/revive_vm.rs b/crates/forge/tests/cli/revive_vm.rs index eb265d6bf4375..6062026dc2b96 100644 --- a/crates/forge/tests/cli/revive_vm.rs +++ b/crates/forge/tests/cli/revive_vm.rs @@ -1513,6 +1513,14 @@ contract CounterTest is DSTest { beforeTestCalldata = new bytes[](1); beforeTestCalldata[0] = abi.encodeWithSignature("callMe(uint256,uint256)", 15, 4); } + if (testSelector == this.testFuzz_SetNumber.selector) { + beforeTestCalldata = new bytes[](1); + beforeTestCalldata[0] = abi.encodeWithSignature("callMe(uint256,uint256)", 15, 4); + } + if (testSelector == this.testFuzz_SetNumber2.selector) { + beforeTestCalldata = new bytes[](1); + beforeTestCalldata[0] = abi.encodeWithSignature("callMe(uint256,uint256)", 1, 4); +} } function testA() public { @@ -1541,13 +1549,13 @@ function testC() public { } function testFuzz_SetNumber(uint256 x) public { - assertEq(counter.number(), 5); + assertEq(counter.number(), 15); counter.setNumber(x); assertEq(counter.number(), x); } function testFuzz_SetNumber2(uint256 x) public { - assertEq(counter.number(), 5); + assertEq(counter.number(), 1); counter.setNumber(x); assertEq(counter.number(), x); } From 52a37e62c658df361041645c5ad193467dc2db56 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Thu, 20 Nov 2025 17:32:13 +0100 Subject: [PATCH 35/52] commit suggestions --- crates/revive-strategy/src/cheatcodes/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 197b4950e6694..508e9529a4912 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -257,9 +257,9 @@ impl CheatcodeInspectorStrategyRunner for PvmCheatcodeInspectorStrategyRunner { fn is(t: TypeId) -> bool { TypeId::of::() == t } - let using_pvm = get_context_ref_mut(ccx.state.strategy.context.as_mut()).using_pvm; let ctx: &mut PvmCheatcodeInspectorStrategyContext = get_context_ref_mut(ccx.state.strategy.context.as_mut()); + let using_pvm = ctx.using_pvm; match cheatcode.as_any().type_id() { t if is::(t) => { tracing::info!(cheatcode = ?cheatcode.as_debug() , using_pvm = ?using_pvm); From 48ccc2fbb9fe818098283f53990ad0d5552e76cc Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Thu, 20 Nov 2025 17:33:40 +0100 Subject: [PATCH 36/52] review comment --- crates/revive-strategy/src/cheatcodes/mod.rs | 2 +- crates/revive-strategy/src/state.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 508e9529a4912..6727297a6fe93 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -370,7 +370,7 @@ impl CheatcodeInspectorStrategyRunner for PvmCheatcodeInspectorStrategyRunner { } let ctx = get_context_ref_mut(ccx.state.strategy.context.as_mut()); if target != CHEATCODE_ADDRESS { - ctx.externalities.store(target, slot, value)?; + ctx.externalities.set_storage(target, slot, value)?; } cheatcode.dyn_apply(ccx, executor) } diff --git a/crates/revive-strategy/src/state.rs b/crates/revive-strategy/src/state.rs index a0787147d252a..5566b2ce03f40 100644 --- a/crates/revive-strategy/src/state.rs +++ b/crates/revive-strategy/src/state.rs @@ -159,7 +159,7 @@ impl TestEnv { .map_err(|_| <&str as Into>::into("Could not set storage")) } - pub fn store( + pub fn set_storage( &mut self, target: Address, slot: FixedBytes<32>, From cf0f776ce8f6ddd157b86d528a7eb8bed74ae7df Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Thu, 20 Nov 2025 21:27:03 +0100 Subject: [PATCH 37/52] fix storage migration --- crates/forge/tests/it/revive/migration.rs | 10 ++++++++++ crates/revive-strategy/src/cheatcodes/mod.rs | 6 ++++-- testdata/default/.lock-revive | 1 + .../default/revive/EvmToReviveMigration.t.sol | 20 +++++++++++++++++++ 4 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 testdata/default/.lock-revive diff --git a/crates/forge/tests/it/revive/migration.rs b/crates/forge/tests/it/revive/migration.rs index 1bbaf1863b9de..bf2012e53fc45 100644 --- a/crates/forge/tests/it/revive/migration.rs +++ b/crates/forge/tests/it/revive/migration.rs @@ -68,6 +68,16 @@ async fn test_revive_timestamp_migration(#[case] runtime_mode: ReviveRuntimeMode TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_storage_migration(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); + let filter = Filter::new("testStorageMigration", "EvmReviveMigrationTest", ".*/revive/.*"); + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} + // TODO: Immutables migration needs to be fixed // #[rstest] // #[case::pvm(ReviveRuntimeMode::Pvm)] diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 6727297a6fe93..8d5d129813e56 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -618,8 +618,10 @@ fn select_revive(ctx: &mut PvmCheatcodeInspectorStrategyContext, data: Ecx<'_, ' } } } - // Migrate complete account state (storage) for newly created contract - for (slot, storage_slot) in &acc.data.storage { + } + if AccountInfo::::load_contract(&account_h160).is_some() { + // Migrate complete account state (storage) for existing contract + for (slot, storage_slot) in &acc.data.storage { let slot_bytes = slot.to_be_bytes::<32>(); let value_bytes = storage_slot.present_value.to_be_bytes::<32>(); diff --git a/testdata/default/.lock-revive b/testdata/default/.lock-revive new file mode 100644 index 0000000000000..56a6051ca2b02 --- /dev/null +++ b/testdata/default/.lock-revive @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/testdata/default/revive/EvmToReviveMigration.t.sol b/testdata/default/revive/EvmToReviveMigration.t.sol index 15610458f80dd..18aa5878dc62b 100644 --- a/testdata/default/revive/EvmToReviveMigration.t.sol +++ b/testdata/default/revive/EvmToReviveMigration.t.sol @@ -176,6 +176,26 @@ contract EvmReviveMigrationTest is DSTest { assertEq(storageContract.get(), 100); } + function testStorageMigration() public { + SimpleStorage storageContract = new SimpleStorage(); + + // Mark the contract as persistent so it migrates + vm.makePersistent(address(storageContract)); + + storageContract.set(42); + assertEq(storageContract.get(), 42); + + vm.pvm(false); + + assertEq(storageContract.get(), 42); + + storageContract.set(100); + assertEq(storageContract.get(), 100); + + vm.pvm(true); + assertEq(storageContract.get(), 100); + } + function testTimestampMigration() public { uint256 initialTimestamp = 1_000_000; vm.warp(initialTimestamp); From 19081684da88e3a63e71c9fb45a2e174135ada73 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Thu, 20 Nov 2025 21:28:11 +0100 Subject: [PATCH 38/52] uncommit lockfile --- testdata/default/.lock-revive | 1 - 1 file changed, 1 deletion(-) delete mode 100644 testdata/default/.lock-revive diff --git a/testdata/default/.lock-revive b/testdata/default/.lock-revive deleted file mode 100644 index 56a6051ca2b02..0000000000000 --- a/testdata/default/.lock-revive +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file From 3886d81e1c238d1edff4f033bd144137c67ab9c2 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Thu, 20 Nov 2025 21:37:31 +0100 Subject: [PATCH 39/52] add extra clause to test --- crates/revive-strategy/src/cheatcodes/mod.rs | 2 +- testdata/default/revive/EvmToReviveMigration.t.sol | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 8d5d129813e56..0346900389b3a 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -620,7 +620,7 @@ fn select_revive(ctx: &mut PvmCheatcodeInspectorStrategyContext, data: Ecx<'_, ' } } if AccountInfo::::load_contract(&account_h160).is_some() { - // Migrate complete account state (storage) for existing contract + // Migrate complete account state (storage) for newly created/existing contract for (slot, storage_slot) in &acc.data.storage { let slot_bytes = slot.to_be_bytes::<32>(); let value_bytes = storage_slot.present_value.to_be_bytes::<32>(); diff --git a/testdata/default/revive/EvmToReviveMigration.t.sol b/testdata/default/revive/EvmToReviveMigration.t.sol index 18aa5878dc62b..e70fd2d5424a8 100644 --- a/testdata/default/revive/EvmToReviveMigration.t.sol +++ b/testdata/default/revive/EvmToReviveMigration.t.sol @@ -186,14 +186,17 @@ contract EvmReviveMigrationTest is DSTest { assertEq(storageContract.get(), 42); vm.pvm(false); - + SimpleStorage storageContract2 = new SimpleStorage(); + vm.makePersistent(address(storageContract2)); assertEq(storageContract.get(), 42); storageContract.set(100); + storageContract2.set(100); assertEq(storageContract.get(), 100); vm.pvm(true); assertEq(storageContract.get(), 100); + assertEq(storageContract2.get(), 100); } function testTimestampMigration() public { From fa3018bdc1965184b9231ddb2d97e39a5e0acdd9 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Fri, 21 Nov 2025 11:13:16 +0100 Subject: [PATCH 40/52] gitignore --- testdata/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/testdata/.gitignore b/testdata/.gitignore index b84c736371bab..344b0e650a16d 100644 --- a/testdata/.gitignore +++ b/testdata/.gitignore @@ -2,3 +2,4 @@ cache/ out/ .lock +.lock_revive \ No newline at end of file From 05b0a46ef898b7bfdeb52034e7bac68cd7f054bc Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Fri, 21 Nov 2025 15:43:52 +0100 Subject: [PATCH 41/52] fix select_evm() --- Cargo.lock | 14 ++--- Cargo.toml | 2 +- crates/forge/src/cmd/test/mod.rs | 7 ++- crates/forge/src/runner.rs | 11 +++- crates/forge/tests/it/revive/migration.rs | 10 ++++ crates/forge/tests/it/test_helpers.rs | 6 +- crates/revive-strategy/src/cheatcodes/mod.rs | 7 ++- crates/revive-strategy/src/tracing/mod.rs | 61 +++++++++++++++----- testdata/.gitignore | 3 +- testdata/default/revive/StoreExtra.t.sol | 48 +++++++++++++++ 10 files changed, 135 insertions(+), 34 deletions(-) create mode 100644 testdata/default/revive/StoreExtra.t.sol diff --git a/Cargo.lock b/Cargo.lock index 2d25744304121..e33837520f0cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3981,7 +3981,7 @@ checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" dependencies = [ "serde", "termcolor", - "unicode-width 0.1.14", + "unicode-width 0.2.0", ] [[package]] @@ -6759,7 +6759,7 @@ dependencies = [ [[package]] name = "foundry-compilers" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#479cf2b36f591d9489fd0cb5f5a3ba72c0ee6db0" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -6797,7 +6797,7 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#479cf2b36f591d9489fd0cb5f5a3ba72c0ee6db0" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" dependencies = [ "foundry-compilers-artifacts-resolc", "foundry-compilers-artifacts-solc", @@ -6807,7 +6807,7 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts-resolc" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#479cf2b36f591d9489fd0cb5f5a3ba72c0ee6db0" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -6827,7 +6827,7 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts-solc" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#479cf2b36f591d9489fd0cb5f5a3ba72c0ee6db0" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -6849,7 +6849,7 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts-vyper" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#479cf2b36f591d9489fd0cb5f5a3ba72c0ee6db0" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -6863,7 +6863,7 @@ dependencies = [ [[package]] name = "foundry-compilers-core" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#479cf2b36f591d9489fd0cb5f5a3ba72c0ee6db0" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" dependencies = [ "alloy-primitives", "cfg-if", diff --git a/Cargo.toml b/Cargo.toml index 35bca7410ddae..ea741b52871d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -406,7 +406,7 @@ solar-data-structures = { git = "https://github.com/paradigmxyz/solar", tag = "v # syn-solidity = { path = "../../alloy-rs/core/crates/syn-solidity" } ## alloy -foundry-compilers = { git = "https://github.com/paritytech/foundry-compilers-polkadot.git", branch = "main" } +foundry-compilers = { git = "https://github.com/paritytech/foundry-compilers-polkadot.git", branch = "pkhry/slots" } # alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "7fab7ee" } # alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "7fab7ee" } # alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "7fab7ee" } diff --git a/crates/forge/src/cmd/test/mod.rs b/crates/forge/src/cmd/test/mod.rs index 8a2c24b43c1a9..e30e726fb9083 100644 --- a/crates/forge/src/cmd/test/mod.rs +++ b/crates/forge/src/cmd/test/mod.rs @@ -24,7 +24,7 @@ use foundry_cli::{ use foundry_common::{TestFunctionExt, compile::ProjectCompiler, evm::EvmArgs, fs, shell}; use foundry_compilers::{ ProjectCompileOutput, - artifacts::output_selection::OutputSelection, + artifacts::output_selection::{ContractOutputSelection, OutputSelection}, compilers::{ Language, multi::{MultiCompiler, MultiCompilerLanguage}, @@ -304,7 +304,9 @@ impl TestArgs { // need to re-configure here to also catch additional remappings config = self.load_config()?; } - + if config.resolc.polkadot { + config.extra_output.push(ContractOutputSelection::StorageLayout); + } // Set up the project. let project = config.project()?; @@ -323,7 +325,6 @@ impl TestArgs { solc_config.resolc = Default::default(); solc_config.build_info_path = Some(solc_config.out.join("build-info")); let solc_project = solc_config.project()?; - let compiler = ProjectCompiler::new() .dynamic_test_linking(config.dynamic_test_linking) .quiet(shell::is_json() || self.junit) diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index 72d1b0afc3121..15d22fa1acc11 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -544,6 +544,8 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and unit test function call are discarded after /// test ends, similar to `eth_call`. fn run_unit_test(mut self, func: &Function) -> TestResult { + let binding = self.executor.clone().into_owned(); + self.executor = Cow::Owned(binding); // Prepare unit test execution. if self.prepare_test(func).is_err() { return self.result; @@ -596,7 +598,8 @@ impl<'a> FunctionRunner<'a> { /// - `bool[] public fixtureSwap = [true, false]` The `table_test` is then called with the pair /// of args `(2, true)` and `(5, false)`. fn run_table_test(mut self, func: &Function) -> TestResult { - // Prepare unit test execution. + let binding = self.executor.clone().into_owned(); + self.executor = Cow::Owned(binding); // Prepare unit test execution. if self.prepare_test(func).is_err() { return self.result; } @@ -727,9 +730,9 @@ impl<'a> FunctionRunner<'a> { test_bytecode: &Bytes, ) -> TestResult { let binding = self.executor.clone().into_owned(); - let executor = binding; + self.executor = Cow::Owned(binding); // First, run the test normally to see if it needs to be skipped. - if let Err(EvmError::Skip(reason)) = executor.call( + if let Err(EvmError::Skip(reason)) = self.executor.call( self.sender, self.address, func, @@ -952,6 +955,8 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and fuzz test are discarded after test ends, /// similar to `eth_call`. fn run_fuzz_test(mut self, func: &Function) -> TestResult { + let binding = self.executor.clone().into_owned(); + self.executor = Cow::Owned(binding); // Prepare fuzz test execution. if self.prepare_test(func).is_err() { return self.result; diff --git a/crates/forge/tests/it/revive/migration.rs b/crates/forge/tests/it/revive/migration.rs index bf2012e53fc45..bddf71e332b8a 100644 --- a/crates/forge/tests/it/revive/migration.rs +++ b/crates/forge/tests/it/revive/migration.rs @@ -98,3 +98,13 @@ async fn test_revive_callback_from_revive(#[case] runtime_mode: ReviveRuntimeMod let filter = Filter::new("testCallbackFromRevive", "EvmReviveMigrationTest", ".*/revive/.*"); TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; } + +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] +#[tokio::test(flavor = "multi_thread")] +async fn test_revive_storage_migration_extra(#[case] runtime_mode: ReviveRuntimeMode) { + let runner = TEST_DATA_REVIVE.runner_revive(runtime_mode); + let filter = Filter::new(".*", "StoreTestExtra", ".*/revive/.*"); + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} diff --git a/crates/forge/tests/it/test_helpers.rs b/crates/forge/tests/it/test_helpers.rs index fc1e2b329c057..1ea2eaad1fa3d 100644 --- a/crates/forge/tests/it/test_helpers.rs +++ b/crates/forge/tests/it/test_helpers.rs @@ -6,7 +6,7 @@ use forge::{MultiContractRunner, MultiContractRunnerBuilder, executors::Executor use foundry_cli::utils::install_crypto_provider; use foundry_compilers::{ Project, ProjectCompileOutput, SolcConfig, Vyper, - artifacts::{EvmVersion, Libraries, Settings}, + artifacts::{EvmVersion, Libraries, Settings, output_selection::ContractOutputSelection}, compilers::{multi::MultiCompiler, resolc::dual_compiled_contracts::DualCompiledContracts}, utils::RuntimeOrHandle, }; @@ -196,7 +196,9 @@ impl ForgeTestData { pub fn new_with_revive(profile: ForgeTestProfile) -> Self { install_crypto_provider(); init_tracing(); - let config = Arc::new(profile.config()); + let mut config = profile.config(); + config.extra_output.push(ContractOutputSelection::StorageLayout); + let config = Arc::new(config); let mut solc_config = (*config).clone(); solc_config.out = solc_config.out.join(revive::SOLC_ARTIFACTS_SUBDIR); diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 0346900389b3a..d09a9842f1d7d 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -1068,10 +1068,13 @@ fn post_exec( tracer: &mut Tracer, is_static_call: bool, ) { - let externalities = &mut get_context_ref_mut(state.strategy.context.as_mut()).externalities; + let ctx = &mut get_context_ref_mut(state.strategy.context.as_mut()); + + let externalities = &mut ctx.externalities; + let dual_compiled_contracts = &ctx.dual_compiled_contracts; let call_traces = externalities.execute_with(|| { - tracer.apply_prestate_trace(ecx); + tracer.apply_prestate_trace(ecx, &dual_compiled_contracts); tracer.collect_call_traces() }); if let Some(traces) = call_traces diff --git a/crates/revive-strategy/src/tracing/mod.rs b/crates/revive-strategy/src/tracing/mod.rs index db1d2760c1dd9..5b89cbbeee966 100644 --- a/crates/revive-strategy/src/tracing/mod.rs +++ b/crates/revive-strategy/src/tracing/mod.rs @@ -1,9 +1,12 @@ -use alloy_primitives::{Address, Bytes, U256 as RU256}; +use std::{collections::BTreeMap, str::FromStr}; + +use alloy_primitives::{Address, B256, Bytes, U256 as RU256}; use foundry_cheatcodes::Ecx; +use foundry_compilers::resolc::dual_compiled_contracts::DualCompiledContracts; use polkadot_sdk::pallet_revive::{ - Pallet, U256, Weight, + AccountInfo, Pallet, U256, Weight, evm::{ - CallTrace, CallTracer, PrestateTrace, PrestateTraceInfo, PrestateTracer, + Bytes as PBytes, CallTrace, CallTracer, PrestateTrace, PrestateTraceInfo, PrestateTracer, PrestateTracerConfig, Tracer as ReviveTracer, TracerType, }, tracing::{Tracing, trace as trace_revive}, @@ -59,21 +62,23 @@ impl Tracer { } /// Applies `PrestateTrace` diffs to the revm state - pub fn apply_prestate_trace(&mut self, ecx: Ecx<'_, '_, '_>) { + pub fn apply_prestate_trace( + &mut self, + ecx: Ecx<'_, '_, '_>, + dual_compiled_contracts: &DualCompiledContracts, + ) { let prestate_trace = self.collect_prestate_traces(); match prestate_trace { - polkadot_sdk::pallet_revive::evm::PrestateTrace::DiffMode { pre: _, post } => { - for (key, PrestateTraceInfo { balance, nonce, code, storage }) in post { + polkadot_sdk::pallet_revive::evm::PrestateTrace::DiffMode { pre: _digests, post } => { + for (key, PrestateTraceInfo { balance, nonce, code, mut storage }) in post { let address = Address::from_slice(key.as_bytes()); - let account = ecx - .journaled_state - .load_account(address) - .expect("account could not be loaded") - .data; + let is_create = ecx.journaled_state.state.get(&address).is_none(); - account.mark_touch(); + ecx.journaled_state.load_account(address).expect("account could not be loaded"); + ecx.journaled_state.touch(address); + let account = ecx.journaled_state.state.get_mut(&address).unwrap(); if let Some(balance) = balance { account.info.balance = RU256::from_limbs(balance.0); }; @@ -82,16 +87,42 @@ impl Tracer { account.info.nonce = nonce.into(); }; - if let Some(code) = code { + if is_create && let Some(ref code) = code { + let code = code.clone(); let account = ecx.journaled_state.state.get_mut(&address).expect("account is loaded"); let bytecode = Bytecode::new_raw(Bytes::from(code.0)); account.info.code_hash = bytecode.hash_slow(); account.info.code = Some(bytecode); } - ecx.journaled_state.load_account(address).expect("account could not be loaded"); + use alloy_primitives::hex; + let storage = if is_create + && let Some(info) = AccountInfo::::load_contract(&key) + && let hash = hex::encode(info.code_hash) + && let Some((_, info)) = dual_compiled_contracts + .find_by_resolc_bytecode_hash(hash.clone()) + .or_else(|| dual_compiled_contracts.find_by_evm_bytecode_hash(hash)) + { + let mut init_storage: BTreeMap> = info + .storage_slots + .iter() + .map(|slot| { + let slot_key = B256::from(RU256::from_str(&slot).unwrap()); + let slot = PBytes::from(slot_key.0.to_vec()); + ( + slot, + Pallet::::get_storage(key, slot_key.0) + .unwrap_or(None) + .map(|v| PBytes::from(v)), + ) + }) + .collect(); + init_storage.append(&mut storage); + init_storage + } else { + storage + }; - ecx.journaled_state.touch(address); for (slot, entry) in storage { let key = RU256::from_be_slice(&slot.0); let previous = ecx.journaled_state.sload(address, key).expect("to load"); diff --git a/testdata/.gitignore b/testdata/.gitignore index 344b0e650a16d..00a30a18b6966 100644 --- a/testdata/.gitignore +++ b/testdata/.gitignore @@ -2,4 +2,5 @@ cache/ out/ .lock -.lock_revive \ No newline at end of file +.lock_revive +.lock-revive \ No newline at end of file diff --git a/testdata/default/revive/StoreExtra.t.sol b/testdata/default/revive/StoreExtra.t.sol new file mode 100644 index 0000000000000..3d828350c5d4e --- /dev/null +++ b/testdata/default/revive/StoreExtra.t.sol @@ -0,0 +1,48 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +pragma solidity ^0.8.18; + +import "ds-test/test.sol"; +import "cheats/Vm.sol"; +import "../../default/logs/console.sol"; + + +contract Storage { + uint256 public slot0 = 10; + uint256 public slot1 = 20; + function setSlot0(uint256 value) public { + slot0 = value; + } + + function setSlot1(uint256 value) public { + slot1 = value; + } +} + +contract StoreTestExtra is DSTest { + Vm constant vm = Vm(HEVM_ADDRESS); + Storage store; + + function setUp() public { + vm.pvm(true); + store = new Storage(); + vm.makePersistent(address(store)); + } + + function testStoregeMigrationWorks() public { + assertEq(store.slot0(), 10, "initial value for slot 0 is incorrect"); + assertEq(store.slot1(), 20, "initial value for slot 1 is incorrect"); + vm.store(address(store), bytes32(0), bytes32(uint256(1))); + vm.pvm(false); + assertEq(store.slot0(), 1, "store failed"); + assertEq(store.slot1(), 20, "store failed"); + } + + function testStoregeMigration2Works() public { + assertEq(store.slot0(), 10, "initial value for slot 0 is incorrect"); + assertEq(store.slot1(), 20, "initial value for slot 1 is incorrect"); + store.setSlot0(1); + vm.pvm(false); + assertEq(store.slot0(), 1, "store failed"); + assertEq(store.slot1(), 20, "store failed"); + } + } \ No newline at end of file From 493e263078105e1a96abcb2df4097f42ce4d2656 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Fri, 21 Nov 2025 15:45:09 +0100 Subject: [PATCH 42/52] update compilers --- Cargo.lock | 30 +++++++++++++++--------------- Cargo.toml | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e33837520f0cd..93ca0b85435d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3981,7 +3981,7 @@ checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" dependencies = [ "serde", "termcolor", - "unicode-width 0.2.0", + "unicode-width 0.1.14", ] [[package]] @@ -4098,7 +4098,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" dependencies = [ "lazy_static", - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] @@ -6759,7 +6759,7 @@ dependencies = [ [[package]] name = "foundry-compilers" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#f8d40c64440240e08f3153f9be33473f9cbef102" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -6797,7 +6797,7 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#f8d40c64440240e08f3153f9be33473f9cbef102" dependencies = [ "foundry-compilers-artifacts-resolc", "foundry-compilers-artifacts-solc", @@ -6807,7 +6807,7 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts-resolc" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#f8d40c64440240e08f3153f9be33473f9cbef102" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -6827,7 +6827,7 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts-solc" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#f8d40c64440240e08f3153f9be33473f9cbef102" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -6849,7 +6849,7 @@ dependencies = [ [[package]] name = "foundry-compilers-artifacts-vyper" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#f8d40c64440240e08f3153f9be33473f9cbef102" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -6863,7 +6863,7 @@ dependencies = [ [[package]] name = "foundry-compilers-core" version = "0.18.2" -source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=pkhry%2Fslots#5e1463be54a7e6efeeb5c4e7d24af936001d6cdd" +source = "git+https://github.com/paritytech/foundry-compilers-polkadot.git?branch=main#f8d40c64440240e08f3153f9be33473f9cbef102" dependencies = [ "alloy-primitives", "cfg-if", @@ -9503,7 +9503,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667" dependencies = [ "cfg-if", - "windows-targets 0.53.2", + "windows-targets 0.48.5", ] [[package]] @@ -11201,7 +11201,7 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 1.1.3", "proc-macro2", "quote", "syn 2.0.104", @@ -15055,7 +15055,7 @@ version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be769465445e8c1474e9c5dac2018218498557af32d9ed057325ec9a41ae81bf" dependencies = [ - "heck 0.5.0", + "heck 0.4.1", "itertools 0.14.0", "log", "multimap", @@ -18730,7 +18730,7 @@ dependencies = [ "solar-config", "solar-data-structures", "solar-macros", - "thiserror 2.0.12", + "thiserror 1.0.69", "tracing", "unicode-width 0.2.0", ] @@ -20575,7 +20575,7 @@ dependencies = [ "serde_json", "sha2 0.10.9", "tempfile", - "thiserror 2.0.12", + "thiserror 1.0.69", "url", "zip", ] @@ -21393,7 +21393,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "319c70195101a93f56db4c74733e272d720768e13471f400c78406a326b172b0" dependencies = [ "cc", - "windows-targets 0.52.6", + "windows-targets 0.48.5", ] [[package]] @@ -22742,7 +22742,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index ea741b52871d1..35bca7410ddae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -406,7 +406,7 @@ solar-data-structures = { git = "https://github.com/paradigmxyz/solar", tag = "v # syn-solidity = { path = "../../alloy-rs/core/crates/syn-solidity" } ## alloy -foundry-compilers = { git = "https://github.com/paritytech/foundry-compilers-polkadot.git", branch = "pkhry/slots" } +foundry-compilers = { git = "https://github.com/paritytech/foundry-compilers-polkadot.git", branch = "main" } # alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "7fab7ee" } # alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "7fab7ee" } # alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "7fab7ee" } From d7eaf3b88a77c48d66fa7b4b29aabc3bfdeead68 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Fri, 21 Nov 2025 17:18:50 +0100 Subject: [PATCH 43/52] ci checks --- crates/revive-strategy/src/cheatcodes/mod.rs | 2 +- crates/revive-strategy/src/tracing/mod.rs | 6 +++--- testdata/default/revive/StoreExtra.t.sol | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index d09a9842f1d7d..b904bba101255 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -1074,7 +1074,7 @@ fn post_exec( let dual_compiled_contracts = &ctx.dual_compiled_contracts; let call_traces = externalities.execute_with(|| { - tracer.apply_prestate_trace(ecx, &dual_compiled_contracts); + tracer.apply_prestate_trace(ecx, dual_compiled_contracts); tracer.collect_call_traces() }); if let Some(traces) = call_traces diff --git a/crates/revive-strategy/src/tracing/mod.rs b/crates/revive-strategy/src/tracing/mod.rs index 5b89cbbeee966..03d08f7821e6c 100644 --- a/crates/revive-strategy/src/tracing/mod.rs +++ b/crates/revive-strategy/src/tracing/mod.rs @@ -73,7 +73,7 @@ impl Tracer { for (key, PrestateTraceInfo { balance, nonce, code, mut storage }) in post { let address = Address::from_slice(key.as_bytes()); - let is_create = ecx.journaled_state.state.get(&address).is_none(); + let is_create = !ecx.journaled_state.state.contains_key(&address); ecx.journaled_state.load_account(address).expect("account could not be loaded"); @@ -107,13 +107,13 @@ impl Tracer { .storage_slots .iter() .map(|slot| { - let slot_key = B256::from(RU256::from_str(&slot).unwrap()); + let slot_key = B256::from(RU256::from_str(slot).unwrap()); let slot = PBytes::from(slot_key.0.to_vec()); ( slot, Pallet::::get_storage(key, slot_key.0) .unwrap_or(None) - .map(|v| PBytes::from(v)), + .map(PBytes::from), ) }) .collect(); diff --git a/testdata/default/revive/StoreExtra.t.sol b/testdata/default/revive/StoreExtra.t.sol index 3d828350c5d4e..6c719c83f9430 100644 --- a/testdata/default/revive/StoreExtra.t.sol +++ b/testdata/default/revive/StoreExtra.t.sol @@ -5,14 +5,14 @@ import "ds-test/test.sol"; import "cheats/Vm.sol"; import "../../default/logs/console.sol"; - contract Storage { uint256 public slot0 = 10; uint256 public slot1 = 20; + function setSlot0(uint256 value) public { slot0 = value; } - + function setSlot1(uint256 value) public { slot1 = value; } @@ -45,4 +45,4 @@ contract StoreTestExtra is DSTest { assertEq(store.slot0(), 1, "store failed"); assertEq(store.slot1(), 20, "store failed"); } - } \ No newline at end of file +} From cb04fdfa6a3aa85cf0cc5f3c3b5d4c4664563c3c Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Mon, 24 Nov 2025 14:23:11 +0100 Subject: [PATCH 44/52] clippy --- crates/forge/tests/cli/blobtoolarge.rs | 5 ++--- crates/revive-strategy/src/cheatcodes/mod.rs | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/crates/forge/tests/cli/blobtoolarge.rs b/crates/forge/tests/cli/blobtoolarge.rs index d97c8a0b93918..4a83f5b1ff1c5 100644 --- a/crates/forge/tests/cli/blobtoolarge.rs +++ b/crates/forge/tests/cli/blobtoolarge.rs @@ -69,10 +69,9 @@ contract BloatTest is DSTest, ICallback {{ assertEq(c.lastValue(), 500); }} -{} +{bloat_functions} }} - "#, - bloat_functions + "# ); prj.add_source("BloatTest.t.sol", &test_contract).unwrap(); diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index a7143096f9d90..ed98afc9ace3f 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -543,12 +543,12 @@ fn select_revive(ctx: &mut PvmCheatcodeInspectorStrategyContext, data: Ecx<'_, ' // Collect all immutable bytes from their scattered offsets immutable_refs - .values().map(|offsets| offsets.first()).flatten() + .values().filter_map(|offsets| offsets.first()) .flat_map(|offset| { let start = offset.start as usize; let end = start + offset.length as usize; evm_bytecode.get(start..end).unwrap_or_else(|| panic!("Immutable offset out of bounds: address={:?}, offset={}..{}, bytecode_len={}", - address, start, end, evm_bytecode.len())).into_iter().rev() + address, start, end, evm_bytecode.len())).iter().rev() }) .copied() .collect::>() From 62205eb84ab0b754137c967274953e3d24716747 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Mon, 24 Nov 2025 14:55:08 +0100 Subject: [PATCH 45/52] fixup merge --- crates/revive-strategy/src/cheatcodes/mod.rs | 25 ++++---------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index ed98afc9ace3f..887d42721c107 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -499,11 +499,11 @@ fn select_revive(ctx: &mut PvmCheatcodeInspectorStrategyContext, data: Ecx<'_, ' let timestamp = data.block.timestamp; ctx.externalities.execute_with(||{ - // Enable debug mode to bypass EIP-170 size checks during testing - if data.cfg.limit_contract_code_size == Some(usize::MAX) { - let debug_settings = DebugSettings::new(true); - debug_settings.write_to_storage::(); - } + // Enable debug mode to bypass EIP-170 size checks during testing + if data.cfg.limit_contract_code_size == Some(usize::MAX) { + let debug_settings = DebugSettings::new(true); + debug_settings.write_to_storage::(); + } System::set_block_number(block_number.saturating_to()); Timestamp::set_timestamp(timestamp.saturating_to::() * 1000); ::ChainId::set( @@ -826,14 +826,6 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector _ => None, }; - // If limits are set to max, enable debug mode to bypass them in revive - if ecx.cfg.limit_contract_code_size == Some(usize::MAX) - || ecx.cfg.limit_contract_initcode_size == Some(usize::MAX) - { - let debug_settings = DebugSettings::new(true); - debug_settings.write_to_storage::(); - } - Pallet::::bare_instantiate( origin, evm_value, @@ -967,13 +959,6 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector mock_handler: Some(Box::new(mock_handler.clone())), is_dry_run: None, }; - // If limits are set to max, enable debug mode to bypass them in revive - if ecx.cfg.limit_contract_code_size == Some(usize::MAX) - || ecx.cfg.limit_contract_initcode_size == Some(usize::MAX) - { - let debug_settings = DebugSettings::new(true); - debug_settings.write_to_storage::(); - } Pallet::::bare_call( origin, target, From b153c118ea946b121fa3e546187aae55adaca511 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Mon, 24 Nov 2025 17:22:03 +0100 Subject: [PATCH 46/52] revert removal of call_end --- crates/cheatcodes/src/inspector.rs | 4 ++ crates/cheatcodes/src/strategy.rs | 3 + crates/revive-strategy/src/cheatcodes/mod.rs | 62 ++++++++++++++++++++ 3 files changed, 69 insertions(+) diff --git a/crates/cheatcodes/src/inspector.rs b/crates/cheatcodes/src/inspector.rs index 3d55d29922e8e..68c5ac41d5a09 100644 --- a/crates/cheatcodes/src/inspector.rs +++ b/crates/cheatcodes/src/inspector.rs @@ -1817,6 +1817,10 @@ impl Inspector> for Cheatcodes { outcome.result.output = Error::encode(msg); } } + + if outcome.result.is_ok() { + self.strategy.runner.revive_call_end(self, ecx, call); + } } fn create(&mut self, ecx: Ecx, mut input: &mut CreateInputs) -> Option { diff --git a/crates/cheatcodes/src/strategy.rs b/crates/cheatcodes/src/strategy.rs index ed7c04133fb24..69275c3a7cc0c 100644 --- a/crates/cheatcodes/src/strategy.rs +++ b/crates/cheatcodes/src/strategy.rs @@ -262,6 +262,9 @@ pub trait CheatcodeInspectorStrategyExt { None } + // Needed to sync from test contract callbacks + fn revive_call_end(&self, _state: &mut crate::Cheatcodes, _ecx: Ecx, _call: &CallInputs) {} + // Remove duplicate accesses in storage_recorder fn revive_remove_duplicate_account_access(&self, _state: &mut crate::Cheatcodes) {} } diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index 887d42721c107..b8e8a4e6d8082 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -1050,6 +1050,28 @@ impl foundry_cheatcodes::CheatcodeInspectorStrategyExt for PvmCheatcodeInspector } } } + fn revive_call_end( + &self, + state: &mut foundry_cheatcodes::Cheatcodes, + ecx: Ecx<'_, '_, '_>, + call: &CallInputs, + ) { + let mut ctx = get_context_ref_mut(state.strategy.context.as_mut()); + + // Skip storage sync if: in PVM mode AND no test contract + if ctx.using_pvm + && ecx + .journaled_state + .database + .get_test_contract_address() + .map(|addr| call.bytecode_address != addr && call.target_address != addr) + .unwrap_or(true) + { + return; + } + + apply_revm_storage_diff(&mut ctx, ecx, call.target_address); + } } fn post_exec( @@ -1150,3 +1172,43 @@ fn get_context_ref_mut( ) -> &mut PvmCheatcodeInspectorStrategyContext { ctx.as_any_mut().downcast_mut().expect("expected PvmCheatcodeInspectorStrategyContext") } + +fn apply_revm_storage_diff( + ctx: &mut PvmCheatcodeInspectorStrategyContext, + ecx: Ecx<'_, '_, '_>, + address: Address, +) { + let Some(account_state) = ecx.journaled_state.state.get(&address) else { + return; + }; + + let h160_address = H160::from_slice(address.as_slice()); + + // Check if contract exists in pallet-revive before applying storage diffs + let contract_exists = ctx + .externalities + .execute_with(|| AccountInfo::::load_contract(&h160_address).is_some()); + + if !contract_exists { + return; + } + + ctx.externalities.execute_with(|| { + for (slot, storage_slot) in &account_state.storage { + if storage_slot.is_changed() { + let slot_bytes = slot.to_be_bytes::<32>(); + let new_value = storage_slot.present_value; + + if !new_value.is_zero() { + let _ = Pallet::::set_storage( + h160_address, + slot_bytes, + Some(new_value.to_be_bytes::<32>().to_vec()), + ); + } else { + let _ = Pallet::::set_storage(h160_address, slot_bytes, None); + } + } + } + }); +} From ce46d9a689330c2d5370d2545443122fcef44368 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Fri, 21 Nov 2025 20:21:09 +0100 Subject: [PATCH 47/52] snapshotting cheats --- crates/forge/src/runner.rs | 14 +- .../forge/tests/it/revive/cheat_snapshot.rs | 16 ++ crates/forge/tests/it/revive/mod.rs | 1 + crates/revive-strategy/src/cheatcodes/mod.rs | 20 +- crates/revive-strategy/src/executor/runner.rs | 7 +- crates/revive-strategy/src/state.rs | 61 +++++-- testdata/default/revive/Snapshot.t.sol | 172 ++++++++++++++++++ 7 files changed, 266 insertions(+), 25 deletions(-) create mode 100644 crates/forge/tests/it/revive/cheat_snapshot.rs create mode 100644 testdata/default/revive/Snapshot.t.sol diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index 15d22fa1acc11..47cb18ee7530f 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -544,13 +544,17 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and unit test function call are discarded after /// test ends, similar to `eth_call`. fn run_unit_test(mut self, func: &Function) -> TestResult { - let binding = self.executor.clone().into_owned(); + let binding = self.executor.into_owned(); self.executor = Cow::Owned(binding); + self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); // Prepare unit test execution. if self.prepare_test(func).is_err() { + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } - self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); // Run current unit test. let (mut raw_call_result, reason) = match self.executor.call( @@ -598,7 +602,7 @@ impl<'a> FunctionRunner<'a> { /// - `bool[] public fixtureSwap = [true, false]` The `table_test` is then called with the pair /// of args `(2, true)` and `(5, false)`. fn run_table_test(mut self, func: &Function) -> TestResult { - let binding = self.executor.clone().into_owned(); + let binding = self.executor.into_owned(); self.executor = Cow::Owned(binding); // Prepare unit test execution. if self.prepare_test(func).is_err() { return self.result; @@ -729,7 +733,7 @@ impl<'a> FunctionRunner<'a> { identified_contracts: &ContractsByAddress, test_bytecode: &Bytes, ) -> TestResult { - let binding = self.executor.clone().into_owned(); + let binding = self.executor.into_owned(); self.executor = Cow::Owned(binding); // First, run the test normally to see if it needs to be skipped. if let Err(EvmError::Skip(reason)) = self.executor.call( @@ -955,7 +959,7 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and fuzz test are discarded after test ends, /// similar to `eth_call`. fn run_fuzz_test(mut self, func: &Function) -> TestResult { - let binding = self.executor.clone().into_owned(); + let binding = self.executor.into_owned(); self.executor = Cow::Owned(binding); // Prepare fuzz test execution. if self.prepare_test(func).is_err() { diff --git a/crates/forge/tests/it/revive/cheat_snapshot.rs b/crates/forge/tests/it/revive/cheat_snapshot.rs new file mode 100644 index 0000000000000..36b04cabc91f3 --- /dev/null +++ b/crates/forge/tests/it/revive/cheat_snapshot.rs @@ -0,0 +1,16 @@ +use crate::{config::*, test_helpers::TEST_DATA_REVIVE}; +use foundry_test_utils::Filter; +use revive_strategy::ReviveRuntimeMode; +use revm::primitives::hardfork::SpecId; +use rstest::rstest; + +#[rstest] +#[case::pvm(ReviveRuntimeMode::Pvm)] +#[case::evm(ReviveRuntimeMode::Evm)] +#[tokio::test(flavor = "multi_thread")] +async fn test_snapshot_cheats(#[case] runtime_mode: ReviveRuntimeMode) { + let runner: forge::MultiContractRunner = TEST_DATA_REVIVE.runner_revive(runtime_mode); + let filter = Filter::new(".*", "StateSnapshotTest", ".*/revive/.*"); + + TestConfig::with_filter(runner, filter).spec_id(SpecId::PRAGUE).run().await; +} diff --git a/crates/forge/tests/it/revive/mod.rs b/crates/forge/tests/it/revive/mod.rs index 2d929b8d534d8..5d794a1001d8f 100644 --- a/crates/forge/tests/it/revive/mod.rs +++ b/crates/forge/tests/it/revive/mod.rs @@ -6,6 +6,7 @@ pub mod cheat_mock_call; pub mod cheat_mock_calls; pub mod cheat_mock_functions; pub mod cheat_prank; +mod cheat_snapshot; pub mod cheat_store; pub mod migration; pub mod tx_gas_price; diff --git a/crates/revive-strategy/src/cheatcodes/mod.rs b/crates/revive-strategy/src/cheatcodes/mod.rs index b8e8a4e6d8082..a9259bc823418 100644 --- a/crates/revive-strategy/src/cheatcodes/mod.rs +++ b/crates/revive-strategy/src/cheatcodes/mod.rs @@ -9,7 +9,8 @@ use foundry_cheatcodes::{ CommonCreateInput, Ecx, EvmCheatcodeInspectorStrategyRunner, Result, Vm::{ chainIdCall, dealCall, etchCall, getNonce_0Call, loadCall, pvmCall, resetNonceCall, - rollCall, setNonceCall, setNonceUnsafeCall, storeCall, warpCall, + revertToStateAndDeleteCall, revertToStateCall, rollCall, setNonceCall, setNonceUnsafeCall, + snapshotStateCall, storeCall, warpCall, }, journaled_account, precompile_error, }; @@ -318,6 +319,23 @@ impl CheatcodeInspectorStrategyRunner for PvmCheatcodeInspectorStrategyRunner { cheatcode.dyn_apply(ccx, executor) } + t if using_pvm && is::(t) => { + ctx.externalities.start_snapshotting(); + cheatcode.dyn_apply(ccx, executor) + } + t if using_pvm && is::(t) => { + let &revertToStateAndDeleteCall { snapshotId } = + cheatcode.as_any().downcast_ref().unwrap(); + + ctx.externalities.revert(snapshotId.try_into().unwrap()); + cheatcode.dyn_apply(ccx, executor) + } + t if using_pvm && is::(t) => { + let &revertToStateCall { snapshotId } = cheatcode.as_any().downcast_ref().unwrap(); + + ctx.externalities.revert(snapshotId.try_into().unwrap()); + cheatcode.dyn_apply(ccx, executor) + } t if using_pvm && is::(t) => { let &warpCall { newTimestamp } = cheatcode.as_any().downcast_ref().unwrap(); diff --git a/crates/revive-strategy/src/executor/runner.rs b/crates/revive-strategy/src/executor/runner.rs index 4d86635c3f83e..5af13e255886e 100644 --- a/crates/revive-strategy/src/executor/runner.rs +++ b/crates/revive-strategy/src/executor/runner.rs @@ -157,12 +157,13 @@ impl ExecutorStrategyExt for ReviveExecutorStrategyRunner { fn start_transaction(&self, ctx: &dyn ExecutorStrategyContext) { let ctx = get_context_ref(ctx); let mut externalities = ctx.externalties.0.lock().unwrap(); - externalities.ext().storage_start_transaction(); + externalities.externalities.ext().storage_start_transaction(); } fn rollback_transaction(&self, ctx: &dyn ExecutorStrategyContext) { let ctx = get_context_ref(ctx); - let mut externalities = ctx.externalties.0.lock().unwrap(); - externalities.ext().storage_rollback_transaction().unwrap(); + let mut state = ctx.externalties.0.lock().unwrap(); + state.depth = 0; + while let Ok(_) = state.externalities.ext().storage_rollback_transaction() {} } } diff --git a/crates/revive-strategy/src/state.rs b/crates/revive-strategy/src/state.rs index 5566b2ce03f40..82e67a67ca101 100644 --- a/crates/revive-strategy/src/state.rs +++ b/crates/revive-strategy/src/state.rs @@ -1,5 +1,6 @@ use alloy_primitives::{Address, Bytes, FixedBytes, U256}; use foundry_cheatcodes::{Ecx, Error, Result}; +use polkadot_sdk::sp_externalities::Externalities; use polkadot_sdk::{ pallet_revive::{ self, AccountInfo, AddressMapper, BalanceOf, BytecodeType, ContractInfo, ExecConfig, @@ -8,20 +9,29 @@ use polkadot_sdk::{ sp_core::{self, H160}, sp_io::TestExternalities, }; + use revive_env::{AccountId, ExtBuilder, Runtime, System, Timestamp}; use std::{ fmt::Debug, sync::{Arc, Mutex}, }; -pub struct TestEnv(pub Arc>); -impl Default for TestEnv { +pub(crate) struct Inner { + pub externalities: TestExternalities, + pub depth: usize, +} + +#[derive(Default)] +pub struct TestEnv(pub(crate) Arc>); + +impl Default for Inner { fn default() -> Self { - Self(Arc::new(Mutex::new( - ExtBuilder::default() + Self { + externalities: ExtBuilder::default() .balance_genesis_config(vec![(H160::from_low_u64_be(1), 1000)]) .build(), - ))) + depth: 0, + } } } @@ -33,9 +43,9 @@ impl Debug for TestEnv { impl Clone for TestEnv { fn clone(&self) -> Self { - let mut externalities = ExtBuilder::default().build(); - externalities.backend = self.0.lock().unwrap().as_backend(); - Self(Arc::new(Mutex::new(externalities))) + let mut inner: Inner = Default::default(); + inner.externalities.backend = self.0.lock().unwrap().externalities.as_backend(); + Self(Arc::new(Mutex::new(inner))) } } @@ -44,12 +54,28 @@ impl TestEnv { Self(self.0.clone()) } + pub fn start_snapshotting(&mut self) { + let mut state = self.0.lock().unwrap(); + state.depth += 1; + state.externalities.ext().storage_start_transaction(); + } + + pub fn revert(&mut self, depth: usize) { + let mut state = self.0.lock().unwrap(); + while state.depth > depth + 1 { + state.externalities.ext().storage_rollback_transaction().unwrap(); + state.depth -= 1; + } + state.externalities.ext().storage_rollback_transaction().unwrap(); + state.externalities.ext().storage_start_transaction(); + } + pub fn execute_with R>(&mut self, f: F) -> R { - self.0.lock().unwrap().execute_with(f) + self.0.lock().unwrap().externalities.execute_with(f) } pub fn get_nonce(&mut self, account: Address) -> u32 { - self.0.lock().unwrap().execute_with(|| { + self.0.lock().unwrap().externalities.execute_with(|| { System::account_nonce(AccountId::to_fallback_account_id(&H160::from_slice( account.as_slice(), ))) @@ -57,7 +83,7 @@ impl TestEnv { } pub fn set_nonce(&mut self, address: Address, nonce: u64) { - self.0.lock().unwrap().execute_with(|| { + self.0.lock().unwrap().externalities.execute_with(|| { let account_id = AccountId::to_fallback_account_id(&H160::from_slice(address.as_slice())); @@ -69,7 +95,7 @@ impl TestEnv { pub fn set_chain_id(&mut self, new_chain_id: u64) { // Set chain id in pallet-revive runtime. - self.0.lock().unwrap().execute_with(|| { + self.0.lock().unwrap().externalities.execute_with(|| { ::ChainId::set( &new_chain_id, ); @@ -78,14 +104,14 @@ impl TestEnv { pub fn set_block_number(&mut self, new_height: U256) { // Set block number in pallet-revive runtime. - self.0.lock().unwrap().execute_with(|| { + self.0.lock().unwrap().externalities.execute_with(|| { System::set_block_number(new_height.try_into().expect("Block number exceeds u64")); }); } pub fn set_timestamp(&mut self, new_timestamp: U256) { // Set timestamp in pallet-revive runtime (milliseconds). - self.0.lock().unwrap().execute_with(|| { + self.0.lock().unwrap().externalities.execute_with(|| { let timestamp_ms = new_timestamp.saturating_to::().saturating_mul(1000); Timestamp::set_timestamp(timestamp_ms); }); @@ -97,7 +123,7 @@ impl TestEnv { new_runtime_code: &Bytes, ecx: Ecx<'_, '_, '_>, ) -> Result { - self.0.lock().unwrap().execute_with(|| { + self.0.lock().unwrap().externalities.execute_with(|| { let origin_address = H160::from_slice(ecx.tx.caller.as_slice()); let origin_account = AccountId::to_fallback_account_id(&origin_address); @@ -153,6 +179,7 @@ impl TestEnv { self.0 .lock() .unwrap() + .externalities .execute_with(|| { pallet_revive::Pallet::::get_storage(target_address_h160, slot.into()) }) @@ -169,6 +196,7 @@ impl TestEnv { self.0 .lock() .unwrap() + .externalities .execute_with(|| { pallet_revive::Pallet::::set_storage( target_address_h160, @@ -184,7 +212,7 @@ impl TestEnv { let amount_pvm = sp_core::U256::from_little_endian(&amount.as_le_bytes()).min(u128::MAX.into()); - self.0.lock().unwrap().execute_with(|| { + self.0.lock().unwrap().externalities.execute_with(|| { let h160_addr = H160::from_slice(address.as_slice()); pallet_revive::Pallet::::set_evm_balance(&h160_addr, amount_pvm) .expect("failed to set evm balance"); @@ -195,6 +223,7 @@ impl TestEnv { self.0 .lock() .unwrap() + .externalities .execute_with(|| { let h160_addr = H160::from_slice(address.as_slice()); pallet_revive::Pallet::::evm_balance(&h160_addr) diff --git a/testdata/default/revive/Snapshot.t.sol b/testdata/default/revive/Snapshot.t.sol new file mode 100644 index 0000000000000..7760abeb82040 --- /dev/null +++ b/testdata/default/revive/Snapshot.t.sol @@ -0,0 +1,172 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +pragma solidity ^0.8.18; + +import "ds-test/test.sol"; +import "cheats/Vm.sol"; + +contract Storage { + uint256 public slot0; + uint256 public slot1; + + function setSlots(uint256 a, uint256 b) public { + slot0 = a; + slot1 = b; + } + + function blockNumber() public returns (uint256) { + return block.number; + } + + function blockTimestamp() public returns (uint256) { + return block.timestamp; + } +} + +contract Proxy { + address target; + + constructor(address _data) payable { + target = _data; + } + + function proxyCall(uint256 _data, uint256 data) public { + (bool success,) = address(target).call(abi.encodeWithSelector(Storage.setSlots.selector, _data, data)); + if (!success) { + assert(false); + } + } +} + +contract StateSnapshotTest is DSTest { + Vm constant vm = Vm(HEVM_ADDRESS); + + Storage store; + + function setUp() public { + store = new Storage(); + store.setSlots(10, 20); + } + + function testStateSnapshot() public { + uint256 snapshotId = vm.snapshotState(); + store.setSlots(300, 400); + + assertEq(store.slot0(), 300); + assertEq(store.slot1(), 400); + + vm.revertToState(snapshotId); + assertEq(store.slot0(), 10, "snapshot revert for slot 0 unsuccessful"); + assertEq(store.slot1(), 20, "snapshot revert for slot 1 unsuccessful"); + } + + function testStateSnapshot2() public { + uint256 snapshotId = vm.snapshotState(); + store.setSlots(300, 400); + + assertEq(store.slot0(), 300); + assertEq(store.slot1(), 400); + + uint256 snapshotId2 = vm.snapshotState(); + store.setSlots(500, 600); + + assertEq(store.slot0(), 500); + assertEq(store.slot1(), 600); + + uint256 snapshotId3 = vm.snapshotState(); + store.setSlots(700, 800); + + assertEq(store.slot0(), 700); + assertEq(store.slot1(), 800); + + uint256 snapshotId4 = vm.snapshotState(); + store.setSlots(800, 900); + + assertEq(store.slot0(), 800); + assertEq(store.slot1(), 900); + + vm.revertToState(snapshotId4); + assertEq(store.slot0(), 700, "snapshot revert for slot 0 unsuccessful"); + assertEq(store.slot1(), 800, "snapshot revert for slot 1 unsuccessful"); + + vm.revertToState(snapshotId3); + assertEq(store.slot0(), 500, "snapshot revert for slot 0 unsuccessful"); + assertEq(store.slot1(), 600, "snapshot revert for slot 1 unsuccessful"); + + vm.revertToState(snapshotId2); + assertEq(store.slot0(), 300, "snapshot revert for slot 0 unsuccessful"); + assertEq(store.slot1(), 400, "snapshot revert for slot 1 unsuccessful"); + + vm.revertToState(snapshotId); + assertEq(store.slot0(), 10, "snapshot revert for slot 0 unsuccessful"); + assertEq(store.slot1(), 20, "snapshot revert for slot 1 unsuccessful"); + } + + function testStateSnapshotRevertDelete() public { + uint256 snapshotId = vm.snapshotState(); + store.setSlots(300, 400); + + assertEq(store.slot0(), 300); + assertEq(store.slot1(), 400); + + vm.revertToStateAndDelete(snapshotId); + assertEq(store.slot0(), 10, "snapshot revert for slot 0 unsuccessful"); + assertEq(store.slot1(), 20, "snapshot revert for slot 1 unsuccessful"); + // nothing to revert to anymore + assert(!vm.revertToState(snapshotId)); + } + + function testStateSnapshotDelete() public { + uint256 snapshotId = vm.snapshotState(); + store.setSlots(300, 400); + vm.deleteStateSnapshot(snapshotId); + // nothing to revert to anymore + assert(!vm.revertToState(snapshotId)); + } + + function testStateSnapshotDeleteAll() public { + uint256 snapshotId = vm.snapshotState(); + store.setSlots(300, 400); + vm.deleteStateSnapshots(); + // nothing to revert to anymore + assert(!vm.revertToState(snapshotId)); + } + + // + function testStateSnapshotsMany() public { + uint256 snapshotId; + for (uint256 c = 0; c < 10; c++) { + for (uint256 cc = 0; cc < 10; cc++) { + snapshotId = vm.snapshotState(); + vm.revertToStateAndDelete(snapshotId); + assert(!vm.revertToState(snapshotId)); + } + } + } + + // tests that snapshots can also revert changes to `block` + function testBlockValues() public { + uint256 num = store.blockNumber(); + uint256 time = store.blockTimestamp(); + + uint256 snapshotId = vm.snapshotState(); + Storage store2 = new Storage(); + store2.setSlots(300, 400); + + assertEq(store2.slot0(), 300); + assertEq(store2.slot1(), 400); + + vm.warp(1337); + assertEq(store.blockTimestamp(), 1337); + + vm.roll(99); + assertEq(store.blockNumber(), 99); + + assert(vm.revertToState(snapshotId)); + + assertEq(store.blockNumber(), num, "snapshot revert for block.number unsuccessful"); + assertEq(store.blockTimestamp(), time, "snapshot revert for block.timestamp unsuccessful"); + Proxy p = new Proxy(address(store2)); + vm.expectRevert(); + p.proxyCall(1, 1); + } +} From bb6f46849a6ca7d8a398a02145c230baa45a91ea Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Fri, 21 Nov 2025 20:37:38 +0100 Subject: [PATCH 48/52] refactor transactions --- crates/forge/src/runner.rs | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index 47cb18ee7530f..97bb8a12ba6c0 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -514,6 +514,8 @@ impl<'a> FunctionRunner<'a> { call_after_invariant: bool, identified_contracts: Option<&ContractsByAddress>, ) -> TestResult { + self.executor.strategy.runner.rollback_transaction(self.executor.strategy.context.as_ref()); + self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); if let Err(e) = self.apply_function_inline_config(func) { self.result.single_fail(Some(e.to_string())); return self.result; @@ -544,15 +546,8 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and unit test function call are discarded after /// test ends, similar to `eth_call`. fn run_unit_test(mut self, func: &Function) -> TestResult { - let binding = self.executor.into_owned(); - self.executor = Cow::Owned(binding); - self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); // Prepare unit test execution. if self.prepare_test(func).is_err() { - self.executor - .strategy - .runner - .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } @@ -569,22 +564,14 @@ impl<'a> FunctionRunner<'a> { Err(EvmError::Execution(err)) => (err.raw, Some(err.reason)), Err(EvmError::Skip(reason)) => { self.result.single_skip(reason); - self.executor - .strategy - .runner - .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } Err(err) => { self.result.single_fail(Some(err.to_string())); - self.executor - .strategy - .runner - .rollback_transaction(self.executor.strategy.context.as_ref()); + return self.result; } }; - self.executor.strategy.runner.rollback_transaction(self.executor.strategy.context.as_ref()); let success = self.executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); @@ -602,8 +589,6 @@ impl<'a> FunctionRunner<'a> { /// - `bool[] public fixtureSwap = [true, false]` The `table_test` is then called with the pair /// of args `(2, true)` and `(5, false)`. fn run_table_test(mut self, func: &Function) -> TestResult { - let binding = self.executor.into_owned(); - self.executor = Cow::Owned(binding); // Prepare unit test execution. if self.prepare_test(func).is_err() { return self.result; } @@ -733,8 +718,6 @@ impl<'a> FunctionRunner<'a> { identified_contracts: &ContractsByAddress, test_bytecode: &Bytes, ) -> TestResult { - let binding = self.executor.into_owned(); - self.executor = Cow::Owned(binding); // First, run the test normally to see if it needs to be skipped. if let Err(EvmError::Skip(reason)) = self.executor.call( self.sender, @@ -959,8 +942,6 @@ impl<'a> FunctionRunner<'a> { /// State modifications of before test txes and fuzz test are discarded after test ends, /// similar to `eth_call`. fn run_fuzz_test(mut self, func: &Function) -> TestResult { - let binding = self.executor.into_owned(); - self.executor = Cow::Owned(binding); // Prepare fuzz test execution. if self.prepare_test(func).is_err() { return self.result; From 70e30d98417c7687948650eeefab6656950de460 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Fri, 21 Nov 2025 22:13:01 +0100 Subject: [PATCH 49/52] clippy --- crates/revive-strategy/src/executor/runner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/revive-strategy/src/executor/runner.rs b/crates/revive-strategy/src/executor/runner.rs index 5af13e255886e..7746237766b9f 100644 --- a/crates/revive-strategy/src/executor/runner.rs +++ b/crates/revive-strategy/src/executor/runner.rs @@ -164,6 +164,6 @@ impl ExecutorStrategyExt for ReviveExecutorStrategyRunner { let ctx = get_context_ref(ctx); let mut state = ctx.externalties.0.lock().unwrap(); state.depth = 0; - while let Ok(_) = state.externalities.ext().storage_rollback_transaction() {} + while state.externalities.ext().storage_rollback_transaction().is_ok() {} } } From f872f78358868f65ff1a266daa032a552f6ae6a9 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Tue, 25 Nov 2025 16:41:18 +0100 Subject: [PATCH 50/52] fmt --- crates/revive-strategy/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/revive-strategy/src/state.rs b/crates/revive-strategy/src/state.rs index f634039a2c2f9..d754b9397c501 100644 --- a/crates/revive-strategy/src/state.rs +++ b/crates/revive-strategy/src/state.rs @@ -1,12 +1,12 @@ use alloy_primitives::{Address, Bytes, FixedBytes, U256}; use foundry_cheatcodes::{Ecx, Error, Result}; -use polkadot_sdk::sp_externalities::Externalities; use polkadot_sdk::{ pallet_revive::{ self, AccountInfo, AddressMapper, BalanceOf, BytecodeType, ContractInfo, ExecConfig, Executable, Pallet, }, sp_core::{self, H160}, + sp_externalities::Externalities, sp_io::TestExternalities, }; use revive_env::{AccountId, ExtBuilder, Runtime, System, Timestamp}; From 002f2c8799cf4959172f3af03b90be83c0971070 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Mon, 1 Dec 2025 13:38:07 +0100 Subject: [PATCH 51/52] fixup tests --- crates/forge/src/runner.rs | 16 ++++++++++++++-- crates/revive-strategy/src/executor/runner.rs | 7 +------ 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/crates/forge/src/runner.rs b/crates/forge/src/runner.rs index 5583b54da6a6e..4c749136f3bcf 100644 --- a/crates/forge/src/runner.rs +++ b/crates/forge/src/runner.rs @@ -514,8 +514,6 @@ impl<'a> FunctionRunner<'a> { call_after_invariant: bool, identified_contracts: Option<&ContractsByAddress>, ) -> TestResult { - self.executor.strategy.runner.rollback_transaction(self.executor.strategy.context.as_ref()); - self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); if let Err(e) = self.apply_function_inline_config(func) { self.result.single_fail(Some(e.to_string())); return self.result; @@ -547,7 +545,12 @@ impl<'a> FunctionRunner<'a> { /// test ends, similar to `eth_call`. fn run_unit_test(mut self, func: &Function) -> TestResult { // Prepare unit test execution. + self.executor.strategy.runner.start_transaction(self.executor.strategy.context.as_ref()); if self.prepare_test(func).is_err() { + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } @@ -564,10 +567,18 @@ impl<'a> FunctionRunner<'a> { Err(EvmError::Execution(err)) => (err.raw, Some(err.reason)), Err(EvmError::Skip(reason)) => { self.result.single_skip(reason); + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } Err(err) => { self.result.single_fail(Some(err.to_string())); + self.executor + .strategy + .runner + .rollback_transaction(self.executor.strategy.context.as_ref()); return self.result; } }; @@ -575,6 +586,7 @@ impl<'a> FunctionRunner<'a> { let success = self.executor.is_raw_call_mut_success(self.address, &mut raw_call_result, false); self.result.single_result(success, reason, raw_call_result); + self.executor.strategy.runner.rollback_transaction(self.executor.strategy.context.as_ref()); self.result } diff --git a/crates/revive-strategy/src/executor/runner.rs b/crates/revive-strategy/src/executor/runner.rs index 01eef55f3042f..ce6c0cdee0331 100644 --- a/crates/revive-strategy/src/executor/runner.rs +++ b/crates/revive-strategy/src/executor/runner.rs @@ -163,11 +163,6 @@ impl ExecutorStrategyExt for ReviveExecutorStrategyRunner { fn rollback_transaction(&self, ctx: &dyn ExecutorStrategyContext) { let ctx = get_context_ref(ctx); let mut state = ctx.externalties.0.lock().unwrap(); - if state.depth == 0 { - let _ = state.externalities.ext().storage_rollback_transaction(); - } else { - state.depth = 0; - while state.externalities.ext().storage_rollback_transaction().is_ok() {} - } + let _ = state.externalities.ext().storage_rollback_transaction(); } } From fb0c5a527369038d7feea06a251cf1cd9ff7bc92 Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Mon, 1 Dec 2025 15:17:38 +0100 Subject: [PATCH 52/52] rm accidental change --- testdata/default/revive/Snapshot.t.sol | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/testdata/default/revive/Snapshot.t.sol b/testdata/default/revive/Snapshot.t.sol index 7760abeb82040..4e3928967a9eb 100644 --- a/testdata/default/revive/Snapshot.t.sol +++ b/testdata/default/revive/Snapshot.t.sol @@ -22,21 +22,6 @@ contract Storage { } } -contract Proxy { - address target; - - constructor(address _data) payable { - target = _data; - } - - function proxyCall(uint256 _data, uint256 data) public { - (bool success,) = address(target).call(abi.encodeWithSelector(Storage.setSlots.selector, _data, data)); - if (!success) { - assert(false); - } - } -} - contract StateSnapshotTest is DSTest { Vm constant vm = Vm(HEVM_ADDRESS); @@ -165,8 +150,5 @@ contract StateSnapshotTest is DSTest { assertEq(store.blockNumber(), num, "snapshot revert for block.number unsuccessful"); assertEq(store.blockTimestamp(), time, "snapshot revert for block.timestamp unsuccessful"); - Proxy p = new Proxy(address(store2)); - vm.expectRevert(); - p.proxyCall(1, 1); } }