diff --git a/README.md b/README.md index dc6fbdab2f..561c5ebe11 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Polkadot Ethereum Bridge +# Snowbridge -Components for a Polkadot Ethereum Bridge +A trustless bridge between Polkadot and Ethereum. ## Development diff --git a/parachain/Cargo.lock b/parachain/Cargo.lock index 4bda0df8a1..63c42a42ea 100644 --- a/parachain/Cargo.lock +++ b/parachain/Cargo.lock @@ -193,433 +193,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a2f58b0bb10c380af2b26e57212856b8c9a59e0925b4c20f4a174a49734eaf7" -[[package]] -name = "artemis" -version = "0.1.1" -dependencies = [ - "artemis-core", - "artemis-rococo-runtime", - "cumulus-client-cli", - "cumulus-client-collator", - "cumulus-client-consensus-aura", - "cumulus-client-consensus-common", - "cumulus-client-consensus-relay-chain", - "cumulus-client-network", - "cumulus-client-service", - "cumulus-primitives-core", - "cumulus-primitives-parachain-inherent", - "frame-benchmarking", - "frame-benchmarking-cli", - "futures 0.3.15", - "hex-literal", - "jsonrpc-core 15.1.0", - "jsonrpc-pubsub 14.2.0", - "local-runtime", - "log", - "parity-scale-codec", - "parking_lot 0.10.2", - "polkadot-cli", - "polkadot-parachain", - "polkadot-primitives", - "polkadot-service", - "rand 0.7.3", - "sc-basic-authorship", - "sc-chain-spec", - "sc-cli", - "sc-client-api", - "sc-consensus", - "sc-executor", - "sc-finality-grandpa", - "sc-keystore", - "sc-network", - "sc-rpc", - "sc-rpc-api", - "sc-service", - "sc-telemetry", - "sc-tracing", - "sc-transaction-pool", - "serde", - "snowbridge-runtime", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-core", - "sp-finality-grandpa", - "sp-inherents", - "sp-keystore", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-timestamp", - "sp-transaction-pool", - "sp-trie", - "structopt", - "substrate-build-script-utils", - "substrate-prometheus-endpoint", - "tracing", -] - -[[package]] -name = "artemis-assets" -version = "0.1.1" -dependencies = [ - "artemis-core", - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "rustc-hex", - "serde", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-basic-channel" -version = "0.1.1" -dependencies = [ - "artemis-core", - "artemis-ethereum", - "ethabi-decode", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex-literal", - "parity-scale-codec", - "rlp", - "serde", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-core" -version = "0.1.1" -dependencies = [ - "artemis-ethereum", - "enum-iterator", - "frame-support", - "frame-system", - "parity-scale-codec", - "rustc-hex", - "serde", - "serde_derive", - "sp-core", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-dispatch" -version = "0.1.1" -dependencies = [ - "artemis-core", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex-literal", - "parity-scale-codec", - "serde", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-dot-app" -version = "0.1.1" -dependencies = [ - "artemis-assets", - "artemis-core", - "artemis-dispatch", - "artemis-ethereum", - "ethabi-decode", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex-literal", - "pallet-balances", - "parity-scale-codec", - "rlp", - "rustc-hex", - "serde", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-erc20-app" -version = "0.1.1" -dependencies = [ - "artemis-assets", - "artemis-core", - "artemis-dispatch", - "artemis-ethereum", - "ethabi-decode", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex-literal", - "parity-scale-codec", - "rlp", - "rustc-hex", - "serde", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-erc721-app" -version = "0.0.1" -dependencies = [ - "artemis-core", - "artemis-dispatch", - "artemis-ethereum", - "artemis-nft", - "ethabi-decode", - "frame-support", - "frame-system", - "hex-literal", - "parity-scale-codec", - "rlp", - "rustc-hex", - "serde", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-eth-app" -version = "0.1.1" -dependencies = [ - "artemis-assets", - "artemis-core", - "artemis-dispatch", - "artemis-ethereum", - "ethabi-decode", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex-literal", - "parity-scale-codec", - "rlp", - "rustc-hex", - "serde", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-ethereum" -version = "0.1.0" -dependencies = [ - "artemis-testutils", - "ethabi-decode", - "ethash", - "ethbloom", - "ethereum-types", - "getrandom 0.2.3", - "hex-literal", - "libsecp256k1", - "parity-bytes", - "parity-scale-codec", - "rand 0.7.3", - "rlp", - "rustc-hex", - "serde", - "serde-big-array", - "serde_json", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "wasm-bindgen-test", -] - -[[package]] -name = "artemis-incentivized-channel" -version = "0.1.1" -dependencies = [ - "artemis-assets", - "artemis-core", - "artemis-ethereum", - "ethabi-decode", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex-literal", - "pallet-balances", - "parity-scale-codec", - "rlp", - "serde", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-nft" -version = "0.0.1" -dependencies = [ - "artemis-core", - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "rustc-hex", - "serde", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-rococo-runtime" -version = "0.1.1" -dependencies = [ - "artemis-assets", - "artemis-basic-channel", - "artemis-core", - "artemis-dispatch", - "artemis-dot-app", - "artemis-erc20-app", - "artemis-erc721-app", - "artemis-eth-app", - "artemis-incentivized-channel", - "artemis-nft", - "artemis-runtime-common", - "artemis-xcm-support", - "cumulus-pallet-aura-ext", - "cumulus-pallet-dmp-queue", - "cumulus-pallet-parachain-system", - "cumulus-pallet-xcm", - "cumulus-pallet-xcmp-queue", - "cumulus-primitives-core", - "cumulus-primitives-timestamp", - "cumulus-primitives-utility", - "frame-benchmarking", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "getrandom 0.2.3", - "hex-literal", - "pallet-aura", - "pallet-balances", - "pallet-collective", - "pallet-membership", - "pallet-randomness-collective-flip", - "pallet-sudo", - "pallet-timestamp", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "pallet-utility", - "pallet-verifier-lightclient", - "pallet-xcm", - "parachain-info", - "parity-scale-codec", - "polkadot-parachain", - "serde", - "sp-api", - "sp-block-builder", - "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-std", - "sp-transaction-pool", - "sp-version", - "substrate-wasm-builder 4.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "xcm", - "xcm-builder", - "xcm-executor", -] - -[[package]] -name = "artemis-runtime-common" -version = "0.1.0" -dependencies = [ - "artemis-basic-channel", - "artemis-core", - "artemis-incentivized-channel", - "frame-support", - "frame-system", - "sp-core", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "artemis-testutils" -version = "0.1.0" -dependencies = [ - "ethereum-types", - "rustc-hex", - "serde", - "serde_json", -] - -[[package]] -name = "artemis-transfer" -version = "0.1.1" -dependencies = [ - "artemis-core", - "cumulus-primitives-core", - "frame-support", - "frame-system", - "parity-scale-codec", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "xcm", - "xcm-executor", -] - -[[package]] -name = "artemis-xcm-support" -version = "0.1.0" -dependencies = [ - "artemis-core", - "frame-support", - "parity-scale-codec", - "sp-core", - "sp-runtime", - "sp-std", - "xcm", - "xcm-builder", - "xcm-executor", -] - [[package]] name = "asn1_der" version = "0.7.4" @@ -1842,7 +1415,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "sc-cli", "sc-service", @@ -1852,7 +1425,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1876,7 +1449,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1906,7 +1479,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "async-trait", "dyn-clone", @@ -1930,7 +1503,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1954,7 +1527,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "derive_more", "futures 0.3.15", @@ -1978,7 +1551,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-primitives-core", "futures 0.3.15", @@ -2001,7 +1574,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-client-collator", "cumulus-client-consensus-common", @@ -2029,7 +1602,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "frame-executive", "frame-support", @@ -2046,7 +1619,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2065,7 +1638,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -2093,7 +1666,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -2104,7 +1677,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2120,7 +1693,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2138,7 +1711,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2156,7 +1729,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2177,7 +1750,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -2188,7 +1761,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2206,7 +1779,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2728,7 +2301,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", ] @@ -2746,7 +2319,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -2765,7 +2338,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "Inflector", "chrono", @@ -2788,7 +2361,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -2801,7 +2374,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -2816,7 +2389,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "13.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "serde", @@ -2827,7 +2400,7 @@ dependencies = [ [[package]] name = "frame-support" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "bitflags", "frame-metadata", @@ -2854,7 +2427,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2866,7 +2439,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.0.0", @@ -2878,7 +2451,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "proc-macro2", "quote", @@ -2888,7 +2461,7 @@ dependencies = [ [[package]] name = "frame-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2905,7 +2478,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -2919,7 +2492,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "sp-api", @@ -2928,7 +2501,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "parity-scale-codec", @@ -4720,18 +4293,6 @@ dependencies = [ name = "local-runtime" version = "0.1.1" dependencies = [ - "artemis-assets", - "artemis-basic-channel", - "artemis-core", - "artemis-dispatch", - "artemis-dot-app", - "artemis-erc20-app", - "artemis-erc721-app", - "artemis-eth-app", - "artemis-incentivized-channel", - "artemis-nft", - "artemis-runtime-common", - "artemis-xcm-support", "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", @@ -4764,6 +4325,18 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain", "serde", + "snowbridge-assets", + "snowbridge-basic-channel", + "snowbridge-core", + "snowbridge-dispatch", + "snowbridge-dot-app", + "snowbridge-erc20-app", + "snowbridge-erc721-app", + "snowbridge-eth-app", + "snowbridge-incentivized-channel", + "snowbridge-nft", + "snowbridge-runtime-common", + "snowbridge-xcm-support", "sp-api", "sp-block-builder", "sp-consensus-aura", @@ -4884,7 +4457,7 @@ dependencies = [ [[package]] name = "max-encoded-len" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "impl-trait-for-tuples", "max-encoded-len-derive", @@ -4895,7 +4468,7 @@ dependencies = [ [[package]] name = "max-encoded-len-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5392,7 +4965,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5408,7 +4981,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5423,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5437,7 +5010,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5460,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5490,7 +5063,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5525,7 +5098,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5541,7 +5114,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5556,7 +5129,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5577,7 +5150,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5594,7 +5167,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5608,7 +5181,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "3.1.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5630,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5645,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5664,7 +5237,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5680,7 +5253,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5695,7 +5268,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5712,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5728,7 +5301,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client", @@ -5746,7 +5319,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5761,7 +5334,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5774,7 +5347,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5790,7 +5363,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5812,7 +5385,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5828,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5841,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "enumflags2", "frame-support", @@ -5855,7 +5428,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5870,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5890,7 +5463,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5906,7 +5479,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5919,7 +5492,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5943,7 +5516,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -5954,7 +5527,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "log", "sp-arithmetic", @@ -5963,7 +5536,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -5976,7 +5549,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -5994,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -6009,7 +5582,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-support", "frame-system", @@ -6025,7 +5598,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client", @@ -6042,7 +5615,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6053,7 +5626,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -6069,7 +5642,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-benchmarking", "frame-support", @@ -6085,9 +5658,6 @@ dependencies = [ name = "pallet-verifier-lightclient" version = "0.1.1" dependencies = [ - "artemis-core", - "artemis-ethereum", - "artemis-testutils", "ethash", "frame-benchmarking", "frame-support", @@ -6098,6 +5668,9 @@ dependencies = [ "rustc-hex", "serde", "serde_json", + "snowbridge-core", + "snowbridge-ethereum", + "snowbridge-testutils", "sp-core", "sp-io", "sp-keyring", @@ -6108,7 +5681,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6137,7 +5710,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#a2b469d24e987be368df17e74df0a378361d49ab" +source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8014,7 +7587,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "env_logger 0.8.3", "hex", @@ -8300,7 +7873,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "log", "sp-core", @@ -8312,7 +7885,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "derive_more", @@ -8341,7 +7914,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8364,7 +7937,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8380,7 +7953,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8400,7 +7973,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -8411,7 +7984,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "chrono", "fdlimit", @@ -8449,7 +8022,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "derive_more", "fnv", @@ -8483,7 +8056,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "blake2-rfc", "hash-db", @@ -8513,7 +8086,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "parking_lot 0.11.1", @@ -8526,7 +8099,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "derive_more", @@ -8557,7 +8130,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "derive_more", @@ -8603,7 +8176,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "derive_more", "futures 0.3.15", @@ -8627,7 +8200,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8640,7 +8213,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "futures 0.3.15", @@ -8668,7 +8241,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "sc-client-api", "sp-authorship", @@ -8679,7 +8252,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "derive_more", "lazy_static", @@ -8708,7 +8281,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "derive_more", "parity-scale-codec", @@ -8725,7 +8298,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "log", "parity-scale-codec", @@ -8740,7 +8313,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8759,7 +8332,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "derive_more", @@ -8800,7 +8373,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "derive_more", "finality-grandpa", @@ -8824,7 +8397,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-warp-sync" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "derive_more", "futures 0.3.15", @@ -8845,7 +8418,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "ansi_term 0.12.1", "futures 0.3.15", @@ -8863,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "derive_more", @@ -8883,7 +8456,7 @@ dependencies = [ [[package]] name = "sc-light" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "hash-db", "lazy_static", @@ -8902,7 +8475,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-std", "async-trait", @@ -8955,7 +8528,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "futures 0.3.15", "futures-timer 3.0.2", @@ -8972,7 +8545,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "bytes 0.5.6", "fnv", @@ -9000,7 +8573,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "futures 0.3.15", "libp2p", @@ -9013,7 +8586,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9022,7 +8595,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "futures 0.3.15", "hash-db", @@ -9057,7 +8630,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "derive_more", "futures 0.3.15", @@ -9082,7 +8655,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "futures 0.1.31", "jsonrpc-core 15.1.0", @@ -9100,7 +8673,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "directories", @@ -9166,7 +8739,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "log", "parity-scale-codec", @@ -9181,7 +8754,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "jsonrpc-core 15.1.0", "jsonrpc-core-client", @@ -9201,7 +8774,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "chrono", "futures 0.3.15", @@ -9221,7 +8794,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "ansi_term 0.12.1", "atty", @@ -9258,7 +8831,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -9269,7 +8842,7 @@ dependencies = [ [[package]] name = "sc-transaction-graph" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "derive_more", "futures 0.3.15", @@ -9291,7 +8864,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "futures 0.3.15", "intervalier", @@ -9623,117 +9196,476 @@ dependencies = [ ] [[package]] -name = "signal-hook-registry" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16f1d0fef1604ba8f7a073c7e701f213e056707210e9020af4528e0101ce11a6" +name = "signal-hook-registry" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16f1d0fef1604ba8f7a073c7e701f213e056707210e9020af4528e0101ce11a6" +dependencies = [ + "libc", +] + +[[package]] +name = "signature" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f0242b8e50dd9accdd56170e94ca1ebd223b098eb9c83539a6e367d0f36ae68" + +[[package]] +name = "simba" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5132a955559188f3d13c9ba831e77c802ddc8782783f050ed0c52f5988b95f4c" +dependencies = [ + "approx 0.4.0", + "num-complex 0.3.1", + "num-traits", + "paste", +] + +[[package]] +name = "slab" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527" + +[[package]] +name = "slog" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8347046d4ebd943127157b94d63abb990fcf729dc4e9978927fdf4ac3c998d06" +dependencies = [ + "erased-serde", +] + +[[package]] +name = "slot-range-helper" +version = "0.9.8" +source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce" +dependencies = [ + "enumn", + "parity-scale-codec", + "paste", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "slotmap" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "585cd5dffe4e9e06f6dfdf66708b70aca3f781bed561f4f667b2d9c0d4559e36" +dependencies = [ + "version_check", +] + +[[package]] +name = "smallvec" +version = "0.6.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" +dependencies = [ + "maybe-uninit", +] + +[[package]] +name = "smallvec" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" + +[[package]] +name = "snow" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "795dd7aeeee24468e5a32661f6d27f7b5cbed802031b2d7640c7b10f8fb2dd50" +dependencies = [ + "aes-gcm", + "blake2", + "chacha20poly1305", + "rand 0.7.3", + "rand_core 0.5.1", + "ring", + "rustc_version", + "sha2 0.9.5", + "subtle 2.4.0", + "x25519-dalek", +] + +[[package]] +name = "snowbridge" +version = "0.1.1" +dependencies = [ + "cumulus-client-cli", + "cumulus-client-collator", + "cumulus-client-consensus-aura", + "cumulus-client-consensus-common", + "cumulus-client-consensus-relay-chain", + "cumulus-client-network", + "cumulus-client-service", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "frame-benchmarking", + "frame-benchmarking-cli", + "futures 0.3.15", + "hex-literal", + "jsonrpc-core 15.1.0", + "jsonrpc-pubsub 14.2.0", + "local-runtime", + "log", + "parity-scale-codec", + "parking_lot 0.10.2", + "polkadot-cli", + "polkadot-parachain", + "polkadot-primitives", + "polkadot-service", + "rand 0.7.3", + "sc-basic-authorship", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-consensus", + "sc-executor", + "sc-finality-grandpa", + "sc-keystore", + "sc-network", + "sc-rpc", + "sc-rpc-api", + "sc-service", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "serde", + "snowbridge-core", + "snowbridge-rococo-runtime", + "snowbridge-runtime", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-core", + "sp-finality-grandpa", + "sp-inherents", + "sp-keystore", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-timestamp", + "sp-transaction-pool", + "sp-trie", + "structopt", + "substrate-build-script-utils", + "substrate-prometheus-endpoint", + "tracing", +] + +[[package]] +name = "snowbridge-assets" +version = "0.1.1" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "rustc-hex", + "serde", + "snowbridge-core", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "snowbridge-basic-channel" +version = "0.1.1" +dependencies = [ + "ethabi-decode", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "parity-scale-codec", + "rlp", + "serde", + "snowbridge-core", + "snowbridge-ethereum", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "snowbridge-core" +version = "0.1.1" +dependencies = [ + "enum-iterator", + "frame-support", + "frame-system", + "parity-scale-codec", + "rustc-hex", + "serde", + "serde_derive", + "snowbridge-ethereum", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "snowbridge-dispatch" +version = "0.1.1" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "parity-scale-codec", + "serde", + "snowbridge-core", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "snowbridge-dot-app" +version = "0.1.1" +dependencies = [ + "ethabi-decode", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "pallet-balances", + "parity-scale-codec", + "rlp", + "rustc-hex", + "serde", + "snowbridge-assets", + "snowbridge-core", + "snowbridge-dispatch", + "snowbridge-ethereum", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "snowbridge-erc20-app" +version = "0.1.1" dependencies = [ - "libc", + "ethabi-decode", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "parity-scale-codec", + "rlp", + "rustc-hex", + "serde", + "snowbridge-assets", + "snowbridge-core", + "snowbridge-dispatch", + "snowbridge-ethereum", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", ] [[package]] -name = "signature" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f0242b8e50dd9accdd56170e94ca1ebd223b098eb9c83539a6e367d0f36ae68" - -[[package]] -name = "simba" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5132a955559188f3d13c9ba831e77c802ddc8782783f050ed0c52f5988b95f4c" +name = "snowbridge-erc721-app" +version = "0.0.1" dependencies = [ - "approx 0.4.0", - "num-complex 0.3.1", - "num-traits", - "paste", + "ethabi-decode", + "frame-support", + "frame-system", + "hex-literal", + "parity-scale-codec", + "rlp", + "rustc-hex", + "serde", + "snowbridge-core", + "snowbridge-dispatch", + "snowbridge-ethereum", + "snowbridge-nft", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", ] [[package]] -name = "slab" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527" - -[[package]] -name = "slog" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8347046d4ebd943127157b94d63abb990fcf729dc4e9978927fdf4ac3c998d06" +name = "snowbridge-eth-app" +version = "0.1.1" dependencies = [ - "erased-serde", + "ethabi-decode", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "parity-scale-codec", + "rlp", + "rustc-hex", + "serde", + "snowbridge-assets", + "snowbridge-core", + "snowbridge-dispatch", + "snowbridge-ethereum", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", ] [[package]] -name = "slot-range-helper" -version = "0.9.8" -source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce" +name = "snowbridge-ethereum" +version = "0.1.0" dependencies = [ - "enumn", + "ethabi-decode", + "ethash", + "ethbloom", + "ethereum-types", + "getrandom 0.2.3", + "hex-literal", + "libsecp256k1", + "parity-bytes", "parity-scale-codec", - "paste", + "rand 0.7.3", + "rlp", + "rustc-hex", + "serde", + "serde-big-array", + "serde_json", + "snowbridge-testutils", + "sp-core", + "sp-io", "sp-runtime", "sp-std", + "wasm-bindgen-test", ] [[package]] -name = "slotmap" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "585cd5dffe4e9e06f6dfdf66708b70aca3f781bed561f4f667b2d9c0d4559e36" +name = "snowbridge-incentivized-channel" +version = "0.1.1" dependencies = [ - "version_check", + "ethabi-decode", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "pallet-balances", + "parity-scale-codec", + "rlp", + "serde", + "snowbridge-assets", + "snowbridge-core", + "snowbridge-ethereum", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", ] [[package]] -name = "smallvec" -version = "0.6.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" +name = "snowbridge-nft" +version = "0.0.1" dependencies = [ - "maybe-uninit", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "rustc-hex", + "serde", + "snowbridge-core", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", ] [[package]] -name = "smallvec" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" - -[[package]] -name = "snow" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "795dd7aeeee24468e5a32661f6d27f7b5cbed802031b2d7640c7b10f8fb2dd50" +name = "snowbridge-rococo-runtime" +version = "0.1.1" dependencies = [ - "aes-gcm", - "blake2", - "chacha20poly1305", - "rand 0.7.3", - "rand_core 0.5.1", - "ring", - "rustc_version", - "sha2 0.9.5", - "subtle 2.4.0", - "x25519-dalek", + "cumulus-pallet-aura-ext", + "cumulus-pallet-dmp-queue", + "cumulus-pallet-parachain-system", + "cumulus-pallet-xcm", + "cumulus-pallet-xcmp-queue", + "cumulus-primitives-core", + "cumulus-primitives-timestamp", + "cumulus-primitives-utility", + "frame-benchmarking", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-benchmarking", + "frame-system-rpc-runtime-api", + "getrandom 0.2.3", + "hex-literal", + "pallet-aura", + "pallet-balances", + "pallet-collective", + "pallet-membership", + "pallet-randomness-collective-flip", + "pallet-sudo", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-utility", + "pallet-verifier-lightclient", + "pallet-xcm", + "parachain-info", + "parity-scale-codec", + "polkadot-parachain", + "serde", + "snowbridge-assets", + "snowbridge-basic-channel", + "snowbridge-core", + "snowbridge-dispatch", + "snowbridge-dot-app", + "snowbridge-erc20-app", + "snowbridge-erc721-app", + "snowbridge-eth-app", + "snowbridge-incentivized-channel", + "snowbridge-nft", + "snowbridge-runtime-common", + "snowbridge-xcm-support", + "sp-api", + "sp-block-builder", + "sp-consensus-aura", + "sp-core", + "sp-inherents", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-std", + "sp-transaction-pool", + "sp-version", + "substrate-wasm-builder 4.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "xcm", + "xcm-builder", + "xcm-executor", ] [[package]] name = "snowbridge-runtime" version = "0.1.1" dependencies = [ - "artemis-assets", - "artemis-basic-channel", - "artemis-core", - "artemis-dispatch", - "artemis-dot-app", - "artemis-erc20-app", - "artemis-erc721-app", - "artemis-eth-app", - "artemis-incentivized-channel", - "artemis-nft", - "artemis-runtime-common", - "artemis-xcm-support", "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", @@ -9766,6 +9698,18 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain", "serde", + "snowbridge-assets", + "snowbridge-basic-channel", + "snowbridge-core", + "snowbridge-dispatch", + "snowbridge-dot-app", + "snowbridge-erc20-app", + "snowbridge-erc721-app", + "snowbridge-eth-app", + "snowbridge-incentivized-channel", + "snowbridge-nft", + "snowbridge-runtime-common", + "snowbridge-xcm-support", "sp-api", "sp-block-builder", "sp-consensus-aura", @@ -9783,6 +9727,62 @@ dependencies = [ "xcm-executor", ] +[[package]] +name = "snowbridge-runtime-common" +version = "0.1.0" +dependencies = [ + "frame-support", + "frame-system", + "snowbridge-basic-channel", + "snowbridge-core", + "snowbridge-incentivized-channel", + "sp-core", + "sp-runtime", + "sp-std", +] + +[[package]] +name = "snowbridge-testutils" +version = "0.1.0" +dependencies = [ + "ethereum-types", + "rustc-hex", + "serde", + "serde_json", +] + +[[package]] +name = "snowbridge-transfer" +version = "0.1.1" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "parity-scale-codec", + "snowbridge-core", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "xcm", + "xcm-executor", +] + +[[package]] +name = "snowbridge-xcm-support" +version = "0.1.0" +dependencies = [ + "frame-support", + "parity-scale-codec", + "snowbridge-core", + "sp-core", + "sp-runtime", + "sp-std", + "xcm", + "xcm-builder", + "xcm-executor", +] + [[package]] name = "socket2" version = "0.3.19" @@ -9838,7 +9838,7 @@ dependencies = [ [[package]] name = "sp-api" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "hash-db", "log", @@ -9855,7 +9855,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "blake2-rfc", "proc-macro-crate 1.0.0", @@ -9867,7 +9867,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "max-encoded-len", "parity-scale-codec", @@ -9880,7 +9880,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "integer-sqrt", "num-traits", @@ -9894,7 +9894,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "sp-api", @@ -9906,7 +9906,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "parity-scale-codec", @@ -9918,7 +9918,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "sp-api", @@ -9930,7 +9930,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "futures 0.3.15", "log", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "futures 0.3.15", @@ -9975,7 +9975,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "parity-scale-codec", @@ -9992,7 +9992,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "merlin", @@ -10014,7 +10014,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -10024,7 +10024,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -10036,7 +10036,7 @@ dependencies = [ [[package]] name = "sp-core" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "base58", "blake2-rfc", @@ -10081,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-database" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "kvdb", "parking_lot 0.11.1", @@ -10090,7 +10090,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "proc-macro2", "quote", @@ -10100,7 +10100,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "environmental", "parity-scale-codec", @@ -10111,7 +10111,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "finality-grandpa", "log", @@ -10128,7 +10128,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10142,7 +10142,7 @@ dependencies = [ [[package]] name = "sp-io" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "futures 0.3.15", "hash-db", @@ -10167,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "lazy_static", "sp-core", @@ -10178,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "derive_more", @@ -10195,7 +10195,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "ruzstd", "zstd", @@ -10204,7 +10204,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "serde", @@ -10217,7 +10217,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-compact" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "proc-macro-crate 1.0.0", "proc-macro2", @@ -10228,7 +10228,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "sp-api", "sp-core", @@ -10238,7 +10238,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "backtrace", ] @@ -10246,7 +10246,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "rustc-hash", "serde", @@ -10257,7 +10257,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "either", "hash256-std-hasher", @@ -10279,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10296,7 +10296,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "Inflector", "proc-macro-crate 1.0.0", @@ -10308,7 +10308,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "serde", "serde_json", @@ -10317,7 +10317,7 @@ dependencies = [ [[package]] name = "sp-session" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "sp-api", @@ -10330,7 +10330,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -10340,7 +10340,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "hash-db", "log", @@ -10363,12 +10363,12 @@ dependencies = [ [[package]] name = "sp-std" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" [[package]] name = "sp-storage" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10381,7 +10381,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "log", "sp-core", @@ -10394,7 +10394,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -10411,7 +10411,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "erased-serde", "log", @@ -10429,7 +10429,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "derive_more", "futures 0.3.15", @@ -10445,7 +10445,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-trait", "log", @@ -10460,7 +10460,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "hash-db", "memory-db", @@ -10474,7 +10474,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "futures 0.3.15", "futures-core", @@ -10486,7 +10486,7 @@ dependencies = [ [[package]] name = "sp-version" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10499,7 +10499,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.0.0", @@ -10511,7 +10511,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10658,7 +10658,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "platforms", ] @@ -10666,7 +10666,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.15", @@ -10689,7 +10689,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "async-std", "derive_more", @@ -10719,7 +10719,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "ansi_term 0.12.1", "atty", @@ -11391,7 +11391,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#1b758b2a8d151d97d2242260c465b6df9cb8a7a4" +source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16" dependencies = [ "frame-try-runtime", "log", diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index 348c53b80a..ee104c85d4 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -1,17 +1,17 @@ [package] -name = "artemis" -description = "Artemis" +name = "snowbridge" +description = "Snowbridge Parachain" version = "0.1.1" build = "build.rs" edition = "2018" authors = ["Snowfork "] -repository = "https://github.com/Snowfork/polkadot-ethereum" +repository = "https://github.com/Snowfork/snowbridge" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [[bin]] -name = "artemis" +name = "snowbridge" path = "src/main.rs" [dependencies] @@ -74,9 +74,9 @@ polkadot-service = { git = "https://github.com/paritytech/polkadot.git", branch polkadot-cli = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8" } polkadot-parachain = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8" } -artemis-core = { path = "primitives/core" } +snowbridge-core = { path = "primitives/core" } snowbridge-runtime = { path = "runtime/snowbridge", optional = true } -rococo-runtime = { path = "runtime/rococo", package = "artemis-rococo-runtime", optional = true } +rococo-runtime = { path = "runtime/rococo", package = "snowbridge-rococo-runtime", optional = true } local-runtime = { path = "runtime/local", optional = true } # These dependencies are used for runtime benchmarking diff --git a/parachain/README.md b/parachain/README.md index ba4f9c4c77..85987f7be1 100644 --- a/parachain/README.md +++ b/parachain/README.md @@ -1,6 +1,6 @@ -# Polkadot Ethereum Parachain -![Check](https://github.com/Snowfork/polkadot-ethereum/workflows/Check/badge.svg) -[![Coverage Status](https://coveralls.io/repos/github/Snowfork/polkadot-ethereum/badge.svg)](https://coveralls.io/github/Snowfork/polkadot-ethereum) +# Snowbridge Parachain +![Check](https://github.com/Snowfork/snowbridge/workflows/Check/badge.svg) +[![Coverage Status](https://coveralls.io/repos/github/Snowfork/polkadot-ethereum/badge.svg)](https://coveralls.io/github/Snowfork/snowbridge) A Polkadot parachain for bridging arbitrary data from and to Ethereum. @@ -81,7 +81,7 @@ To get a newly finalized Ethereum block in a format compatible with Substrate's ```bash cd ../relayer # Alternatively, use '--format rust' to get the Rust code -build/artemis-relay getblock --config /tmp/relay-config.toml --format json +build/snowbridge-relay getblock --config /tmp/relay-config.toml --format json ``` Insert the output of the `getblock` command in the `initial_header` field in the `verifier_lightclient` section of the chain spec. @@ -97,7 +97,7 @@ To change the config to use your own addresses, follow these steps: Generate a development chain-spec: ```bash -target/debug/artemis-node build-spec --dev > spec.json +target/debug/snowbridge-node build-spec --dev > spec.json ``` Edit the generated spec file and replace the following addresses: diff --git a/parachain/config-dup.json b/parachain/config-dup.json index cb428441dd..687de046f8 100644 --- a/parachain/config-dup.json +++ b/parachain/config-dup.json @@ -34,7 +34,7 @@ }, "parachains": [ { - "bin": "target/release/artemis", + "bin": "target/release/snowbridge", "id": "200", "wsPort": 9966, "port": 30666, @@ -48,7 +48,7 @@ ] }, { - "bin": "target/release/artemis", + "bin": "target/release/snowbridge", "id": "201", "wsPort": 9967, "port": 30667, diff --git a/parachain/config-xcmp.json b/parachain/config-xcmp.json index 6ac1beab6f..2a89c84839 100644 --- a/parachain/config-xcmp.json +++ b/parachain/config-xcmp.json @@ -22,7 +22,7 @@ }, "parachains": [ { - "bin": "target/release/artemis", + "bin": "target/release/snowbridge", "id": "200", "wsPort": 9977, "port": 30777, @@ -36,7 +36,7 @@ ] }, { - "bin": "target/release/artemis", + "bin": "target/release/snowbridge", "id": "300", "wsPort": 9988, "port": 30888, diff --git a/parachain/config.json b/parachain/config.json index c1958b7f53..6f725624c2 100644 --- a/parachain/config.json +++ b/parachain/config.json @@ -25,7 +25,7 @@ }, "parachains": [ { - "bin": "target/release/artemis", + "bin": "target/release/snowbridge", "id": "200", "nodes": [ { diff --git a/parachain/doc/index.html b/parachain/doc/index.html index 98d5e0dac2..bc329b2291 100644 --- a/parachain/doc/index.html +++ b/parachain/doc/index.html @@ -2,7 +2,7 @@ - Artemis - Rust + Snowbridge - Rust

