diff --git a/.gitmodules b/.gitmodules index 1fafcf25f..6b7c2a354 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,9 @@ [submodule "resources/specs"] path = resources/specs url = https://github.com/parallel-finance/specs -[submodule "scripts/evm"] - path = scripts/evm - url = https://github.com/yrong/evm-script [submodule "scripts/polkadot-launch"] path = scripts/polkadot-launch - url = https://github.com/yrong/polkadot-launch + url = https://github.com/parallel-finance/polkadot-launch +[submodule "scripts/evm"] + path = scripts/evm + url = https://github.com/parallel-finance/evm-script diff --git a/Cargo.lock b/Cargo.lock index 3828e4e28..d25a1c6e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -88,6 +88,15 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fbf688625d06217d5b1bb0ea9d9c44a1635fd0ee3534466388d18203174f4d11" +[[package]] +name = "android_system_properties" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e" +dependencies = [ + "libc", +] + [[package]] name = "ansi_term" version = "0.12.1" @@ -99,9 +108,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.60" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c794e162a5eff65c72ef524dfe393eb923c354e350bb78b9c7383df13f3bc142" +checksum = "508b352bb5c066aac251f6daf6b36eccd03e8a88e8081cd44959ea277a3af9a8" [[package]] name = "approx" @@ -163,9 +172,9 @@ dependencies = [ [[package]] name = "async-channel" -version = "1.7.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b31b87a3367ed04dbcbc252bce3f2a8172fef861d47177524c503c908dff2c6" +checksum = "e14485364214912d3b19cc3435dde4df66065127f05fa0d75c712f36f12c2f28" dependencies = [ "concurrent-queue", "event-listener", @@ -424,7 +433,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.2 dependencies = [ "beefy-primitives", "fnv", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "hex", "log", @@ -458,7 +467,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.2 dependencies = [ "beefy-gadget", "beefy-primitives", - "futures 0.3.21", + "futures 0.3.23", "jsonrpsee", "log", "parity-scale-codec", @@ -745,9 +754,9 @@ checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c" [[package]] name = "camino" -version = "1.0.9" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "869119e97797867fd90f5e22af7d0bd274bd4635ebb9eb68c04f3f513ae6c412" +checksum = "88ad0e1e3e88dd237a156ab9f571021b8a158caa0ae44b1968a241efb5144c1e" dependencies = [ "serde", ] @@ -837,10 +846,11 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.20" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6127248204b9aba09a362f6c930ef6a78f2c1b2215f8a7b398c06e1083f17af0" +checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1" dependencies = [ + "iana-time-zone", "js-sys", "num-integer", "num-traits", @@ -893,9 +903,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.16" +version = "3.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3dbbb6653e7c55cc8595ad3e1f7be8f32aba4eb7ff7f0fd1163d4f3d137c0a9" +checksum = "29e724a68d9319343bb3328c9cc2dfde263f4b3142ee1059a9980580171c954b" dependencies = [ "atty", "bitflags", @@ -910,9 +920,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.2.15" +version = "3.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ba52acd3b0a5c33aeada5cdaa3267cdc7c594a98731d4268cdc1532f4264cb4" +checksum = "13547f7012c01ab4a0e8f8967730ada8f9fdf419e8b6c792788f39cf4e46eefa" dependencies = [ "heck 0.4.0", "proc-macro-error", @@ -1307,7 +1317,7 @@ dependencies = [ "cumulus-client-network", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.21", + "futures 0.3.23", "parity-scale-codec", "parking_lot 0.12.1", "polkadot-node-primitives", @@ -1330,7 +1340,7 @@ dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", - "futures 0.3.21", + "futures 0.3.23", "parity-scale-codec", "sc-client-api", "sc-consensus", @@ -1359,7 +1369,7 @@ dependencies = [ "async-trait", "cumulus-relay-chain-interface", "dyn-clone", - "futures 0.3.21", + "futures 0.3.23", "parity-scale-codec", "polkadot-primitives", "sc-client-api", @@ -1381,7 +1391,7 @@ dependencies = [ "cumulus-client-consensus-common", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.21", + "futures 0.3.23", "parking_lot 0.12.1", "sc-client-api", "sc-consensus", @@ -1404,7 +1414,7 @@ dependencies = [ "async-trait", "cumulus-relay-chain-interface", "derive_more 0.99.17", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "parity-scale-codec", "parking_lot 0.12.1", @@ -1428,7 +1438,7 @@ source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.26# dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "parity-scale-codec", "polkadot-node-primitives", @@ -1660,7 +1670,7 @@ version = "0.1.0" source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.26#e43b8b878a6fd0ca8b5e88d19822c4d777d3c677" dependencies = [ "cumulus-primitives-core", - "futures 0.3.21", + "futures 0.3.23", "parity-scale-codec", "sp-inherents", "sp-std", @@ -1692,7 +1702,7 @@ dependencies = [ "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "parking_lot 0.12.1", "polkadot-cli", @@ -1722,7 +1732,7 @@ dependencies = [ "async-trait", "cumulus-primitives-core", "derive_more 0.99.17", - "futures 0.3.21", + "futures 0.3.23", "jsonrpsee-core", "parity-scale-codec", "parking_lot 0.12.1", @@ -1746,7 +1756,7 @@ dependencies = [ "backoff", "cumulus-primitives-core", "cumulus-relay-chain-interface", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "jsonrpsee", "parity-scale-codec", @@ -2271,7 +2281,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", ] [[package]] @@ -2354,7 +2364,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "async-trait", "fc-db", @@ -2373,7 +2383,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "fp-storage", "kvdb-rocksdb", @@ -2389,12 +2399,12 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "fc-db", "fp-consensus", "fp-rpc", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "log", "sc-client-api", @@ -2406,7 +2416,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "ethereum", "ethereum-types", @@ -2415,7 +2425,7 @@ dependencies = [ "fc-rpc-core", "fp-rpc", "fp-storage", - "futures 0.3.21", + "futures 0.3.23", "hex", "jsonrpsee", "libsecp256k1", @@ -2445,7 +2455,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "ethereum", "ethereum-types", @@ -2504,7 +2514,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b22349c6a11563a202d95772a68e0fcf56119e74ea8a2a19cf2301460fcd0df5" dependencies = [ "either", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "log", "num-traits", @@ -2569,7 +2579,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "ethereum", "parity-scale-codec", @@ -2581,7 +2591,7 @@ dependencies = [ [[package]] name = "fp-dynamic-fee" version = "1.0.0" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "async-trait", "sp-core", @@ -2591,7 +2601,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "ethereum", "ethereum-types", @@ -2605,7 +2615,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "evm", "frame-support", @@ -2618,7 +2628,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "ethereum", "ethereum-types", @@ -2635,7 +2645,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "ethereum", "frame-support", @@ -2649,7 +2659,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "parity-scale-codec", "serde", @@ -2947,9 +2957,9 @@ checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" [[package]] name = "futures" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f73fe65f54d1e12b726f517d3e2135ca3125a437b6d998caf1962961f7172d9e" +checksum = "ab30e97ab6aacfe635fad58f22c2bb06c8b685f7421eb1e064a729e2a5f481fa" dependencies = [ "futures-channel", "futures-core", @@ -2962,9 +2972,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010" +checksum = "2bfc52cbddcfd745bf1740338492bb0bd83d76c67b445f91c5fb29fae29ecaa1" dependencies = [ "futures-core", "futures-sink", @@ -2972,15 +2982,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3" +checksum = "d2acedae88d38235936c3922476b10fced7b2b68136f5e3c03c2d5be348a1115" [[package]] name = "futures-executor" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9420b90cfa29e327d0429f19be13e7ddb68fa1cccb09d65e5706b8c7a749b8a6" +checksum = "1d11aa21b5b587a64682c0094c2bdd4df0076c5324961a40cc3abd7f37930528" dependencies = [ "futures-core", "futures-task", @@ -2990,9 +3000,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b" +checksum = "93a66fc6d035a26a3ae255a6d2bca35eda63ae4c5512bef54449113f7a1228e5" [[package]] name = "futures-lite" @@ -3011,9 +3021,9 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512" +checksum = "0db9cce532b0eae2ccf2766ab246f114b56b9cf6d445e00c2549fbc100ca045d" dependencies = [ "proc-macro2 1.0.43", "quote 1.0.21", @@ -3033,15 +3043,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868" +checksum = "ca0bae1fe9752cf7fd9b0064c674ae63f97b37bc714d745cbde0afb7ec4e6765" [[package]] name = "futures-task" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a" +checksum = "842fc63b931f4056a24d59de13fb1272134ce261816e063e634ad0c15cdc5306" [[package]] name = "futures-timer" @@ -3051,9 +3061,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a" +checksum = "f0828a5471e340229c11c77ca80017937ce3c58cb788a17e5f1c2d5c485a9577" dependencies = [ "futures 0.1.31", "futures-channel", @@ -3512,6 +3522,19 @@ dependencies = [ "tokio-rustls", ] +[[package]] +name = "iana-time-zone" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808cf7d67cf4a22adc5be66e75ebdf769b3f2ea032041437a7061f97a63dad4b" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "js-sys", + "wasm-bindgen", + "winapi", +] + [[package]] name = "idna" version = "0.2.3" @@ -3542,7 +3565,7 @@ dependencies = [ "async-io", "core-foundation", "fnv", - "futures 0.3.21", + "futures 0.3.23", "if-addrs", "ipnet", "log", @@ -4128,9 +4151,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.127" +version = "0.2.131" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" +checksum = "04c3b4822ccebfa39c02fc03d1534441b22ead323fa0f48bb7ddd8e6ba076a40" [[package]] name = "libloading" @@ -4154,9 +4177,9 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.3" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da83a57f3f5ba3680950aa3cbc806fc297bc0b289d42e8942ed528ace71b8145" +checksum = "292a948cd991e376cf75541fe5b97a1081d713c618b4f1b9500f8844e49eb565" [[package]] name = "libp2p" @@ -4165,7 +4188,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81327106887e42d004fbdab1fef93675be2e2e07c1b95fce45e2cc813485611d" dependencies = [ "bytes", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "getrandom 0.2.7", "instant", @@ -4209,7 +4232,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4decc51f3573653a9f4ecacb31b1b922dd20c25a6322bb15318ec04287ec46f9" dependencies = [ "async-trait", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "instant", "libp2p-core", @@ -4232,7 +4255,7 @@ dependencies = [ "ed25519-dalek", "either", "fnv", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "instant", "lazy_static", @@ -4263,7 +4286,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d0183dc2a3da1fbbf85e5b6cf51217f55b14f5daea0c455a9536eef646bfec71" dependencies = [ "flate2", - "futures 0.3.21", + "futures 0.3.23", "libp2p-core", ] @@ -4274,7 +4297,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6cbf54723250fa5d521383be789bf60efdabe6bacfb443f87da261019a49b4b5" dependencies = [ "async-std-resolver", - "futures 0.3.21", + "futures 0.3.23", "libp2p-core", "log", "parking_lot 0.12.1", @@ -4290,7 +4313,7 @@ checksum = "98a4b6ffd53e355775d24b76f583fdda54b3284806f678499b57913adb94f231" dependencies = [ "cuckoofilter", "fnv", - "futures 0.3.21", + "futures 0.3.23", "libp2p-core", "libp2p-swarm", "log", @@ -4311,7 +4334,7 @@ dependencies = [ "byteorder", "bytes", "fnv", - "futures 0.3.21", + "futures 0.3.23", "hex_fmt", "instant", "libp2p-core", @@ -4335,7 +4358,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c50b585518f8efd06f93ac2f976bd672e17cdac794644b3117edd078e96bda06" dependencies = [ "asynchronous-codec", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "libp2p-core", "libp2p-swarm", @@ -4360,7 +4383,7 @@ dependencies = [ "bytes", "either", "fnv", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "instant", "libp2p-core", @@ -4386,7 +4409,7 @@ dependencies = [ "async-io", "data-encoding", "dns-parser", - "futures 0.3.21", + "futures 0.3.23", "if-watch", "lazy_static", "libp2p-core", @@ -4422,7 +4445,7 @@ checksum = "61fd1b20638ec209c5075dfb2e8ce6a7ea4ec3cd3ad7b77f7a477c06d53322e2" dependencies = [ "asynchronous-codec", "bytes", - "futures 0.3.21", + "futures 0.3.23", "libp2p-core", "log", "nohash-hasher", @@ -4440,7 +4463,7 @@ checksum = "762408cb5d84b49a600422d7f9a42c18012d8da6ebcd570f9a4a4290ba41fb6f" dependencies = [ "bytes", "curve25519-dalek 3.2.0", - "futures 0.3.21", + "futures 0.3.23", "lazy_static", "libp2p-core", "log", @@ -4460,7 +4483,7 @@ version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "100a6934ae1dbf8a693a4e7dd1d730fd60b774dafc45688ed63b554497c6c925" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "instant", "libp2p-core", @@ -4478,7 +4501,7 @@ checksum = "be27bf0820a6238a4e06365b096d428271cce85a129cf16f2fe9eb1610c4df86" dependencies = [ "asynchronous-codec", "bytes", - "futures 0.3.21", + "futures 0.3.23", "libp2p-core", "log", "prost", @@ -4493,7 +4516,7 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f1a458bbda880107b5b36fcb9b5a1ef0c329685da0e203ed692a8ebe64cc92c" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "log", "pin-project", "rand 0.7.3", @@ -4510,7 +4533,7 @@ dependencies = [ "asynchronous-codec", "bytes", "either", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "instant", "libp2p-core", @@ -4535,7 +4558,7 @@ checksum = "9511c9672ba33284838e349623319c8cad2d18cfad243ae46c6b7e8a2982ea4e" dependencies = [ "asynchronous-codec", "bimap", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "instant", "libp2p-core", @@ -4558,7 +4581,7 @@ checksum = "508a189e2795d892c8f5c1fa1e9e0b1845d32d7b0b249dbf7b05b18811361843" dependencies = [ "async-trait", "bytes", - "futures 0.3.21", + "futures 0.3.23", "instant", "libp2p-core", "libp2p-swarm", @@ -4576,7 +4599,7 @@ checksum = "95ac5be6c2de2d1ff3f7693fda6faf8a827b1f3e808202277783fea9f527d114" dependencies = [ "either", "fnv", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "instant", "libp2p-core", @@ -4605,7 +4628,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a6771dc19aa3c65d6af9a8c65222bfc8fcd446630ddca487acd161fa6096f3b" dependencies = [ "async-io", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "if-watch", "ipnet", @@ -4622,7 +4645,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d125e3e5f0d58f3c6ac21815b20cf4b6a88b8db9dc26368ea821838f4161fd4d" dependencies = [ "async-std", - "futures 0.3.21", + "futures 0.3.23", "libp2p-core", "log", ] @@ -4633,7 +4656,7 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec894790eec3c1608f8d1a8a0bdf0dbeb79ed4de2dce964222011c2896dfa05a" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -4648,7 +4671,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9808e57e81be76ff841c106b4c5974fb4d41a233a7bdd2afbf1687ac6def3818" dependencies = [ "either", - "futures 0.3.21", + "futures 0.3.23", "futures-rustls", "libp2p-core", "log", @@ -4666,7 +4689,7 @@ version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6dea686217a06072033dc025631932810e2f6ad784e4fafa42e27d311c7a81c" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "libp2p-core", "parking_lot 0.12.1", "thiserror", @@ -4916,9 +4939,9 @@ dependencies = [ [[package]] name = "memmap2" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a79b39c93a7a5a27eeaf9a23b5ff43f1b9e0ad6b1cdd441140ae53c35613fc7" +checksum = "8e2e4455be2010e8c5e77f0d10234b30f3a636a5305725609b5a71ad00d22577" dependencies = [ "libc", ] @@ -4976,7 +4999,7 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "rand 0.8.5", "thrift", ] @@ -5045,9 +5068,9 @@ dependencies = [ [[package]] name = "multihash" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3db354f401db558759dfc1e568d010a5d4146f4d3f637be1275ec4a3cf09689" +checksum = "1c346cf9999c631f002d8f977c4eaeaa0e6386f16007202308d0b3757522c2cc" dependencies = [ "blake2b_simd", "blake2s_simd", @@ -5087,7 +5110,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "363a84be6453a70e63513660f4894ef815daf88e3356bffcda9ca27d810ce83b" dependencies = [ "bytes", - "futures 0.3.21", + "futures 0.3.23", "log", "pin-project", "smallvec", @@ -5183,7 +5206,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" dependencies = [ "bytes", - "futures 0.3.21", + "futures 0.3.23", "log", "netlink-packet-core", "netlink-sys", @@ -5199,7 +5222,7 @@ checksum = "92b654097027250401127914afb37cb1f311df6610a9891ff07a757e94199027" dependencies = [ "async-io", "bytes", - "futures 0.3.21", + "futures 0.3.23", "libc", "log", ] @@ -5429,7 +5452,7 @@ source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26# dependencies = [ "async-trait", "dyn-clonable", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "orchestra-proc-macro", "pin-project", @@ -5600,9 +5623,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.2.0" +version = "6.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4" +checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" [[package]] name = "owning_ref" @@ -5796,7 +5819,7 @@ dependencies = [ [[package]] name = "pallet-base-fee" version = "1.0.0" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "fp-evm", "frame-support", @@ -6085,7 +6108,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "ethereum", "ethereum-types", @@ -6112,7 +6135,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "evm", "fp-evm", @@ -6162,7 +6185,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "fp-evm", ] @@ -6170,7 +6193,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "fp-evm", "sp-core", @@ -6180,7 +6203,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "fp-evm", "frame-support", @@ -6190,7 +6213,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-ed25519" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "ed25519-dalek", "fp-evm", @@ -6199,7 +6222,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "fp-evm", "num", @@ -6208,7 +6231,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "fp-evm", "tiny-keccak", @@ -6217,7 +6240,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/yrong/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" +source = "git+https://github.com/parallel-finance/frontier?branch=polkadot-v0.9.26#08df34ea5eae591c79fdf6d62058fa105b85c3a5" dependencies = [ "fp-evm", "ripemd", @@ -7177,7 +7200,7 @@ dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", "frame-system-rpc-runtime-api", - "futures 0.3.21", + "futures 0.3.23", "heiko-runtime", "hex-literal", "jsonrpsee", @@ -7661,7 +7684,7 @@ name = "polkadot-approval-distribution" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -7676,7 +7699,7 @@ name = "polkadot-availability-bitfield-distribution" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -7692,7 +7715,7 @@ source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26# dependencies = [ "derive_more 0.99.17", "fatality", - "futures 0.3.21", + "futures 0.3.23", "lru 0.7.8", "parity-scale-codec", "polkadot-erasure-coding", @@ -7714,7 +7737,7 @@ version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ "fatality", - "futures 0.3.21", + "futures 0.3.23", "lru 0.7.8", "parity-scale-codec", "polkadot-erasure-coding", @@ -7736,7 +7759,7 @@ source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26# dependencies = [ "clap", "frame-benchmarking-cli", - "futures 0.3.21", + "futures 0.3.23", "log", "polkadot-client", "polkadot-node-core-pvf", @@ -7802,7 +7825,7 @@ source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26# dependencies = [ "always-assert", "fatality", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -7836,7 +7859,7 @@ source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26# dependencies = [ "derive_more 0.99.17", "fatality", - "futures 0.3.21", + "futures 0.3.23", "lru 0.7.8", "parity-scale-codec", "polkadot-erasure-coding", @@ -7871,7 +7894,7 @@ name = "polkadot-gossip-support" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "polkadot-node-network-protocol", "polkadot-node-subsystem", @@ -7894,7 +7917,7 @@ dependencies = [ "always-assert", "async-trait", "bytes", - "futures 0.3.21", + "futures 0.3.23", "parity-scale-codec", "parking_lot 0.12.1", "polkadot-node-network-protocol", @@ -7912,7 +7935,7 @@ name = "polkadot-node-collation-generation" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-primitives", @@ -7932,7 +7955,7 @@ source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26# dependencies = [ "bitvec", "derive_more 0.99.17", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "kvdb", "lru 0.7.8", @@ -7960,7 +7983,7 @@ version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ "bitvec", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "kvdb", "parity-scale-codec", @@ -7981,7 +8004,7 @@ source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26# dependencies = [ "bitvec", "fatality", - "futures 0.3.21", + "futures 0.3.23", "polkadot-erasure-coding", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -7998,7 +8021,7 @@ name = "polkadot-node-core-bitfield-signing" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -8014,7 +8037,7 @@ version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ "async-trait", - "futures 0.3.21", + "futures 0.3.23", "parity-scale-codec", "polkadot-node-core-pvf", "polkadot-node-primitives", @@ -8031,7 +8054,7 @@ name = "polkadot-node-core-chain-api" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -8046,7 +8069,7 @@ name = "polkadot-node-core-chain-selection" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "kvdb", "parity-scale-codec", @@ -8064,7 +8087,7 @@ version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ "fatality", - "futures 0.3.21", + "futures 0.3.23", "kvdb", "lru 0.7.8", "parity-scale-codec", @@ -8083,7 +8106,7 @@ version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ "async-trait", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "polkadot-node-subsystem", "polkadot-primitives", @@ -8101,7 +8124,7 @@ source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26# dependencies = [ "bitvec", "fatality", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8121,7 +8144,7 @@ dependencies = [ "assert_matches", "async-process", "async-std", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "parity-scale-codec", "pin-project", @@ -8149,7 +8172,7 @@ name = "polkadot-node-core-pvf-checker" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -8165,7 +8188,7 @@ name = "polkadot-node-core-runtime-api" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "memory-lru", "parity-util-mem", "polkadot-node-subsystem", @@ -8201,7 +8224,7 @@ version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ "bs58", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "log", "parity-scale-codec", @@ -8222,7 +8245,7 @@ dependencies = [ "async-trait", "derive_more 0.99.17", "fatality", - "futures 0.3.21", + "futures 0.3.23", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -8241,7 +8264,7 @@ version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ "bounded-vec", - "futures 0.3.21", + "futures 0.3.23", "parity-scale-codec", "polkadot-parachain", "polkadot-primitives", @@ -8273,7 +8296,7 @@ version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ "derive_more 0.99.17", - "futures 0.3.21", + "futures 0.3.23", "orchestra", "polkadot-node-jaeger", "polkadot-node-network-protocol", @@ -8294,7 +8317,7 @@ dependencies = [ "async-trait", "derive_more 0.99.17", "fatality", - "futures 0.3.21", + "futures 0.3.23", "itertools", "kvdb", "lru 0.7.8", @@ -8324,7 +8347,7 @@ name = "polkadot-overseer" version = "0.9.26" source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26#d8785970175dce344f2a6ad1cd88297529a6dd59" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "lru 0.7.8", "orchestra", @@ -8643,7 +8666,7 @@ dependencies = [ "beefy-gadget", "beefy-primitives", "frame-system-rpc-runtime-api", - "futures 0.3.21", + "futures 0.3.23", "hex-literal", "kusama-runtime", "kusama-runtime-constants", @@ -8745,7 +8768,7 @@ source = "git+https://github.com/paritytech/polkadot.git?branch=release-v0.9.26# dependencies = [ "arrayvec 0.5.2", "fatality", - "futures 0.3.21", + "futures 0.3.23", "indexmap", "parity-scale-codec", "polkadot-node-network-protocol", @@ -8868,7 +8891,7 @@ dependencies = [ "coarsetime", "crossbeam-queue", "derive_more 0.99.17", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "nanorand", "thiserror", @@ -9522,7 +9545,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" dependencies = [ "async-global-executor", - "futures 0.3.21", + "futures 0.3.23", "log", "netlink-packet-route", "netlink-proto", @@ -9710,7 +9733,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "pin-project", "static_assertions", ] @@ -9756,7 +9779,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "async-trait", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "ip_network", "libp2p", @@ -9782,7 +9805,7 @@ name = "sc-basic-authorship" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "log", "parity-scale-codec", @@ -9822,7 +9845,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "impl-trait-for-tuples", - "memmap2 0.5.5", + "memmap2 0.5.6", "parity-scale-codec", "sc-chain-spec-derive", "sc-network", @@ -9852,7 +9875,7 @@ dependencies = [ "chrono", "clap", "fdlimit", - "futures 0.3.21", + "futures 0.3.23", "hex", "libp2p", "log", @@ -9889,7 +9912,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "fnv", - "futures 0.3.21", + "futures 0.3.23", "hash-db", "log", "parity-scale-codec", @@ -9942,7 +9965,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "async-trait", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "libp2p", "log", @@ -9966,7 +9989,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "async-trait", - "futures 0.3.21", + "futures 0.3.23", "log", "parity-scale-codec", "sc-block-builder", @@ -9996,7 +10019,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.2 dependencies = [ "async-trait", "fork-tree", - "futures 0.3.21", + "futures 0.3.23", "log", "merlin", "num-bigint 0.2.6", @@ -10037,7 +10060,7 @@ name = "sc-consensus-babe-rpc" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "jsonrpsee", "sc-consensus-babe", "sc-consensus-epochs", @@ -10074,7 +10097,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.2 dependencies = [ "assert_matches", "async-trait", - "futures 0.3.21", + "futures 0.3.23", "jsonrpsee", "log", "parity-scale-codec", @@ -10107,7 +10130,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "async-trait", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "log", "parity-scale-codec", @@ -10226,7 +10249,7 @@ dependencies = [ "dyn-clone", "finality-grandpa", "fork-tree", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "hex", "log", @@ -10262,7 +10285,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "finality-grandpa", - "futures 0.3.21", + "futures 0.3.23", "jsonrpsee", "log", "parity-scale-codec", @@ -10283,7 +10306,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "ansi_term", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "log", "parity-util-mem", @@ -10322,7 +10345,7 @@ dependencies = [ "either", "fnv", "fork-tree", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "hex", "ip_network", @@ -10366,7 +10389,7 @@ name = "sc-network-common" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "libp2p", "parity-scale-codec", "prost-build", @@ -10380,7 +10403,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "ahash", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "libp2p", "log", @@ -10396,7 +10419,7 @@ name = "sc-network-light" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "libp2p", "log", "parity-scale-codec", @@ -10419,7 +10442,7 @@ dependencies = [ "bitflags", "either", "fork-tree", - "futures 0.3.21", + "futures 0.3.23", "libp2p", "log", "lru 0.7.8", @@ -10447,7 +10470,7 @@ source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.2 dependencies = [ "bytes", "fnv", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "hex", "hyper", @@ -10473,7 +10496,7 @@ name = "sc-peerset" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "libp2p", "log", "sc-utils", @@ -10495,7 +10518,7 @@ name = "sc-rpc" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "hash-db", "jsonrpsee", "log", @@ -10525,7 +10548,7 @@ name = "sc-rpc-api" version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "jsonrpsee", "log", "parity-scale-codec", @@ -10548,7 +10571,7 @@ name = "sc-rpc-server" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "jsonrpsee", "log", "serde_json", @@ -10564,7 +10587,7 @@ dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "hash-db", "jsonrpsee", @@ -10659,7 +10682,7 @@ name = "sc-sysinfo" version = "6.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "libc", "log", "rand 0.7.3", @@ -10679,7 +10702,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "chrono", - "futures 0.3.21", + "futures 0.3.23", "libp2p", "log", "parking_lot 0.12.1", @@ -10738,7 +10761,7 @@ name = "sc-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "linked-hash-map", "log", @@ -10765,7 +10788,7 @@ name = "sc-transaction-pool-api" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "log", "serde", "sp-blockchain", @@ -10778,7 +10801,7 @@ name = "sc-utils" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "lazy_static", "log", @@ -10953,18 +10976,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.142" +version = "1.0.143" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e590c437916fb6b221e1d00df6e3294f3fccd70ca7e92541c475d6ed6ef5fee2" +checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.142" +version = "1.0.143" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34b5b8d809babe02f538c2cfec6f2c1ed10804c0e5a6a041a049a4f5588ccc2e" +checksum = "d3d8e8de557aee63c26b85b947f5e59b690d0454c753f3adeb5cd7835ab88391" dependencies = [ "proc-macro2 1.0.43", "quote 1.0.21", @@ -11258,7 +11281,7 @@ dependencies = [ "base64", "bytes", "flate2", - "futures 0.3.21", + "futures 0.3.23", "httparse", "log", "rand 0.8.5", @@ -11364,7 +11387,7 @@ name = "sp-blockchain" version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "log", "lru 0.7.8", "parity-scale-codec", @@ -11383,7 +11406,7 @@ version = "0.10.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "async-trait", - "futures 0.3.21", + "futures 0.3.23", "futures-timer", "log", "parity-scale-codec", @@ -11475,7 +11498,7 @@ dependencies = [ "byteorder", "dyn-clonable", "ed25519-dalek", - "futures 0.3.21", + "futures 0.3.23", "hash-db", "hash256-std-hasher", "hex", @@ -11602,7 +11625,7 @@ name = "sp-io" version = "6.0.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "hash-db", "libsecp256k1", "log", @@ -11639,7 +11662,7 @@ version = "0.12.0" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "async-trait", - "futures 0.3.21", + "futures 0.3.23", "merlin", "parity-scale-codec", "parking_lot 0.12.1", @@ -12277,7 +12300,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.26#e8a7d161f39db70cb27fdad6c6e215cf493ebc3b" dependencies = [ "frame-system-rpc-runtime-api", - "futures 0.3.21", + "futures 0.3.23", "jsonrpsee", "log", "parity-scale-codec", @@ -13300,7 +13323,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "js-sys", "parking_lot 0.11.2", "pin-utils", @@ -13923,7 +13946,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" dependencies = [ - "futures 0.3.21", + "futures 0.3.23", "log", "nohash-hasher", "parking_lot 0.12.1", diff --git a/node/parallel/Cargo.toml b/node/parallel/Cargo.toml index 310b39866..1279b6887 100644 --- a/node/parallel/Cargo.toml +++ b/node/parallel/Cargo.toml @@ -102,18 +102,18 @@ polkadot-primitives = { git = 'https://github.com/paritytech/polkadot.git', bran polkadot-service = { git = 'https://github.com/paritytech/polkadot.git', branch = 'release-v0.9.26' } # Frontier dependencies -fc-consensus = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } -fc-db = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } -fc-mapping-sync = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } -fc-rpc = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", features = ["rpc_binary_search_estimate"] } -fc-rpc-core = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } -fp-consensus = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } -fp-evm = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -fp-rpc = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } -fp-storage = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } -fp-dynamic-fee = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } -pallet-ethereum = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } -pallet-evm = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26" } +fc-consensus = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } +fc-db = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } +fc-mapping-sync = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } +fc-rpc = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", features = ["rpc_binary_search_estimate"] } +fc-rpc-core = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } +fp-consensus = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } +fp-evm = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +fp-rpc = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } +fp-storage = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } +fp-dynamic-fee = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } +pallet-ethereum = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } +pallet-evm = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26" } [build-dependencies] diff --git a/pallets/loans/src/mock.rs b/pallets/loans/src/mock.rs index 433f5d7c2..a0ff54fc7 100644 --- a/pallets/loans/src/mock.rs +++ b/pallets/loans/src/mock.rs @@ -260,6 +260,7 @@ impl pallet_prices::Config for Test { type Event = Event; type Source = MockDataProvider; type FeederOrigin = EnsureRoot; + type UpdateOrigin = EnsureRoot; type LiquidStakingExchangeRateProvider = LiquidStaking; type LiquidStakingCurrenciesProvider = LiquidStaking; type VaultTokenCurrenciesFilter = TokenCurrenciesFilter; diff --git a/pallets/prices/src/lib.rs b/pallets/prices/src/lib.rs index 57a151a98..3148e0173 100644 --- a/pallets/prices/src/lib.rs +++ b/pallets/prices/src/lib.rs @@ -70,6 +70,9 @@ pub mod pallet { /// The origin which may set prices feed to system. type FeederOrigin: EnsureOrigin; + /// The origin which can update prices link. + type UpdateOrigin: EnsureOrigin; + /// Liquid currency & staking currency provider type LiquidStakingCurrenciesProvider: LiquidStakingCurrenciesProvider; @@ -122,6 +125,12 @@ pub mod pallet { pub type EmergencyPrice = StorageMap<_, Twox64Concat, CurrencyId, Price, OptionQuery>; + /// Mapping from foreign vault token to our's vault token + #[pallet::storage] + #[pallet::getter(fn foreign_to_native_asset)] + pub type ForeignToNativeAsset = + StorageMap<_, Twox64Concat, CurrencyId, CurrencyId, OptionQuery>; + #[pallet::pallet] #[pallet::without_storage_info] pub struct Pallet(PhantomData); @@ -154,6 +163,19 @@ pub mod pallet { as EmergencyPriceFeeder>::reset_emergency_price(asset_id); Ok(().into()) } + + /// Set foreign vault token mapping + #[pallet::weight((::WeightInfo::set_foreign_asset(), DispatchClass::Operational))] + #[transactional] + pub fn set_foreign_asset( + origin: OriginFor, + foreign_asset_id: CurrencyId, + asset_id: CurrencyId, + ) -> DispatchResultWithPostInfo { + T::UpdateOrigin::ensure_origin(origin)?; + ForeignToNativeAsset::::insert(foreign_asset_id, asset_id); + Ok(().into()) + } } } @@ -189,6 +211,8 @@ impl Pallet { Self::get_lp_vault_asset_price(asset_id, base_price) } else if is_auxiliary_token(asset_id) { Some(base_price) + } else if let Some(native_asset_id) = Self::foreign_to_native_asset(&asset_id) { + Self::get_special_asset_price(native_asset_id, base_price) } else { None } diff --git a/pallets/prices/src/mock.rs b/pallets/prices/src/mock.rs index 5014c89ae..70429a352 100644 --- a/pallets/prices/src/mock.rs +++ b/pallets/prices/src/mock.rs @@ -135,6 +135,7 @@ impl DecimalProvider for Decimal { CKSM_20_27 => Some(12), CDOT_7_14 => Some(10), LP_DOT_CDOT_7_14 => Some(12), + LC_DOT => Some(10), _ => None, } } @@ -269,6 +270,7 @@ impl crate::Config for Test { type Event = Event; type Source = MockDataProvider; type FeederOrigin = EnsureSignedBy; + type UpdateOrigin = EnsureSignedBy; type LiquidStakingCurrenciesProvider = LiquidStaking; type LiquidStakingExchangeRateProvider = LiquidStakingExchangeRateProvider; type VaultTokenCurrenciesFilter = TokenCurrenciesFilter; @@ -326,6 +328,8 @@ pub fn new_test_ext() -> sp_io::TestExternalities { 1000 * PRICE_ONE, ) .unwrap(); + + Prices::set_foreign_asset(Origin::root(), tokens::LC_DOT, CDOT_7_14).unwrap(); }); ext diff --git a/pallets/prices/src/tests.rs b/pallets/prices/src/tests.rs index e6c88e2ae..b08e3bb73 100644 --- a/pallets/prices/src/tests.rs +++ b/pallets/prices/src/tests.rs @@ -272,3 +272,20 @@ fn get_lp_ctoken_no_op_price_work() { ); }); } + +#[test] +fn get_foreign_ctoken_price_work() { + new_test_ext().execute_with(|| { + assert_eq!( + Prices::get_price(&DOT), + Some((Price::from_inner(10_000_000_000 * PRICE_ONE), 0)) + ); + + assert_eq!( + Prices::get_price(&CDOT_7_14), + Some((Price::from_inner(6666666666_666666660000000000), 0)) + ); + + assert_eq!(Prices::get_price(&CDOT_7_14), Prices::get_price(&LC_DOT)); + }); +} diff --git a/pallets/prices/src/weights.rs b/pallets/prices/src/weights.rs index 221b0f806..89020ce57 100644 --- a/pallets/prices/src/weights.rs +++ b/pallets/prices/src/weights.rs @@ -25,6 +25,7 @@ use sp_std::marker::PhantomData; pub trait WeightInfo { fn set_price() -> Weight; fn reset_price() -> Weight; + fn set_foreign_asset() -> Weight; } /// Weights for pallet_prices using the Substrate node and recommended hardware. @@ -36,6 +37,9 @@ impl WeightInfo for SubstrateWeight { fn reset_price() -> Weight { 10_000 as Weight } + fn set_foreign_asset() -> Weight { + 10_000 as Weight + } } // For backwards compatibility and tests @@ -46,4 +50,7 @@ impl WeightInfo for () { fn reset_price() -> Weight { 10_000 as Weight } + fn set_foreign_asset() -> Weight { + 10_000 as Weight + } } diff --git a/precompiles/assets-erc20/Cargo.toml b/precompiles/assets-erc20/Cargo.toml index 3795e5c0d..33b7ec2c5 100644 --- a/precompiles/assets-erc20/Cargo.toml +++ b/precompiles/assets-erc20/Cargo.toml @@ -23,8 +23,8 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkad sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.26", default-features = false } # Frontier -fp-evm = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } +fp-evm = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } [dev-dependencies] derive_more = { version = "0.99" } diff --git a/precompiles/utils/Cargo.toml b/precompiles/utils/Cargo.toml index 98f0991ea..616908fea 100644 --- a/precompiles/utils/Cargo.toml +++ b/precompiles/utils/Cargo.toml @@ -24,8 +24,8 @@ sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v # Frontier evm = { git = "https://github.com/rust-blockchain/evm", rev = "01bcbd2205a212c34451d3b4fabc962793b057d3", default-features = false, features = ["with-codec"] } -fp-evm = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } +fp-evm = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } # Polkadot / XCM xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.26", default-features = false } diff --git a/runtime/heiko/src/lib.rs b/runtime/heiko/src/lib.rs index d8ae991af..01c3e8258 100644 --- a/runtime/heiko/src/lib.rs +++ b/runtime/heiko/src/lib.rs @@ -1526,6 +1526,7 @@ impl pallet_prices::Config for Runtime { type Event = Event; type Source = AggregatedDataProvider; type FeederOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; + type UpdateOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; type LiquidStakingExchangeRateProvider = LiquidStaking; type LiquidStakingCurrenciesProvider = LiquidStaking; type VaultTokenCurrenciesFilter = Crowdloans; diff --git a/runtime/kerria/Cargo.toml b/runtime/kerria/Cargo.toml index ae858f557..8b540f812 100644 --- a/runtime/kerria/Cargo.toml +++ b/runtime/kerria/Cargo.toml @@ -89,18 +89,18 @@ orml-xcm-support = { version = '0.4.1-dev', default-features = false orml-xtokens = { version = '0.4.1-dev', default-features = false } # Frontier dependencies -fp-rpc = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -fp-self-contained = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-base-fee = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-ethereum = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-ed25519 = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } +fp-rpc = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +fp-self-contained = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-base-fee = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-ethereum = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-ed25519 = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } # Parallel dependencies pallet-amm = { path = '../../pallets/amm', default-features = false } diff --git a/runtime/kerria/src/lib.rs b/runtime/kerria/src/lib.rs index 7051352cf..cf2420f5c 100644 --- a/runtime/kerria/src/lib.rs +++ b/runtime/kerria/src/lib.rs @@ -1631,6 +1631,7 @@ impl pallet_prices::Config for Runtime { type Event = Event; type Source = AggregatedDataProvider; type FeederOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; + type UpdateOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; type LiquidStakingExchangeRateProvider = LiquidStaking; type LiquidStakingCurrenciesProvider = LiquidStaking; type VaultTokenCurrenciesFilter = Crowdloans; diff --git a/runtime/parallel/src/lib.rs b/runtime/parallel/src/lib.rs index 575d7c6cf..e9f85330b 100644 --- a/runtime/parallel/src/lib.rs +++ b/runtime/parallel/src/lib.rs @@ -1514,6 +1514,7 @@ impl pallet_prices::Config for Runtime { type Event = Event; type Source = AggregatedDataProvider; type FeederOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; + type UpdateOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; type LiquidStakingExchangeRateProvider = LiquidStaking; type LiquidStakingCurrenciesProvider = LiquidStaking; type VaultTokenCurrenciesFilter = Crowdloans; diff --git a/runtime/vanilla/Cargo.toml b/runtime/vanilla/Cargo.toml index ded9355ff..b057381ca 100644 --- a/runtime/vanilla/Cargo.toml +++ b/runtime/vanilla/Cargo.toml @@ -89,18 +89,18 @@ orml-xcm-support = { version = '0.4.1-dev', default-features = false orml-xtokens = { version = '0.4.1-dev', default-features = false } # Frontier dependencies -fp-rpc = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -fp-self-contained = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-base-fee = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-ethereum = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-blake2 = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-ed25519 = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/yrong/frontier", branch = "polkadot-v0.9.26", default-features = false } +fp-rpc = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +fp-self-contained = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-base-fee = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-ethereum = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-blake2 = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-ed25519 = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/parallel-finance/frontier", branch = "polkadot-v0.9.26", default-features = false } # Parallel dependencies pallet-amm = { path = '../../pallets/amm', default-features = false } diff --git a/runtime/vanilla/src/lib.rs b/runtime/vanilla/src/lib.rs index 3b3f65f1f..66cd2fd05 100644 --- a/runtime/vanilla/src/lib.rs +++ b/runtime/vanilla/src/lib.rs @@ -1679,6 +1679,7 @@ impl pallet_prices::Config for Runtime { type Event = Event; type Source = AggregatedDataProvider; type FeederOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; + type UpdateOrigin = EnsureRootOrMoreThanHalfGeneralCouncil; type LiquidStakingExchangeRateProvider = LiquidStaking; type LiquidStakingCurrenciesProvider = LiquidStaking; type VaultTokenCurrenciesFilter = Crowdloans;