diff --git a/Cargo.lock b/Cargo.lock index c44ac1f9f1575..a104eb1117528 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -681,7 +681,7 @@ dependencies = [ "rand 0.7.3", "sc-chain-spec", "sc-keystore", - "sp-core", + "sp-core 2.0.1", "structopt", ] @@ -1311,11 +1311,25 @@ checksum = "71a6567e6fd35589fea0c63b94b4cf2e55573e413901bdbe60ab15cf0e25e5df" dependencies = [ "crunchy", "fixed-hash", + "impl-codec", "impl-rlp", "impl-serde", "tiny-keccak", ] +[[package]] +name = "ethereum" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7fef4d2da1de3a4f4f85408379644276db9b46c4af7b0fe38a3debec5cb7cd" +dependencies = [ + "ethereum-types", + "parity-scale-codec", + "rlp", + "rlp-derive", + "sha3", +] + [[package]] name = "ethereum-types" version = "0.9.2" @@ -1324,6 +1338,7 @@ checksum = "473aecff686bd8e7b9db0165cbbb53562376b39bf35b427f0c60446a9e1634b0" dependencies = [ "ethbloom", "fixed-hash", + "impl-codec", "impl-rlp", "impl-serde", "primitive-types", @@ -1514,34 +1529,53 @@ dependencies = [ name = "frame-benchmarking" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "hex-literal", "linregress", "parity-scale-codec", "paste", - "sp-api", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-api 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-runtime-interface 2.0.1", + "sp-std 2.0.1", + "sp-storage 2.0.1", +] + +[[package]] +name = "frame-benchmarking" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52b94f3dd88fd10ea9eb8bf6731ee22787deeb620c158766061ec1fc54170cda" +dependencies = [ + "frame-support 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "linregress", + "parity-scale-codec", + "paste", + "sp-api 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "frame-benchmarking-cli" version = "2.0.1" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 2.0.1", "parity-scale-codec", "sc-cli", "sc-client-db", "sc-executor", "sc-service", - "sp-core", - "sp-externalities", - "sp-runtime", - "sp-state-machine", + "sp-core 2.0.1", + "sp-externalities 0.8.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", "structopt", ] @@ -1549,30 +1583,42 @@ dependencies = [ name = "frame-executive" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "hex-literal", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-indices", "pallet-transaction-payment", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", - "sp-version", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-tracing 2.0.1", + "sp-version 2.0.1", +] + +[[package]] +name = "frame-metadata" +version = "12.0.1" +dependencies = [ + "parity-scale-codec", + "serde", + "sp-core 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "frame-metadata" version = "12.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61200390d9eb6bac07a60adafa6961ef250f9022970fabb2412183fc96ba5f6b" dependencies = [ "parity-scale-codec", "serde", - "sp-core", - "sp-std", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1580,9 +1626,9 @@ name = "frame-support" version = "2.0.1" dependencies = [ "bitmask", - "frame-metadata", - "frame-support-procedural", - "frame-system", + "frame-metadata 12.0.1", + "frame-support-procedural 2.0.1", + "frame-system 2.0.1", "impl-trait-for-tuples", "log", "once_cell 1.4.0", @@ -1592,21 +1638,70 @@ dependencies = [ "pretty_assertions", "serde", "smallvec 1.4.1", - "sp-arithmetic", - "sp-core", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-tracing", + "sp-arithmetic 2.0.1", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-std 2.0.1", + "sp-tracing 2.0.1", +] + +[[package]] +name = "frame-support" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a569b3964b996dae5a9aab81a04a65f81a386645db1f16583647fc67190b0748" +dependencies = [ + "bitmask", + "frame-metadata 12.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support-procedural 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "log", + "once_cell 1.4.0", + "parity-scale-codec", + "paste", + "serde", + "smallvec 1.4.1", + "sp-arithmetic 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "frame-support-procedural" +version = "2.0.1" +dependencies = [ + "frame-support-procedural-tools 2.0.1", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "frame-support-procedural" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c107da590c5cf22f9bb96193812256e59c60f73786a72429660142d9000c07b" +dependencies = [ + "frame-support-procedural-tools 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "2.0.1" dependencies = [ - "frame-support-procedural-tools", + "frame-support-procedural-tools-derive 2.0.1", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -1615,8 +1710,10 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb23ac15b9dfe806c1da92d6c8710fa09371ec61e13f4eadfdeef55e3d6b155b" dependencies = [ - "frame-support-procedural-tools-derive", + "frame-support-procedural-tools-derive 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro-crate", "proc-macro2", "quote", @@ -1632,22 +1729,33 @@ dependencies = [ "syn", ] +[[package]] +name = "frame-support-procedural-tools-derive" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66fb72ae75d457bfcb457e1098cf18134967e9069ecc4bba2c77416924b44843" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "frame-support-test" version = "2.0.1" dependencies = [ - "frame-metadata", - "frame-support", + "frame-metadata 12.0.1", + "frame-support 2.0.1", "parity-scale-codec", "pretty_assertions", "rustversion", "serde", - "sp-core", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-std", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-std 2.0.1", "trybuild", ] @@ -1656,32 +1764,49 @@ name = "frame-system" version = "2.0.1" dependencies = [ "criterion", - "frame-support", + "frame-support 2.0.1", "impl-trait-for-tuples", "parity-scale-codec", "serde", - "sp-core", - "sp-externalities", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", + "sp-core 2.0.1", + "sp-externalities 0.8.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-version 2.0.1", "substrate-test-runtime-client", ] +[[package]] +name = "frame-system" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bd441142244193759326c7311d075716d1aaa98a9ad50491af923a4c6e42f3b" +dependencies = [ + "frame-support 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "impl-trait-for-tuples", + "parity-scale-codec", + "serde", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "frame-system-benchmarking" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -1689,7 +1814,33 @@ name = "frame-system-rpc-runtime-api" version = "2.0.1" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 2.0.1", +] + +[[package]] +name = "frontier-consensus-primitives" +version = "0.1.0" +source = "git+https://github.com/PureStake/frontier.git?branch=substrate-v2#c5fe2a61f2aecd6cba62e7163b44af5a38bac6ad" +dependencies = [ + "parity-scale-codec", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "frontier-rpc-primitives" +version = "0.1.0" +source = "git+https://github.com/PureStake/frontier.git?branch=substrate-v2#c5fe2a61f2aecd6cba62e7163b44af5a38bac6ad" +dependencies = [ + "ethereum", + "ethereum-types", + "pallet-evm 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "sp-api 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -3633,15 +3784,15 @@ dependencies = [ "serde", "serde_json", "sp-consensus", - "sp-core", + "sp-core 2.0.1", "sp-finality-tracker", - "sp-inherents", - "sp-runtime", - "sp-state-machine", - "sp-timestamp", - "sp-tracing", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-timestamp 2.0.1", + "sp-tracing 2.0.1", "sp-transaction-pool", - "sp-trie", + "sp-trie 2.0.1", "structopt", "tempfile", ] @@ -3669,8 +3820,8 @@ version = "2.0.0" dependencies = [ "assert_cmd", "frame-benchmarking-cli", - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "futures 0.3.5", "hex-literal", "log", @@ -3681,13 +3832,13 @@ dependencies = [ "node-rpc", "node-runtime", "pallet-authority-discovery", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-contracts", "pallet-grandpa", "pallet-im-online", "pallet-indices", "pallet-staking", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "pallet-transaction-payment", "parity-scale-codec", "parking_lot 0.10.2", @@ -3718,16 +3869,16 @@ dependencies = [ "sp-authority-discovery", "sp-consensus", "sp-consensus-babe", - "sp-core", + "sp-core 2.0.1", "sp-finality-grandpa", "sp-finality-tracker", - "sp-inherents", - "sp-io", + "sp-inherents 2.0.1", + "sp-io 2.0.1", "sp-keyring", - "sp-runtime", - "sp-timestamp", + "sp-runtime 2.0.1", + "sp-timestamp 2.0.1", "sp-transaction-pool", - "sp-trie", + "sp-trie 2.0.1", "structopt", "substrate-browser-utils", "substrate-build-script-utils", @@ -3743,30 +3894,30 @@ name = "node-executor" version = "2.0.0" dependencies = [ "criterion", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "node-primitives", "node-runtime", "node-testing", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-contracts", "pallet-grandpa", "pallet-im-online", "pallet-indices", "pallet-session", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "pallet-transaction-payment", "pallet-treasury", "parity-scale-codec", "sc-executor", - "sp-application-crypto", - "sp-core", - "sp-externalities", - "sp-io", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", + "sp-externalities 0.8.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-trie 2.0.1", "substrate-test-client", "trie-root", "wat", @@ -3783,8 +3934,8 @@ dependencies = [ "sc-client-api", "sc-service", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 2.0.1", + "sp-runtime 2.0.1", "structopt", ] @@ -3792,12 +3943,12 @@ dependencies = [ name = "node-primitives" version = "2.0.0" dependencies = [ - "frame-system", + "frame-system 2.0.1", "parity-scale-codec", "pretty_assertions", - "sp-application-crypto", - "sp-core", - "sp-runtime", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", + "sp-runtime 2.0.1", "sp-serializer", ] @@ -3819,12 +3970,12 @@ dependencies = [ "sc-keystore", "sc-rpc", "sc-rpc-api", - "sp-api", + "sp-api 2.0.1", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-runtime", + "sp-runtime 2.0.1", "sp-transaction-pool", "substrate-frame-rpc-system", ] @@ -3839,17 +3990,17 @@ dependencies = [ "log", "node-primitives", "sc-rpc", - "sp-tracing", + "sp-tracing 2.0.1", ] [[package]] name = "node-runtime" version = "2.0.1" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 2.0.1", "frame-executive", - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "hex-literal", @@ -3858,7 +4009,7 @@ dependencies = [ "pallet-authority-discovery", "pallet-authorship", "pallet-babe", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-collective", "pallet-contracts", "pallet-contracts-primitives", @@ -3884,7 +4035,7 @@ dependencies = [ "pallet-staking", "pallet-staking-reward-curve", "pallet-sudo", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "pallet-treasury", @@ -3892,21 +4043,21 @@ dependencies = [ "pallet-vesting", "parity-scale-codec", "serde", - "sp-api", + "sp-api 2.0.1", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", "sp-keyring", "sp-offchain", - "sp-runtime", + "sp-runtime 2.0.1", "sp-session", "sp-staking", - "sp-std", + "sp-std 2.0.1", "sp-transaction-pool", - "sp-version", + "sp-version 2.0.1", "static_assertions", "substrate-wasm-builder-runner", ] @@ -3915,7 +4066,7 @@ dependencies = [ name = "node-template" version = "2.0.0" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 2.0.1", "frame-benchmarking-cli", "jsonrpc-core", "node-template-runtime", @@ -3931,15 +4082,15 @@ dependencies = [ "sc-rpc-api", "sc-service", "sc-transaction-pool", - "sp-api", + "sp-api 2.0.1", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core", + "sp-core 2.0.1", "sp-finality-grandpa", - "sp-inherents", - "sp-runtime", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", "sp-transaction-pool", "structopt", "substrate-build-script-utils", @@ -3950,35 +4101,38 @@ dependencies = [ name = "node-template-runtime" version = "2.0.0" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 2.0.1", "frame-executive", - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "frame-system-benchmarking", "frame-system-rpc-runtime-api", + "frontier-rpc-primitives", "hex-literal", "pallet-aura", - "pallet-balances", + "pallet-balances 2.0.1", + "pallet-ethereum", + "pallet-evm 2.0.1", "pallet-grandpa", "pallet-randomness-collective-flip", "pallet-sudo", "pallet-template", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "serde", - "sp-api", + "sp-api 2.0.1", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-inherents", + "sp-core 2.0.1", + "sp-inherents 2.0.1", "sp-offchain", - "sp-runtime", + "sp-runtime 2.0.1", "sp-session", - "sp-std", + "sp-std 2.0.1", "sp-transaction-pool", - "sp-version", + "sp-version 2.0.1", "substrate-wasm-builder-runner", ] @@ -3987,22 +4141,22 @@ name = "node-testing" version = "2.0.0" dependencies = [ "criterion", - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "fs_extra", "futures 0.3.5", "log", "node-executor", "node-primitives", "node-runtime", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-contracts", "pallet-grandpa", "pallet-indices", "pallet-session", "pallet-society", "pallet-staking", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "pallet-transaction-payment", "pallet-treasury", "parity-scale-codec", @@ -4012,17 +4166,17 @@ dependencies = [ "sc-client-db", "sc-executor", "sc-service", - "sp-api", + "sp-api 2.0.1", "sp-block-builder", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 2.0.1", "sp-finality-tracker", - "sp-inherents", - "sp-io", + "sp-inherents 2.0.1", + "sp-io 2.0.1", "sp-keyring", - "sp-runtime", - "sp-timestamp", + "sp-runtime 2.0.1", + "sp-timestamp 2.0.1", "substrate-test-client", "tempfile", ] @@ -4193,147 +4347,162 @@ dependencies = [ name = "pallet-assets" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-atomic-swap" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", - "pallet-balances", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-aura" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "lazy_static", "pallet-session", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", "parking_lot 0.10.2", "serde", - "sp-application-crypto", + "sp-application-crypto 2.0.1", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-timestamp 2.0.1", ] [[package]] name = "pallet-authority-discovery" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "pallet-session", "parity-scale-codec", "serde", - "sp-application-crypto", + "sp-application-crypto 2.0.1", "sp-authority-discovery", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-staking", - "sp-std", + "sp-std 2.0.1", ] [[package]] name = "pallet-authorship" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "impl-trait-for-tuples", "parity-scale-codec", "sp-authorship", - "sp-core", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-babe" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "pallet-authorship", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-offences", "pallet-session", "pallet-staking", "pallet-staking-reward-curve", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", "serde", - "sp-application-crypto", + "sp-application-crypto 2.0.1", "sp-consensus-babe", "sp-consensus-vrf", - "sp-core", - "sp-inherents", - "sp-io", - "sp-runtime", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-session", "sp-staking", - "sp-std", - "sp-timestamp", + "sp-std 2.0.1", + "sp-timestamp 2.0.1", ] [[package]] name = "pallet-balances" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "pallet-transaction-payment", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", +] + +[[package]] +name = "pallet-balances" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "452c3bfacacee9b272f4236a2bcad488dcb5751ebfd592b2cd8921fa5017df16" +dependencies = [ + "frame-benchmarking 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "serde", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pallet-collective" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "hex-literal", - "pallet-balances", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -4342,24 +4511,24 @@ version = "2.0.1" dependencies = [ "assert_matches", "bitflags", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "hex-literal", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-contracts-primitives", "pallet-randomness-collective-flip", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", "parity-wasm 0.41.0", "pretty_assertions", "pwasm-utils", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-sandbox", - "sp-std", + "sp-std 2.0.1", "wasmi-validation", "wat", ] @@ -4369,8 +4538,8 @@ name = "pallet-contracts-primitives" version = "2.0.1" dependencies = [ "parity-scale-codec", - "sp-runtime", - "sp-std", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -4385,11 +4554,11 @@ dependencies = [ "parity-scale-codec", "serde", "serde_json", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", - "sp-core", + "sp-core 2.0.1", "sp-rpc", - "sp-runtime", + "sp-runtime 2.0.1", ] [[package]] @@ -4398,28 +4567,28 @@ version = "0.8.1" dependencies = [ "pallet-contracts-primitives", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-democracy" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "hex-literal", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-scheduler", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-storage", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-storage 2.0.1", "substrate-test-utils", ] @@ -4427,105 +4596,155 @@ dependencies = [ name = "pallet-elections" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "hex-literal", - "pallet-balances", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-elections-phragmen" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "hex-literal", - "pallet-balances", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", + "sp-core 2.0.1", + "sp-io 2.0.1", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 2.0.1", + "sp-std 2.0.1", "substrate-test-utils", ] +[[package]] +name = "pallet-ethereum" +version = "0.1.0" +source = "git+https://github.com/PureStake/frontier.git?branch=substrate-v2#c5fe2a61f2aecd6cba62e7163b44af5a38bac6ad" +dependencies = [ + "ethereum", + "ethereum-types", + "evm", + "frame-support 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frontier-consensus-primitives", + "frontier-rpc-primitives", + "libsecp256k1", + "pallet-balances 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-evm 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-scale-codec", + "rlp", + "rustc-hex", + "serde", + "sha3", + "sp-io 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pallet-evm" +version = "2.0.1" +dependencies = [ + "evm", + "frame-support 2.0.1", + "frame-system 2.0.1", + "impl-trait-for-tuples", + "pallet-balances 2.0.1", + "pallet-timestamp 2.0.1", + "parity-scale-codec", + "primitive-types", + "ripemd160", + "rlp", + "serde", + "sha3", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", +] + [[package]] name = "pallet-evm" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b59d3bfd2c8199922b93cd71853ad809a9a1972f9016bd9c5fa4ed25a0ee4ba" dependencies = [ "evm", - "frame-support", - "frame-system", + "frame-support 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "impl-trait-for-tuples", - "pallet-balances", - "pallet-timestamp", + "pallet-balances 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pallet-timestamp 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "parity-scale-codec", "primitive-types", "ripemd160", "rlp", "serde", "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pallet-example" version = "2.0.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-example-offchain-worker" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "lite-json", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-finality-tracker" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "impl-trait-for-tuples", "parity-scale-codec", "serde", - "sp-core", + "sp-core 2.0.1", "sp-finality-tracker", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", + "sp-inherents 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -4533,28 +4752,28 @@ name = "pallet-grandpa" version = "2.0.1" dependencies = [ "finality-grandpa", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "pallet-authorship", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-finality-tracker", "pallet-offences", "pallet-session", "pallet-staking", "pallet-staking-reward-curve", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", "serde", - "sp-application-crypto", - "sp-core", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", "sp-finality-grandpa", - "sp-io", + "sp-io 2.0.1", "sp-keyring", - "sp-runtime", + "sp-runtime 2.0.1", "sp-session", "sp-staking", - "sp-std", + "sp-std 2.0.1", ] [[package]] @@ -4562,183 +4781,183 @@ name = "pallet-identity" version = "2.0.1" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-im-online" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "pallet-authorship", "pallet-session", "parity-scale-codec", "serde", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-staking", - "sp-std", + "sp-std 2.0.1", ] [[package]] name = "pallet-indices" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", + "sp-core 2.0.1", + "sp-io 2.0.1", "sp-keyring", - "sp-runtime", - "sp-std", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-membership" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-multisig" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-nicks" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", - "pallet-balances", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-node-authorization" version = "2.0.0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-offences" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", - "pallet-balances", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-staking", - "sp-std", + "sp-std 2.0.1", ] [[package]] name = "pallet-offences-benchmarking" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "pallet-babe", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-grandpa", "pallet-im-online", "pallet-offences", "pallet-session", "pallet-staking", "pallet-staking-reward-curve", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-staking", - "sp-std", + "sp-std 2.0.1", ] [[package]] name = "pallet-proxy" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "pallet-utility", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-randomness-collective-flip" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "parity-scale-codec", "safe-mix", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -4746,30 +4965,30 @@ name = "pallet-recovery" version = "2.0.1" dependencies = [ "enumflags2", - "frame-support", - "frame-system", - "pallet-balances", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-scheduler" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", "substrate-test-utils", ] @@ -4777,102 +4996,102 @@ dependencies = [ name = "pallet-scored-pool" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", - "pallet-balances", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-session" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "impl-trait-for-tuples", "lazy_static", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", "serde", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-session", "sp-staking", - "sp-std", - "sp-trie", + "sp-std 2.0.1", + "sp-trie 2.0.1", ] [[package]] name = "pallet-session-benchmarking" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "pallet-session", "pallet-staking", "pallet-staking-reward-curve", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", "rand 0.7.3", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-session", - "sp-std", + "sp-std 2.0.1", ] [[package]] name = "pallet-society" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", - "pallet-balances", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "rand_chacha 0.2.2", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-staking" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "hex", "pallet-authorship", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-session", "pallet-staking-reward-curve", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", "parking_lot 0.10.2", "rand_chacha 0.2.2", "serde", - "sp-application-crypto", - "sp-core", - "sp-io", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", + "sp-io 2.0.1", "sp-npos-elections", - "sp-runtime", + "sp-runtime 2.0.1", "sp-staking", - "sp-std", - "sp-storage", - "sp-tracing", + "sp-std 2.0.1", + "sp-storage 2.0.1", + "sp-tracing 2.0.1", "static_assertions", "substrate-test-utils", ] @@ -4881,21 +5100,21 @@ dependencies = [ name = "pallet-staking-fuzz" version = "0.0.0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "honggfuzz", - "pallet-balances", + "pallet-balances 2.0.1", "pallet-indices", "pallet-session", "pallet-staking", "pallet-staking-reward-curve", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", - "sp-core", - "sp-io", + "sp-core 2.0.1", + "sp-io 2.0.1", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -4905,7 +5124,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "sp-runtime", + "sp-runtime 2.0.1", "syn", ] @@ -4913,62 +5132,80 @@ dependencies = [ name = "pallet-sudo" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-template" version = "2.0.0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", + "parity-scale-codec", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", +] + +[[package]] +name = "pallet-timestamp" +version = "2.0.1" +dependencies = [ + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", + "impl-trait-for-tuples", "parity-scale-codec", - "sp-core", - "sp-io", - "sp-runtime", + "serde", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-timestamp 2.0.1", ] [[package]] name = "pallet-timestamp" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e206c754d6cd6d8e6e79ba2ea1a55f72af68be106e7d725d367c11c52c96da32" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-support 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "frame-system 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "impl-trait-for-tuples", "parity-scale-codec", "serde", - "sp-core", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-inherents 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-timestamp 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pallet-transaction-payment" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", - "pallet-balances", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "serde", "smallvec 1.4.1", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-storage", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-storage 2.0.1", ] [[package]] @@ -4981,57 +5218,57 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "serde", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", - "sp-core", + "sp-core 2.0.1", "sp-rpc", - "sp-runtime", + "sp-runtime 2.0.1", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "2.0.1" dependencies = [ - "frame-support", + "frame-support 2.0.1", "parity-scale-codec", "serde", "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "pallet-treasury" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-storage", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-storage 2.0.1", ] [[package]] name = "pallet-utility" version = "2.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-balances", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -5039,18 +5276,18 @@ name = "pallet-vesting" version = "2.0.1" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 2.0.1", + "frame-support 2.0.1", + "frame-system 2.0.1", "hex-literal", - "pallet-balances", + "pallet-balances 2.0.1", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-storage", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-storage 2.0.1", ] [[package]] @@ -6057,6 +6294,17 @@ dependencies = [ "rustc-hex", ] +[[package]] +name = "rlp-derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "rocksdb" version = "0.15.0" @@ -6228,12 +6476,12 @@ dependencies = [ "sc-network", "sc-peerset", "serde_json", - "sp-api", + "sp-api 2.0.1", "sp-authority-discovery", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-tracing 2.0.1", "substrate-prometheus-endpoint", "substrate-test-runtime-client", ] @@ -6252,12 +6500,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", "sp-transaction-pool", "substrate-prometheus-endpoint", "substrate-test-runtime-client", @@ -6270,15 +6518,15 @@ version = "0.8.1" dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api", + "sp-api 2.0.1", "sp-block-builder", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", - "sp-trie", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-trie 2.0.1", "substrate-test-runtime-client", ] @@ -6294,8 +6542,8 @@ dependencies = [ "serde", "serde_json", "sp-chain-spec", - "sp-core", - "sp-runtime", + "sp-core 2.0.1", + "sp-runtime 2.0.1", ] [[package]] @@ -6339,16 +6587,16 @@ dependencies = [ "sc-tracing", "serde", "serde_json", - "sp-application-crypto", + "sp-application-crypto 2.0.1", "sp-blockchain", - "sp-core", - "sp-io", + "sp-core 2.0.1", + "sp-io 2.0.1", "sp-keyring", - "sp-panic-handler", - "sp-runtime", - "sp-state-machine", + "sp-panic-handler 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", "sp-utils", - "sp-version", + "sp-version 2.0.1", "structopt", "substrate-prometheus-endpoint", "tempfile", @@ -6376,23 +6624,23 @@ dependencies = [ "parking_lot 0.10.2", "sc-executor", "sc-telemetry", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 2.0.1", "sp-database", - "sp-externalities", - "sp-inherents", + "sp-externalities 0.8.1", + "sp-inherents 2.0.1", "sp-keyring", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-storage", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-std 2.0.1", + "sp-storage 2.0.1", "sp-test-primitives", "sp-transaction-pool", - "sp-trie", + "sp-trie 2.0.1", "sp-utils", - "sp-version", + "sp-version 2.0.1", "substrate-prometheus-endpoint", "substrate-test-runtime", ] @@ -6416,16 +6664,16 @@ dependencies = [ "sc-client-api", "sc-executor", "sc-state-db", - "sp-arithmetic", + "sp-arithmetic 2.0.1", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 2.0.1", "sp-database", "sp-keyring", - "sp-runtime", - "sp-state-machine", - "sp-tracing", - "sp-trie", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-tracing 2.0.1", + "sp-trie 2.0.1", "substrate-prometheus-endpoint", "substrate-test-runtime-client", "tempfile", @@ -6438,7 +6686,7 @@ dependencies = [ "sc-client-api", "sp-blockchain", "sp-consensus", - "sp-runtime", + "sp-runtime 2.0.1", ] [[package]] @@ -6460,20 +6708,20 @@ dependencies = [ "sc-network-test", "sc-service", "sc-telemetry", - "sp-api", - "sp-application-crypto", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", "sp-keyring", - "sp-runtime", - "sp-timestamp", - "sp-tracing", - "sp-version", + "sp-runtime 2.0.1", + "sp-timestamp 2.0.1", + "sp-tracing 2.0.1", + "sp-version 2.0.1", "substrate-prometheus-endpoint", "substrate-test-runtime-client", "tempfile", @@ -6511,22 +6759,22 @@ dependencies = [ "sc-telemetry", "schnorrkel", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-vrf", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", "sp-keyring", - "sp-runtime", - "sp-timestamp", - "sp-tracing", + "sp-runtime 2.0.1", + "sp-timestamp 2.0.1", + "sp-tracing 2.0.1", "sp-utils", - "sp-version", + "sp-version 2.0.1", "substrate-prometheus-endpoint", "substrate-test-runtime-client", "tempfile", @@ -6548,14 +6796,14 @@ dependencies = [ "sc-rpc-api", "serde", "serde_json", - "sp-api", - "sp-application-crypto", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", + "sp-core 2.0.1", "sp-keyring", - "sp-runtime", + "sp-runtime 2.0.1", "substrate-test-runtime-client", "tempfile", ] @@ -6569,7 +6817,7 @@ dependencies = [ "parking_lot 0.10.2", "sc-client-api", "sp-blockchain", - "sp-runtime", + "sp-runtime 2.0.1", ] [[package]] @@ -6591,14 +6839,14 @@ dependencies = [ "sc-keystore", "sc-transaction-pool", "serde", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-timestamp", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-timestamp 2.0.1", "sp-transaction-pool", "substrate-prometheus-endpoint", "substrate-test-runtime-client", @@ -6618,15 +6866,15 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.10.2", "sc-client-api", - "sp-api", + "sp-api 2.0.1", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-pow", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-timestamp", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-timestamp 2.0.1", "substrate-prometheus-endpoint", ] @@ -6641,15 +6889,15 @@ dependencies = [ "parking_lot 0.10.2", "sc-client-api", "sc-telemetry", - "sp-api", - "sp-application-crypto", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", "substrate-test-runtime-client", ] @@ -6661,9 +6909,9 @@ dependencies = [ "sc-client-api", "sp-authorship", "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", ] [[package]] @@ -6685,19 +6933,19 @@ dependencies = [ "sc-executor-wasmtime", "sc-runtime-test", "sc-tracing", - "sp-api", - "sp-core", - "sp-externalities", - "sp-io", - "sp-panic-handler", - "sp-runtime", - "sp-runtime-interface", + "sp-api 2.0.1", + "sp-core 2.0.1", + "sp-externalities 0.8.1", + "sp-io 2.0.1", + "sp-panic-handler 2.0.1", + "sp-runtime 2.0.1", + "sp-runtime-interface 2.0.1", "sp-serializer", - "sp-state-machine", - "sp-tracing", - "sp-trie", - "sp-version", - "sp-wasm-interface", + "sp-state-machine 0.8.1", + "sp-tracing 2.0.1", + "sp-trie 2.0.1", + "sp-version 2.0.1", + "sp-wasm-interface 2.0.1", "substrate-test-runtime", "tracing", "tracing-subscriber", @@ -6714,10 +6962,10 @@ dependencies = [ "parity-scale-codec", "parity-wasm 0.41.0", "sp-allocator", - "sp-core", - "sp-runtime-interface", + "sp-core 2.0.1", + "sp-runtime-interface 2.0.1", "sp-serializer", - "sp-wasm-interface", + "sp-wasm-interface 2.0.1", "wasmi", ] @@ -6729,9 +6977,9 @@ dependencies = [ "parity-scale-codec", "sc-executor-common", "sp-allocator", - "sp-core", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-core 2.0.1", + "sp-runtime-interface 2.0.1", + "sp-wasm-interface 2.0.1", "wasmi", ] @@ -6747,9 +6995,9 @@ dependencies = [ "sc-executor-common", "scoped-tls", "sp-allocator", - "sp-core", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-core 2.0.1", + "sp-runtime-interface 2.0.1", + "sp-wasm-interface 2.0.1", "wasmtime", ] @@ -6777,20 +7025,20 @@ dependencies = [ "sc-network-test", "sc-telemetry", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", + "sp-arithmetic 2.0.1", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", + "sp-core 2.0.1", "sp-finality-grandpa", "sp-finality-tracker", - "sp-inherents", + "sp-inherents 2.0.1", "sp-keyring", - "sp-runtime", - "sp-state-machine", - "sp-tracing", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-tracing 2.0.1", "sp-utils", "substrate-prometheus-endpoint", "substrate-test-runtime-client", @@ -6821,10 +7069,10 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 2.0.1", "sp-finality-grandpa", "sp-keyring", - "sp-runtime", + "sp-runtime 2.0.1", "substrate-test-runtime-client", ] @@ -6839,7 +7087,7 @@ dependencies = [ "sc-client-api", "sc-network", "sp-blockchain", - "sp-runtime", + "sp-runtime 2.0.1", "sp-transaction-pool", "sp-utils", "wasm-timer", @@ -6855,8 +7103,8 @@ dependencies = [ "parking_lot 0.10.2", "rand 0.7.3", "serde_json", - "sp-application-crypto", - "sp-core", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", "subtle 2.2.3", "tempfile", ] @@ -6871,12 +7119,12 @@ dependencies = [ "parking_lot 0.10.2", "sc-client-api", "sc-executor", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", - "sp-core", - "sp-externalities", - "sp-runtime", - "sp-state-machine", + "sp-core 2.0.1", + "sp-externalities 0.8.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", ] [[package]] @@ -6920,14 +7168,14 @@ dependencies = [ "slog", "slog_derive", "smallvec 0.6.13", - "sp-arithmetic", + "sp-arithmetic 2.0.1", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 2.0.1", "sp-keyring", - "sp-runtime", + "sp-runtime 2.0.1", "sp-test-primitives", - "sp-tracing", + "sp-tracing 2.0.1", "sp-utils", "substrate-prometheus-endpoint", "substrate-test-runtime", @@ -6953,7 +7201,7 @@ dependencies = [ "quickcheck", "rand 0.7.3", "sc-network", - "sp-runtime", + "sp-runtime 2.0.1", "substrate-test-runtime-client", "wasm-timer", ] @@ -6976,9 +7224,9 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-runtime", - "sp-tracing", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-tracing 2.0.1", "substrate-test-runtime", "substrate-test-runtime-client", "tempfile", @@ -7005,11 +7253,11 @@ dependencies = [ "sc-keystore", "sc-network", "sc-transaction-pool", - "sp-api", - "sp-core", + "sp-api 2.0.1", + "sp-core 2.0.1", "sp-offchain", - "sp-runtime", - "sp-tracing", + "sp-runtime 2.0.1", + "sp-tracing 2.0.1", "sp-transaction-pool", "sp-utils", "substrate-test-runtime-client", @@ -7060,19 +7308,19 @@ dependencies = [ "sc-rpc-api", "sc-transaction-pool", "serde_json", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", "sp-chain-spec", - "sp-core", - "sp-io", + "sp-core 2.0.1", + "sp-io 2.0.1", "sp-offchain", "sp-rpc", - "sp-runtime", + "sp-runtime 2.0.1", "sp-session", - "sp-state-machine", + "sp-state-machine 0.8.1", "sp-transaction-pool", "sp-utils", - "sp-version", + "sp-version 2.0.1", "substrate-test-runtime-client", "tokio 0.1.22", ] @@ -7093,11 +7341,11 @@ dependencies = [ "serde", "serde_json", "sp-chain-spec", - "sp-core", + "sp-core 2.0.1", "sp-rpc", - "sp-runtime", + "sp-runtime 2.0.1", "sp-transaction-pool", - "sp-version", + "sp-version 2.0.1", ] [[package]] @@ -7113,7 +7361,7 @@ dependencies = [ "log", "serde", "serde_json", - "sp-runtime", + "sp-runtime 2.0.1", "substrate-prometheus-endpoint", ] @@ -7122,11 +7370,11 @@ name = "sc-runtime-test" version = "2.0.0" dependencies = [ "sp-allocator", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-sandbox", - "sp-std", + "sp-std 2.0.1", "substrate-wasm-builder-runner", ] @@ -7170,25 +7418,25 @@ dependencies = [ "serde", "serde_json", "slog", - "sp-api", - "sp-application-crypto", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-externalities", + "sp-core 2.0.1", + "sp-externalities 0.8.1", "sp-finality-grandpa", - "sp-inherents", - "sp-io", - "sp-runtime", + "sp-inherents 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", "sp-session", - "sp-state-machine", - "sp-tracing", + "sp-state-machine 0.8.1", + "sp-tracing 2.0.1", "sp-transaction-pool", - "sp-trie", + "sp-trie 2.0.1", "sp-utils", - "sp-version", + "sp-version 2.0.1", "substrate-prometheus-endpoint", "substrate-test-runtime-client", "tempfile", @@ -7215,18 +7463,18 @@ dependencies = [ "sc-light", "sc-network", "sc-service", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-runtime", - "sp-state-machine", - "sp-storage", - "sp-tracing", + "sp-core 2.0.1", + "sp-externalities 0.8.1", + "sp-panic-handler 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-storage 2.0.1", + "sp-tracing 2.0.1", "sp-transaction-pool", - "sp-trie", + "sp-trie 2.0.1", "substrate-test-runtime", "substrate-test-runtime-client", "tempfile", @@ -7243,7 +7491,7 @@ dependencies = [ "parity-util-mem-derive", "parking_lot 0.10.2", "sc-client-api", - "sp-core", + "sp-core 2.0.1", ] [[package]] @@ -7278,7 +7526,7 @@ dependencies = [ "serde", "serde_json", "slog", - "sp-tracing", + "sp-tracing 2.0.1", "tracing", "tracing-core", "tracing-subscriber", @@ -7300,8 +7548,8 @@ dependencies = [ "retain_mut", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 2.0.1", + "sp-runtime 2.0.1", "sp-transaction-pool", "sp-utils", "substrate-test-runtime", @@ -7325,13 +7573,13 @@ dependencies = [ "sc-block-builder", "sc-client-api", "sc-transaction-graph", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 2.0.1", "sp-keyring", - "sp-runtime", - "sp-tracing", + "sp-runtime 2.0.1", + "sp-tracing 2.0.1", "sp-transaction-pool", "sp-utils", "substrate-prometheus-endpoint", @@ -7760,9 +8008,9 @@ version = "2.0.1" dependencies = [ "derive_more", "log", - "sp-core", - "sp-std", - "sp-wasm-interface", + "sp-core 2.0.1", + "sp-std 2.0.1", + "sp-wasm-interface 2.0.1", ] [[package]] @@ -7771,18 +8019,47 @@ version = "2.0.1" dependencies = [ "hash-db", "parity-scale-codec", - "sp-api-proc-macro", - "sp-core", - "sp-runtime", - "sp-state-machine", - "sp-std", + "sp-api-proc-macro 2.0.1", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-std 2.0.1", "sp-test-primitives", - "sp-version", + "sp-version 2.0.1", +] + +[[package]] +name = "sp-api" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8496732f255ef290eee6d438ebd0ecdbfe31ec8246e31870a4faf44df76b6280" +dependencies = [ + "hash-db", + "parity-scale-codec", + "sp-api-proc-macro 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-version 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-api-proc-macro" +version = "2.0.1" +dependencies = [ + "blake2-rfc", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", ] [[package]] name = "sp-api-proc-macro" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c863d32b9e36849f2fc76efad959924561b2fcb15b3abdebb3d3f48a94074a00" dependencies = [ "blake2-rfc", "proc-macro-crate", @@ -7799,13 +8076,13 @@ dependencies = [ "parity-scale-codec", "rustversion", "sc-block-builder", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", - "sp-version", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-version 2.0.1", "substrate-test-runtime-client", "trybuild", ] @@ -7816,19 +8093,32 @@ version = "2.0.1" dependencies = [ "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-std 2.0.1", +] + +[[package]] +name = "sp-application-crypto" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eda2660cca492b58328d6a057bf5ba6c8a58e9f6e079a2f603b623d030300841" +dependencies = [ + "parity-scale-codec", + "serde", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sp-application-crypto-test" version = "2.0.0" dependencies = [ - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-runtime", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", + "sp-runtime 2.0.1", "substrate-test-runtime-client", ] @@ -7844,8 +8134,22 @@ dependencies = [ "rand 0.7.3", "serde", "serde_json", - "sp-debug-derive", - "sp-std", + "sp-debug-derive 2.0.1", + "sp-std 2.0.1", +] + +[[package]] +name = "sp-arithmetic" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c4d204b1cf8e1d4826804ffbd2edd2c4df385ee3046fa4581f09bc18977ea89" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "serde", + "sp-debug-derive 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -7856,7 +8160,7 @@ dependencies = [ "num-bigint", "num-traits", "primitive-types", - "sp-arithmetic", + "sp-arithmetic 2.0.1", ] [[package]] @@ -7864,10 +8168,10 @@ name = "sp-authority-discovery" version = "2.0.1" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-application-crypto", - "sp-runtime", - "sp-std", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -7875,9 +8179,9 @@ name = "sp-authorship" version = "2.0.1" dependencies = [ "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -7885,10 +8189,10 @@ name = "sp-block-builder" version = "2.0.1" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-api 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -7903,8 +8207,8 @@ dependencies = [ "sp-block-builder", "sp-consensus", "sp-database", - "sp-runtime", - "sp-state-machine", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", ] [[package]] @@ -7927,16 +8231,16 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.10.2", "serde", - "sp-api", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", - "sp-std", + "sp-api 2.0.1", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", + "sp-std 2.0.1", "sp-test-primitives", - "sp-trie", + "sp-trie 2.0.1", "sp-utils", - "sp-version", + "sp-version 2.0.1", "substrate-prometheus-endpoint", "wasm-timer", ] @@ -7946,12 +8250,12 @@ name = "sp-consensus-aura" version = "0.8.1" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-application-crypto", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-timestamp 2.0.1", ] [[package]] @@ -7960,16 +8264,16 @@ version = "0.8.1" dependencies = [ "merlin", "parity-scale-codec", - "sp-api", - "sp-application-crypto", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", "sp-consensus", "sp-consensus-slots", "sp-consensus-vrf", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-timestamp", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-timestamp 2.0.1", ] [[package]] @@ -7977,10 +8281,10 @@ name = "sp-consensus-pow" version = "0.8.1" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-core", - "sp-runtime", - "sp-std", + "sp-api 2.0.1", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -7988,7 +8292,7 @@ name = "sp-consensus-slots" version = "0.8.1" dependencies = [ "parity-scale-codec", - "sp-runtime", + "sp-runtime 2.0.1", ] [[package]] @@ -7997,9 +8301,9 @@ version = "0.8.1" dependencies = [ "parity-scale-codec", "schnorrkel", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -8037,12 +8341,57 @@ dependencies = [ "serde", "serde_json", "sha2 0.8.2", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface", + "sp-debug-derive 2.0.1", + "sp-externalities 0.8.1", + "sp-runtime-interface 2.0.1", "sp-serializer", - "sp-std", - "sp-storage", + "sp-std 2.0.1", + "sp-storage 2.0.1", + "substrate-bip39", + "tiny-bip39", + "tiny-keccak", + "twox-hash", + "wasmi", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb1b8a5031e866ebee7535446915c83e8f676c68dcc8555f0c0f149ff4b48035" +dependencies = [ + "base58", + "blake2-rfc", + "byteorder 1.3.4", + "derive_more", + "dyn-clonable", + "ed25519-dalek", + "futures 0.3.5", + "hash-db", + "hash256-std-hasher", + "hex", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin", + "num-traits", + "parity-scale-codec", + "parity-util-mem", + "parking_lot 0.10.2", + "primitive-types", + "rand 0.7.3", + "regex", + "schnorrkel", + "secrecy", + "serde", + "sha2 0.8.2", + "sp-debug-derive 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "substrate-bip39", "tiny-bip39", "tiny-keccak", @@ -8068,14 +8417,37 @@ dependencies = [ "syn", ] +[[package]] +name = "sp-debug-derive" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "558a1a24f2feab950ce382923b62879f253207c6cbf7832eb1e47dba5f57fba8" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "sp-externalities" version = "0.8.1" dependencies = [ "environmental", "parity-scale-codec", - "sp-std", - "sp-storage", + "sp-std 2.0.1", + "sp-storage 2.0.1", +] + +[[package]] +name = "sp-externalities" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "144c39acb7affd7a9ce478e289157b9a6c225e3f08a7d4d2f4fee85cc3899684" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -8086,11 +8458,11 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-runtime", - "sp-std", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -8098,8 +8470,8 @@ name = "sp-finality-tracker" version = "2.0.1" dependencies = [ "parity-scale-codec", - "sp-inherents", - "sp-std", + "sp-inherents 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -8109,13 +8481,50 @@ dependencies = [ "derive_more", "parity-scale-codec", "parking_lot 0.10.2", - "sp-core", - "sp-std", + "sp-core 2.0.1", + "sp-std 2.0.1", +] + +[[package]] +name = "sp-inherents" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ebcf5925a850392cb044af9b8da20dc0610e613ff15607b3b96bed6461f9193" +dependencies = [ + "derive_more", + "parity-scale-codec", + "parking_lot 0.10.2", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-io" +version = "2.0.1" +dependencies = [ + "futures 0.3.5", + "hash-db", + "libsecp256k1", + "log", + "parity-scale-codec", + "parking_lot 0.10.2", + "sp-core 2.0.1", + "sp-externalities 0.8.1", + "sp-runtime-interface 2.0.1", + "sp-state-machine 0.8.1", + "sp-std 2.0.1", + "sp-tracing 2.0.1", + "sp-trie 2.0.1", + "sp-wasm-interface 2.0.1", + "tracing", + "tracing-core", ] [[package]] name = "sp-io" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bffbebdeacf0a313ac65e043c37e37d98b48ea75cd1e8ab9ba40a925fecb616b" dependencies = [ "futures 0.3.5", "hash-db", @@ -8123,14 +8532,14 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.10.2", - "sp-core", - "sp-externalities", - "sp-runtime-interface", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-trie", - "sp-wasm-interface", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-state-machine 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "tracing", "tracing-core", ] @@ -8140,8 +8549,8 @@ name = "sp-keyring" version = "2.0.1" dependencies = [ "lazy_static", - "sp-core", - "sp-runtime", + "sp-core 2.0.1", + "sp-runtime 2.0.1", "strum", ] @@ -8152,10 +8561,10 @@ dependencies = [ "parity-scale-codec", "rand 0.7.3", "serde", - "sp-arithmetic", + "sp-arithmetic 2.0.1", "sp-npos-elections-compact", - "sp-runtime", - "sp-std", + "sp-runtime 2.0.1", + "sp-std 2.0.1", "substrate-test-utils", ] @@ -8177,18 +8586,18 @@ dependencies = [ "parity-scale-codec", "rand 0.7.3", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] name = "sp-offchain" version = "2.0.1" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", - "sp-state-machine", + "sp-api 2.0.1", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", ] [[package]] @@ -8199,13 +8608,23 @@ dependencies = [ "log", ] +[[package]] +name = "sp-panic-handler" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1055031d4994705cd9eca38602fea1ed88f6916c0979f85352c3d540baedb2e8" +dependencies = [ + "backtrace", + "log", +] + [[package]] name = "sp-rpc" version = "2.0.1" dependencies = [ "serde", "serde_json", - "sp-core", + "sp-core 2.0.1", ] [[package]] @@ -8222,13 +8641,36 @@ dependencies = [ "rand 0.7.3", "serde", "serde_json", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-inherents", - "sp-io", - "sp-state-machine", - "sp-std", + "sp-application-crypto 2.0.1", + "sp-arithmetic 2.0.1", + "sp-core 2.0.1", + "sp-inherents 2.0.1", + "sp-io 2.0.1", + "sp-state-machine 0.8.1", + "sp-std 2.0.1", +] + +[[package]] +name = "sp-runtime" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85d8d12cba8cb9c50d8c0eee517d74044c22faa9322260e88dccb5bd06bf0762" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "parity-util-mem", + "paste", + "rand 0.7.3", + "serde", + "sp-application-crypto 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-arithmetic 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-io 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -8238,23 +8680,53 @@ dependencies = [ "parity-scale-codec", "primitive-types", "rustversion", - "sp-core", - "sp-externalities", - "sp-io", - "sp-runtime-interface-proc-macro", + "sp-core 2.0.1", + "sp-externalities 0.8.1", + "sp-io 2.0.1", + "sp-runtime-interface-proc-macro 2.0.1", "sp-runtime-interface-test-wasm", - "sp-state-machine", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", + "sp-state-machine 0.8.1", + "sp-std 2.0.1", + "sp-storage 2.0.1", + "sp-tracing 2.0.1", + "sp-wasm-interface 2.0.1", "static_assertions", "trybuild", ] +[[package]] +name = "sp-runtime-interface" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fb6574401a7b5c89111b417efecbc9f0c3d38c2c539ce3a964b8393769c3e15" +dependencies = [ + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime-interface-proc-macro 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-storage 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-tracing 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-wasm-interface 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "2.0.1" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d724b1feca629bf958dc0db0453225e59d9b2098fe5a47f86cd964cbc116d89d" dependencies = [ "Inflector", "proc-macro-crate", @@ -8268,13 +8740,13 @@ name = "sp-runtime-interface-test" version = "2.0.0" dependencies = [ "sc-executor", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime 2.0.1", + "sp-runtime-interface 2.0.1", "sp-runtime-interface-test-wasm", "sp-runtime-interface-test-wasm-deprecated", - "sp-state-machine", + "sp-state-machine 0.8.1", "tracing", "tracing-core", ] @@ -8283,10 +8755,10 @@ dependencies = [ name = "sp-runtime-interface-test-wasm" version = "2.0.0" dependencies = [ - "sp-core", - "sp-io", - "sp-runtime-interface", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime-interface 2.0.1", + "sp-std 2.0.1", "substrate-wasm-builder-runner", ] @@ -8294,10 +8766,10 @@ dependencies = [ name = "sp-runtime-interface-test-wasm-deprecated" version = "2.0.0" dependencies = [ - "sp-core", - "sp-io", - "sp-runtime-interface", - "sp-std", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-runtime-interface 2.0.1", + "sp-std 2.0.1", "substrate-wasm-builder-runner", ] @@ -8307,10 +8779,10 @@ version = "0.8.1" dependencies = [ "assert_matches", "parity-scale-codec", - "sp-core", - "sp-io", - "sp-std", - "sp-wasm-interface", + "sp-core 2.0.1", + "sp-io 2.0.1", + "sp-std 2.0.1", + "sp-wasm-interface 2.0.1", "wasmi", "wat", ] @@ -8328,11 +8800,11 @@ name = "sp-session" version = "2.0.1" dependencies = [ "parity-scale-codec", - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 2.0.1", + "sp-core 2.0.1", + "sp-runtime 2.0.1", "sp-staking", - "sp-std", + "sp-std 2.0.1", ] [[package]] @@ -8340,8 +8812,8 @@ name = "sp-staking" version = "2.0.1" dependencies = [ "parity-scale-codec", - "sp-runtime", - "sp-std", + "sp-runtime 2.0.1", + "sp-std 2.0.1", ] [[package]] @@ -8357,12 +8829,34 @@ dependencies = [ "pretty_assertions", "rand 0.7.3", "smallvec 1.4.1", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-core 2.0.1", + "sp-externalities 0.8.1", + "sp-panic-handler 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", + "sp-trie 2.0.1", + "trie-db", + "trie-root", +] + +[[package]] +name = "sp-state-machine" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "095a8c33f70151e561c53fdaca23ad19cc059088807a25be0d60d04fb2ededea" +dependencies = [ + "hash-db", + "log", + "num-traits", + "parity-scale-codec", + "parking_lot 0.10.2", + "rand 0.7.3", + "smallvec 1.4.1", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-externalities 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-panic-handler 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-trie 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "trie-db", "trie-root", ] @@ -8371,16 +8865,36 @@ dependencies = [ name = "sp-std" version = "2.0.1" +[[package]] +name = "sp-std" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2585fb8f5f4fde53c2f9ccebac4517da4dc435373a8fcaf5db7f54b798da66c2" + +[[package]] +name = "sp-storage" +version = "2.0.1" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 2.0.1", + "sp-std 2.0.1", +] + [[package]] name = "sp-storage" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "781cc04c8d61c7bb1c269ca68d5d001fcaafbca8a21af46f87bf2e79a749c295" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", - "sp-std", + "sp-debug-derive 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -8390,9 +8904,9 @@ dependencies = [ "parity-scale-codec", "parity-util-mem", "serde", - "sp-application-crypto", - "sp-core", - "sp-runtime", + "sp-application-crypto 2.0.1", + "sp-core 2.0.1", + "sp-runtime 2.0.1", ] [[package]] @@ -8401,20 +8915,49 @@ version = "2.0.1" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", - "sp-api", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-api 2.0.1", + "sp-inherents 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", "wasm-timer", ] +[[package]] +name = "sp-timestamp" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d86fb8fd203faa146ba06b0d88c60f9bcb4c1dcbe49f64e36d4038893018536" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-api 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-inherents 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "wasm-timer", +] + +[[package]] +name = "sp-tracing" +version = "2.0.1" +dependencies = [ + "log", + "parity-scale-codec", + "sp-std 2.0.1", + "tracing", + "tracing-core", + "tracing-subscriber", +] + [[package]] name = "sp-tracing" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c574a06ac032f3c6fc29ae61ae1292546499342219c256098914f6110312f6f4" dependencies = [ "log", "parity-scale-codec", - "sp-std", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "tracing", "tracing-core", "tracing-subscriber", @@ -8429,9 +8972,9 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", - "sp-runtime", + "sp-runtime 2.0.1", ] [[package]] @@ -8443,15 +8986,30 @@ dependencies = [ "hex-literal", "memory-db", "parity-scale-codec", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-std 2.0.1", "trie-bench", "trie-db", "trie-root", "trie-standardmap", ] +[[package]] +name = "sp-trie" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "311f320e1a1d6d961664af519d343d7a0493d9fe2f81dc3de488841e4fbaaa46" +dependencies = [ + "hash-db", + "memory-db", + "parity-scale-codec", + "sp-core 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-db", + "trie-root", +] + [[package]] name = "sp-utils" version = "2.0.1" @@ -8470,17 +9028,42 @@ dependencies = [ "impl-serde", "parity-scale-codec", "serde", - "sp-runtime", - "sp-std", + "sp-runtime 2.0.1", + "sp-std 2.0.1", +] + +[[package]] +name = "sp-version" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d5fb7fa5f747a7d1b1854a1b69b813a9df6425ab0f0a9876cbddea8c6b9ab34" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "serde", + "sp-runtime 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "sp-wasm-interface" +version = "2.0.1" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "sp-std 2.0.1", + "wasmi", ] [[package]] name = "sp-wasm-interface" version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "554daa08d61bb3bf2d81ac79b7ae089733339fc8fdc129dc21d074195f1219be" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", - "sp-std", + "sp-std 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "wasmi", ] @@ -8593,11 +9176,11 @@ dependencies = [ name = "subkey" version = "2.0.0" dependencies = [ - "frame-system", + "frame-system 2.0.1", "node-primitives", "node-runtime", "sc-cli", - "sp-core", + "sp-core 2.0.1", "structopt", "substrate-frame-cli", ] @@ -8651,10 +9234,10 @@ dependencies = [ name = "substrate-frame-cli" version = "2.0.1" dependencies = [ - "frame-system", + "frame-system 2.0.1", "sc-cli", - "sp-core", - "sp-runtime", + "sp-core 2.0.1", + "sp-runtime 2.0.1", "structopt", ] @@ -8662,15 +9245,15 @@ dependencies = [ name = "substrate-frame-rpc-support" version = "2.0.1" dependencies = [ - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "futures 0.3.5", "jsonrpc-client-transports", "jsonrpc-core", "parity-scale-codec", "sc-rpc-api", "serde", - "sp-storage", + "sp-storage 2.0.1", "tokio 0.2.22", ] @@ -8689,12 +9272,12 @@ dependencies = [ "sc-rpc-api", "sc-transaction-pool", "serde", - "sp-api", + "sp-api 2.0.1", "sp-block-builder", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing", + "sp-core 2.0.1", + "sp-runtime 2.0.1", + "sp-tracing 2.0.1", "sp-transaction-pool", "substrate-test-runtime-client", ] @@ -8731,10 +9314,10 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 2.0.1", "sp-keyring", - "sp-runtime", - "sp-state-machine", + "sp-runtime 2.0.1", + "sp-state-machine 0.8.1", ] [[package]] @@ -8743,39 +9326,39 @@ version = "2.0.0" dependencies = [ "cfg-if", "frame-executive", - "frame-support", - "frame-system", + "frame-support 2.0.1", + "frame-system 2.0.1", "frame-system-rpc-runtime-api", "log", "memory-db", "pallet-babe", - "pallet-timestamp", + "pallet-timestamp 2.0.1", "parity-scale-codec", "parity-util-mem", "sc-block-builder", "sc-executor", "sc-service", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 2.0.1", + "sp-application-crypto 2.0.1", "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", - "sp-externalities", + "sp-core 2.0.1", + "sp-externalities 0.8.1", "sp-finality-grandpa", - "sp-inherents", - "sp-io", + "sp-inherents 2.0.1", + "sp-io 2.0.1", "sp-keyring", "sp-offchain", - "sp-runtime", - "sp-runtime-interface", + "sp-runtime 2.0.1", + "sp-runtime-interface 2.0.1", "sp-session", - "sp-state-machine", - "sp-std", + "sp-state-machine 0.8.1", + "sp-std 2.0.1", "sp-transaction-pool", - "sp-trie", - "sp-version", + "sp-trie 2.0.1", + "sp-version 2.0.1", "substrate-test-runtime-client", "substrate-wasm-builder-runner", "trie-db", @@ -8792,11 +9375,11 @@ dependencies = [ "sc-consensus", "sc-light", "sc-service", - "sp-api", + "sp-api 2.0.1", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 2.0.1", + "sp-runtime 2.0.1", "substrate-test-client", "substrate-test-runtime", ] @@ -8811,7 +9394,7 @@ dependencies = [ "parking_lot 0.10.2", "sc-transaction-graph", "sp-blockchain", - "sp-runtime", + "sp-runtime 2.0.1", "sp-transaction-pool", "substrate-test-runtime-client", ] diff --git a/bin/node-template/node/Cargo.toml b/bin/node-template/node/Cargo.toml index 8b1a47fd2bf15..b8abc38e6b72c 100644 --- a/bin/node-template/node/Cargo.toml +++ b/bin/node-template/node/Cargo.toml @@ -54,6 +54,11 @@ node-template-runtime = { version = "2.0.0", path = "../runtime" } [build-dependencies] substrate-build-script-utils = { version = "2.0.0", path = "../../../utils/build-script-utils" } +# Frontier Dependencies +frontier-consensus = { git = 'https://github.com/PureStake/frontier.git', branch = 'substrate-v2' } +frontier-rpc = { git = 'https://github.com/PureStake/frontier.git', branch = 'substrate-v2' } +frontier-rpc-primitives = { git = 'https://github.com/PureStake/frontier.git', branch = 'substrate-v2' } + [features] default = [] runtime-benchmarks = [ diff --git a/bin/node-template/node/src/chain_spec.rs b/bin/node-template/node/src/chain_spec.rs index 41f582fb64a46..f2b4bb56fd79e 100644 --- a/bin/node-template/node/src/chain_spec.rs +++ b/bin/node-template/node/src/chain_spec.rs @@ -1,12 +1,13 @@ use sp_core::{Pair, Public, sr25519}; use node_template_runtime::{ AccountId, AuraConfig, BalancesConfig, GenesisConfig, GrandpaConfig, - SudoConfig, SystemConfig, WASM_BINARY, Signature + SudoConfig, SystemConfig, WASM_BINARY, Signature, EVMConfig, EthereumConfig, }; use sp_consensus_aura::sr25519::AuthorityId as AuraId; use sp_finality_grandpa::AuthorityId as GrandpaId; use sp_runtime::traits::{Verify, IdentifyAccount}; use sc_service::ChainType; +use std::collections::BTreeMap; // The URL for the telemetry server. // const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/"; @@ -153,5 +154,9 @@ fn testnet_genesis( // Assign network admin rights. key: root_key, }), + pallet_evm: Some(EVMConfig { + accounts: BTreeMap::new(), + }), + pallet_ethereum: Some(EthereumConfig {}), } } diff --git a/bin/node-template/node/src/rpc.rs b/bin/node-template/node/src/rpc.rs index c1f0e0a8457bc..533d95b881463 100644 --- a/bin/node-template/node/src/rpc.rs +++ b/bin/node-template/node/src/rpc.rs @@ -7,10 +7,14 @@ use std::sync::Arc; -use node_template_runtime::{opaque::Block, AccountId, Balance, Index}; +use node_template_runtime::{opaque::Block, AccountId, Balance, Index, TransactionConverter}; +use sc_client_api::{ + backend::{StorageProvider, Backend, StateBackend, AuxStore}, +}; use sp_api::ProvideRuntimeApi; use sp_blockchain::{Error as BlockChainError, HeaderMetadata, HeaderBackend}; use sp_block_builder::BlockBuilder; +use sp_runtime::traits::BlakeTwo256; pub use sc_rpc_api::DenyUnsafe; use sp_transaction_pool::TransactionPool; @@ -23,32 +27,41 @@ pub struct FullDeps { pub pool: Arc

, /// Whether to deny unsafe calls pub deny_unsafe: DenyUnsafe, + /// The Node authority flag + pub is_authority: bool, } /// Instantiate all full RPC extensions. -pub fn create_full( +pub fn create_full( deps: FullDeps, ) -> jsonrpc_core::IoHandler where + BE: Backend + 'static, + BE::State: StateBackend, C: ProvideRuntimeApi, + C: StorageProvider, + C: AuxStore, C: HeaderBackend + HeaderMetadata + 'static, C: Send + Sync + 'static, C::Api: substrate_frame_rpc_system::AccountNonceApi, C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: BlockBuilder, - P: TransactionPool + 'static, + C::Api: frontier_rpc_primitives::EthereumRuntimeRPCApi, + P: TransactionPool + 'static, { use substrate_frame_rpc_system::{FullSystem, SystemApi}; use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi}; + use frontier_rpc::{EthApi, EthApiServer}; let mut io = jsonrpc_core::IoHandler::default(); let FullDeps { client, pool, deny_unsafe, + is_authority, } = deps; io.extend_with( - SystemApi::to_delegate(FullSystem::new(client.clone(), pool, deny_unsafe)) + SystemApi::to_delegate(FullSystem::new(client.clone(), pool.clone(), deny_unsafe)) ); io.extend_with( @@ -59,6 +72,14 @@ pub fn create_full( // `YourRpcStruct` should have a reference to a client, which is needed // to call into the runtime. // `io.extend_with(YourRpcTrait::to_delegate(YourRpcStruct::new(ReferenceToClient, ...)));` + io.extend_with( + EthApiServer::to_delegate(EthApi::new( + client.clone(), + pool.clone(), + TransactionConverter, + is_authority, + )) + ); io } diff --git a/bin/node-template/node/src/service.rs b/bin/node-template/node/src/service.rs index 3de31dc61ab51..a80862f80459a 100644 --- a/bin/node-template/node/src/service.rs +++ b/bin/node-template/node/src/service.rs @@ -3,6 +3,7 @@ use std::sync::Arc; use std::time::Duration; use sc_client_api::{ExecutorProvider, RemoteBackend}; +use frontier_consensus::FrontierBlockImport; use node_template_runtime::{self, opaque::Block, RuntimeApi}; use sc_service::{error::Error as ServiceError, Configuration, TaskManager}; use sp_inherents::InherentDataProviders; @@ -31,7 +32,11 @@ pub fn new_partial(config: &Configuration) -> Result, + FrontierBlockImport< + Block, + sc_finality_grandpa::GrandpaBlockImport, + FullClient + >, AuraPair >, sc_finality_grandpa::LinkHalf @@ -56,8 +61,17 @@ pub fn new_partial(config: &Configuration) -> Result), select_chain.clone(), )?; + // Here we inert a piece in the block import pipeline + // The old pipeline was Aura -> Grandpa -> Client + // The new pipeline is Aura -> Frontier -> Grandpa -> Client + let frontier_block_import = FrontierBlockImport::new( + grandpa_block_import.clone(), + client.clone(), + true + ); + let aura_block_import = sc_consensus_aura::AuraBlockImport::<_, _, _, AuraPair>::new( - grandpa_block_import.clone(), client.clone(), + frontier_block_import.clone(), client.clone(), ); let import_queue = sc_consensus_aura::import_queue::<_, _, _, AuraPair, _, _>( @@ -115,6 +129,7 @@ pub fn new_full(config: Configuration) -> Result { let enable_grandpa = !config.disable_grandpa; let prometheus_registry = config.prometheus_registry().cloned(); let telemetry_connection_sinks = sc_service::TelemetryConnectionSinks::default(); + let is_authority = role.is_authority(); let rpc_extensions_builder = { let client = client.clone(); @@ -125,6 +140,7 @@ pub fn new_full(config: Configuration) -> Result { client: client.clone(), pool: pool.clone(), deny_unsafe, + is_authority, }; crate::rpc::create_full(deps) diff --git a/bin/node-template/runtime/Cargo.toml b/bin/node-template/runtime/Cargo.toml index 393578f8d295d..beb5c0510d9f0 100644 --- a/bin/node-template/runtime/Cargo.toml +++ b/bin/node-template/runtime/Cargo.toml @@ -15,6 +15,8 @@ codec = { package = "parity-scale-codec", version = "1.3.4", default-features = pallet-aura = { version = "2.0.0", default-features = false, path = "../../../frame/aura" } pallet-balances = { version = "2.0.0", default-features = false, path = "../../../frame/balances" } +pallet-evm = { version = "2.0.0", default-features = false, path = "../../../frame/evm" } +pallet-ethereum = { default-features = false, git = 'https://github.com/PureStake/frontier.git', branch = 'substrate-v2' } frame-support = { version = "2.0.0", default-features = false, path = "../../../frame/support" } pallet-grandpa = { version = "2.0.0", default-features = false, path = "../../../frame/grandpa" } pallet-randomness-collective-flip = { version = "2.0.0", default-features = false, path = "../../../frame/randomness-collective-flip" } @@ -38,6 +40,7 @@ sp-version = { version = "2.0.0", default-features = false, path = "../../../pri # Used for the node template's RPCs frame-system-rpc-runtime-api = { version = "2.0.0", default-features = false, path = "../../../frame/system/rpc/runtime-api/" } +frontier-rpc-primitives = { default-features = false, git = 'https://github.com/PureStake/frontier.git', branch = 'substrate-v2' } pallet-transaction-payment-rpc-runtime-api = { version = "2.0.0", default-features = false, path = "../../../frame/transaction-payment/rpc/runtime-api/" } # Used for runtime benchmarking @@ -58,6 +61,8 @@ std = [ "frame-support/std", "pallet-aura/std", "pallet-balances/std", + "pallet-evm/std", + "pallet-ethereum/std", "pallet-grandpa/std", "pallet-randomness-collective-flip/std", "pallet-sudo/std", @@ -78,6 +83,7 @@ std = [ "sp-version/std", "frame-system/std", "frame-system-rpc-runtime-api/std", + "frontier-rpc-primitives/std", "template/std", ] runtime-benchmarks = [ diff --git a/bin/node-template/runtime/src/lib.rs b/bin/node-template/runtime/src/lib.rs index e96de63731745..bb8b75bbaffdc 100644 --- a/bin/node-template/runtime/src/lib.rs +++ b/bin/node-template/runtime/src/lib.rs @@ -7,7 +7,7 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); use sp_std::prelude::*; -use sp_core::{crypto::KeyTypeId, OpaqueMetadata}; +use sp_core::{crypto::KeyTypeId, OpaqueMetadata, U256, H160, H256}; use sp_runtime::{ ApplyExtrinsicResult, generic, create_runtime_str, impl_opaque_keys, MultiSignature, transaction_validity::{TransactionValidity, TransactionSource}, @@ -22,6 +22,11 @@ use pallet_grandpa::fg_primitives; use sp_version::RuntimeVersion; #[cfg(feature = "std")] use sp_version::NativeVersion; +use pallet_evm::{ + Account as EVMAccount, FeeCalculator, EnsureAddressTruncated, HashedAddressMapping, +}; +use codec::{Encode, Decode}; +use frontier_rpc_primitives::TransactionStatus; // A few exports that help ease life for downstream crates. #[cfg(any(feature = "std", test))] @@ -266,6 +271,27 @@ impl template::Trait for Runtime { type Event = Event; } +parameter_types! { + pub const LeetChainId: u64 = 1337; +} + +impl pallet_evm::Trait for Runtime { + type FeeCalculator = (); + type CallOrigin = EnsureAddressTruncated; + type WithdrawOrigin = EnsureAddressTruncated; + type AddressMapping = HashedAddressMapping; + type Currency = Balances; + type Event = Event; + type Precompiles = (); + type ChainId = LeetChainId; +} + +impl pallet_ethereum::Trait for Runtime { + type Event = Event; + // This means we will never record a block author in the Ethereum-formatted blocks + type FindAuthor = (); +} + // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub enum Runtime where @@ -283,9 +309,30 @@ construct_runtime!( Sudo: pallet_sudo::{Module, Call, Config, Storage, Event}, // Include the custom logic from the template pallet in the runtime. TemplateModule: template::{Module, Call, Storage, Event}, + EVM: pallet_evm::{Module, Call, Storage, Config, Event}, + Ethereum: pallet_ethereum::{Module, Call, Storage, Event, Config, ValidateUnsigned}, } ); +/// A unit struct that can can convert ethereum-formatted transactions into Substrate-formatted transactions +/// The ConvertTransaction trait is implemented twice. Once for Uncheckd Extrinsic and once for Opaque Unchecked Extrinsic +/// Essentially we wrap the raw ethereum transaction in a call to the transact extrinsic in pallet ethereum. +pub struct TransactionConverter; + +impl frontier_rpc_primitives::ConvertTransaction for TransactionConverter { + fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic { + UncheckedExtrinsic::new_unsigned(pallet_ethereum::Call::::transact(transaction).into()) + } +} + +impl frontier_rpc_primitives::ConvertTransaction for TransactionConverter { + fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> opaque::UncheckedExtrinsic { + let extrinsic = UncheckedExtrinsic::new_unsigned(pallet_ethereum::Call::::transact(transaction).into()); + let encoded = extrinsic.encode(); + opaque::UncheckedExtrinsic::decode(&mut &encoded[..]).expect("Encoded extrinsic is always valid") + } +} + /// The address format for describing accounts. pub type Address = AccountId; /// Block header type as expected by this runtime. @@ -443,6 +490,96 @@ impl_runtime_apis! { } } + impl frontier_rpc_primitives::EthereumRuntimeRPCApi for Runtime { + fn chain_id() -> u64 { + ::ChainId::get() + } + + fn account_basic(address: H160) -> EVMAccount { + EVM::account_basic(&address) + } + + fn gas_price() -> U256 { + ::FeeCalculator::min_gas_price() + } + + fn account_code_at(address: H160) -> Vec { + EVM::account_codes(address) + } + + fn author() -> H160 { + Ethereum::find_author() + } + + fn storage_at(address: H160, index: U256) -> H256 { + let mut tmp = [0u8; 32]; + index.to_big_endian(&mut tmp); + EVM::account_storages(address, H256::from_slice(&tmp[..])) + } + + fn call( + from: H160, + data: Vec, + value: U256, + gas_limit: U256, + gas_price: Option, + nonce: Option, + action: pallet_ethereum::TransactionAction, + ) -> Result<(Vec, U256), sp_runtime::DispatchError> { + match action { + pallet_ethereum::TransactionAction::Call(to) => + EVM::execute_call( + from, + to, + data, + value, + gas_limit.low_u32(), + gas_price.unwrap_or_default(), + nonce, + false, + ) + .map(|(_, ret, gas, _)| (ret, gas)) + .map_err(|err| err.into()), + pallet_ethereum::TransactionAction::Create => + EVM::execute_create( + from, + data, + value, + gas_limit.low_u32(), + gas_price.unwrap_or_default(), + nonce, + false, + ) + .map(|(_, _, gas, _)| (vec![], gas)) + .map_err(|err| err.into()), + } + } + + fn current_transaction_statuses() -> Option> { + Ethereum::current_transaction_statuses() + } + + fn current_block() -> Option { + Ethereum::current_block() + } + + fn current_receipts() -> Option> { + Ethereum::current_receipts() + } + + fn current_all() -> ( + Option, + Option>, + Option> + ) { + ( + Ethereum::current_block(), + Ethereum::current_receipts(), + Ethereum::current_transaction_statuses() + ) + } + } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn dispatch_benchmark(