- Artemis API documentation + Snowbridge API documentation

Important crates

@@ -106,13 +106,13 @@

Important crates

diff --git a/parachain/pallets/assets/Cargo.toml b/parachain/pallets/assets/Cargo.toml index cd4399ba9e..329bdaacfd 100644 --- a/parachain/pallets/assets/Cargo.toml +++ b/parachain/pallets/assets/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-assets" +name = "snowbridge-assets" version = "0.1.1" authors = ["Snowfork "] edition = "2018" @@ -20,7 +20,7 @@ sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polka sp-std = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } [dev-dependencies] sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } @@ -37,7 +37,7 @@ std = [ "sp-std/std", "sp-io/std", "sp-runtime/std", - "artemis-core/std" + "snowbridge-core/std" ] runtime-benchmarks = [ "frame-benchmarking", diff --git a/parachain/pallets/assets/src/lib.rs b/parachain/pallets/assets/src/lib.rs index 847e9ff239..b940f96424 100644 --- a/parachain/pallets/assets/src/lib.rs +++ b/parachain/pallets/assets/src/lib.rs @@ -14,9 +14,9 @@ //! //! The Assets module provides implementations for the following traits. //! -//! - [`MultiAsset`](../artemis_core/assets/trait.MultiAsset.html): Functions for dealing with a +//! - [`MultiAsset`](../snowbridge_core/assets/trait.MultiAsset.html): Functions for dealing with a //! multiple fungible assets. -//! - [`SingleAsset`](../artemis_core/assets/trait.SingleAsset.html): Functions for dealing with a +//! - [`SingleAsset`](../snowbridge_core/assets/trait.SingleAsset.html): Functions for dealing with a //! single fungible asset. //! //! ## Interface @@ -38,7 +38,7 @@ use frame_support::{ use sp_runtime::traits::StaticLookup; use sp_core::U256; -use artemis_core::assets::{AssetId, MultiAsset, SingleAsset}; +use snowbridge_core::assets::{AssetId, MultiAsset, SingleAsset}; use sp_std::marker; mod benchmarking; diff --git a/parachain/pallets/assets/src/tests.rs b/parachain/pallets/assets/src/tests.rs index 99272b5c6b..b42e2cf139 100644 --- a/parachain/pallets/assets/src/tests.rs +++ b/parachain/pallets/assets/src/tests.rs @@ -2,7 +2,7 @@ use crate::mock::{new_tester, AccountId, Assets, Test}; use frame_support::{assert_ok, assert_noop}; use sp_keyring::AccountKeyring as Keyring; use crate::{Balances, TotalIssuance}; -use artemis_core::{AssetId, MultiAsset}; +use snowbridge_core::{AssetId, MultiAsset}; use super::*; diff --git a/parachain/pallets/basic-channel/Cargo.toml b/parachain/pallets/basic-channel/Cargo.toml index 7b30f7fc8b..67e9c1baf7 100644 --- a/parachain/pallets/basic-channel/Cargo.toml +++ b/parachain/pallets/basic-channel/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "artemis-basic-channel" -description = "Artemis Basic Channel" +name = "snowbridge-basic-channel" +description = "Snowbridge Basic Channel" version = "0.1.1" edition = "2018" authors = ["Snowfork "] @@ -23,8 +23,8 @@ sp-std = { git = "https://github.com/paritytech/substrate.git", branch = "polkad sp-io = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-ethereum = { path = "../../primitives/ethereum", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false } ethabi = { git = "https://github.com/Snowfork/ethabi-decode.git", package = "ethabi-decode", branch = "master", default-features = false } [dev-dependencies] @@ -44,12 +44,12 @@ std = [ "sp-runtime/std", "sp-std/std", "sp-io/std", - "artemis-core/std", - "artemis-ethereum/std", + "snowbridge-core/std", + "snowbridge-ethereum/std", "ethabi/std" ] runtime-benchmarks = [ - "artemis-core/runtime-benchmarks", + "snowbridge-core/runtime-benchmarks", "frame-benchmarking", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", diff --git a/parachain/pallets/basic-channel/src/inbound/benchmarking.rs b/parachain/pallets/basic-channel/src/inbound/benchmarking.rs index 1474fce598..96989dc37f 100644 --- a/parachain/pallets/basic-channel/src/inbound/benchmarking.rs +++ b/parachain/pallets/basic-channel/src/inbound/benchmarking.rs @@ -9,8 +9,8 @@ use frame_benchmarking::{benchmarks, whitelisted_caller, impl_benchmark_test_sui use hex_literal::hex; use sp_std::convert::TryInto; -use artemis_core::{ChannelId, Message, MessageId, Proof}; -use artemis_ethereum::{Log, Header}; +use snowbridge_core::{ChannelId, Message, MessageId, Proof}; +use snowbridge_ethereum::{Log, Header}; #[allow(unused_imports)] use crate::inbound::Module as BasicInboundChannel; diff --git a/parachain/pallets/basic-channel/src/inbound/envelope.rs b/parachain/pallets/basic-channel/src/inbound/envelope.rs index 3461c422ee..bf9d70f743 100644 --- a/parachain/pallets/basic-channel/src/inbound/envelope.rs +++ b/parachain/pallets/basic-channel/src/inbound/envelope.rs @@ -1,5 +1,5 @@ use ethabi::{Event, Param, ParamKind, Token}; -use artemis_ethereum::{log::Log, H160}; +use snowbridge_ethereum::{log::Log, H160}; use sp_core::RuntimeDebug; use sp_std::prelude::*; diff --git a/parachain/pallets/basic-channel/src/inbound/mod.rs b/parachain/pallets/basic-channel/src/inbound/mod.rs index 7fec5afbbc..fd50418385 100644 --- a/parachain/pallets/basic-channel/src/inbound/mod.rs +++ b/parachain/pallets/basic-channel/src/inbound/mod.rs @@ -7,7 +7,7 @@ use frame_system::{self as system, ensure_signed}; use sp_core::H160; use sp_std::prelude::*; use sp_std::convert::TryFrom; -use artemis_core::{ +use snowbridge_core::{ ChannelId, Message, MessageId, MessageDispatch, Verifier, }; diff --git a/parachain/pallets/basic-channel/src/inbound/test.rs b/parachain/pallets/basic-channel/src/inbound/test.rs index d06ffe9ae9..bfd60ab161 100644 --- a/parachain/pallets/basic-channel/src/inbound/test.rs +++ b/parachain/pallets/basic-channel/src/inbound/test.rs @@ -13,8 +13,8 @@ use sp_runtime::{ use sp_keyring::AccountKeyring as Keyring; use sp_std::convert::From; -use artemis_core::{MessageDispatch, Message, Proof}; -use artemis_ethereum::{Header as EthereumHeader, Log, U256}; +use snowbridge_core::{MessageDispatch, Message, Proof}; +use snowbridge_ethereum::{Header as EthereumHeader, Log, U256}; use hex_literal::hex; diff --git a/parachain/pallets/basic-channel/src/outbound/mod.rs b/parachain/pallets/basic-channel/src/outbound/mod.rs index 7e32bd0e52..37140c4947 100644 --- a/parachain/pallets/basic-channel/src/outbound/mod.rs +++ b/parachain/pallets/basic-channel/src/outbound/mod.rs @@ -15,7 +15,7 @@ use sp_runtime::{ }; use sp_std::prelude::*; -use artemis_core::{ChannelId, MessageNonce, types::AuxiliaryDigestItem}; +use snowbridge_core::{ChannelId, MessageNonce, types::AuxiliaryDigestItem}; #[cfg(feature = "runtime-benchmarks")] mod benchmarking; diff --git a/parachain/pallets/dispatch/Cargo.toml b/parachain/pallets/dispatch/Cargo.toml index 8def1f094b..1cab13d473 100644 --- a/parachain/pallets/dispatch/Cargo.toml +++ b/parachain/pallets/dispatch/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "artemis-dispatch" -description = "Artemis Dispatch Pallet" +name = "snowbridge-dispatch" +description = "Snowbridge Dispatch Pallet" version = "0.1.1" edition = "2018" authors = ["Snowfork "] @@ -21,7 +21,7 @@ sp-std = { git = "https://github.com/paritytech/substrate.git", branch = "polkad sp-io = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } [dev-dependencies] sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" } @@ -38,10 +38,10 @@ std = [ "sp-io/std", "sp-runtime/std", "sp-std/std", - "artemis-core/std", + "snowbridge-core/std", ] runtime-benchmarks = [ - "artemis-core/runtime-benchmarks", + "snowbridge-core/runtime-benchmarks", "frame-benchmarking", "sp-runtime/runtime-benchmarks", "frame-system/runtime-benchmarks", diff --git a/parachain/pallets/dispatch/src/lib.rs b/parachain/pallets/dispatch/src/lib.rs index 4b1c937bab..f78ff1b457 100644 --- a/parachain/pallets/dispatch/src/lib.rs +++ b/parachain/pallets/dispatch/src/lib.rs @@ -13,7 +13,7 @@ use frame_system::{self as system}; use sp_core::H160; use sp_std::prelude::*; -use artemis_core::MessageDispatch; +use snowbridge_core::MessageDispatch; use codec::{Encode, Decode}; diff --git a/parachain/pallets/dot-app/Cargo.toml b/parachain/pallets/dot-app/Cargo.toml index a8b817f2fc..fe18b7ba6e 100644 --- a/parachain/pallets/dot-app/Cargo.toml +++ b/parachain/pallets/dot-app/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-dot-app" +name = "snowbridge-dot-app" version = "0.1.1" authors = ["Snowfork "] edition = "2018" @@ -24,12 +24,12 @@ sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "po ethabi = { git = "https://github.com/Snowfork/ethabi-decode.git", package = "ethabi-decode", branch = "master", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-ethereum = { path = "../../primitives/ethereum", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false } [dev-dependencies] -artemis-assets = { path = "../../pallets/assets" } -artemis-dispatch = { path = "../../pallets/dispatch" } +snowbridge-assets = { path = "../../pallets/assets" } +snowbridge-dispatch = { path = "../../pallets/dispatch" } sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" } pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" } @@ -45,8 +45,8 @@ std = [ "sp-std/std", "sp-io/std", "sp-runtime/std", - "artemis-core/std", - "artemis-ethereum/std", + "snowbridge-core/std", + "snowbridge-ethereum/std", "ethabi/std", "rlp/std" ] diff --git a/parachain/pallets/dot-app/src/lib.rs b/parachain/pallets/dot-app/src/lib.rs index f2ec5e2197..9e1667eca7 100644 --- a/parachain/pallets/dot-app/src/lib.rs +++ b/parachain/pallets/dot-app/src/lib.rs @@ -24,7 +24,7 @@ use frame_support::{ #[cfg(feature = "std")] use frame_support::traits::GenesisBuild; -use artemis_core::{ChannelId, OutboundRouter}; +use snowbridge_core::{ChannelId, OutboundRouter}; use sp_core::{H160, U256}; use sp_runtime::traits::{AccountIdConversion, StaticLookup}; use sp_std::prelude::*; diff --git a/parachain/pallets/dot-app/src/mock.rs b/parachain/pallets/dot-app/src/mock.rs index 43c4d91f6e..19d4a94c83 100644 --- a/parachain/pallets/dot-app/src/mock.rs +++ b/parachain/pallets/dot-app/src/mock.rs @@ -14,7 +14,7 @@ use sp_runtime::{ MultiSignature, }; -use artemis_core::{ChannelId, OutboundRouter}; +use snowbridge_core::{ChannelId, OutboundRouter}; use crate as dot_app; @@ -29,7 +29,7 @@ frame_support::construct_runtime!( { System: frame_system::{Pallet, Call, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Event}, - Dispatch: artemis_dispatch::{Pallet, Call, Storage, Origin, Event}, + Dispatch: snowbridge_dispatch::{Pallet, Call, Storage, Origin, Event}, DotApp: dot_app::{Pallet, Call, Config, Storage, Event}, } ); @@ -70,7 +70,7 @@ impl system::Config for Test { type OnSetCode = (); } -impl artemis_dispatch::Config for Test { +impl snowbridge_dispatch::Config for Test { type Origin = Origin; type Event = Event; type MessageId = u64; @@ -118,7 +118,7 @@ impl dot_app::Config for Test { type Event = Event; type Currency = Balances; type OutboundRouter = MockOutboundRouter; - type CallOrigin = artemis_dispatch::EnsureEthereumAccount; + type CallOrigin = snowbridge_dispatch::EnsureEthereumAccount; type PalletId = DotPalletId; type Decimals = Decimals; type WeightInfo = (); diff --git a/parachain/pallets/dot-app/src/payload.rs b/parachain/pallets/dot-app/src/payload.rs index c984b8bd0d..e3c43a40f5 100644 --- a/parachain/pallets/dot-app/src/payload.rs +++ b/parachain/pallets/dot-app/src/payload.rs @@ -3,7 +3,7 @@ use sp_std::prelude::*; use codec::Encode; use ethabi::{self, Token}; -use artemis_ethereum::H160; +use snowbridge_ethereum::H160; // Message to Ethereum (ABI-encoded) #[derive(Copy, Clone, PartialEq, Eq, RuntimeDebug)] diff --git a/parachain/pallets/dot-app/src/tests.rs b/parachain/pallets/dot-app/src/tests.rs index fe65dc74e9..dcd2411605 100644 --- a/parachain/pallets/dot-app/src/tests.rs +++ b/parachain/pallets/dot-app/src/tests.rs @@ -8,7 +8,7 @@ use frame_support::{assert_noop, assert_ok, }; use sp_keyring::AccountKeyring as Keyring; use sp_core::H160; -use artemis_core::ChannelId; +use snowbridge_core::ChannelId; fn last_event() -> Event { System::events().pop().expect("Event expected").event @@ -53,7 +53,7 @@ fn should_unlock() { assert_ok!( DotApp::unlock( - artemis_dispatch::Origin(peer_contract).into(), + snowbridge_dispatch::Origin(peer_contract).into(), sender, recipient.clone(), amount_wrapped, @@ -83,7 +83,7 @@ fn should_not_unlock_on_bad_origin_failure() { assert_noop!( DotApp::unlock( - artemis_dispatch::Origin(unknown_peer_contract).into(), + snowbridge_dispatch::Origin(unknown_peer_contract).into(), sender, recipient.clone(), amount_wrapped, diff --git a/parachain/pallets/erc20-app/Cargo.toml b/parachain/pallets/erc20-app/Cargo.toml index ecb71ed58e..970f5b10ea 100644 --- a/parachain/pallets/erc20-app/Cargo.toml +++ b/parachain/pallets/erc20-app/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-erc20-app" +name = "snowbridge-erc20-app" version = "0.1.1" authors = ["Snowfork "] edition = "2018" @@ -24,12 +24,12 @@ sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "po ethabi = { git = "https://github.com/Snowfork/ethabi-decode.git", package = "ethabi-decode", branch = "master", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-ethereum = { path = "../../primitives/ethereum", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false } [dev-dependencies] -artemis-assets = { path = "../../pallets/assets" } -artemis-dispatch = { path = "../../pallets/dispatch" } +snowbridge-assets = { path = "../../pallets/assets" } +snowbridge-dispatch = { path = "../../pallets/dispatch" } sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" } [features] @@ -44,8 +44,8 @@ std = [ "sp-std/std", "sp-io/std", "sp-runtime/std", - "artemis-core/std", - "artemis-ethereum/std", + "snowbridge-core/std", + "snowbridge-ethereum/std", "ethabi/std", "rlp/std" ] diff --git a/parachain/pallets/erc20-app/src/lib.rs b/parachain/pallets/erc20-app/src/lib.rs index 835ed7e9f0..57c8e42d27 100644 --- a/parachain/pallets/erc20-app/src/lib.rs +++ b/parachain/pallets/erc20-app/src/lib.rs @@ -28,7 +28,7 @@ use sp_runtime::traits::StaticLookup; use sp_std::prelude::*; use sp_core::{H160, U256}; -use artemis_core::{ChannelId, OutboundRouter, AssetId, MultiAsset}; +use snowbridge_core::{ChannelId, OutboundRouter, AssetId, MultiAsset}; mod payload; use payload::OutboundPayload; diff --git a/parachain/pallets/erc20-app/src/mock.rs b/parachain/pallets/erc20-app/src/mock.rs index d4fd22d9aa..a24f6819bc 100644 --- a/parachain/pallets/erc20-app/src/mock.rs +++ b/parachain/pallets/erc20-app/src/mock.rs @@ -13,7 +13,7 @@ use sp_runtime::{ }; use frame_system as system; -use artemis_core::{ChannelId, AssetId, OutboundRouter}; +use snowbridge_core::{ChannelId, AssetId, OutboundRouter}; use crate as erc20_app; @@ -27,8 +27,8 @@ frame_support::construct_runtime!( UncheckedExtrinsic = UncheckedExtrinsic, { System: frame_system::{Pallet, Call, Storage, Event}, - Assets: artemis_assets::{Pallet, Call, Storage, Event}, - Dispatch: artemis_dispatch::{Pallet, Call, Storage, Origin, Event}, + Assets: snowbridge_assets::{Pallet, Call, Storage, Event}, + Dispatch: snowbridge_dispatch::{Pallet, Call, Storage, Origin, Event}, Erc20App: erc20_app::{Pallet, Call, Config, Storage, Event}, } ); @@ -67,12 +67,12 @@ impl system::Config for Test { type OnSetCode = (); } -impl artemis_assets::Config for Test { +impl snowbridge_assets::Config for Test { type Event = Event; type WeightInfo = (); } -impl artemis_dispatch::Config for Test { +impl snowbridge_dispatch::Config for Test { type Origin = Origin; type Event = Event; type MessageId = u64; @@ -99,7 +99,7 @@ impl erc20_app::Config for Test { type Event = Event; type Assets = Assets; type OutboundRouter = MockOutboundRouter; - type CallOrigin = artemis_dispatch::EnsureEthereumAccount; + type CallOrigin = snowbridge_dispatch::EnsureEthereumAccount; type WeightInfo = (); } diff --git a/parachain/pallets/erc20-app/src/payload.rs b/parachain/pallets/erc20-app/src/payload.rs index 023304bcd5..cbab8078c3 100644 --- a/parachain/pallets/erc20-app/src/payload.rs +++ b/parachain/pallets/erc20-app/src/payload.rs @@ -3,7 +3,7 @@ use sp_std::prelude::*; use codec::Encode; use ethabi::{self, Token}; -use artemis_ethereum::{H160, U256}; +use snowbridge_ethereum::{H160, U256}; // Message to Ethereum (ABI-encoded) #[derive(Copy, Clone, PartialEq, Eq, RuntimeDebug)] diff --git a/parachain/pallets/erc20-app/src/tests.rs b/parachain/pallets/erc20-app/src/tests.rs index cc951ee0f7..3401bbddc1 100644 --- a/parachain/pallets/erc20-app/src/tests.rs +++ b/parachain/pallets/erc20-app/src/tests.rs @@ -2,7 +2,7 @@ use crate::mock::{new_tester, Event, System, AccountId, Origin, Assets, Erc20App use frame_support::{assert_ok, assert_noop, dispatch::DispatchError}; use sp_keyring::AccountKeyring as Keyring; use sp_core::H160; -use artemis_core::{ChannelId, AssetId, MultiAsset}; +use snowbridge_core::{ChannelId, AssetId, MultiAsset}; use crate::RawEvent; @@ -20,7 +20,7 @@ fn mints_after_handling_ethereum_event() { let amount = 10; assert_ok!( Erc20App::mint( - artemis_dispatch::Origin(peer_contract).into(), + snowbridge_dispatch::Origin(peer_contract).into(), token, sender, recipient.clone(), diff --git a/parachain/pallets/erc721-app/Cargo.toml b/parachain/pallets/erc721-app/Cargo.toml index 02f8f6cabb..9a31f0295a 100644 --- a/parachain/pallets/erc721-app/Cargo.toml +++ b/parachain/pallets/erc721-app/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-erc721-app" +name = "snowbridge-erc721-app" version = "0.0.1" authors = ["Snowfork "] edition = "2018" @@ -23,12 +23,12 @@ sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "po ethabi = { git = "https://github.com/Snowfork/ethabi-decode.git", package = "ethabi-decode", branch = "master", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-ethereum = { path = "../../primitives/ethereum", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false } [dev-dependencies] -artemis-nft = { path = "../../pallets/nft" } -artemis-dispatch = { path = "../../pallets/dispatch" } +snowbridge-nft = { path = "../../pallets/nft" } +snowbridge-dispatch = { path = "../../pallets/dispatch" } sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" } [features] @@ -43,8 +43,8 @@ std = [ "sp-std/std", "sp-io/std", "sp-runtime/std", - "artemis-core/std", - "artemis-ethereum/std", + "snowbridge-core/std", + "snowbridge-ethereum/std", "ethabi/std", "rlp/std" ] diff --git a/parachain/pallets/erc721-app/src/lib.rs b/parachain/pallets/erc721-app/src/lib.rs index 33c7597d4a..2fc0694e9d 100644 --- a/parachain/pallets/erc721-app/src/lib.rs +++ b/parachain/pallets/erc721-app/src/lib.rs @@ -23,8 +23,8 @@ use sp_std::prelude::*; use sp_runtime::traits::{AtLeast32BitUnsigned, StaticLookup}; use sp_core::H160; -use artemis_core::{ChannelId, OutboundRouter, nft::{Nft, ERC721TokenData}}; -use artemis_ethereum::U256; +use snowbridge_core::{ChannelId, OutboundRouter, nft::{Nft, ERC721TokenData}}; +use snowbridge_ethereum::U256; mod payload; use payload::OutboundPayload; diff --git a/parachain/pallets/erc721-app/src/mock.rs b/parachain/pallets/erc721-app/src/mock.rs index af07c393e1..6670c675cd 100644 --- a/parachain/pallets/erc721-app/src/mock.rs +++ b/parachain/pallets/erc721-app/src/mock.rs @@ -14,7 +14,7 @@ use sp_runtime::{ }, testing::Header, MultiSignature, }; -use artemis_core::{ChannelId, OutboundRouter, nft::ERC721TokenData}; +use snowbridge_core::{ChannelId, OutboundRouter, nft::ERC721TokenData}; use crate as erc721_app; @@ -28,8 +28,8 @@ frame_support::construct_runtime!( UncheckedExtrinsic = UncheckedExtrinsic, { System: frame_system::{Pallet, Call, Storage, Event}, - Dispatch: artemis_dispatch::{Pallet, Call, Storage, Origin, Event}, - NftApp: artemis_nft::{Pallet, Call, Config, Storage}, + Dispatch: snowbridge_dispatch::{Pallet, Call, Storage, Origin, Event}, + NftApp: snowbridge_nft::{Pallet, Call, Config, Storage}, Erc721App: erc721_app::{Pallet, Call, Config, Storage, Event}, } ); @@ -69,12 +69,12 @@ impl frame_system::Config for Test { } -impl artemis_nft::Config for Test { +impl snowbridge_nft::Config for Test { type TokenId = u64; type TokenData = ERC721TokenData; } -impl artemis_dispatch::Config for Test { +impl snowbridge_dispatch::Config for Test { type Origin = Origin; type Event = Event; type MessageId = u64; @@ -96,9 +96,9 @@ impl OutboundRouter for MockOutboundRouter { impl erc721_app::Config for Test { type Event = Event; type OutboundRouter = MockOutboundRouter; - type CallOrigin = artemis_dispatch::EnsureEthereumAccount; + type CallOrigin = snowbridge_dispatch::EnsureEthereumAccount; type WeightInfo = (); - type TokenId = ::TokenId; + type TokenId = ::TokenId; type Nft = NftApp; } diff --git a/parachain/pallets/erc721-app/src/payload.rs b/parachain/pallets/erc721-app/src/payload.rs index 2ffc3bc7d3..2fbb3c084a 100644 --- a/parachain/pallets/erc721-app/src/payload.rs +++ b/parachain/pallets/erc721-app/src/payload.rs @@ -3,7 +3,7 @@ use sp_std::prelude::*; use codec::Encode; use ethabi::{self, Token}; -use artemis_ethereum::{H160, U256}; +use snowbridge_ethereum::{H160, U256}; // Message to Ethereum (ABI-encoded) #[derive(Copy, Clone, PartialEq, Eq, RuntimeDebug)] diff --git a/parachain/pallets/erc721-app/src/tests.rs b/parachain/pallets/erc721-app/src/tests.rs index db7963c9d0..1f27c8618a 100644 --- a/parachain/pallets/erc721-app/src/tests.rs +++ b/parachain/pallets/erc721-app/src/tests.rs @@ -3,8 +3,8 @@ use frame_support::{assert_ok, assert_noop, dispatch::DispatchError}; use sp_keyring::AccountKeyring as Keyring; use sp_core::H160; -use artemis_ethereum::U256; -use artemis_core::{ChannelId, nft::{ERC721TokenData, Nft}}; +use snowbridge_ethereum::U256; +use snowbridge_core::{ChannelId, nft::{ERC721TokenData, Nft}}; use crate::Event; @@ -22,7 +22,7 @@ fn mints_after_handling_ethereum_event() { let recipient: AccountId = Keyring::Bob.into(); assert_ok!(Erc721App::mint( - artemis_dispatch::Origin(peer_contract).into(), + snowbridge_dispatch::Origin(peer_contract).into(), sender, recipient.clone(), token_contract, diff --git a/parachain/pallets/eth-app/Cargo.toml b/parachain/pallets/eth-app/Cargo.toml index 2bd56a7b7b..a99b1b10bf 100644 --- a/parachain/pallets/eth-app/Cargo.toml +++ b/parachain/pallets/eth-app/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-eth-app" +name = "snowbridge-eth-app" version = "0.1.1" authors = ["Snowfork "] edition = "2018" @@ -24,12 +24,12 @@ sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "po ethabi = { git = "https://github.com/Snowfork/ethabi-decode.git", package = "ethabi-decode", branch = "master", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-ethereum = { path = "../../primitives/ethereum", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false } [dev-dependencies] -artemis-assets = { path = "../../pallets/assets" } -artemis-dispatch = { path = "../../pallets/dispatch" } +snowbridge-assets = { path = "../../pallets/assets" } +snowbridge-dispatch = { path = "../../pallets/dispatch" } sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" } [features] @@ -44,8 +44,8 @@ std = [ "sp-std/std", "sp-io/std", "sp-runtime/std", - "artemis-core/std", - "artemis-ethereum/std", + "snowbridge-core/std", + "snowbridge-ethereum/std", "ethabi/std", "rlp/std" ] diff --git a/parachain/pallets/eth-app/src/lib.rs b/parachain/pallets/eth-app/src/lib.rs index 480a517a0c..8419ce3287 100644 --- a/parachain/pallets/eth-app/src/lib.rs +++ b/parachain/pallets/eth-app/src/lib.rs @@ -28,7 +28,7 @@ use sp_runtime::traits::StaticLookup; use sp_std::prelude::*; use sp_core::{H160, U256}; -use artemis_core::{ChannelId, SingleAsset, OutboundRouter}; +use snowbridge_core::{ChannelId, SingleAsset, OutboundRouter}; mod payload; use payload::OutboundPayload; diff --git a/parachain/pallets/eth-app/src/mock.rs b/parachain/pallets/eth-app/src/mock.rs index 3aa8d1e558..f3d1a3d8c6 100644 --- a/parachain/pallets/eth-app/src/mock.rs +++ b/parachain/pallets/eth-app/src/mock.rs @@ -13,8 +13,8 @@ use sp_runtime::{ }; use frame_system as system; -use artemis_core::{ChannelId, AssetId, OutboundRouter}; -use artemis_assets::SingleAssetAdaptor; +use snowbridge_core::{ChannelId, AssetId, OutboundRouter}; +use snowbridge_assets::SingleAssetAdaptor; use crate as eth_app; @@ -28,8 +28,8 @@ frame_support::construct_runtime!( UncheckedExtrinsic = UncheckedExtrinsic, { System: frame_system::{Pallet, Call, Storage, Event}, - Assets: artemis_assets::{Pallet, Call, Storage, Event}, - Dispatch: artemis_dispatch::{Pallet, Call, Storage, Origin, Event}, + Assets: snowbridge_assets::{Pallet, Call, Storage, Event}, + Dispatch: snowbridge_dispatch::{Pallet, Call, Storage, Origin, Event}, EthApp: eth_app::{Pallet, Call, Config, Storage, Event}, } ); @@ -68,12 +68,12 @@ impl system::Config for Test { type OnSetCode = (); } -impl artemis_assets::Config for Test { +impl snowbridge_assets::Config for Test { type Event = Event; type WeightInfo = (); } -impl artemis_dispatch::Config for Test { +impl snowbridge_dispatch::Config for Test { type Origin = Origin; type Event = Event; type MessageId = u64; @@ -100,7 +100,7 @@ impl eth_app::Config for Test { type Event = Event; type Asset = Asset; type OutboundRouter = MockOutboundRouter; - type CallOrigin = artemis_dispatch::EnsureEthereumAccount; + type CallOrigin = snowbridge_dispatch::EnsureEthereumAccount; type WeightInfo = (); } diff --git a/parachain/pallets/eth-app/src/payload.rs b/parachain/pallets/eth-app/src/payload.rs index bcb0bf440d..a6ddbeb3b3 100644 --- a/parachain/pallets/eth-app/src/payload.rs +++ b/parachain/pallets/eth-app/src/payload.rs @@ -3,7 +3,7 @@ use sp_std::prelude::*; use codec::Encode; use ethabi::{self, Token}; -use artemis_ethereum::{H160, U256}; +use snowbridge_ethereum::{H160, U256}; // Message to Ethereum (ABI-encoded) #[derive(Copy, Clone, PartialEq, Eq, RuntimeDebug)] diff --git a/parachain/pallets/eth-app/src/tests.rs b/parachain/pallets/eth-app/src/tests.rs index 06dc868ed3..0f3b65bf8f 100644 --- a/parachain/pallets/eth-app/src/tests.rs +++ b/parachain/pallets/eth-app/src/tests.rs @@ -4,7 +4,7 @@ use sp_keyring::AccountKeyring as Keyring; use sp_core::H160; use crate::RawEvent; -use artemis_core::{SingleAsset, ChannelId}; +use snowbridge_core::{SingleAsset, ChannelId}; fn last_event() -> Event { System::events().pop().expect("Event expected").event @@ -19,7 +19,7 @@ fn mints_after_handling_ethereum_event() { let amount = 10; assert_ok!( EthApp::mint( - artemis_dispatch::Origin(peer_contract).into(), + snowbridge_dispatch::Origin(peer_contract).into(), sender, recipient.clone(), amount.into() diff --git a/parachain/pallets/incentivized-channel/Cargo.toml b/parachain/pallets/incentivized-channel/Cargo.toml index 73b58e61e2..92c297ee08 100644 --- a/parachain/pallets/incentivized-channel/Cargo.toml +++ b/parachain/pallets/incentivized-channel/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "artemis-incentivized-channel" -description = "Artemis Incentivized Channel" +name = "snowbridge-incentivized-channel" +description = "Snowbridge Incentivized Channel" version = "0.1.1" edition = "2018" authors = ["Snowfork "] @@ -23,13 +23,13 @@ sp-std = { git = "https://github.com/paritytech/substrate.git", branch = "polkad sp-io = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-ethereum = { path = "../../primitives/ethereum", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false } ethabi = { git = "https://github.com/Snowfork/ethabi-decode.git", package = "ethabi-decode", branch = "master", default-features = false } [dev-dependencies] pallet-balances = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" } -artemis-assets = { path = "../assets" } +snowbridge-assets = { path = "../assets" } sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" } hex-literal = { version = "0.3.1" } rlp = { version = "0.5" } @@ -45,12 +45,12 @@ std = [ "sp-runtime/std", "sp-std/std", "sp-io/std", - "artemis-core/std", - "artemis-ethereum/std", + "snowbridge-core/std", + "snowbridge-ethereum/std", "ethabi/std" ] runtime-benchmarks = [ - "artemis-core/runtime-benchmarks", + "snowbridge-core/runtime-benchmarks", "frame-benchmarking", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", diff --git a/parachain/pallets/incentivized-channel/src/inbound/benchmarking.rs b/parachain/pallets/incentivized-channel/src/inbound/benchmarking.rs index 22d54bc60b..6f65381550 100644 --- a/parachain/pallets/incentivized-channel/src/inbound/benchmarking.rs +++ b/parachain/pallets/incentivized-channel/src/inbound/benchmarking.rs @@ -9,8 +9,8 @@ use frame_benchmarking::{benchmarks, whitelisted_caller, impl_benchmark_test_sui use hex_literal::hex; use sp_std::convert::TryInto; -use artemis_core::{ChannelId, Message, MessageId, Proof}; -use artemis_ethereum::{Log, Header}; +use snowbridge_core::{ChannelId, Message, MessageId, Proof}; +use snowbridge_ethereum::{Log, Header}; #[allow(unused_imports)] use crate::inbound::Module as IncentivizedInboundChannel; diff --git a/parachain/pallets/incentivized-channel/src/inbound/envelope.rs b/parachain/pallets/incentivized-channel/src/inbound/envelope.rs index 592489e8ff..529fa5f5f9 100644 --- a/parachain/pallets/incentivized-channel/src/inbound/envelope.rs +++ b/parachain/pallets/incentivized-channel/src/inbound/envelope.rs @@ -1,5 +1,5 @@ use ethabi::{Event, Param, ParamKind, Token}; -use artemis_ethereum::{log::Log, H160}; +use snowbridge_ethereum::{log::Log, H160}; use sp_runtime::traits::Convert; use sp_core::RuntimeDebug; use sp_std::prelude::*; diff --git a/parachain/pallets/incentivized-channel/src/inbound/mod.rs b/parachain/pallets/incentivized-channel/src/inbound/mod.rs index 0a6e008859..21756515d3 100644 --- a/parachain/pallets/incentivized-channel/src/inbound/mod.rs +++ b/parachain/pallets/incentivized-channel/src/inbound/mod.rs @@ -14,7 +14,7 @@ use frame_system::{self as system, ensure_signed}; use sp_core::{U256, H160}; use sp_std::prelude::*; use sp_std::convert::TryFrom; -use artemis_core::{ +use snowbridge_core::{ ChannelId, Message, MessageId, MessageDispatch, Verifier, }; diff --git a/parachain/pallets/incentivized-channel/src/inbound/test.rs b/parachain/pallets/incentivized-channel/src/inbound/test.rs index 28efe5e807..4d7f98161a 100644 --- a/parachain/pallets/incentivized-channel/src/inbound/test.rs +++ b/parachain/pallets/incentivized-channel/src/inbound/test.rs @@ -15,8 +15,8 @@ use sp_runtime::{ use sp_keyring::AccountKeyring as Keyring; use sp_std::{marker::PhantomData, convert::From}; -use artemis_core::{MessageDispatch, Message, Proof}; -use artemis_ethereum::{Header as EthereumHeader, Log, U256}; +use snowbridge_core::{MessageDispatch, Message, Proof}; +use snowbridge_ethereum::{Header as EthereumHeader, Log, U256}; use hex_literal::hex; diff --git a/parachain/pallets/incentivized-channel/src/outbound/mod.rs b/parachain/pallets/incentivized-channel/src/outbound/mod.rs index c5203eb015..7d8ab223ed 100644 --- a/parachain/pallets/incentivized-channel/src/outbound/mod.rs +++ b/parachain/pallets/incentivized-channel/src/outbound/mod.rs @@ -15,7 +15,7 @@ use sp_runtime::{ }; use sp_std::prelude::*; -use artemis_core::{SingleAsset, ChannelId, MessageNonce, types::AuxiliaryDigestItem}; +use snowbridge_core::{SingleAsset, ChannelId, MessageNonce, types::AuxiliaryDigestItem}; #[cfg(feature = "runtime-benchmarks")] mod benchmarking; diff --git a/parachain/pallets/incentivized-channel/src/outbound/test.rs b/parachain/pallets/incentivized-channel/src/outbound/test.rs index db25d0775a..dc4e1ef3ed 100644 --- a/parachain/pallets/incentivized-channel/src/outbound/test.rs +++ b/parachain/pallets/incentivized-channel/src/outbound/test.rs @@ -12,8 +12,8 @@ use sp_runtime::{ use sp_keyring::AccountKeyring as Keyring; use sp_std::convert::From; -use artemis_core::{AssetId, SingleAsset}; -use artemis_assets::{SingleAssetAdaptor}; +use snowbridge_core::{AssetId, SingleAsset}; +use snowbridge_assets::{SingleAssetAdaptor}; use crate::outbound as incentivized_outbound_channel; @@ -27,7 +27,7 @@ frame_support::construct_runtime!( UncheckedExtrinsic = UncheckedExtrinsic, { System: frame_system::{Pallet, Call, Storage, Event}, - Assets: artemis_assets::{Pallet, Call, Storage, Event}, + Assets: snowbridge_assets::{Pallet, Call, Storage, Event}, IncentivizedOutboundChannel: incentivized_outbound_channel::{Pallet, Call, Storage, Event}, } ); @@ -65,7 +65,7 @@ impl system::Config for Test { type OnSetCode = (); } -impl artemis_assets::Config for Test { +impl snowbridge_assets::Config for Test { type Event = Event; type WeightInfo = (); } diff --git a/parachain/pallets/nft/Cargo.toml b/parachain/pallets/nft/Cargo.toml index 6911487efb..5e1f00fb4f 100644 --- a/parachain/pallets/nft/Cargo.toml +++ b/parachain/pallets/nft/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-nft" +name = "snowbridge-nft" version = "0.0.1" authors = ["Snowfork "] edition = "2018" @@ -20,7 +20,7 @@ sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polka sp-std = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } [dev-dependencies] sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } @@ -37,7 +37,7 @@ std = [ "sp-std/std", "sp-io/std", "sp-runtime/std", - "artemis-core/std" + "snowbridge-core/std" ] runtime-benchmarks = [ "frame-benchmarking", diff --git a/parachain/pallets/nft/src/lib.rs b/parachain/pallets/nft/src/lib.rs index eb0dd9c3a7..c641c7712b 100644 --- a/parachain/pallets/nft/src/lib.rs +++ b/parachain/pallets/nft/src/lib.rs @@ -27,7 +27,7 @@ use sp_runtime::{ }; use sp_std::vec::Vec; -use artemis_core::nft::{TokenInfo, Nft}; +use snowbridge_core::nft::{TokenInfo, Nft}; // TODO add // mod benchmarking; diff --git a/parachain/pallets/transfer/Cargo.toml b/parachain/pallets/transfer/Cargo.toml index 5d03e9efe2..05926f6359 100644 --- a/parachain/pallets/transfer/Cargo.toml +++ b/parachain/pallets/transfer/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "artemis-transfer" -description = "Artemis XCM Transfer pallet" +name = "snowbridge-transfer" +description = "Snowbridge XCM Transfer pallet" version = "0.1.1" edition = "2018" authors = ["Snowfork "] @@ -20,7 +20,7 @@ xcm = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0 xcm-executor = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8", default-features = false } cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus.git", branch = "polkadot-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } [features] default = ["std"] @@ -35,5 +35,5 @@ std = [ "cumulus-primitives-core/std", "xcm/std", "xcm-executor/std", - "artemis-core/std", + "snowbridge-core/std", ] diff --git a/parachain/pallets/transfer/src/lib.rs b/parachain/pallets/transfer/src/lib.rs index 97f917ba18..6fa5b3ca1a 100644 --- a/parachain/pallets/transfer/src/lib.rs +++ b/parachain/pallets/transfer/src/lib.rs @@ -17,7 +17,7 @@ use cumulus_primitives_core::{relay_chain::Balance as RelayChainBalance, ParaId} use xcm::v0::{ExecuteXcm, Junction, MultiAsset, MultiLocation, NetworkId, Order, Xcm}; use xcm_executor::traits::Convert as XcmConvert; -use artemis_core::AssetId; +use snowbridge_core::AssetId; pub trait Config: frame_system::Config { type Event: From> + Into<::Event>; diff --git a/parachain/pallets/verifier-lightclient/Cargo.toml b/parachain/pallets/verifier-lightclient/Cargo.toml index fd73c8d597..86fd5b6bb9 100644 --- a/parachain/pallets/verifier-lightclient/Cargo.toml +++ b/parachain/pallets/verifier-lightclient/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-verifier-lightclient" -description = "Artemis Light Client Verifier Pallet" +description = "Snowbridge Light Client Verifier Pallet" version = "0.1.1" edition = "2018" authors = ["Snowfork "] @@ -24,15 +24,15 @@ sp-std = { git = "https://github.com/paritytech/substrate.git", branch = "polkad sp-io = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-ethereum = { path = "../../primitives/ethereum", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-ethereum = { path = "../../primitives/ethereum", default-features = false } ethash = { git = "https://github.com/snowfork/ethash.git", branch = "master", default-features = false } [dev-dependencies] sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" } hex-literal = { version = "0.3.1" } -artemis-testutils = { path = "../../primitives/testutils" } +snowbridge-testutils = { path = "../../primitives/testutils" } serde_json = "1.0" [features] @@ -48,8 +48,8 @@ std = [ "sp-io/std", "sp-runtime/std", "sp-std/std", - "artemis-core/std", - "artemis-ethereum/std", + "snowbridge-core/std", + "snowbridge-ethereum/std", ] runtime-benchmarks = [ "frame-benchmarking", diff --git a/parachain/pallets/verifier-lightclient/src/lib.rs b/parachain/pallets/verifier-lightclient/src/lib.rs index df065ece0c..ca3ce15e0b 100644 --- a/parachain/pallets/verifier-lightclient/src/lib.rs +++ b/parachain/pallets/verifier-lightclient/src/lib.rs @@ -29,13 +29,13 @@ use sp_runtime::RuntimeDebug; use sp_std::prelude::*; use codec::{Encode, Decode}; -use artemis_core::{Message, Verifier, Proof}; -use artemis_ethereum::{ +use snowbridge_core::{Message, Verifier, Proof}; +use snowbridge_ethereum::{ HeaderId as EthereumHeaderId, Log, Receipt, H256, U256, difficulty::calc_difficulty, ethashproof::{DoubleNodeWithMerkleProof as EthashProofData, EthashProver}, }; -pub use artemis_ethereum::{ +pub use snowbridge_ethereum::{ Header as EthereumHeader, difficulty::DifficultyConfig as EthereumDifficultyConfig, }; diff --git a/parachain/pallets/verifier-lightclient/src/mock.rs b/parachain/pallets/verifier-lightclient/src/mock.rs index 1220f1677d..1c0cf77d99 100644 --- a/parachain/pallets/verifier-lightclient/src/mock.rs +++ b/parachain/pallets/verifier-lightclient/src/mock.rs @@ -1,6 +1,6 @@ // Mock runtime -use artemis_core::{Message, Proof}; -use artemis_testutils::BlockWithProofs; +use snowbridge_core::{Message, Proof}; +use snowbridge_testutils::BlockWithProofs; use crate::{EthashProofData, EthereumHeader, EthereumDifficultyConfig}; use sp_core::H256; use frame_support::{parameter_types}; diff --git a/parachain/pallets/verifier-lightclient/src/tests.rs b/parachain/pallets/verifier-lightclient/src/tests.rs index fbef2601bd..1b10ffb1f9 100644 --- a/parachain/pallets/verifier-lightclient/src/tests.rs +++ b/parachain/pallets/verifier-lightclient/src/tests.rs @@ -1,4 +1,4 @@ -use artemis_core::{Verifier as VerifierConfig}; +use snowbridge_core::{Verifier as VerifierConfig}; use crate::mock::{ child_of_genesis_ethereum_header, child_of_header, genesis_ethereum_block_hash, log_payload, diff --git a/parachain/primitives/core/Cargo.toml b/parachain/primitives/core/Cargo.toml index 372841d6f0..c6d5044cf0 100644 --- a/parachain/primitives/core/Cargo.toml +++ b/parachain/primitives/core/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-core" +name = "snowbridge-core" version = "0.1.1" authors = ["Snowfork "] edition = "2018" @@ -9,7 +9,7 @@ enum-iterator = "0.6.0" serde = { version = "1.0.101", optional = true } serde_derive = { version = "1.0.101", optional = true } codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false } -artemis-ethereum = { path = "../ethereum", default-features = false } +snowbridge-ethereum = { path = "../ethereum", default-features = false } frame-support = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } frame-system = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } @@ -30,6 +30,6 @@ std = [ "sp-std/std", "sp-core/std", "sp-runtime/std", - "artemis-ethereum/std", + "snowbridge-ethereum/std", ] runtime-benchmarks = [] diff --git a/parachain/primitives/core/src/lib.rs b/parachain/primitives/core/src/lib.rs index 12d24c7a48..054928a86b 100644 --- a/parachain/primitives/core/src/lib.rs +++ b/parachain/primitives/core/src/lib.rs @@ -10,7 +10,7 @@ use frame_support::dispatch::{DispatchError, DispatchResult}; use frame_system::Config; use sp_core::H160; use sp_std::prelude::*; -use artemis_ethereum::{Header, Log, U256}; +use snowbridge_ethereum::{Header, Log, U256}; pub mod types; pub mod assets; diff --git a/parachain/primitives/core/src/nft.rs b/parachain/primitives/core/src/nft.rs index 0fe6fb5535..7d87b66284 100644 --- a/parachain/primitives/core/src/nft.rs +++ b/parachain/primitives/core/src/nft.rs @@ -6,7 +6,7 @@ use sp_runtime::RuntimeDebug; use sp_core::H160; use sp_runtime::sp_std::prelude::Vec; -use artemis_ethereum::U256; +use snowbridge_ethereum::U256; /// Token info #[derive(Encode, Decode, Clone, Eq, PartialEq, RuntimeDebug)] diff --git a/parachain/primitives/ethereum/Cargo.toml b/parachain/primitives/ethereum/Cargo.toml index 4be895f616..334c5d7dd6 100644 --- a/parachain/primitives/ethereum/Cargo.toml +++ b/parachain/primitives/ethereum/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-ethereum" +name = "snowbridge-ethereum" version = "0.1.0" authors = ["Snowfork "] edition = "2018" @@ -27,7 +27,7 @@ ethash = { git = "https://github.com/snowfork/ethash.git", branch = "master", de [dev-dependencies] wasm-bindgen-test = "0.3.19" -artemis-testutils = { path = "../../primitives/testutils" } +snowbridge-testutils = { path = "../../primitives/testutils" } rand = "0.7.3" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/parachain/primitives/ethereum/src/ethashproof.rs b/parachain/primitives/ethereum/src/ethashproof.rs index e072fa4b53..843660a907 100644 --- a/parachain/primitives/ethereum/src/ethashproof.rs +++ b/parachain/primitives/ethereum/src/ethashproof.rs @@ -11,7 +11,7 @@ pub use crate::ethashdata::{DAGS_MERKLE_ROOTS, DAGS_START_EPOCH}; /// Ethash Params. See https://eth.wiki/en/concepts/ethash/ethash /// Blocks per epoch const EPOCH_LENGTH: u64 = 30000; -/// Width of mix +/// Width of mix const MIX_BYTES: usize = 128; /// Hash length in bytes const HASH_BYTES: usize = 64; @@ -174,7 +174,7 @@ impl EthashProver { if nodes.len() != MIXHASHES * ACCESSES / 2 { return Err(Error::UnexpectedNumberOfNodes); } - + let epoch = header_number / EPOCH_LENGTH; // Reuse single Merkle root across all the proofs let merkle_root = self.dag_merkle_root(epoch).ok_or(Error::EpochOutOfRange)?; @@ -227,7 +227,7 @@ impl EthashProver { header_hash: H256, nonce: H64, header_number: u64, - ) -> (H256, H256) { + ) -> (H256, H256) { let epoch = header_number / EPOCH_LENGTH; let cache = match self.dags_cache { Some(ref mut c) => c.get(epoch, header_number), @@ -242,7 +242,7 @@ impl EthashProver { mod tests { use super::*; - use artemis_testutils::BlockWithProofs; + use snowbridge_testutils::BlockWithProofs; use hex_literal::hex; use rand::Rng; use std::path::PathBuf; @@ -353,7 +353,7 @@ mod tests { let mut proofs = block_with_proofs .to_double_node_with_merkle_proof_vec(DoubleNodeWithMerkleProof::from_values); let prover = EthashProver::new(); - + assert_eq!( prover.hashimoto_merkle(header_partial_hash, header_nonce, 30000000, &proofs), Err(Error::EpochOutOfRange), @@ -379,9 +379,9 @@ mod tests { let nonce: H64 = hex!("8ae5c070892cb70c").into(); let epoch = 11550000 / EPOCH_LENGTH; let full_size = ethash::get_full_size(epoch as usize); - + let index = RefCell::new(0); - + ethash::hashimoto_with_hasher( header_hash, nonce, diff --git a/parachain/primitives/testutils/Cargo.toml b/parachain/primitives/testutils/Cargo.toml index 891a210324..0b4e4e10a7 100644 --- a/parachain/primitives/testutils/Cargo.toml +++ b/parachain/primitives/testutils/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-testutils" +name = "snowbridge-testutils" version = "0.1.0" authors = ["Snowfork "] edition = "2018" diff --git a/parachain/primitives/xcm-support/Cargo.toml b/parachain/primitives/xcm-support/Cargo.toml index 1953961c19..b42c5a2b6d 100644 --- a/parachain/primitives/xcm-support/Cargo.toml +++ b/parachain/primitives/xcm-support/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "artemis-xcm-support" +name = "snowbridge-xcm-support" version = "0.1.0" authors = ["Snowfork "] edition = "2018" @@ -16,7 +16,7 @@ xcm = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0 xcm-executor = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8", default-features = false } xcm-builder = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } [features] default = ["std"] @@ -28,5 +28,5 @@ std = [ "xcm/std", "xcm-executor/std", "xcm-builder/std", - "artemis-core/std" + "snowbridge-core/std" ] diff --git a/parachain/primitives/xcm-support/src/lib.rs b/parachain/primitives/xcm-support/src/lib.rs index 0baedec9be..e7eb86cb48 100644 --- a/parachain/primitives/xcm-support/src/lib.rs +++ b/parachain/primitives/xcm-support/src/lib.rs @@ -12,7 +12,7 @@ use xcm::v0::{Error as XcmError, Junction, MultiAsset, MultiLocation, Result as use xcm_executor::traits::{Convert, TransactAsset}; -use artemis_core::assets::{AssetId, MultiAsset as ArtemisMultiAsset}; +use snowbridge_core::assets::{AssetId, MultiAsset as SnowbridgeMultiAsset}; use codec::Decode; @@ -21,7 +21,7 @@ pub struct AssetsTransactor( ); impl< - Assets: ArtemisMultiAsset, + Assets: SnowbridgeMultiAsset, AccountIdConverter: Convert, AccountId: sp_std::fmt::Debug + Clone, > TransactAsset for AssetsTransactor diff --git a/parachain/runtime/common/Cargo.toml b/parachain/runtime/common/Cargo.toml index 452d57fa40..4adf6bda94 100644 --- a/parachain/runtime/common/Cargo.toml +++ b/parachain/runtime/common/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "artemis-runtime-common" -description = "Artemis Runtime Common" +name = "snowbridge-runtime-common" +description = "Snowbridge Runtime Common" version = "0.1.0" authors = ["Snowfork "] edition = "2018" @@ -13,9 +13,9 @@ sp-core = { git = "https://github.com/paritytech/substrate.git", branch = "polka sp-std = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", package = "artemis-core", default-features = false } -basic-channel = { path = "../../pallets/basic-channel", package = "artemis-basic-channel", default-features = false } -incentivized-channel = { path = "../../pallets/incentivized-channel", package = "artemis-incentivized-channel", default-features = false } +snowbridge-core = { path = "../../primitives/core", package = "snowbridge-core", default-features = false } +basic-channel = { path = "../../pallets/basic-channel", package = "snowbridge-basic-channel", default-features = false } +incentivized-channel = { path = "../../pallets/incentivized-channel", package = "snowbridge-incentivized-channel", default-features = false } [features] default = ["std"] @@ -25,7 +25,7 @@ std = [ "sp-core/std", "sp-std/std", "sp-runtime/std", - "artemis-core/std", + "snowbridge-core/std", "basic-channel/std", "incentivized-channel/std", ] diff --git a/parachain/runtime/common/src/lib.rs b/parachain/runtime/common/src/lib.rs index a7e0bef3e2..1340118a7e 100644 --- a/parachain/runtime/common/src/lib.rs +++ b/parachain/runtime/common/src/lib.rs @@ -11,7 +11,7 @@ use sp_runtime::Perbill; use sp_std::marker::PhantomData; use sp_core::H160; -use artemis_core::{AssetId, ChannelId}; +use snowbridge_core::{AssetId, ChannelId}; // This function replicates BlockWeights::with_sensible_defaults but uses custom // base block and extrinsic weights. @@ -44,7 +44,7 @@ pub fn build_block_weights( pub const INDEXING_PREFIX: &'static [u8] = b"commitment"; pub struct OutboundRouter(PhantomData); -impl artemis_core::OutboundRouter for OutboundRouter +impl snowbridge_core::OutboundRouter for OutboundRouter where T: basic_channel::outbound::Config + incentivized_channel::outbound::Config { diff --git a/parachain/runtime/local/Cargo.toml b/parachain/runtime/local/Cargo.toml index 2cf8bf40f0..91bcfc598c 100644 --- a/parachain/runtime/local/Cargo.toml +++ b/parachain/runtime/local/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "local-runtime" -description = "Artemis Local Runtime" +description = "Snowbridge Local Runtime" version = "0.1.1" edition = "2018" authors = ["Snowfork "] @@ -59,19 +59,19 @@ xcm-executor = { git = "https://github.com/paritytech/polkadot.git", branch = "r xcm-builder = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8", default-features = false } polkadot-parachain = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-xcm-support = { path = "../../primitives/xcm-support", default-features = false } -basic-channel = { path = "../../pallets/basic-channel", package = "artemis-basic-channel", default-features = false } -incentivized-channel = { path = "../../pallets/incentivized-channel", package = "artemis-incentivized-channel", default-features = false } -dispatch = { path = "../../pallets/dispatch", package = "artemis-dispatch", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-xcm-support = { path = "../../primitives/xcm-support", default-features = false } +basic-channel = { path = "../../pallets/basic-channel", package = "snowbridge-basic-channel", default-features = false } +incentivized-channel = { path = "../../pallets/incentivized-channel", package = "snowbridge-incentivized-channel", default-features = false } +dispatch = { path = "../../pallets/dispatch", package = "snowbridge-dispatch", default-features = false } verifier-lightclient = { path = "../../pallets/verifier-lightclient", package = "pallet-verifier-lightclient", default-features = false } -assets = { path = "../../pallets/assets", package = "artemis-assets", default-features = false } -nft = { path = "../../pallets/nft", package = "artemis-nft", default-features = false } -dot-app = { path = "../../pallets/dot-app", package = "artemis-dot-app", default-features = false } -eth-app = { path = "../../pallets/eth-app", package = "artemis-eth-app", default-features = false } -erc20-app = { path = "../../pallets/erc20-app", package = "artemis-erc20-app", default-features = false } -erc721-app = { path = "../../pallets/erc721-app", package = "artemis-erc721-app", default-features = false } -runtime-common = { path = "../common", package = "artemis-runtime-common", default-features = false } +assets = { path = "../../pallets/assets", package = "snowbridge-assets", default-features = false } +nft = { path = "../../pallets/nft", package = "snowbridge-nft", default-features = false } +dot-app = { path = "../../pallets/dot-app", package = "snowbridge-dot-app", default-features = false } +eth-app = { path = "../../pallets/eth-app", package = "snowbridge-eth-app", default-features = false } +erc20-app = { path = "../../pallets/erc20-app", package = "snowbridge-erc20-app", default-features = false } +erc721-app = { path = "../../pallets/erc721-app", package = "snowbridge-erc721-app", default-features = false } +runtime-common = { path = "../common", package = "snowbridge-runtime-common", default-features = false } # Used for runtime benchmarking frame-benchmarking = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false, optional = true } @@ -133,7 +133,7 @@ std = [ "eth-app/std", "erc20-app/std", "erc721-app/std", - "artemis-xcm-support/std", + "snowbridge-xcm-support/std", "runtime-common/std", ] runtime-benchmarks = [ @@ -149,8 +149,8 @@ runtime-benchmarks = [ "pallet-collective/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", - # Artemis pallets & support - "artemis-core/runtime-benchmarks", + # Snowbridge pallets & support + "snowbridge-core/runtime-benchmarks", "assets/runtime-benchmarks", "basic-channel/runtime-benchmarks", "dot-app/runtime-benchmarks", diff --git a/parachain/runtime/local/src/lib.rs b/parachain/runtime/local/src/lib.rs index 3769c789fa..27e6dc33fd 100644 --- a/parachain/runtime/local/src/lib.rs +++ b/parachain/runtime/local/src/lib.rs @@ -55,7 +55,7 @@ pub use sp_runtime::BuildStorage; pub use sp_runtime::{traits::AccountIdConversion, Perbill, Permill}; pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; -pub use artemis_core::{AssetId, ChannelId, MessageId, ERC721TokenData}; +pub use snowbridge_core::{AssetId, ChannelId, MessageId, ERC721TokenData}; use dispatch::EnsureEthereumAccount; pub use verifier_lightclient::{EthereumDifficultyConfig, EthereumHeader}; @@ -72,7 +72,7 @@ use xcm_builder::{ use xcm_executor::{Config, XcmExecutor}; use pallet_xcm::XcmPassthrough; -use artemis_xcm_support::AssetsTransactor; +use snowbridge_xcm_support::AssetsTransactor; use assets::SingleAssetAdaptor; use runtime_common::{ diff --git a/parachain/runtime/rococo/Cargo.toml b/parachain/runtime/rococo/Cargo.toml index dd46996b4b..18a06a5105 100644 --- a/parachain/runtime/rococo/Cargo.toml +++ b/parachain/runtime/rococo/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "artemis-rococo-runtime" -description = "Artemis Rococo Runtime" +name = "snowbridge-rococo-runtime" +description = "Snowbridge Rococo Runtime" version = "0.1.1" edition = "2018" authors = ["Snowfork "] @@ -59,19 +59,19 @@ xcm-executor = { git = "https://github.com/paritytech/polkadot.git", branch = "r xcm-builder = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8", default-features = false } polkadot-parachain = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-xcm-support = { path = "../../primitives/xcm-support", default-features = false } -basic-channel = { path = "../../pallets/basic-channel", package = "artemis-basic-channel", default-features = false } -incentivized-channel = { path = "../../pallets/incentivized-channel", package = "artemis-incentivized-channel", default-features = false } -dispatch = { path = "../../pallets/dispatch", package = "artemis-dispatch", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-xcm-support = { path = "../../primitives/xcm-support", default-features = false } +basic-channel = { path = "../../pallets/basic-channel", package = "snowbridge-basic-channel", default-features = false } +incentivized-channel = { path = "../../pallets/incentivized-channel", package = "snowbridge-incentivized-channel", default-features = false } +dispatch = { path = "../../pallets/dispatch", package = "snowbridge-dispatch", default-features = false } verifier-lightclient = { path = "../../pallets/verifier-lightclient", package = "pallet-verifier-lightclient", default-features = false } -assets = { path = "../../pallets/assets", package = "artemis-assets", default-features = false } -nft = { path = "../../pallets/nft", package = "artemis-nft", default-features = false } -dot-app = { path = "../../pallets/dot-app", package = "artemis-dot-app", default-features = false } -eth-app = { path = "../../pallets/eth-app", package = "artemis-eth-app", default-features = false } -erc20-app = { path = "../../pallets/erc20-app", package = "artemis-erc20-app", default-features = false } -erc721-app = { path = "../../pallets/erc721-app", package = "artemis-erc721-app", default-features = false } -runtime-common = { path = "../common", package = "artemis-runtime-common", default-features = false } +assets = { path = "../../pallets/assets", package = "snowbridge-assets", default-features = false } +nft = { path = "../../pallets/nft", package = "snowbridge-nft", default-features = false } +dot-app = { path = "../../pallets/dot-app", package = "snowbridge-dot-app", default-features = false } +eth-app = { path = "../../pallets/eth-app", package = "snowbridge-eth-app", default-features = false } +erc20-app = { path = "../../pallets/erc20-app", package = "snowbridge-erc20-app", default-features = false } +erc721-app = { path = "../../pallets/erc721-app", package = "snowbridge-erc721-app", default-features = false } +runtime-common = { path = "../common", package = "snowbridge-runtime-common", default-features = false } # Used for runtime benchmarking frame-benchmarking = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false, optional = true } @@ -133,7 +133,7 @@ std = [ "eth-app/std", "erc20-app/std", "erc721-app/std", - "artemis-xcm-support/std", + "snowbridge-xcm-support/std", "runtime-common/std", ] runtime-benchmarks = [ @@ -149,8 +149,8 @@ runtime-benchmarks = [ "pallet-collective/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", - # Artemis pallets & support - "artemis-core/runtime-benchmarks", + # Snowbridge pallets & support + "snowbridge-core/runtime-benchmarks", "assets/runtime-benchmarks", "basic-channel/runtime-benchmarks", "dot-app/runtime-benchmarks", diff --git a/parachain/runtime/rococo/src/lib.rs b/parachain/runtime/rococo/src/lib.rs index c57d920a87..0e6a25603c 100644 --- a/parachain/runtime/rococo/src/lib.rs +++ b/parachain/runtime/rococo/src/lib.rs @@ -48,7 +48,7 @@ pub use sp_runtime::BuildStorage; pub use sp_runtime::{traits::AccountIdConversion, Perbill, Permill}; pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; -pub use artemis_core::{AssetId, ChannelId, MessageId, ERC721TokenData}; +pub use snowbridge_core::{AssetId, ChannelId, MessageId, ERC721TokenData}; use dispatch::EnsureEthereumAccount; pub use verifier_lightclient::{EthereumDifficultyConfig, EthereumHeader}; @@ -65,7 +65,7 @@ use xcm_builder::{ use xcm_executor::{Config, XcmExecutor}; use pallet_xcm::XcmPassthrough; -use artemis_xcm_support::AssetsTransactor; +use snowbridge_xcm_support::AssetsTransactor; use assets::SingleAssetAdaptor; use runtime_common::{ diff --git a/parachain/runtime/rococo/src/weights/assets_weights.rs b/parachain/runtime/rococo/src/weights/assets_weights.rs index e7634d5b02..adcd299cb2 100644 --- a/parachain/runtime/rococo/src/weights/assets_weights.rs +++ b/parachain/runtime/rococo/src/weights/assets_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/basic_channel_inbound_weights.rs b/parachain/runtime/rococo/src/weights/basic_channel_inbound_weights.rs index 7c53de2d40..fff338b8b3 100644 --- a/parachain/runtime/rococo/src/weights/basic_channel_inbound_weights.rs +++ b/parachain/runtime/rococo/src/weights/basic_channel_inbound_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/basic_channel_outbound_weights.rs b/parachain/runtime/rococo/src/weights/basic_channel_outbound_weights.rs index 3ef90d9c01..eab8d0f663 100644 --- a/parachain/runtime/rococo/src/weights/basic_channel_outbound_weights.rs +++ b/parachain/runtime/rococo/src/weights/basic_channel_outbound_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/dot_app_weights.rs b/parachain/runtime/rococo/src/weights/dot_app_weights.rs index 6a78efd0ab..66288755ba 100644 --- a/parachain/runtime/rococo/src/weights/dot_app_weights.rs +++ b/parachain/runtime/rococo/src/weights/dot_app_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/erc20_app_weights.rs b/parachain/runtime/rococo/src/weights/erc20_app_weights.rs index 241389cb76..da4ec520d2 100644 --- a/parachain/runtime/rococo/src/weights/erc20_app_weights.rs +++ b/parachain/runtime/rococo/src/weights/erc20_app_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/eth_app_weights.rs b/parachain/runtime/rococo/src/weights/eth_app_weights.rs index 2d3c72c603..0ffefd5559 100644 --- a/parachain/runtime/rococo/src/weights/eth_app_weights.rs +++ b/parachain/runtime/rococo/src/weights/eth_app_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/frame_system_weights.rs b/parachain/runtime/rococo/src/weights/frame_system_weights.rs index 677d14320a..893fd77ed6 100644 --- a/parachain/runtime/rococo/src/weights/frame_system_weights.rs +++ b/parachain/runtime/rococo/src/weights/frame_system_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/incentivized_channel_inbound_weights.rs b/parachain/runtime/rococo/src/weights/incentivized_channel_inbound_weights.rs index 0f4f972c94..6ab0f1ee6f 100644 --- a/parachain/runtime/rococo/src/weights/incentivized_channel_inbound_weights.rs +++ b/parachain/runtime/rococo/src/weights/incentivized_channel_inbound_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/incentivized_channel_outbound_weights.rs b/parachain/runtime/rococo/src/weights/incentivized_channel_outbound_weights.rs index 3aa1e07fa9..420e15b779 100644 --- a/parachain/runtime/rococo/src/weights/incentivized_channel_outbound_weights.rs +++ b/parachain/runtime/rococo/src/weights/incentivized_channel_outbound_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/pallet_balances_weights.rs b/parachain/runtime/rococo/src/weights/pallet_balances_weights.rs index d0b7d70737..613a499bf2 100644 --- a/parachain/runtime/rococo/src/weights/pallet_balances_weights.rs +++ b/parachain/runtime/rococo/src/weights/pallet_balances_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/pallet_collective_weights.rs b/parachain/runtime/rococo/src/weights/pallet_collective_weights.rs index f481d15992..97bcd3af65 100644 --- a/parachain/runtime/rococo/src/weights/pallet_collective_weights.rs +++ b/parachain/runtime/rococo/src/weights/pallet_collective_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/pallet_timestamp_weights.rs b/parachain/runtime/rococo/src/weights/pallet_timestamp_weights.rs index 57a723b922..831e33f9db 100644 --- a/parachain/runtime/rococo/src/weights/pallet_timestamp_weights.rs +++ b/parachain/runtime/rococo/src/weights/pallet_timestamp_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/pallet_utility_weights.rs b/parachain/runtime/rococo/src/weights/pallet_utility_weights.rs index 6a18ecc8a9..f63787e7af 100644 --- a/parachain/runtime/rococo/src/weights/pallet_utility_weights.rs +++ b/parachain/runtime/rococo/src/weights/pallet_utility_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/rococo/src/weights/verifier_lightclient_weights.rs b/parachain/runtime/rococo/src/weights/verifier_lightclient_weights.rs index e57dce0132..8f021f0506 100644 --- a/parachain/runtime/rococo/src/weights/verifier_lightclient_weights.rs +++ b/parachain/runtime/rococo/src/weights/verifier_lightclient_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-bNy/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-bNy/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-bNy/spec.json +// /tmp/snowbridge-benchmark-bNy/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/Cargo.toml b/parachain/runtime/snowbridge/Cargo.toml index f7696a7376..db18d6e881 100644 --- a/parachain/runtime/snowbridge/Cargo.toml +++ b/parachain/runtime/snowbridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "snowbridge-runtime" -description = "Artemis Snowbridge Runtime" +description = "Snowbridge Snowbridge Runtime" version = "0.1.1" edition = "2018" authors = ["Snowfork "] @@ -59,19 +59,19 @@ xcm-executor = { git = "https://github.com/paritytech/polkadot.git", branch = "r xcm-builder = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8", default-features = false } polkadot-parachain = { git = "https://github.com/paritytech/polkadot.git", branch = "release-v0.9.8", default-features = false } -artemis-core = { path = "../../primitives/core", default-features = false } -artemis-xcm-support = { path = "../../primitives/xcm-support", default-features = false } -basic-channel = { path = "../../pallets/basic-channel", package = "artemis-basic-channel", default-features = false } -incentivized-channel = { path = "../../pallets/incentivized-channel", package = "artemis-incentivized-channel", default-features = false } -dispatch = { path = "../../pallets/dispatch", package = "artemis-dispatch", default-features = false } +snowbridge-core = { path = "../../primitives/core", default-features = false } +snowbridge-xcm-support = { path = "../../primitives/xcm-support", default-features = false } +basic-channel = { path = "../../pallets/basic-channel", package = "snowbridge-basic-channel", default-features = false } +incentivized-channel = { path = "../../pallets/incentivized-channel", package = "snowbridge-incentivized-channel", default-features = false } +dispatch = { path = "../../pallets/dispatch", package = "snowbridge-dispatch", default-features = false } verifier-lightclient = { path = "../../pallets/verifier-lightclient", package = "pallet-verifier-lightclient", default-features = false } -assets = { path = "../../pallets/assets", package = "artemis-assets", default-features = false } -nft = { path = "../../pallets/nft", package = "artemis-nft", default-features = false } -dot-app = { path = "../../pallets/dot-app", package = "artemis-dot-app", default-features = false } -eth-app = { path = "../../pallets/eth-app", package = "artemis-eth-app", default-features = false } -erc20-app = { path = "../../pallets/erc20-app", package = "artemis-erc20-app", default-features = false } -erc721-app = { path = "../../pallets/erc721-app", package = "artemis-erc721-app", default-features = false } -runtime-common = { path = "../common", package = "artemis-runtime-common", default-features = false } +assets = { path = "../../pallets/assets", package = "snowbridge-assets", default-features = false } +nft = { path = "../../pallets/nft", package = "snowbridge-nft", default-features = false } +dot-app = { path = "../../pallets/dot-app", package = "snowbridge-dot-app", default-features = false } +eth-app = { path = "../../pallets/eth-app", package = "snowbridge-eth-app", default-features = false } +erc20-app = { path = "../../pallets/erc20-app", package = "snowbridge-erc20-app", default-features = false } +erc721-app = { path = "../../pallets/erc721-app", package = "snowbridge-erc721-app", default-features = false } +runtime-common = { path = "../common", package = "snowbridge-runtime-common", default-features = false } # Used for runtime benchmarking frame-benchmarking = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8", default-features = false, optional = true } @@ -133,7 +133,7 @@ std = [ "eth-app/std", "erc20-app/std", "erc721-app/std", - "artemis-xcm-support/std", + "snowbridge-xcm-support/std", "runtime-common/std", ] runtime-benchmarks = [ @@ -149,8 +149,8 @@ runtime-benchmarks = [ "pallet-collective/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", - # Artemis pallets & support - "artemis-core/runtime-benchmarks", + # Snowbridge pallets & support + "snowbridge-core/runtime-benchmarks", "assets/runtime-benchmarks", "basic-channel/runtime-benchmarks", "dot-app/runtime-benchmarks", diff --git a/parachain/runtime/snowbridge/src/lib.rs b/parachain/runtime/snowbridge/src/lib.rs index 5bd87b3d24..8a156d8fb0 100644 --- a/parachain/runtime/snowbridge/src/lib.rs +++ b/parachain/runtime/snowbridge/src/lib.rs @@ -48,7 +48,7 @@ pub use sp_runtime::BuildStorage; pub use sp_runtime::{traits::AccountIdConversion, Perbill, Permill}; pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; -pub use artemis_core::{AssetId, ChannelId, MessageId, ERC721TokenData}; +pub use snowbridge_core::{AssetId, ChannelId, MessageId, ERC721TokenData}; use dispatch::EnsureEthereumAccount; pub use verifier_lightclient::{EthereumDifficultyConfig, EthereumHeader}; @@ -65,7 +65,7 @@ use xcm_builder::{ use xcm_executor::{Config, XcmExecutor}; use pallet_xcm::XcmPassthrough; -use artemis_xcm_support::AssetsTransactor; +use snowbridge_xcm_support::AssetsTransactor; use assets::SingleAssetAdaptor; use runtime_common::{ diff --git a/parachain/runtime/snowbridge/src/weights/assets_weights.rs b/parachain/runtime/snowbridge/src/weights/assets_weights.rs index 7471e3d5d2..50453e0b9e 100644 --- a/parachain/runtime/snowbridge/src/weights/assets_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/assets_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/basic_channel_inbound_weights.rs b/parachain/runtime/snowbridge/src/weights/basic_channel_inbound_weights.rs index a26299a442..4109a20569 100644 --- a/parachain/runtime/snowbridge/src/weights/basic_channel_inbound_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/basic_channel_inbound_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/basic_channel_outbound_weights.rs b/parachain/runtime/snowbridge/src/weights/basic_channel_outbound_weights.rs index 3ef90d9c01..eab8d0f663 100644 --- a/parachain/runtime/snowbridge/src/weights/basic_channel_outbound_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/basic_channel_outbound_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/dot_app_weights.rs b/parachain/runtime/snowbridge/src/weights/dot_app_weights.rs index caadc0a71b..416c1da37f 100644 --- a/parachain/runtime/snowbridge/src/weights/dot_app_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/dot_app_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/erc20_app_weights.rs b/parachain/runtime/snowbridge/src/weights/erc20_app_weights.rs index b203ee0177..b3346aa67b 100644 --- a/parachain/runtime/snowbridge/src/weights/erc20_app_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/erc20_app_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/eth_app_weights.rs b/parachain/runtime/snowbridge/src/weights/eth_app_weights.rs index 0bceff308a..4b93203c18 100644 --- a/parachain/runtime/snowbridge/src/weights/eth_app_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/eth_app_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/frame_system_weights.rs b/parachain/runtime/snowbridge/src/weights/frame_system_weights.rs index 7cd7c5a618..19569a08da 100644 --- a/parachain/runtime/snowbridge/src/weights/frame_system_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/frame_system_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/incentivized_channel_inbound_weights.rs b/parachain/runtime/snowbridge/src/weights/incentivized_channel_inbound_weights.rs index fecf37a994..28a33ccecb 100644 --- a/parachain/runtime/snowbridge/src/weights/incentivized_channel_inbound_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/incentivized_channel_inbound_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/incentivized_channel_outbound_weights.rs b/parachain/runtime/snowbridge/src/weights/incentivized_channel_outbound_weights.rs index 222f767232..e75e0e7895 100644 --- a/parachain/runtime/snowbridge/src/weights/incentivized_channel_outbound_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/incentivized_channel_outbound_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/pallet_balances_weights.rs b/parachain/runtime/snowbridge/src/weights/pallet_balances_weights.rs index 3cb88f62a0..ce2f47ad9c 100644 --- a/parachain/runtime/snowbridge/src/weights/pallet_balances_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/pallet_balances_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/pallet_collective_weights.rs b/parachain/runtime/snowbridge/src/weights/pallet_collective_weights.rs index 1b4bdc2a23..a9988ec1ae 100644 --- a/parachain/runtime/snowbridge/src/weights/pallet_collective_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/pallet_collective_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/pallet_timestamp_weights.rs b/parachain/runtime/snowbridge/src/weights/pallet_timestamp_weights.rs index 9b17f73f00..489d191f5e 100644 --- a/parachain/runtime/snowbridge/src/weights/pallet_timestamp_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/pallet_timestamp_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/pallet_utility_weights.rs b/parachain/runtime/snowbridge/src/weights/pallet_utility_weights.rs index 89478524b2..7e0a82bba5 100644 --- a/parachain/runtime/snowbridge/src/weights/pallet_utility_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/pallet_utility_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/runtime/snowbridge/src/weights/verifier_lightclient_weights.rs b/parachain/runtime/snowbridge/src/weights/verifier_lightclient_weights.rs index 21ee99170f..26bba46498 100644 --- a/parachain/runtime/snowbridge/src/weights/verifier_lightclient_weights.rs +++ b/parachain/runtime/snowbridge/src/weights/verifier_lightclient_weights.rs @@ -3,13 +3,13 @@ //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 //! DATE: 2021-05-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/artemis-benchmark-tce/spec.json"), DB CACHE: 128 +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("/tmp/snowbridge-benchmark-tce/spec.json"), DB CACHE: 128 // Executed Command: -// target/release/artemis +// target/release/snowbridge // benchmark // --chain -// /tmp/artemis-benchmark-tce/spec.json +// /tmp/snowbridge-benchmark-tce/spec.json // --execution // wasm // --wasm-execution diff --git a/parachain/scripts/benchmark.sh b/parachain/scripts/benchmark.sh index 52468388b7..1662201bfa 100755 --- a/parachain/scripts/benchmark.sh +++ b/parachain/scripts/benchmark.sh @@ -3,7 +3,7 @@ set -e RUNTIME_FEATURE=$1 -TMP_DIR=$(mktemp -d -t artemis-benchmark-XXX) +TMP_DIR=$(mktemp -d -t snowbridge-benchmark-XXX) if [[ "$RUNTIME_FEATURE" == "with-snowbridge-runtime" ]] then @@ -26,7 +26,7 @@ benchmark_pallets() echo "Generating benchmark spec at $TMP_DIR/spec.json" - target/release/artemis build-spec > $TMP_DIR/spec.json + target/release/snowbridge build-spec > $TMP_DIR/spec.json # Initialize dot-app account with enough DOT for benchmarks DOT_MODULE_ENDOWMENT="[ \"5EYCAe5jHEQsVPTRQqy6NCeG71Hz1EVXikZxTkr67fM8j2Rd\", @@ -47,7 +47,7 @@ benchmark_pallets() for pallet in $PALLETS do MODULE_NAME="$(tr -s [:] _ <<< $pallet)_weights" - target/release/artemis benchmark \ + target/release/snowbridge benchmark \ --chain $TMP_DIR/spec.json \ --execution wasm \ --wasm-execution compiled \ diff --git a/parachain/scripts/docker_run.sh b/parachain/scripts/docker_run.sh index 31e7430370..f99c5cd75d 100755 --- a/parachain/scripts/docker_run.sh +++ b/parachain/scripts/docker_run.sh @@ -2,9 +2,9 @@ set -e -echo "*** Start Artemis Node ***" +echo "*** Start Snowbridge Node ***" cd $(dirname ${BASH_SOURCE[0]})/.. docker-compose down --remove-orphans -docker-compose run --rm --service-ports dev $@ \ No newline at end of file +docker-compose run --rm --service-ports dev $@ diff --git a/parachain/scripts/make-docs.sh b/parachain/scripts/make-docs.sh index 652ef1e16b..7cafcf8bb2 100755 --- a/parachain/scripts/make-docs.sh +++ b/parachain/scripts/make-docs.sh @@ -5,7 +5,7 @@ set -euo pipefail cd "$(dirname "$0")/.." # Build docs -cargo +nightly-2020-10-01-x86_64-unknown-linux-gnu doc --release --workspace --lib --exclude artemis-runtime --exclude artemis-node +cargo +nightly-2020-10-01-x86_64-unknown-linux-gnu doc --release --workspace --lib --exclude snowbridge-runtime --exclude snowbridge-node # Copy over index.html cp doc/index.html target/doc/ diff --git a/parachain/src/chain_spec/local.rs b/parachain/src/chain_spec/local.rs index 7878a873cc..11549356fa 100644 --- a/parachain/src/chain_spec/local.rs +++ b/parachain/src/chain_spec/local.rs @@ -12,7 +12,7 @@ use super::{get_from_seed, Extensions}; /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. pub type ChainSpec = sc_service::GenericChainSpec; -use artemis_core::AssetId; +use snowbridge_core::AssetId; type AccountPublic = ::Signer; @@ -30,7 +30,7 @@ pub fn get_chain_spec(para_id: ParaId) -> ChainSpec { props.insert("tokenDecimals".into(), 12.into()); ChainSpec::from_genesis( - "Artemis Local Testnet", + "Snowbridge Local Testnet", "local_testnet", ChainType::Local, move || { diff --git a/parachain/src/chain_spec/rococo.rs b/parachain/src/chain_spec/rococo.rs index a3b40c684b..70e737ed1d 100644 --- a/parachain/src/chain_spec/rococo.rs +++ b/parachain/src/chain_spec/rococo.rs @@ -12,7 +12,7 @@ use super::{get_from_seed, Extensions}; /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. pub type ChainSpec = sc_service::GenericChainSpec; -use artemis_core::AssetId; +use snowbridge_core::AssetId; type AccountPublic = ::Signer; @@ -30,7 +30,7 @@ pub fn get_chain_spec(para_id: ParaId) -> ChainSpec { props.insert("tokenDecimals".into(), 12.into()); ChainSpec::from_genesis( - "Artemis Local Testnet", + "Snowbridge Local Testnet", "local_testnet", ChainType::Local, move || { diff --git a/parachain/src/chain_spec/snowbridge.rs b/parachain/src/chain_spec/snowbridge.rs index ddab108112..a84827ca6b 100644 --- a/parachain/src/chain_spec/snowbridge.rs +++ b/parachain/src/chain_spec/snowbridge.rs @@ -12,7 +12,7 @@ use super::{get_from_seed, Extensions}; /// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type. pub type ChainSpec = sc_service::GenericChainSpec; -use artemis_core::AssetId; +use snowbridge_core::AssetId; type AccountPublic = ::Signer; @@ -30,7 +30,7 @@ pub fn get_chain_spec(para_id: ParaId) -> ChainSpec { props.insert("tokenDecimals".into(), 12.into()); ChainSpec::from_genesis( - "Artemis Local Testnet", + "Snowbridge Local Testnet", "local_testnet", ChainType::Local, move || { diff --git a/parachain/src/command.rs b/parachain/src/command.rs index 369afd3ed1..3527c7921a 100644 --- a/parachain/src/command.rs +++ b/parachain/src/command.rs @@ -51,7 +51,7 @@ fn load_spec( impl SubstrateCli for Cli { fn impl_name() -> String { - "Artemis Collator".into() + "Snowbridge Collator".into() } fn impl_version() -> String { @@ -60,7 +60,7 @@ impl SubstrateCli for Cli { fn description() -> String { format!( - "Artemis test parachain collator\n\nThe command-line arguments provided first will be \ + "Snowbridge test parachain collator\n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relaychain node.\n\n\ {} [parachain-args] -- [relaychain-args]", @@ -102,7 +102,7 @@ impl SubstrateCli for Cli { impl SubstrateCli for RelayChainCli { fn impl_name() -> String { - "Artemis Collator".into() + "Snowbridge Collator".into() } fn impl_version() -> String { @@ -113,7 +113,7 @@ impl SubstrateCli for RelayChainCli { "Cumulus test parachain collator\n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relaychain node.\n\n\ - artemis-collator [parachain-args] -- [relaychain-args]" + snowbridge-collator [parachain-args] -- [relaychain-args]" .into() } diff --git a/parachain/src/main.rs b/parachain/src/main.rs index 9ed96b5c4b..78c334995e 100644 --- a/parachain/src/main.rs +++ b/parachain/src/main.rs @@ -1,7 +1,7 @@ // Copyright 2019-2020 Snowfork // This file is part of Snowbridge -//! Artemis parachain collator +//! Snowbridge parachain collator #![warn(missing_docs)] #![warn(unused_extern_crates)] diff --git a/relayer/Dockerfile b/relayer/Dockerfile index 548da1497e..bd36948d25 100644 --- a/relayer/Dockerfile +++ b/relayer/Dockerfile @@ -1,8 +1,8 @@ FROM golang:1.14 WORKDIR /opt/relayer ADD . . -RUN go build -v -o build/artemis-relay main.go +RUN go build -v -o build/snowbridge-relay main.go FROM parity/subkey:2.0.0 -COPY --from=0 /opt/relayer/build/artemis-relay /usr/local/bin/ -ENTRYPOINT ["/usr/local/bin/artemis-relay"] +COPY --from=0 /opt/relayer/build/snowbridge-relay /usr/local/bin/ +ENTRYPOINT ["/usr/local/bin/snowbridge-relay"] diff --git a/relayer/README.md b/relayer/README.md index fb8209d59a..80a4c9f5d7 100644 --- a/relayer/README.md +++ b/relayer/README.md @@ -66,7 +66,7 @@ go generate ./... ## Configuration -Before running the relayer, it needs to be configured first. By default the configuration file is read from `~/.config/artemis-relay/config.toml`, but this can be overriden by passing the `--config PATH` flag to the relayer binary. +Before running the relayer, it needs to be configured first. By default the configuration file is read from `~/.config/snowbridge-relay/config.toml`, but this can be overriden by passing the `--config PATH` flag to the relayer binary. Example Configuration: @@ -121,7 +121,7 @@ mage build Run the relayer with the configuration described in [Configuration](#configuration). ```bash -build/artemis-relay run --config config.toml +build/snowbridge-relay run --config config.toml ``` NOTE: On its first run, the relayer has to perform some initial computation relating to Ethereum PoW verification. This can take over 10 minutes to complete, and is not a sign that its stuck or frozen. diff --git a/relayer/cmd/dump_block.go b/relayer/cmd/dump_block.go index 14eb737bc6..47a6ec65c2 100644 --- a/relayer/cmd/dump_block.go +++ b/relayer/cmd/dump_block.go @@ -34,7 +34,7 @@ func getBlockCmd() *cobra.Command { Use: "dump-block", Short: "Retrieve a block, either specified by hash or the latest finalized block", Args: cobra.ExactArgs(0), - Example: "artemis-relay dump-block", + Example: "snowbridge-relay dump-block", RunE: GetBlockFn, } cmd.Flags().StringP("block", "b", "", "Block hash") diff --git a/relayer/cmd/fetch_messages.go b/relayer/cmd/fetch_messages.go index 47ee315de6..88ac88d9bb 100644 --- a/relayer/cmd/fetch_messages.go +++ b/relayer/cmd/fetch_messages.go @@ -31,7 +31,7 @@ func fetchMessagesCmd() *cobra.Command { Use: "fetch-messages", Short: "Retrieve the messages specified by block and index", Args: cobra.ExactArgs(0), - Example: "artemis-relay fetch-messages -b 812e7d414071648252bb3c2dc9c6d2f292fb615634606f9251191c7372eb4acc -i 123", + Example: "snowbridge-relay fetch-messages -b 812e7d414071648252bb3c2dc9c6d2f292fb615634606f9251191c7372eb4acc -i 123", RunE: FetchMessagesFn, } cmd.Flags().StringP("block", "b", "", "Block hash") diff --git a/relayer/cmd/root.go b/relayer/cmd/root.go index d999d71612..85df228472 100644 --- a/relayer/cmd/root.go +++ b/relayer/cmd/root.go @@ -17,8 +17,8 @@ var dataDir string var configFile string var rootCmd = &cobra.Command{ - Use: "artemis-relay", - Short: "Artemis Relay is a bridge between Ethereum and Polkadot", + Use: "snowbridge-relay", + Short: "Snowbridge Relay is a bridge between Ethereum and Polkadot", SilenceUsage: true, } diff --git a/relayer/cmd/run.go b/relayer/cmd/run.go index 488c1f4268..a600eafcbd 100644 --- a/relayer/cmd/run.go +++ b/relayer/cmd/run.go @@ -14,7 +14,7 @@ func runCmd() *cobra.Command { Use: "run", Short: "Start the relay service", Args: cobra.ExactArgs(0), - Example: "artemis-relay run", + Example: "snowbridge-relay run", RunE: RunFn, } return cmd diff --git a/relayer/cmd/subscribe_beefy.go b/relayer/cmd/subscribe_beefy.go index 40b5e57152..066e421cfa 100644 --- a/relayer/cmd/subscribe_beefy.go +++ b/relayer/cmd/subscribe_beefy.go @@ -21,7 +21,7 @@ func subBeefyCmd() *cobra.Command { Use: "sub-beefy", Short: "Subscribe beefy messages", Args: cobra.ExactArgs(0), - Example: "artemis-relay sub-beefy", + Example: "snowbridge-relay sub-beefy", RunE: SubBeefyFn, } cmd.Flags().UintP( diff --git a/relayer/magefile.go b/relayer/magefile.go index 3139f8e258..75a3b373d1 100644 --- a/relayer/magefile.go +++ b/relayer/magefile.go @@ -12,7 +12,7 @@ func Build() { } func BuildMain() error { - return sh.Run("go", "build", "-o", "build/artemis-relay", "main.go") + return sh.Run("go", "build", "-o", "build/snowbridge-relay", "main.go") } func Test() error { @@ -24,7 +24,7 @@ func Lint() error { } func Install() error { - return sh.Run("go", "build", "-o", "$GOPATH/bin/artemis-relay", "main.go") + return sh.Run("go", "build", "-o", "$GOPATH/bin/snowbridge-relay", "main.go") } func SubBeef() error { diff --git a/test/scripts/start-services.sh b/test/scripts/start-services.sh index 296af1fc5c..e6cc35f16b 100755 --- a/test/scripts/start-services.sh +++ b/test/scripts/start-services.sh @@ -7,7 +7,7 @@ rm -rf $configdir mkdir $configdir # kill all potentially old processes -kill $(ps -aux | grep -e polkadot/target -e ganache-cli -e release/artemis | awk '{print $2}') || true +kill $(ps -aux | grep -e polkadot/target -e ganache-cli -e release/snowbridge | awk '{print $2}') || true start_ganache() { @@ -65,12 +65,12 @@ start_polkadot_launch() { echo "Building parachain and starting polkadot launch" pushd ../parachain - bin=$(pwd)/target/release/artemis + bin=$(pwd)/target/release/snowbridge cargo build --release --no-default-features --features with-local-runtime echo "Generating Parachain spec" - target/release/artemis build-spec --disable-default-bootnode > $configdir/spec.json + target/release/snowbridge build-spec --disable-default-bootnode > $configdir/spec.json echo "Inserting Ganache chain info into genesis spec" ethereum_initial_header=$(curl http://localhost:8545 \ @@ -99,7 +99,7 @@ start_polkadot_launch() if [ $# -eq 1 ] && [ $1 = "duplicate" ]; then echo "Generating second parachain spec" - target/release/artemis build-spec --disable-default-bootnode > $configdir/spec2.json + target/release/snowbridge build-spec --disable-default-bootnode > $configdir/spec2.json node ../test/scripts/helpers/overrideParachainSpec.js $configdir/spec2.json \ genesis.runtime.verifierLightclient.initialDifficulty 0x0 \ @@ -141,7 +141,7 @@ start_relayer() export SNOWBRIDGE_PARACHAIN_KEY="//Relay" export SNOWBRIDGE_RELAYCHAIN_KEY="//Alice" - build/artemis-relay run --config $configdir/config.toml >$logfile 2>&1 & + build/snowbridge-relay run --config $configdir/config.toml >$logfile 2>&1 & popd echo "Relay PID: $!" @@ -150,7 +150,7 @@ start_relayer() cleanup() { kill $(jobs -p) - kill $(ps -aux | grep -e polkadot/target -e ganache-cli -e release/artemis | awk '{print $2}') || true + kill $(ps -aux | grep -e polkadot/target -e ganache-cli -e release/snowbridge | awk '{print $2}') || true } trap cleanup SIGINT SIGTERM EXIT
- artemis-assets + snowbridge-assets Asset module
- artemis-core + snowbridge-core Core traits and types
- artemis-ethereum + snowbridge-ethereum Ethereum data types and decoding support
- artemis-erc20-app + snowbridge-erc20-app Bridged ERC20 token assets
- artemis-eth-app + snowbridge-eth-app Bridged ETH asset