diff --git a/Cargo.lock b/Cargo.lock index 24f5c85524c..48b7197e0a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -758,7 +758,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "finality-grandpa", "frame-support", @@ -774,7 +774,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bp-runtime", "frame-support", @@ -786,7 +786,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bitvec 0.20.4", "bp-runtime", @@ -802,7 +802,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bp-messages", "bp-runtime", @@ -820,7 +820,7 @@ dependencies = [ [[package]] name = "bp-rialto" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bp-messages", "bp-runtime", @@ -835,7 +835,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -852,7 +852,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "frame-support", "hash-db", @@ -870,7 +870,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -885,7 +885,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -900,7 +900,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -1533,7 +1533,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "sc-cli", "sc-service", @@ -1543,7 +1543,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1566,7 +1566,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "async-trait", "dyn-clone", @@ -1586,7 +1586,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1610,7 +1610,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "derive_more", "futures 0.3.17", @@ -1633,7 +1633,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-primitives-core", "futures 0.3.17", @@ -1656,7 +1656,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-client-collator", "cumulus-client-consensus-common", @@ -1685,7 +1685,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1703,7 +1703,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -1732,7 +1732,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -1743,7 +1743,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1760,7 +1760,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1778,7 +1778,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "frame-support", "impl-trait-for-tuples 0.2.1", @@ -1795,7 +1795,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1817,7 +1817,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -1828,7 +1828,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1845,7 +1845,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3865,7 +3865,7 @@ dependencies = [ [[package]] name = "kusama-runtime" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -4856,7 +4856,7 @@ dependencies = [ [[package]] name = "metered-channel" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "derive_more", "futures 0.3.17", @@ -5813,7 +5813,7 @@ dependencies = [ [[package]] name = "nimbus-consensus" version = "0.1.0" -source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.12#94e54bda47592b86cd5f8f11320068b4a1dd244f" +source = "git+https://github.com/purestake/nimbus?branch=gorka-try-new-reanchor#02bd555eb545cab8dfb2fed6eb7da9e87e241f7e" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -5844,7 +5844,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.1.0" -source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.12#94e54bda47592b86cd5f8f11320068b4a1dd244f" +source = "git+https://github.com/purestake/nimbus?branch=gorka-try-new-reanchor#02bd555eb545cab8dfb2fed6eb7da9e87e241f7e" dependencies = [ "async-trait", "frame-support", @@ -6106,7 +6106,7 @@ dependencies = [ [[package]] name = "orml-traits" version = "0.4.1-dev" -source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.12#679f1939e7a8a8ce770400a182e91dc43084d69a" +source = "git+https://github.com/purestake/open-runtime-module-library?branch=gorka-try-new-reanchor#6348da082068964c75018d9291c77c4a2c8ba58f" dependencies = [ "frame-support", "impl-trait-for-tuples 0.2.1", @@ -6124,7 +6124,7 @@ dependencies = [ [[package]] name = "orml-utilities" version = "0.4.1-dev" -source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.12#679f1939e7a8a8ce770400a182e91dc43084d69a" +source = "git+https://github.com/purestake/open-runtime-module-library?branch=gorka-try-new-reanchor#6348da082068964c75018d9291c77c4a2c8ba58f" dependencies = [ "frame-support", "parity-scale-codec", @@ -6138,7 +6138,7 @@ dependencies = [ [[package]] name = "orml-xcm-support" version = "0.4.1-dev" -source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.12#679f1939e7a8a8ce770400a182e91dc43084d69a" +source = "git+https://github.com/purestake/open-runtime-module-library?branch=gorka-try-new-reanchor#6348da082068964c75018d9291c77c4a2c8ba58f" dependencies = [ "frame-support", "orml-traits", @@ -6152,7 +6152,7 @@ dependencies = [ [[package]] name = "orml-xtokens" version = "0.4.1-dev" -source = "git+https://github.com/purestake/open-runtime-module-library?branch=moonbeam-polkadot-v0.9.12#679f1939e7a8a8ce770400a182e91dc43084d69a" +source = "git+https://github.com/purestake/open-runtime-module-library?branch=gorka-try-new-reanchor#6348da082068964c75018d9291c77c4a2c8ba58f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -6214,7 +6214,7 @@ dependencies = [ [[package]] name = "pallet-author-inherent" version = "0.1.0" -source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.12#94e54bda47592b86cd5f8f11320068b4a1dd244f" +source = "git+https://github.com/purestake/nimbus?branch=gorka-try-new-reanchor#02bd555eb545cab8dfb2fed6eb7da9e87e241f7e" dependencies = [ "frame-support", "frame-system", @@ -6252,7 +6252,7 @@ dependencies = [ [[package]] name = "pallet-author-slot-filter" version = "0.1.0" -source = "git+https://github.com/purestake/nimbus?branch=moonbeam-polkadot-v0.9.12#94e54bda47592b86cd5f8f11320068b4a1dd244f" +source = "git+https://github.com/purestake/nimbus?branch=gorka-try-new-reanchor#02bd555eb545cab8dfb2fed6eb7da9e87e241f7e" dependencies = [ "frame-support", "frame-system", @@ -6412,7 +6412,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -6429,7 +6429,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bp-header-chain", "bp-runtime", @@ -6451,7 +6451,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bitvec 0.20.4", "bp-message-dispatch", @@ -6490,7 +6490,7 @@ dependencies = [ [[package]] name = "pallet-crowdloan-rewards" version = "0.6.0" -source = "git+https://github.com/purestake/crowdloan-rewards?branch=moonbeam-polkadot-v0.9.12#8e4625df25ebd7ce914fc5c0e82b256663d78572" +source = "git+https://github.com/purestake/crowdloan-rewards?branch=gorka-try-new-reanchor#6d6bc7ec437c18e1c21446680fc7e155a20b898b" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -7304,7 +7304,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "frame-support", "frame-system", @@ -7322,7 +7322,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/purestake/cumulus?branch=moonbeam-polkadot-v0.9.12#ea2b71e0f6030abdb5dfc67bb53af111d336b6f2" +source = "git+https://github.com/purestake/cumulus?branch=gorka-try-new-reanchor#51962c346818d6438a2b80075c473e24ab850663" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -7835,7 +7835,7 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" [[package]] name = "polkadot-approval-distribution" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "polkadot-node-network-protocol", @@ -7849,7 +7849,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "polkadot-node-network-protocol", @@ -7862,7 +7862,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "derive_more", "futures 0.3.17", @@ -7884,7 +7884,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "lru 0.7.0", @@ -7904,7 +7904,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "frame-benchmarking-cli", "futures 0.3.17", @@ -7924,7 +7924,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -7957,7 +7957,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "always-assert", "derive_more", @@ -7978,7 +7978,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -7991,7 +7991,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "derive_more", "futures 0.3.17", @@ -8013,7 +8013,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8027,7 +8027,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8047,7 +8047,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "async-trait", "futures 0.3.17", @@ -8066,7 +8066,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "parity-scale-codec", @@ -8084,7 +8084,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bitvec 0.20.4", "derive_more", @@ -8112,7 +8112,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bitvec 0.20.4", "futures 0.3.17", @@ -8132,7 +8132,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bitvec 0.20.4", "futures 0.3.17", @@ -8150,7 +8150,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "polkadot-node-subsystem", @@ -8165,7 +8165,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "async-trait", "futures 0.3.17", @@ -8183,7 +8183,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "polkadot-node-subsystem", @@ -8198,7 +8198,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8215,7 +8215,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bitvec 0.20.4", "derive_more", @@ -8234,7 +8234,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-participation" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "polkadot-node-primitives", @@ -8247,7 +8247,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "async-trait", "futures 0.3.17", @@ -8264,7 +8264,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bitvec 0.20.4", "futures 0.3.17", @@ -8279,7 +8279,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "always-assert", "assert_matches", @@ -8310,7 +8310,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "memory-lru", @@ -8328,7 +8328,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "async-std", "lazy_static", @@ -8346,7 +8346,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8357,7 +8357,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "async-trait", "derive_more", @@ -8375,7 +8375,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bounded-vec", "futures 0.3.17", @@ -8397,7 +8397,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -8407,7 +8407,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "derive_more", "futures 0.3.17", @@ -8426,7 +8426,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "async-trait", "derive_more", @@ -8453,7 +8453,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8474,7 +8474,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "async-trait", "futures 0.3.17", @@ -8491,7 +8491,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8502,7 +8502,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "derive_more", "frame-support", @@ -8519,7 +8519,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bitvec 0.20.4", "frame-system", @@ -8549,7 +8549,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -8580,7 +8580,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -8652,7 +8652,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -8697,7 +8697,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "bitflags", "bitvec 0.20.4", @@ -8735,7 +8735,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "async-trait", "beefy-gadget", @@ -8833,7 +8833,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "arrayvec 0.5.2", "derive_more", @@ -8854,7 +8854,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9707,7 +9707,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "beefy-primitives", "bp-messages", @@ -11225,7 +11225,7 @@ dependencies = [ [[package]] name = "slot-range-helper" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "enumn", "parity-scale-codec", @@ -13411,7 +13411,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -13584,7 +13584,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "derivative", "impl-trait-for-tuples 0.2.1", @@ -13597,7 +13597,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "frame-support", "frame-system", @@ -13617,7 +13617,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "frame-support", "impl-trait-for-tuples 0.2.1", @@ -13653,7 +13653,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "proc-macro2", "quote", @@ -13663,7 +13663,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "0.9.12" -source = "git+https://github.com/purestake/polkadot?branch=moonbeam-polkadot-v0.9.12#415ce0db8dd603903476a2361f23641a5dd0af47" +source = "git+https://github.com/purestake/polkadot?branch=gorka-try-new-reanchor#9cb2b93939d47c0ece414395e889007256dc61a5" dependencies = [ "frame-support", "parity-scale-codec", diff --git a/node/Cargo.toml b/node/Cargo.toml index 2140ebabcd8..466810f4d11 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -26,8 +26,8 @@ serde_json = "1.0" tempfile = "3.2.0" # Benchmarking -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } [features] default = [ "moonbase-native", "moonbeam-native", "moonriver-native" ] diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index efd883969ac..dda567288f3 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -25,16 +25,16 @@ sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbea try-runtime-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", optional = true } # Cumulus / Nimbus -cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12" } +cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor" } # Polkadot -polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -polkadot-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -polkadot-service = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } +polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +polkadot-primitives = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +polkadot-service = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } [build-dependencies] substrate-build-script-utils = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } diff --git a/node/perf-test/Cargo.toml b/node/perf-test/Cargo.toml index 8d020d859ae..6e98fb51949 100644 --- a/node/perf-test/Cargo.toml +++ b/node/perf-test/Cargo.toml @@ -61,5 +61,5 @@ fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-pol pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12" } # Cumulus / Nimbus -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor" } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index e4ed8da6448..6c30f07284d 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -94,24 +94,24 @@ fp-rpc = { git = "https://github.com/purestake/frontier", branch = "moonbeam-pol pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12" } # Cumulus / Nimbus -cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -cumulus-client-collator = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -cumulus-client-network = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } -nimbus-consensus = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12" } +cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +cumulus-client-collator = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +cumulus-client-network = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } +nimbus-consensus = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor" } # TODO we should be able to depend only on the primitives crate once we move the inherent data provider there. -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12" } -pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12" } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor" } +pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor" } # Polkadot -polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -polkadot-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -polkadot-service = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } +polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +polkadot-primitives = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +polkadot-service = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } # Benchmarking frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } @@ -123,7 +123,7 @@ nix = "0.17" rand = "0.7.3" # Polkadot dev-dependencies -polkadot-runtime-common = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } +polkadot-runtime-common = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } # Substrate dev-dependencies pallet-sudo = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } diff --git a/pallets/asset-manager/Cargo.toml b/pallets/asset-manager/Cargo.toml index 7a6714a440a..e2b248b3cd8 100644 --- a/pallets/asset-manager/Cargo.toml +++ b/pallets/asset-manager/Cargo.toml @@ -20,7 +20,7 @@ sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbea sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Polkadot -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } # Benchmarks frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", optional = true, default-features = false } diff --git a/pallets/author-mapping/Cargo.toml b/pallets/author-mapping/Cargo.toml index 234e91cff17..9fd04af2d01 100644 --- a/pallets/author-mapping/Cargo.toml +++ b/pallets/author-mapping/Cargo.toml @@ -19,7 +19,7 @@ sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbea sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Nimbus -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } [dev-dependencies] pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } diff --git a/pallets/maintenance-mode/Cargo.toml b/pallets/maintenance-mode/Cargo.toml index 3b79992be85..2c793ff16d3 100644 --- a/pallets/maintenance-mode/Cargo.toml +++ b/pallets/maintenance-mode/Cargo.toml @@ -16,7 +16,7 @@ scale-info = { version = "1.0", default-features = false, features = [ "derive" sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", optional = true, default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", optional = true, default-features = false } [dev-dependencies] sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } diff --git a/pallets/parachain-staking/Cargo.toml b/pallets/parachain-staking/Cargo.toml index cff5216e28d..c274f350ffb 100644 --- a/pallets/parachain-staking/Cargo.toml +++ b/pallets/parachain-staking/Cargo.toml @@ -20,7 +20,7 @@ sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-po substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", default-features = false } # Nimbus -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } [dev-dependencies] similar-asserts = "1.1.0" diff --git a/pallets/xcm-transactor/Cargo.toml b/pallets/xcm-transactor/Cargo.toml index 5bf417f46b7..5066ce2ef53 100644 --- a/pallets/xcm-transactor/Cargo.toml +++ b/pallets/xcm-transactor/Cargo.toml @@ -20,19 +20,19 @@ sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbea sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } # Polkadot / XCM -orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -polkadot-runtime-common = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +orml-traits = { git = "https://github.com/purestake/open-runtime-module-library", branch = "gorka-try-new-reanchor", default-features = false } +polkadot-runtime-common = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } [dev-dependencies] pallet-balances = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } pallet-timestamp = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } parity-scale-codec = { version = "2.1.1" } sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } diff --git a/pallets/xcm-transactor/src/lib.rs b/pallets/xcm-transactor/src/lib.rs index 94f2bb380a1..2274d1d037b 100644 --- a/pallets/xcm-transactor/src/lib.rs +++ b/pallets/xcm-transactor/src/lib.rs @@ -505,10 +505,9 @@ pub mod pallet { at: &MultiLocation, weight: u64, ) -> Result, DispatchError> { - let inv_at = T::LocationInverter::invert_location(at) - .map_err(|()| Error::::DestinationNotInvertible)?; + let ancestry = T::LocationInverter::ancestry(); let fees = asset - .reanchored(&inv_at) + .reanchored(&at, &ancestry) .map_err(|_| Error::::CannotReanchor)?; Ok(BuyExecution { @@ -522,10 +521,9 @@ pub mod pallet { asset: MultiAsset, at: &MultiLocation, ) -> Result, DispatchError> { - let inv_at = T::LocationInverter::invert_location(at) - .map_err(|()| Error::::DestinationNotInvertible)?; + let ancestry = T::LocationInverter::ancestry(); let fees = asset - .reanchored(&inv_at) + .reanchored(&at, &ancestry) .map_err(|_| Error::::CannotReanchor)?; Ok(WithdrawAsset(fees.into())) diff --git a/precompiles/crowdloan-rewards/Cargo.toml b/precompiles/crowdloan-rewards/Cargo.toml index e8af2385fac..6e5230b2327 100644 --- a/precompiles/crowdloan-rewards/Cargo.toml +++ b/precompiles/crowdloan-rewards/Cargo.toml @@ -17,7 +17,7 @@ precompile-utils = { path = "../utils", default-features = false } fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12", default-features = false } frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } frame-system = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "gorka-try-new-reanchor", default-features = false } pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12", default-features = false } sp-core = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } @@ -37,10 +37,10 @@ sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-pol sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } # Cumulus -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } [features] default = [ "std" ] diff --git a/precompiles/relay-encoder/Cargo.toml b/precompiles/relay-encoder/Cargo.toml index 7eba851e36e..65f061333eb 100644 --- a/precompiles/relay-encoder/Cargo.toml +++ b/precompiles/relay-encoder/Cargo.toml @@ -28,7 +28,7 @@ fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-pol pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -43,7 +43,7 @@ scale-info = { version = "1.0", default-features = false, features = [ "derive" sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Cumulus -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } [features] default = [ "std" ] diff --git a/precompiles/utils/Cargo.toml b/precompiles/utils/Cargo.toml index 86dee78ae67..3ac559e470d 100644 --- a/precompiles/utils/Cargo.toml +++ b/precompiles/utils/Cargo.toml @@ -26,7 +26,7 @@ fp-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-pol pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Polkadot / XCM -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } [dev-dependencies] hex-literal = "0.3.1" diff --git a/precompiles/xcm_transactor/Cargo.toml b/precompiles/xcm_transactor/Cargo.toml index fbcfbc4ce38..e1ba1d81c85 100644 --- a/precompiles/xcm_transactor/Cargo.toml +++ b/precompiles/xcm_transactor/Cargo.toml @@ -27,7 +27,7 @@ evm = { version = "0.30.1", default-features = false, features = [ "with-codec" pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Polkadot -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -45,12 +45,12 @@ scale-info = { version = "1.0", default-features = false, features = [ "derive" sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } # Polkadot -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } [features] default = [ "std" ] diff --git a/precompiles/xtokens/Cargo.toml b/precompiles/xtokens/Cargo.toml index 1435032c683..e1179685c61 100644 --- a/precompiles/xtokens/Cargo.toml +++ b/precompiles/xtokens/Cargo.toml @@ -26,8 +26,8 @@ frame-system = { git = "https://github.com/purestake/substrate", branch = "moonb pallet-evm = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Polkadot / XCM -orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "gorka-try-new-reanchor", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } [dev-dependencies] derive_more = "0.99" @@ -42,12 +42,12 @@ scale-info = { version = "1.0", features = [ "derive" ] } sp-io = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12" } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor" } # Polkadot -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } [features] default = [ "std" ] diff --git a/primitives/xcm/Cargo.toml b/primitives/xcm/Cargo.toml index 1aeb3710a2f..9e4328d1acf 100644 --- a/primitives/xcm/Cargo.toml +++ b/primitives/xcm/Cargo.toml @@ -22,9 +22,9 @@ sha3 = { version = "0.8", default-features = false } sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } [features] default = [ "std" ] diff --git a/runtime/moonbase/Cargo.toml b/runtime/moonbase/Cargo.toml index b00c2a135ae..6880e3867bf 100644 --- a/runtime/moonbase/Cargo.toml +++ b/runtime/moonbase/Cargo.toml @@ -25,7 +25,7 @@ xcm-primitives = { path = "../../primitives/xcm/", default-features = false } # Moonbeam pallets pallet-asset-manager = { path = "../../pallets/asset-manager", default-features = false } pallet-author-mapping = { path = "../../pallets/author-mapping", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "gorka-try-new-reanchor", default-features = false } pallet-ethereum-chain-id = { path = "../../pallets/ethereum-chain-id", default-features = false } pallet-maintenance-mode = { path = "../../pallets/maintenance-mode", default-features = false, features = [ "xcm-support" ] } pallet-migrations = { path = "../../pallets/migrations", default-features = false } @@ -97,26 +97,26 @@ pallet-evm-precompile-sha3fips = { git = "https://github.com/purestake/frontier" pallet-evm-precompile-simple = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Cumulus / Nimbus -cumulus-pallet-dmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -parachain-info = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } +pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } +parachain-info = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } # Polkadot / XCM -orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -polkadot-core-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +orml-xtokens = { git = "https://github.com/purestake/open-runtime-module-library", branch = "gorka-try-new-reanchor", default-features = false } +pallet-xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +polkadot-core-primitives = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +polkadot-parachain = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +xcm = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +xcm-builder = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } +xcm-executor = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor", default-features = false } # Benchmarking frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", optional = true, default-features = false } @@ -128,11 +128,11 @@ hex = "0.4" rlp = "0.5" sha3 = "0.9" -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } -polkadot-runtime-parachains = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -xcm-simulator = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } +polkadot-runtime-parachains = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +xcm-simulator = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } diff --git a/runtime/moonbase/src/lib.rs b/runtime/moonbase/src/lib.rs index 4448263043f..e19914e5843 100644 --- a/runtime/moonbase/src/lib.rs +++ b/runtime/moonbase/src/lib.rs @@ -944,9 +944,8 @@ parameter_types! { // This is used to match it against our Balances pallet when we receive such a MultiLocation // (Parent, Self Para Id, Self Balances pallet index) pub SelfReserve: MultiLocation = MultiLocation { - parents:1, - interior: Junctions::X2( - Parachain(ParachainInfo::parachain_id().into()), + parents:0, + interior: Junctions::X1( PalletInstance(::PalletInfo::index::().unwrap() as u8) ) }; diff --git a/runtime/moonbase/tests/xcm_mock/mod.rs b/runtime/moonbase/tests/xcm_mock/mod.rs index 81cac622988..386a06ac38c 100644 --- a/runtime/moonbase/tests/xcm_mock/mod.rs +++ b/runtime/moonbase/tests/xcm_mock/mod.rs @@ -16,7 +16,7 @@ pub mod parachain; pub mod relay_chain; - +pub mod statemine_like; use cumulus_primitives_core::ParaId; use polkadot_parachain::primitives::AccountIdConversion; use sp_runtime::AccountId32; @@ -55,6 +55,15 @@ decl_test_parachain! { } } +decl_test_parachain! { + pub struct Statemine { + Runtime = statemine_like::Runtime, + XcmpMessageHandler = statemine_like::MsgQueue, + DmpMessageHandler = statemine_like::MsgQueue, + new_ext = statemine_ext(4), + } +} + decl_test_relay_chain! { pub struct Relay { Runtime = relay_chain::Runtime, @@ -70,6 +79,8 @@ decl_test_network! { (1, ParaA), (2, ParaB), (3, ParaC), + (4, Statemine), + ], } } @@ -96,6 +107,26 @@ pub fn para_ext(para_id: u32) -> sp_io::TestExternalities { }); ext } +pub fn statemine_ext(para_id: u32) -> sp_io::TestExternalities { + use statemine_like::{MsgQueue, Runtime, System}; + + let mut t = frame_system::GenesisConfig::default() + .build_storage::() + .unwrap(); + + pallet_balances::GenesisConfig:: { + balances: vec![(RELAYALICE.into(), INITIAL_BALANCE)], + } + .assimilate_storage(&mut t) + .unwrap(); + + let mut ext = sp_io::TestExternalities::new(t); + ext.execute_with(|| { + System::set_block_number(1); + MsgQueue::set_para_id(para_id.into()); + }); + ext +} pub fn relay_ext() -> sp_io::TestExternalities { use relay_chain::{Runtime, System}; @@ -116,11 +147,16 @@ pub fn relay_ext() -> sp_io::TestExternalities { } pub type RelayChainPalletXcm = pallet_xcm::Pallet; +pub type StatemineChainPalletXcm = pallet_xcm::Pallet; + pub type ParachainPalletXcm = pallet_xcm::Pallet; pub type Assets = pallet_assets::Pallet; +pub type StatemineAssets = pallet_assets::Pallet; pub type Treasury = pallet_treasury::Pallet; pub type AssetManager = pallet_asset_manager::Pallet; pub type XTokens = orml_xtokens::Pallet; pub type RelayBalances = pallet_balances::Pallet; pub type ParaBalances = pallet_balances::Pallet; +pub type StatemintBalances = pallet_balances::Pallet; + pub type XcmTransactor = xcm_transactor::Pallet; diff --git a/runtime/moonbase/tests/xcm_mock/parachain.rs b/runtime/moonbase/tests/xcm_mock/parachain.rs index 86d485323e7..eee6d8f07f5 100644 --- a/runtime/moonbase/tests/xcm_mock/parachain.rs +++ b/runtime/moonbase/tests/xcm_mock/parachain.rs @@ -253,9 +253,8 @@ parameter_types! { pub RelayChainOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into(); pub Ancestry: MultiLocation = Parachain(MsgQueue::parachain_id().into()).into(); pub SelfReserve: MultiLocation = MultiLocation { - parents:1, - interior: Junctions::X2( - Parachain(MsgQueue::parachain_id().into()), + parents:0, + interior: Junctions::X1( PalletInstance(::PalletInfo::index::().unwrap() as u8) ) }; @@ -428,6 +427,9 @@ pub mod mock_msg_queue { let hash = Encode::using_encoded(&xcm, T::Hashing::hash); let (result, event) = match Xcm::::try_from(xcm) { Ok(xcm) => { + println!("Message is {:?}", xcm); + println!("Para Id is {:?}", ParachainId::::get()); + let location = MultiLocation::new(1, Junctions::X1(Parachain(sender.into()))); match T::XcmExecutor::execute_xcm(location, xcm, max_weight) { Outcome::Error(e) => (Err(e.clone()), Event::Fail(Some(hash), e)), @@ -442,6 +444,8 @@ pub mod mock_msg_queue { Event::BadVersion(Some(hash)), ), }; + println!("event is {:?}", event); + Self::deposit_event(event); result } @@ -479,6 +483,7 @@ pub mod mock_msg_queue { let id = sp_io::hashing::blake2_256(&data[..]); let maybe_msg = VersionedXcm::::decode(&mut &data[..]).map(Xcm::::try_from); + println!("Message is {:?}", maybe_msg); match maybe_msg { Err(_) => { Self::deposit_event(Event::InvalidFormat(id)); diff --git a/runtime/moonbase/tests/xcm_mock/statemine_like.rs b/runtime/moonbase/tests/xcm_mock/statemine_like.rs new file mode 100644 index 00000000000..ee5177967db --- /dev/null +++ b/runtime/moonbase/tests/xcm_mock/statemine_like.rs @@ -0,0 +1,511 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Relay chain runtime mock. + +use frame_support::{ + construct_runtime, match_type, parameter_types, + traits::{Everything, Nothing}, + weights::Weight, +}; +use frame_system::EnsureRoot; + +use sp_core::H256; +use sp_runtime::{ + testing::Header, + traits::{Hash, IdentityLookup}, + AccountId32, +}; + +use polkadot_core_primitives::BlockNumber as RelayBlockNumber; + +use polkadot_parachain::primitives::Id as ParaId; +use polkadot_parachain::primitives::Sibling; +use polkadot_runtime_parachains::{configuration, origin, shared, ump}; +use sp_std::convert::TryFrom; +use xcm::latest::prelude::*; +use xcm::VersionedXcm; +use xcm_builder::{ + AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, + AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, AsPrefixedGeneralIndex, + ChildParachainAsNative, ChildParachainConvertsVia, ChildSystemParachainAsSuperuser, + ConvertedConcreteAssetId, CurrencyAdapter as XcmCurrencyAdapter, CurrencyAdapter, + EnsureXcmOrigin, FixedRateOfFungible, FixedWeightBounds, FungiblesAdapter, IsConcrete, + LocationInverter, ParentAsSuperuser, ParentIsDefault, RelayChainAsNative, + SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, + SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, +}; +use xcm_executor::{traits::JustTry, Config, XcmExecutor}; +use xcm_simulator::{ + DmpMessageHandlerT as DmpMessageHandler, XcmpMessageFormat, + XcmpMessageHandlerT as XcmpMessageHandler, +}; +pub type AccountId = AccountId32; +pub type Balance = u128; +pub type AssetId = u128; + +parameter_types! { + pub const BlockHashCount: u64 = 250; +} + +impl frame_system::Config for Runtime { + type Origin = Origin; + type Call = Call; + type Index = u64; + type BlockNumber = u64; + type Hash = H256; + type Hashing = ::sp_runtime::traits::BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; + type Header = Header; + type Event = Event; + type BlockHashCount = BlockHashCount; + type BlockWeights = (); + type BlockLength = (); + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = pallet_balances::AccountData; + type OnNewAccount = (); + type OnKilledAccount = (); + type DbWeight = (); + type BaseCallFilter = Everything; + type SystemWeightInfo = (); + type SS58Prefix = (); + type OnSetCode = (); +} + +parameter_types! { + pub ExistentialDeposit: Balance = 1; + pub const MaxLocks: u32 = 50; + pub const MaxReserves: u32 = 50; +} + +impl pallet_balances::Config for Runtime { + type MaxLocks = MaxLocks; + type Balance = Balance; + type Event = Event; + type DustRemoval = (); + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = (); + type MaxReserves = MaxReserves; + type ReserveIdentifier = [u8; 8]; +} + +parameter_types! { + pub const AssetDeposit: Balance = 0; // 1 UNIT deposit to create asset + pub const ApprovalDeposit: Balance = 0; + pub const AssetsStringLimit: u32 = 50; + /// Key = 32 bytes, Value = 36 bytes (32+1+1+1+1) + // https://github.com/paritytech/substrate/blob/069917b/frame/assets/src/lib.rs#L257L271 + pub const MetadataDepositBase: Balance = 0; + pub const MetadataDepositPerByte: Balance = 0; + pub const ExecutiveBody: BodyId = BodyId::Executive; +} + +impl pallet_assets::Config for Runtime { + type Event = Event; + type Balance = Balance; + type AssetId = AssetId; + type Currency = Balances; + type ForceOrigin = EnsureRoot; + type AssetDeposit = AssetDeposit; + type MetadataDepositBase = MetadataDepositBase; + type MetadataDepositPerByte = MetadataDepositPerByte; + type ApprovalDeposit = ApprovalDeposit; + type StringLimit = AssetsStringLimit; + type Freezer = (); + type Extra = (); + type WeightInfo = (); +} + +parameter_types! { + pub const KsmLocation: MultiLocation = MultiLocation::parent(); + pub const RelayNetwork: NetworkId = NetworkId::Kusama; + pub RelayChainOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into(); + pub Ancestry: MultiLocation = Parachain(MsgQueue::parachain_id().into()).into(); + pub const Local: MultiLocation = Here.into(); + pub CheckingAccount: AccountId = PolkadotXcm::check_account(); + pub KsmPerSecond: (xcm::latest::prelude::AssetId, u128) = (Concrete(KsmLocation::get()), 1); +} + +/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used +/// when determining ownership of accounts for asset transacting and when attempting to use XCM +/// `Transact` in order to determine the dispatch Origin. +pub type LocationToAccountId = ( + // The parent (Relay-chain) origin converts to the default `AccountId`. + ParentIsDefault, + // Sibling parachain origins convert to AccountId via the `ParaId::into`. + SiblingParachainConvertsVia, + // Straight up local `AccountId32` origins just alias directly to `AccountId`. + AccountId32Aliases, +); + +/// Means for transacting the native currency on this chain. +pub type CurrencyTransactor = CurrencyAdapter< + // Use this currency: + Balances, + // Use this currency when it is a fungible asset matching the given location or name: + IsConcrete, + // Convert an XCM MultiLocation into a local account id: + LocationToAccountId, + // Our chain's account ID type (we can't get away without mentioning it explicitly): + AccountId, + // We don't track any teleports of `Balances`. + (), +>; + +/// Means for transacting assets besides the native currency on this chain. +pub type FungiblesTransactor = FungiblesAdapter< + // Use this fungibles implementation: + Assets, + // Use this currency when it is a fungible asset matching the given location or name: + ConvertedConcreteAssetId< + AssetId, + Balance, + AsPrefixedGeneralIndex, + JustTry, + >, + // Convert an XCM MultiLocation into a local account id: + LocationToAccountId, + // Our chain's account ID type (we can't get away without mentioning it explicitly): + AccountId, + // We only want to allow teleports of known assets. We use non-zero issuance as an indication + // that this asset is known. + Nothing, + // The account to use for tracking teleports. + CheckingAccount, +>; +/// Means for transacting assets on this chain. +pub type AssetTransactors = (CurrencyTransactor, FungiblesTransactor); + +/// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance, +/// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can +/// biases the kind of local `Origin` it will become. +pub type XcmOriginToTransactDispatchOrigin = ( + // Sovereign account converter; this attempts to derive an `AccountId` from the origin location + // using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for + // foreign chains who want to have a local sovereign account on this chain which they control. + SovereignSignedViaLocation, + // Native converter for Relay-chain (Parent) location; will convert to a `Relay` origin when + // recognised. + RelayChainAsNative, + // Native converter for sibling Parachains; will convert to a `SiblingPara` origin when + // recognised. + SiblingParachainAsNative, + // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a + // transaction from the Root origin. + ParentAsSuperuser, + // Native signed account converter; this just converts an `AccountId32` origin into a normal + // `Origin::Signed` origin of the same 32-byte value. + SignedAccountId32AsNative, + // Xcm origins can be represented natively under the Xcm pallet's Xcm origin. + pallet_xcm::XcmPassthrough, +); + +parameter_types! { + // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. + pub UnitWeightCost: Weight = 100; + pub const MaxInstructions: u32 = 100; +} + +match_type! { + pub type ParentOrParentsExecutivePlurality: impl Contains = { + MultiLocation { parents: 1, interior: Here } | + MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } + }; +} +match_type! { + pub type ParentOrSiblings: impl Contains = { + MultiLocation { parents: 1, interior: Here } | + MultiLocation { parents: 1, interior: X1(_) } + }; +} + +pub type Barrier = ( + TakeWeightCredit, + AllowTopLevelPaidExecutionFrom, + // Parent and its exec plurality get free execution + AllowUnpaidExecutionFrom, + // Expected responses are OK. + AllowKnownQueryResponses, + // Subscriptions for version tracking are OK. + AllowSubscriptionsFrom, +); + +pub struct XcmConfig; +impl Config for XcmConfig { + type Call = Call; + type XcmSender = XcmRouter; + type AssetTransactor = AssetTransactors; + type OriginConverter = XcmOriginToTransactDispatchOrigin; + type IsReserve = xcm_primitives::MultiNativeAsset; + type IsTeleporter = (); + type LocationInverter = LocationInverter; + type Barrier = Barrier; + type Weigher = FixedWeightBounds; + type Trader = FixedRateOfFungible; + type ResponseHandler = PolkadotXcm; + type AssetTrap = PolkadotXcm; + type AssetClaims = PolkadotXcm; + type SubscriptionService = PolkadotXcm; +} + +/// No local origins on this chain are allowed to dispatch XCM sends/executions. +pub type LocalOriginToLocation = SignedToAccountId32; + +pub type XcmRouter = super::ParachainXcmRouter; + +impl pallet_xcm::Config for Runtime { + type Event = Event; + type SendXcmOrigin = EnsureXcmOrigin; + type XcmRouter = XcmRouter; + type ExecuteXcmOrigin = EnsureXcmOrigin; + type XcmExecuteFilter = Nothing; + type XcmExecutor = XcmExecutor; + type XcmTeleportFilter = Everything; + type XcmReserveTransferFilter = Everything; + type Weigher = FixedWeightBounds; + type LocationInverter = LocationInverter; + type Origin = Origin; + type Call = Call; + const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; + type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; +} + +impl cumulus_pallet_xcm::Config for Runtime { + type Event = Event; + type XcmExecutor = XcmExecutor; +} + +#[frame_support::pallet] +pub mod mock_msg_queue { + use super::*; + use frame_support::pallet_prelude::*; + + #[pallet::config] + pub trait Config: frame_system::Config { + type Event: From> + IsType<::Event>; + type XcmExecutor: ExecuteXcm; + } + + #[pallet::call] + impl Pallet {} + + #[pallet::pallet] + #[pallet::generate_store(pub(super) trait Store)] + pub struct Pallet(_); + + #[pallet::storage] + #[pallet::getter(fn parachain_id)] + pub(super) type ParachainId = StorageValue<_, ParaId, ValueQuery>; + + impl Get for Pallet { + fn get() -> ParaId { + Self::parachain_id() + } + } + + pub type MessageId = [u8; 32]; + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event { + // XCMP + /// Some XCM was executed OK. + Success(Option), + /// Some XCM failed. + Fail(Option, XcmError), + /// Bad XCM version used. + BadVersion(Option), + /// Bad XCM format used. + BadFormat(Option), + + // DMP + /// Downward message is invalid XCM. + InvalidFormat(MessageId), + /// Downward message is unsupported version of XCM. + UnsupportedVersion(MessageId), + /// Downward message executed with the given outcome. + ExecutedDownward(MessageId, Outcome), + } + + impl Pallet { + pub fn set_para_id(para_id: ParaId) { + ParachainId::::put(para_id); + } + + fn handle_xcmp_message( + sender: ParaId, + _sent_at: RelayBlockNumber, + xcm: VersionedXcm, + max_weight: Weight, + ) -> Result { + let hash = Encode::using_encoded(&xcm, T::Hashing::hash); + let (result, event) = match Xcm::::try_from(xcm) { + Ok(xcm) => { + let xcm_2 = Xcm([ + WithdrawAsset( + [MultiAsset { + id: Concrete(MultiLocation { + parents: 0, + interior: X1(GeneralIndex(0)), + }), + fun: Fungible(123), + }] + .to_vec() + .into(), + ), + ClearOrigin, + BuyExecution { + fees: MultiAsset { + id: Concrete(MultiLocation { + parents: 0, + interior: X1(GeneralIndex(0)), + }), + fun: Fungible(123), + }, + weight_limit: Limited(8000), + }, + DepositAsset { + assets: Wild(All), + max_assets: 1, + beneficiary: MultiLocation { + parents: 0, + interior: X1(xcm::latest::prelude::AccountId32 { + network: Any, + id: [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + ], + }), + }, + }, + ] + .to_vec()); + + println!("Statemint: Rceived xcm is {:?}", xcm); + let location = MultiLocation::new(1, Junctions::X1(Parachain(sender.into()))); + match T::XcmExecutor::execute_xcm(location, xcm_2, max_weight) { + Outcome::Error(e) => (Err(e.clone()), Event::Fail(Some(hash), e)), + Outcome::Complete(w) => (Ok(w), Event::Success(Some(hash))), + // As far as the caller is concerned, this was dispatched without error, so + // we just report the weight used. + Outcome::Incomplete(w, e) => (Ok(w), Event::Fail(Some(hash), e)), + } + } + Err(()) => ( + Err(XcmError::UnhandledXcmVersion), + Event::BadVersion(Some(hash)), + ), + }; + Self::deposit_event(event); + result + } + } + + impl XcmpMessageHandler for Pallet { + fn handle_xcmp_messages<'a, I: Iterator>( + iter: I, + max_weight: Weight, + ) -> Weight { + for (sender, sent_at, data) in iter { + let mut data_ref = data; + let _ = XcmpMessageFormat::decode(&mut data_ref) + .expect("Simulator encodes with versioned xcm format; qed"); + + let mut remaining_fragments = &data_ref[..]; + while !remaining_fragments.is_empty() { + if let Ok(xcm) = VersionedXcm::::decode(&mut remaining_fragments) { + let _ = Self::handle_xcmp_message(sender, sent_at, xcm, max_weight); + } else { + debug_assert!(false, "Invalid incoming XCMP message data"); + } + } + } + max_weight + } + } + + impl DmpMessageHandler for Pallet { + fn handle_dmp_messages( + iter: impl Iterator)>, + limit: Weight, + ) -> Weight { + for (_i, (_sent_at, data)) in iter.enumerate() { + let id = sp_io::hashing::blake2_256(&data[..]); + let maybe_msg = + VersionedXcm::::decode(&mut &data[..]).map(Xcm::::try_from); + match maybe_msg { + Err(_) => { + Self::deposit_event(Event::InvalidFormat(id)); + } + Ok(Err(())) => { + Self::deposit_event(Event::UnsupportedVersion(id)); + } + Ok(Ok(x)) => { + let outcome = T::XcmExecutor::execute_xcm(Parent, x, limit); + + Self::deposit_event(Event::ExecutedDownward(id, outcome)); + } + } + } + limit + } + } +} +impl mock_msg_queue::Config for Runtime { + type Event = Event; + type XcmExecutor = XcmExecutor; +} + +type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; +type Block = frame_system::mocking::MockBlock; +construct_runtime!( + pub enum Runtime where + Block = Block, + NodeBlock = Block, + UncheckedExtrinsic = UncheckedExtrinsic, + { + System: frame_system::{Pallet, Call, Storage, Config, Event}, + Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, + PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event, Origin}, + CumulusXcm: cumulus_pallet_xcm::{Pallet, Event, Origin}, + MsgQueue: mock_msg_queue::{Pallet, Storage, Event}, + Assets: pallet_assets::{Pallet, Storage, Event}, + } +); + +pub(crate) fn statemint_events() -> Vec { + System::events() + .into_iter() + .map(|r| r.event) + .filter_map(|e| Some(e)) + .collect::>() +} + +use frame_support::traits::{OnFinalize, OnInitialize}; +pub(crate) fn statemint_roll_to(n: u64) { + while System::block_number() < n { + PolkadotXcm::on_finalize(System::block_number()); + Balances::on_finalize(System::block_number()); + System::on_finalize(System::block_number()); + System::set_block_number(System::block_number() + 1); + System::on_initialize(System::block_number()); + Balances::on_initialize(System::block_number()); + PolkadotXcm::on_initialize(System::block_number()); + } +} diff --git a/runtime/moonbase/tests/xcm_tests.rs b/runtime/moonbase/tests/xcm_tests.rs index a9532844bc4..63a3545f038 100644 --- a/runtime/moonbase/tests/xcm_tests.rs +++ b/runtime/moonbase/tests/xcm_tests.rs @@ -30,13 +30,12 @@ use xcm::latest::{ Junctions::*, MultiLocation, NetworkId, Response, Xcm, }; +use xcm_executor::traits::Convert; use xcm_simulator::TestExt; - // Send a relay asset (like DOT) to a parachain A #[test] fn receive_relay_asset_from_relay() { MockNet::reset(); - let source_location = parachain::AssetType::Xcm(MultiLocation::parent()); let source_id: parachain::AssetId = source_location.clone().into(); let asset_metadata = parachain::AssetMetadata { @@ -77,6 +76,8 @@ fn receive_relay_asset_from_relay() { // Verify that parachain received the asset ParaA::execute_with(|| { + assert_eq!(Assets::balance(source_id, &PARAALICE.into()), 123); + // free execution, full amount received assert_eq!(Assets::balance(source_id, &PARAALICE.into()), 123); }); @@ -1277,6 +1278,125 @@ fn test_automatic_versioning_on_runtime_upgrade_with_para_b() { }); } +#[test] +fn test_statemine_like() { + MockNet::reset(); + + let dest_para = MultiLocation::new(1, X1(Parachain(1))); + + let sov = xcm_builder::SiblingParachainConvertsVia::< + polkadot_parachain::primitives::Sibling, + statemine_like::AccountId, + >::convert_ref(dest_para) + .unwrap(); + + let statemine_asset_a_balances = MultiLocation::new( + 1, + X2(Parachain(4), xcm::latest::prelude::GeneralIndex(0u128)), + ); + let source_location = parachain::AssetType::Xcm(statemine_asset_a_balances); + let source_id: parachain::AssetId = source_location.clone().into(); + + let asset_metadata = parachain::AssetMetadata { + name: b"StatemineToken".to_vec(), + symbol: b"StatemineToken".to_vec(), + decimals: 12, + }; + + ParaA::execute_with(|| { + assert_ok!(AssetManager::register_asset( + parachain::Origin::root(), + source_location.clone(), + asset_metadata.clone(), + 1u128, + )); + assert_ok!(AssetManager::set_asset_units_per_second( + parachain::Origin::root(), + source_id, + 0u128 + )); + }); + + Statemine::execute_with(|| { + assert_ok!(StatemineAssets::create( + statemine_like::Origin::signed(RELAYALICE), + 0, + RELAYALICE, + 1 + )); + + assert_ok!(StatemineAssets::mint( + statemine_like::Origin::signed(RELAYALICE), + 0, + RELAYALICE, + 100000000000000 + )); + + assert_ok!(StatemineAssets::mint( + statemine_like::Origin::signed(RELAYALICE), + 0, + RELAYALICE, + 100000000000000 + )); + + assert_ok!(StatemineAssets::mint( + statemine_like::Origin::signed(RELAYALICE), + 0, + RELAYALICE, + 100000000000000 + )); + + assert_ok!(StatemintBalances::transfer( + statemine_like::Origin::signed(RELAYALICE), + sov, + 100000000000000 + )); + + // Actually send relay asset to parachain + let dest: MultiLocation = AccountKey20 { + network: NetworkId::Any, + key: PARAALICE, + } + .into(); + + assert_ok!(StatemineChainPalletXcm::reserve_transfer_assets( + statemine_like::Origin::signed(RELAYALICE), + Box::new(MultiLocation::new(1, X1(Parachain(1))).into()), + Box::new(VersionedMultiLocation::V1(dest).clone().into()), + Box::new((X1(xcm::latest::prelude::GeneralIndex(0)), 123).into()), + 0, + )); + }); + let dest = MultiLocation { + parents: 1, + interior: X2( + Parachain(4), + AccountId32 { + network: NetworkId::Any, + id: RELAYALICE.into(), + }, + ), + }; + + ParaA::execute_with(|| { + assert_eq!(Assets::balance(source_id, &PARAALICE.into()), 123); + + // free execution, full amount received + assert_ok!(XTokens::transfer( + parachain::Origin::signed(PARAALICE.into()), + parachain::CurrencyId::OtherReserve(source_id), + 123, + Box::new(VersionedMultiLocation::V1(dest)), + 8000 + )); + }); + + Statemine::execute_with(|| { + // Asset has been transferred back, so we should receive full amount + assert_eq!(StatemineAssets::balance(0, RELAYALICE), 300000000000000); + }); +} + use parity_scale_codec::{Decode, Encode}; use sp_io::hashing::blake2_256; diff --git a/runtime/moonbeam/Cargo.toml b/runtime/moonbeam/Cargo.toml index 23b8ed535cd..f2e66252fa5 100644 --- a/runtime/moonbeam/Cargo.toml +++ b/runtime/moonbeam/Cargo.toml @@ -22,7 +22,7 @@ runtime-common = { path = "../common", default-features = false } # Moonbeam pallets pallet-author-mapping = { path = "../../pallets/author-mapping", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "gorka-try-new-reanchor", default-features = false } pallet-ethereum-chain-id = { path = "../../pallets/ethereum-chain-id", default-features = false } pallet-maintenance-mode = { path = "../../pallets/maintenance-mode", default-features = false, features = [ "xcm-support" ] } pallet-migrations = { path = "../../pallets/migrations", default-features = false } @@ -86,13 +86,13 @@ pallet-evm-precompile-sha3fips = { git = "https://github.com/purestake/frontier" pallet-evm-precompile-simple = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Cumulus / Nimbus -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -parachain-info = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } +pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } +parachain-info = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } # Benchmarking frame-benchmarking = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", optional = true, default-features = false } @@ -103,8 +103,8 @@ hex = "0.4" rlp = "0.5" sha3 = "0.9" -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } diff --git a/runtime/moonriver/Cargo.toml b/runtime/moonriver/Cargo.toml index 71eacf666d6..1ca1f788163 100644 --- a/runtime/moonriver/Cargo.toml +++ b/runtime/moonriver/Cargo.toml @@ -22,7 +22,7 @@ runtime-common = { path = "../common", default-features = false } # Moonbeam pallets pallet-author-mapping = { path = "../../pallets/author-mapping", default-features = false } -pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +pallet-crowdloan-rewards = { git = "https://github.com/purestake/crowdloan-rewards", branch = "gorka-try-new-reanchor", default-features = false } pallet-ethereum-chain-id = { path = "../../pallets/ethereum-chain-id", default-features = false } pallet-maintenance-mode = { path = "../../pallets/maintenance-mode", default-features = false, features = [ "xcm-support" ] } pallet-migrations = { path = "../../pallets/migrations", default-features = false } @@ -85,13 +85,13 @@ pallet-evm-precompile-sha3fips = { git = "https://github.com/purestake/frontier" pallet-evm-precompile-simple = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Cumulus / Nimbus -cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -parachain-info = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } +pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } +pallet-author-slot-filter = { git = "https://github.com/purestake/nimbus", branch = "gorka-try-new-reanchor", default-features = false } +parachain-info = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } # Polkadot / XCM @@ -105,8 +105,8 @@ hex = "0.4" rlp = "0.5" sha3 = "0.9" -cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } -cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } +cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } diff --git a/runtime/relay-encoder/Cargo.toml b/runtime/relay-encoder/Cargo.toml index 529dd5f5c76..38e9aebd217 100644 --- a/runtime/relay-encoder/Cargo.toml +++ b/runtime/relay-encoder/Cargo.toml @@ -21,17 +21,17 @@ sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbea sp-std = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12", default-features = false } # Cumulus -cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.12", default-features = false } +cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "gorka-try-new-reanchor", default-features = false } [dev-dependencies] frame-support = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } pallet-proxy = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } pallet-utility = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.12" } -kusama-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -polkadot-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -rococo-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } -westend-runtime = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.12" } +kusama-runtime = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +polkadot-runtime = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +rococo-runtime = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } +westend-runtime = { git = "https://github.com/purestake/polkadot", branch = "gorka-try-new-reanchor" } [features] default = [ "std" ]