diff --git a/Cargo.lock b/Cargo.lock index 731b7efae..6601e1070 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -774,6 +774,18 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" +[[package]] +name = "bounded-collections" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +dependencies = [ + "log", + "parity-scale-codec", + "scale-info", + "serde", +] + [[package]] name = "bridge-pot-currency-swap" version = "0.1.0" @@ -839,6 +851,12 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" +[[package]] +name = "bytemuck" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" + [[package]] name = "byteorder" version = "1.4.3" @@ -885,15 +903,16 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.14.2" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", "semver 1.0.17", "serde", "serde_json", + "thiserror", ] [[package]] @@ -1200,18 +1219,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52056f6d0584484b57fa6c1a65c1fcb15f3780d8b6a758426d9e3084169b2ddd" +checksum = "2bc42ba2e232e5b20ff7dc299a812d53337dadce9a7e39a238e6a5cb82d2e57b" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fed94c8770dc25d01154c3ffa64ed0b3ba9d583736f305fed7beebe5d9cf74" +checksum = "253531aca9b6f56103c9420369db3263e784df39aa1c90685a1f69cfbba0623e" dependencies = [ "arrayvec 0.7.2", "bumpalo", @@ -1221,6 +1240,7 @@ dependencies = [ "cranelift-entity", "cranelift-isle", "gimli 0.26.2", + "hashbrown 0.12.3", "log", "regalloc2", "smallvec", @@ -1229,33 +1249,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c451b81faf237d11c7e4f3165eeb6bac61112762c5cfe7b4c0fb7241474358f" +checksum = "72f2154365e2bff1b1b8537a7181591fdff50d8e27fa6e40d5c69c3bad0ca7c8" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c940133198426d26128f08be2b40b0bd117b84771fd36798969c4d712d81fc" +checksum = "687e14e3f5775248930e0d5a84195abef8b829958e9794bf8d525104993612b4" [[package]] name = "cranelift-entity" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87a0f1b2fdc18776956370cf8d9b009ded3f855350c480c1c52142510961f352" +checksum = "f42ea692c7b450ad18b8c9889661505d51c09ec4380cf1c2d278dbb2da22cae1" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34897538b36b216cc8dd324e73263596d51b8cf610da6498322838b2546baf8a" +checksum = "8483c2db6f45fe9ace984e5adc5d058102227e4c62e5aa2054e16b0275fd3a6e" dependencies = [ "cranelift-codegen", "log", @@ -1265,15 +1285,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b2629a569fae540f16a76b70afcc87ad7decb38dc28fa6c648ac73b51e78470" +checksum = "e9793158837678902446c411741d87b43f57dadfb944f2440db4287cda8cbd59" [[package]] name = "cranelift-native" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20937dab4e14d3e225c5adfc9c7106bafd4ac669bdb43027b911ff794c6fb318" +checksum = "72668c7755f2b880665cb422c8ad2d56db58a88b9bebfef0b73edc2277c13c49" dependencies = [ "cranelift-codegen", "libc", @@ -1282,9 +1302,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80fc2288957a94fd342a015811479de1837850924166d1f1856d8406e6f3609b" +checksum = "3852ce4b088b44ac4e29459573943009a70d1b192c8d77ef949b4e814f656fc1" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -2158,17 +2178,6 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" -[[package]] -name = "errno" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" -dependencies = [ - "errno-dragonfly", - "libc", - "winapi", -] - [[package]] name = "errno" version = "0.3.1" @@ -2396,7 +2405,7 @@ dependencies = [ [[package]] name = "fc-cli" version = "1.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "clap", "ethereum-types", @@ -2414,7 +2423,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "async-trait", "fc-db", @@ -2432,7 +2441,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "fp-storage", "kvdb-rocksdb", @@ -2451,7 +2460,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "fc-db", "fc-storage", @@ -2460,24 +2469,29 @@ dependencies = [ "futures", "futures-timer", "log", + "parking_lot 0.12.1", "sc-client-api", + "sc-utils", "sp-api", "sp-blockchain", + "sp-consensus", "sp-runtime", ] [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "ethereum", "ethereum-types", "evm", "fc-db", + "fc-mapping-sync", "fc-rpc-core", "fc-storage", "fp-ethereum", + "fp-evm", "fp-rpc", "fp-storage", "futures", @@ -2486,6 +2500,7 @@ dependencies = [ "libsecp256k1", "log", "lru", + "pallet-evm", "parity-scale-codec", "prometheus", "rand 0.8.5", @@ -2497,6 +2512,7 @@ dependencies = [ "sc-service", "sc-transaction-pool", "sc-transaction-pool-api", + "sc-utils", "sp-api", "sp-block-builder", "sp-blockchain", @@ -2504,6 +2520,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", + "sp-state-machine", + "sp-storage", "substrate-prometheus-endpoint", "tokio", ] @@ -2511,7 +2529,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "ethereum", "ethereum-types", @@ -2524,7 +2542,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "ethereum", "ethereum-types", @@ -2674,7 +2692,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", ] @@ -2688,10 +2706,28 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "fp-account" +version = "1.0.0-dev" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" +dependencies = [ + "hex", + "impl-serde", + "libsecp256k1", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "ethereum", "parity-scale-codec", @@ -2703,7 +2739,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "ethereum", "ethereum-types", @@ -2717,7 +2753,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "evm", "frame-support", @@ -2731,7 +2767,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "ethereum", "ethereum-types", @@ -2741,13 +2777,14 @@ dependencies = [ "sp-api", "sp-core", "sp-runtime", + "sp-state-machine", "sp-std", ] [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "frame-support", "parity-scale-codec", @@ -2759,7 +2796,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "parity-scale-codec", "serde", @@ -2774,7 +2811,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support", "frame-support-procedural", @@ -2799,7 +2836,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "Inflector", "array-bytes", @@ -2846,7 +2883,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support", "frame-system", @@ -2875,7 +2912,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "futures", "log", @@ -2891,7 +2928,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "bitflags", "frame-metadata", @@ -2923,7 +2960,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "Inflector", "cfg-expr", @@ -2938,7 +2975,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2950,7 +2987,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "proc-macro2", "quote", @@ -2960,7 +2997,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support", "log", @@ -2978,7 +3015,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-benchmarking", "frame-support", @@ -2993,7 +3030,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "sp-api", @@ -3002,7 +3039,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support", "parity-scale-codec", @@ -3352,6 +3389,9 @@ name = "hashbrown" version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +dependencies = [ + "ahash 0.8.3", +] [[package]] name = "headers" @@ -3624,6 +3664,7 @@ dependencies = [ "bioauth-flow-rpc", "bioauth-keys", "fc-db", + "fc-mapping-sync", "fc-rpc", "fc-rpc-core", "fc-storage", @@ -3650,6 +3691,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-babe", + "sp-core", "sp-keystore", "sp-runtime", "substrate-frame-rpc-system", @@ -3999,12 +4041,6 @@ dependencies = [ "webrtc-util", ] -[[package]] -name = "io-lifetimes" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" - [[package]] name = "io-lifetimes" version = "1.0.10" @@ -4047,7 +4083,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" dependencies = [ "hermit-abi 0.3.1", - "io-lifetimes 1.0.10", + "io-lifetimes", "rustix 0.37.11", "windows-sys 0.48.0", ] @@ -4875,19 +4911,18 @@ dependencies = [ [[package]] name = "linregress" -version = "0.4.4" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" dependencies = [ "nalgebra", - "statrs", ] [[package]] name = "linux-raw-sys" -version = "0.0.46" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" +checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" @@ -5290,9 +5325,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.27.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" dependencies = [ "approx", "matrixmultiply", @@ -5300,17 +5335,15 @@ dependencies = [ "num-complex", "num-rational", "num-traits", - "rand 0.8.5", - "rand_distr", "simba", "typenum", ] [[package]] name = "nalgebra-macros" -version = "0.1.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +checksum = "91761aed67d03ad966ef783ae962ef9bbaca728d2dd7ceb7939ec110fffad998" dependencies = [ "proc-macro2", "quote", @@ -5563,7 +5596,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" dependencies = [ "autocfg", - "libm", ] [[package]] @@ -5781,7 +5813,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support", "frame-system", @@ -5795,7 +5827,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5834,7 +5866,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5954,7 +5986,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "ethereum", "ethereum-types", @@ -5963,14 +5995,11 @@ dependencies = [ "fp-ethereum", "fp-evm", "fp-rpc", - "fp-self-contained", "fp-storage", "frame-support", "frame-system", "pallet-evm", - "pallet-timestamp", "parity-scale-codec", - "rlp", "scale-info", "sp-io", "sp-runtime", @@ -5993,10 +6022,11 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "environmental", "evm", + "fp-account", "fp-evm", "frame-benchmarking", "frame-support", @@ -6004,7 +6034,6 @@ dependencies = [ "hex", "impl-trait-for-tuples", "log", - "pallet-timestamp", "parity-scale-codec", "rlp", "scale-info", @@ -6032,7 +6061,7 @@ dependencies = [ [[package]] name = "pallet-evm-balances" version = "1.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "frame-support", "frame-system", @@ -6046,7 +6075,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "fp-evm", "num", @@ -6055,7 +6084,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-sha3fips" version = "2.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "fp-evm", "tiny-keccak", @@ -6064,7 +6093,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "fp-evm", "ripemd", @@ -6074,7 +6103,7 @@ dependencies = [ [[package]] name = "pallet-evm-system" version = "1.0.0-dev" -source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.38#b62872015c3d43f74cd382c767523f002c7f2eb3" +source = "git+https://github.com/humanode-network/frontier?branch=locked/polkadot-v0.9.39#a487de275b0bfa60f924fef5b3d6ba446fad1edd" dependencies = [ "fp-evm", "frame-support", @@ -6089,7 +6118,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-benchmarking", "frame-support", @@ -6127,7 +6156,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-benchmarking", "frame-support", @@ -6147,7 +6176,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-benchmarking", "frame-support", @@ -6163,7 +6192,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support", "frame-system", @@ -6193,7 +6222,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support", "frame-system", @@ -6214,7 +6243,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support", "frame-system", @@ -6228,7 +6257,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-benchmarking", "frame-support", @@ -6265,7 +6294,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-support", "frame-system", @@ -6281,7 +6310,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -6297,7 +6326,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6309,7 +6338,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7209,16 +7238,6 @@ dependencies = [ "getrandom 0.2.9", ] -[[package]] -name = "rand_distr" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" -dependencies = [ - "num-traits", - "rand 0.8.5", -] - [[package]] name = "rand_hc" version = "0.2.0" @@ -7341,9 +7360,9 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.3.2" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779" +checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" dependencies = [ "fxhash", "log", @@ -7377,6 +7396,18 @@ version = "0.6.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" +[[package]] +name = "region" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" +dependencies = [ + "bitflags", + "libc", + "mach", + "winapi", +] + [[package]] name = "reqwest" version = "0.11.16" @@ -7687,16 +7718,16 @@ dependencies = [ [[package]] name = "rustix" -version = "0.35.13" +version = "0.36.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" dependencies = [ "bitflags", - "errno 0.2.8", - "io-lifetimes 0.7.5", + "errno", + "io-lifetimes", "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", ] [[package]] @@ -7706,8 +7737,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85597d61f83914ddeba6a47b3b8ffe7365107221c2e557ed94426489fefb5f77" dependencies = [ "bitflags", - "errno 0.3.1", - "io-lifetimes 1.0.10", + "errno", + "io-lifetimes", "libc", "linux-raw-sys 0.3.1", "windows-sys 0.48.0", @@ -7782,6 +7813,15 @@ version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" +[[package]] +name = "safe_arch" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" +dependencies = [ + "bytemuck", +] + [[package]] name = "same-file" version = "1.0.6" @@ -7794,7 +7834,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "log", "sp-core", @@ -7805,7 +7845,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "futures", "futures-timer", @@ -7828,7 +7868,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -7844,7 +7884,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -7859,7 +7899,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -7870,7 +7910,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "array-bytes", "chrono", @@ -7910,7 +7950,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "fnv", "futures", @@ -7936,7 +7976,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "hash-db", "kvdb", @@ -7962,7 +8002,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "futures", @@ -7987,7 +8027,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "fork-tree", @@ -8005,6 +8045,7 @@ dependencies = [ "sc-consensus-slots", "sc-keystore", "sc-telemetry", + "scale-info", "schnorrkel", "sp-api", "sp-application-crypto", @@ -8025,7 +8066,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "futures", "jsonrpsee", @@ -8047,7 +8088,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8060,7 +8101,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "futures", @@ -8083,7 +8124,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "lru", "parity-scale-codec", @@ -8107,7 +8148,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8120,7 +8161,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "log", "sc-allocator", @@ -8133,13 +8174,14 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ + "anyhow", "cfg-if", "libc", "log", "once_cell", - "rustix 0.35.13", + "rustix 0.36.17", "sc-allocator", "sc-executor-common", "sp-runtime-interface", @@ -8150,7 +8192,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "ahash 0.8.3", "array-bytes", @@ -8190,7 +8232,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "finality-grandpa", "futures", @@ -8210,7 +8252,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "ansi_term", "futures", @@ -8225,7 +8267,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "array-bytes", "async-trait", @@ -8240,7 +8282,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "array-bytes", "async-trait", @@ -8255,6 +8297,7 @@ dependencies = [ "libp2p", "log", "lru", + "mockall", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", @@ -8282,7 +8325,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "cid", "futures", @@ -8301,7 +8344,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "bitflags", @@ -8327,7 +8370,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "ahash 0.8.3", "futures", @@ -8345,7 +8388,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "array-bytes", "futures", @@ -8366,7 +8409,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "array-bytes", "async-trait", @@ -8398,7 +8441,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "array-bytes", "futures", @@ -8417,7 +8460,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "array-bytes", "bytes", @@ -8447,7 +8490,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "futures", "libp2p", @@ -8460,7 +8503,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8469,7 +8512,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "futures", "jsonrpsee", @@ -8499,7 +8542,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8518,7 +8561,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "http", "jsonrpsee", @@ -8533,7 +8576,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "array-bytes", "futures", @@ -8559,7 +8602,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "directories", @@ -8625,7 +8668,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "log", "parity-scale-codec", @@ -8636,7 +8679,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "clap", "futures", @@ -8652,7 +8695,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "futures", "libc", @@ -8671,7 +8714,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "chrono", "futures", @@ -8690,7 +8733,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "ansi_term", "atty", @@ -8721,7 +8764,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8732,7 +8775,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "futures", @@ -8759,7 +8802,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "futures", @@ -8773,7 +8816,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "backtrace", "futures", @@ -9221,14 +9264,15 @@ dependencies = [ [[package]] name = "simba" -version = "0.5.1" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" dependencies = [ "approx", "num-complex", "num-traits", "paste", + "wide", ] [[package]] @@ -9331,7 +9375,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "hash-db", "log", @@ -9349,7 +9393,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "blake2", "proc-macro-crate", @@ -9361,7 +9405,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9374,7 +9418,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "integer-sqrt", "num-traits", @@ -9388,7 +9432,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "sp-api", @@ -9400,7 +9444,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "futures", "log", @@ -9418,7 +9462,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "futures", @@ -9433,10 +9477,28 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sp-consensus-aura" +version = "0.10.0-dev" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" +dependencies = [ + "async-trait", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-application-crypto", + "sp-consensus", + "sp-consensus-slots", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-timestamp", +] + [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "merlin", @@ -9459,7 +9521,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9471,7 +9533,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9484,12 +9546,13 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "array-bytes", "base58", "bitflags", "blake2", + "bounded-collections", "dyn-clonable", "ed25519-zebra", "futures", @@ -9526,7 +9589,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "blake2", "byteorder", @@ -9540,7 +9603,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "proc-macro2", "quote", @@ -9551,7 +9614,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9560,7 +9623,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "proc-macro2", "quote", @@ -9570,7 +9633,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "environmental", "parity-scale-codec", @@ -9581,7 +9644,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "finality-grandpa", "log", @@ -9599,11 +9662,12 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", + "scale-info", "sp-core", "sp-runtime", "sp-std", @@ -9613,7 +9677,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "bytes", "ed25519 1.5.3", @@ -9638,7 +9702,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "lazy_static", "sp-core", @@ -9649,7 +9713,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "futures", @@ -9666,7 +9730,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "thiserror", "zstd", @@ -9675,7 +9739,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "sp-api", "sp-core", @@ -9685,7 +9749,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "backtrace", "lazy_static", @@ -9695,7 +9759,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "rustc-hash", "serde", @@ -9705,7 +9769,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "either", "hash256-std-hasher", @@ -9727,7 +9791,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -9745,7 +9809,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "Inflector", "proc-macro-crate", @@ -9757,7 +9821,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9771,7 +9835,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9783,7 +9847,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "hash-db", "log", @@ -9803,12 +9867,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9821,7 +9885,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "futures-timer", @@ -9836,7 +9900,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "sp-std", @@ -9848,7 +9912,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "sp-api", "sp-runtime", @@ -9857,7 +9921,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "log", @@ -9873,7 +9937,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "ahash 0.8.3", "hash-db", @@ -9896,7 +9960,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9913,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -9924,8 +9988,9 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ + "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -9937,7 +10002,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10036,19 +10101,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "statrs" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" -dependencies = [ - "approx", - "lazy_static", - "nalgebra", - "num-traits", - "rand 0.8.5", -] - [[package]] name = "strsim" version = "0.10.0" @@ -10112,7 +10164,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10131,7 +10183,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "hyper", "log", @@ -10143,7 +10195,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "async-trait", "jsonrpsee", @@ -10156,7 +10208,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ "ansi_term", "build-helper", @@ -10697,12 +10749,12 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.24.0" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" +checksum = "3390c0409daaa6027d6681393316f4ccd3ff82e1590a1e4725014e3ae2bf1920" dependencies = [ "hash-db", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", @@ -10782,8 +10834,9 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.38#7b880607ce90620dea5decd988ce33c48bc75eca" +source = "git+https://github.com/humanode-network/substrate?branch=locked/polkadot-v0.9.39#5b23f49147d482eadf96a1bb95924e8b661a931a" dependencies = [ + "async-trait", "clap", "frame-remote-externalities", "frame-try-runtime", @@ -10796,14 +10849,19 @@ dependencies = [ "serde", "serde_json", "sp-api", + "sp-consensus-aura", + "sp-consensus-babe", "sp-core", "sp-debug-derive", "sp-externalities", + "sp-inherents", "sp-io", "sp-keystore", "sp-rpc", "sp-runtime", "sp-state-machine", + "sp-timestamp", + "sp-transaction-storage-proof", "sp-version", "sp-weights", "substrate-rpc-client", @@ -11314,22 +11372,24 @@ dependencies = [ "memory_units", "num-rational", "num-traits", + "region", ] [[package]] name = "wasmparser" -version = "0.89.1" +version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" +checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" dependencies = [ "indexmap", + "url", ] [[package]] name = "wasmtime" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" +checksum = "76a222f5fa1e14b2cefc286f1b68494d7a965f4bf57ec04c59bb62673d639af6" dependencies = [ "anyhow", "bincode", @@ -11350,23 +11410,23 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "windows-sys 0.36.1", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-asm-macros" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" +checksum = "4407a7246e7d2f3d8fb1cf0c72fda8dbafdb6dd34d555ae8bea0e5ae031089cc" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-cache" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd849399d17d2270141cfe47fa0d91ee52d5f8ea9b98cf7ddde0d53e5f79882" +checksum = "5ceb3adf61d654be0be67fffdce42447b0880481348785be5fe40b5dd7663a4c" dependencies = [ "anyhow", "base64 0.13.1", @@ -11374,19 +11434,19 @@ dependencies = [ "directories-next", "file-per-thread-logger", "log", - "rustix 0.35.13", + "rustix 0.36.17", "serde", - "sha2 0.9.9", + "sha2 0.10.6", "toml", - "windows-sys 0.36.1", + "windows-sys 0.42.0", "zstd", ] [[package]] name = "wasmtime-cranelift" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bd91339b742ff20bfed4532a27b73c86b5bcbfedd6bea2dcdf2d64471e1b5c6" +checksum = "3c366bb8647e01fd08cb5589976284b00abfded5529b33d7e7f3f086c68304a4" dependencies = [ "anyhow", "cranelift-codegen", @@ -11405,9 +11465,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" +checksum = "47b8b50962eae38ee319f7b24900b7cf371f03eebdc17400c1dc8575fc10c9a7" dependencies = [ "anyhow", "cranelift-entity", @@ -11424,9 +11484,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1985c628011fe26adf5e23a5301bdc79b245e0e338f14bb58b39e4e25e4d8681" +checksum = "ffaed4f9a234ba5225d8e64eac7b4a5d13b994aeb37353cde2cbeb3febda9eaa" dependencies = [ "addr2line 0.17.0", "anyhow", @@ -11437,32 +11497,42 @@ dependencies = [ "log", "object 0.29.0", "rustc-demangle", - "rustix 0.35.13", "serde", "target-lexicon", - "thiserror", "wasmtime-environ", "wasmtime-jit-debug", + "wasmtime-jit-icache-coherence", "wasmtime-runtime", - "windows-sys 0.36.1", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-jit-debug" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" +checksum = "eed41cbcbf74ce3ff6f1d07d1b707888166dc408d1a880f651268f4f7c9194b2" dependencies = [ "object 0.29.0", "once_cell", - "rustix 0.35.13", + "rustix 0.36.17", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "6.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a28ae1e648461bfdbb79db3efdaee1bca5b940872e4175390f465593a2e54c" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-runtime" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee8f92ad4b61736339c29361da85769ebc200f184361959d1792832e592a1afd" +checksum = "e704b126e4252788ccfc3526d4d4511d4b23c521bf123e447ac726c14545217b" dependencies = [ "anyhow", "cc", @@ -11475,19 +11545,18 @@ dependencies = [ "memoffset 0.6.5", "paste", "rand 0.8.5", - "rustix 0.35.13", - "thiserror", + "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", - "windows-sys 0.36.1", + "windows-sys 0.42.0", ] [[package]] name = "wasmtime-types" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" +checksum = "83e5572c5727c1ee7e8f28717aaa8400e4d22dcbd714ea5457d85b5005206568" dependencies = [ "cranelift-entity", "serde", @@ -11757,6 +11826,16 @@ dependencies = [ "once_cell", ] +[[package]] +name = "wide" +version = "0.7.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" +dependencies = [ + "bytemuck", + "safe_arch", +] + [[package]] name = "widestring" version = "0.5.1" @@ -11816,19 +11895,6 @@ dependencies = [ "windows-targets 0.48.0", ] -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc 0.36.1", - "windows_i686_gnu 0.36.1", - "windows_i686_msvc 0.36.1", - "windows_x86_64_gnu 0.36.1", - "windows_x86_64_msvc 0.36.1", -] - [[package]] name = "windows-sys" version = "0.42.0" @@ -11910,12 +11976,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -11934,12 +11994,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -11958,12 +12012,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -11982,12 +12030,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -12018,12 +12060,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - [[package]] name = "windows_x86_64_msvc" version = "0.42.2" diff --git a/Cargo.toml b/Cargo.toml index 3484e3628..4f500734b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,96 +66,96 @@ wiremock = { version = "0.5", default-features = false } codec = { package = "parity-scale-codec", version = "3.2.2", default-features = false } # Substrate fork. -frame-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-executive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-support = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-system-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -frame-try-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-im-online = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-multisig = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-offences = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-sudo = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-transaction-payment = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-utility = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-basic-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-chain-spec = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-chain-spec-derive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-client-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-consensus-babe-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-consensus-epochs = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-executor = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-finality-grandpa-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-network = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-rpc-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-rpc-spec-v2 = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-service = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-telemetry = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-transaction-pool-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sc-utils = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-application-crypto = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-block-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-blockchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-core-hashing-proc-macro = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-inherents = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-keyring = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-keystore = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-offchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-panic-handler = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-staking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -sp-version = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -substrate-frame-rpc-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -substrate-wasm-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } -try-runtime-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.38", default-features = false } +frame-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +frame-executive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +frame-support = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +frame-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +frame-system-benchmarking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +frame-try-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-balances = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-im-online = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-multisig = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-offences = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-sudo = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-transaction-payment = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-utility = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-basic-authorship = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-chain-spec = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-chain-spec-derive = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-client-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-consensus-babe-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-consensus-epochs = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-executor = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-finality-grandpa-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-network = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-rpc = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-rpc-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-rpc-spec-v2 = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-service = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-telemetry = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-transaction-pool-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sc-utils = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-api = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-application-crypto = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-block-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-blockchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-consensus = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-consensus-babe = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-core = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-core-hashing-proc-macro = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-finality-grandpa = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-inherents = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-io = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-keyring = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-keystore = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-offchain = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-panic-handler = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-runtime = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-session = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-staking = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-std = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-timestamp = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-tracing = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-transaction-pool = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +sp-version = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +substrate-frame-rpc-system = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +substrate-wasm-builder = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } +try-runtime-cli = { git = "https://github.com/humanode-network/substrate", branch = "locked/polkadot-v0.9.39", default-features = false } # Frontier fork. -fc-cli = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fc-consensus = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fc-db = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fc-mapping-sync = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fc-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fc-rpc-core = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fc-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fp-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fp-self-contained = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -fp-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-ethereum = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-evm-balances = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-evm-precompile-sha3fips = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } -pallet-evm-system = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.38", default-features = false } +fc-cli = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fc-consensus = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fc-db = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fc-mapping-sync = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fc-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fc-rpc-core = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fc-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fp-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fp-rpc = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fp-self-contained = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +fp-storage = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-ethereum = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-evm = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-evm-balances = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-evm-precompile-sha3fips = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } +pallet-evm-system = { git = "https://github.com/humanode-network/frontier", branch = "locked/polkadot-v0.9.39", default-features = false } [profile.release-lto] inherits = "release" diff --git a/crates/author-ext-rpc/src/lib.rs b/crates/author-ext-rpc/src/lib.rs index 7dc8c7d97..47f1ba771 100644 --- a/crates/author-ext-rpc/src/lib.rs +++ b/crates/author-ext-rpc/src/lib.rs @@ -101,12 +101,12 @@ where .map_err(SetKeysError::KeyExtraction) .map_err(errtype)?; - let at = sp_api::BlockId::Hash(self.client.info().best_hash); + let at = self.client.info().best_hash; let signed_set_keys_extrinsic = self .client .runtime_api() - .create_signed_set_keys_extrinsic(&at, &validator_key, session_keys.0) + .create_signed_set_keys_extrinsic(at, &validator_key, session_keys.0) .map_err(SetKeysError::RuntimeApi) .map_err(errtype)? .map_err(SetKeysError::ExtrinsicCreation) @@ -114,7 +114,7 @@ where self.pool .submit_and_watch( - &at, + &sp_api::BlockId::Hash(at), sp_runtime::transaction_validity::TransactionSource::Local, signed_set_keys_extrinsic, ) diff --git a/crates/bioauth-flow-rpc/src/lib.rs b/crates/bioauth-flow-rpc/src/lib.rs index 1413b8259..3a36b27f5 100644 --- a/crates/bioauth-flow-rpc/src/lib.rs +++ b/crates/bioauth-flow-rpc/src/lib.rs @@ -294,12 +294,12 @@ where }; // Extract an id of the last imported block. - let at = sp_api::BlockId::Hash(self.client.info().best_hash); + let at = self.client.info().best_hash; let status = self .client .runtime_api() - .bioauth_status(&at, &own_key) + .bioauth_status(at, &own_key) .map_err(StatusError::RuntimeApi)?; Ok(status.into()) @@ -354,13 +354,13 @@ where info!(message = "We've obtained an auth ticket", auth_ticket = ?response.auth_ticket); - let at = sp_api::BlockId::Hash(self.client.info().best_hash); + let at = self.client.info().best_hash; let ext = self .client .runtime_api() .create_authenticate_extrinsic( - &at, + at, response.auth_ticket.into(), response.auth_ticket_signature.into(), ) @@ -368,7 +368,7 @@ where self.pool .submit_and_watch( - &at, + &sp_api::BlockId::Hash(at), sp_runtime::transaction_validity::TransactionSource::Local, ext, ) diff --git a/crates/humanode-peer/src/benchmarking.rs b/crates/humanode-peer/src/benchmarking.rs index acd3e7581..3a7edb812 100644 --- a/crates/humanode-peer/src/benchmarking.rs +++ b/crates/humanode-peer/src/benchmarking.rs @@ -14,7 +14,7 @@ use sp_consensus_babe::SlotDuration; use sp_core::{Encode, Pair}; use sp_inherents::{InherentData, InherentDataProvider}; use sp_keyring::Sr25519Keyring; -use sp_runtime::{generic, OpaqueExtrinsic, SaturatedConversion}; +use sp_runtime::{OpaqueExtrinsic, SaturatedConversion}; use crate::configuration::Configuration; use crate::service::FullClient; @@ -168,6 +168,6 @@ fn fetch_nonce(client: &FullClient, account: sp_core::sr25519::Pair) -> u32 { let best_hash = client.chain_info().best_hash; client .runtime_api() - .account_nonce(&generic::BlockId::Hash(best_hash), account.public().into()) + .account_nonce(best_hash, account.public().into()) .expect("Fetching account nonce failed") } diff --git a/crates/humanode-peer/src/cli/run.rs b/crates/humanode-peer/src/cli/run.rs index 44b01241c..dbef7a99d 100644 --- a/crates/humanode-peer/src/cli/run.rs +++ b/crates/humanode-peer/src/cli/run.rs @@ -9,6 +9,11 @@ use humanode_runtime::Runtime; use sc_service::PartialComponents; #[cfg(feature = "runtime-benchmarks")] use sp_core::Get; +#[cfg(feature = "try-runtime")] +use { + humanode_runtime::constants::babe::SLOT_DURATION, + try_runtime_cli::block_building_info::substrate_info, +}; use super::{bioauth, Root, Subcommand}; #[cfg(feature = "runtime-benchmarks")] @@ -248,11 +253,14 @@ pub async fn run() -> sc_cli::Result<()> { registry, ) .map_err(|e| sc_cli::Error::Service(sc_service::Error::Prometheus(e)))?; + + let info_provider = substrate_info(SLOT_DURATION); + Ok(( cmd.run::::ExtendHostFunctions, - >>(), + >, _>(Some(info_provider)), task_manager, )) }) diff --git a/crates/humanode-peer/src/service/frontier.rs b/crates/humanode-peer/src/service/frontier.rs index 29a0b106e..9330c6faa 100644 --- a/crates/humanode-peer/src/service/frontier.rs +++ b/crates/humanode-peer/src/service/frontier.rs @@ -1,6 +1,8 @@ //! The Frontier related stuff. +use humanode_runtime::opaque::Block; use sc_cli::SubstrateCli; +use sc_client_api::backend::Backend; use sc_service::BasePath; /// Create frontier dir. @@ -14,3 +16,16 @@ pub fn db_config_dir(config: &sc_service::Configuration) -> std::path::PathBuf { .config_dir(config.chain_spec.id()) }) } + +/// Default ethereum config. +pub struct DefaultEthConfig(std::marker::PhantomData<(C, BE)>); + +impl fc_rpc::EthConfig for DefaultEthConfig +where + C: sc_client_api::StorageProvider + Sync + Send + 'static, + BE: Backend + 'static, +{ + type EstimateGasAdapter = (); + type RuntimeStorageOverride = + fc_rpc::frontier_backend_client::SystemAccountId20StorageOverride; +} diff --git a/crates/humanode-peer/src/service/mod.rs b/crates/humanode-peer/src/service/mod.rs index 97e62354e..bd859e044 100644 --- a/crates/humanode-peer/src/service/mod.rs +++ b/crates/humanode-peer/src/service/mod.rs @@ -17,7 +17,9 @@ use sc_client_api::{BlockBackend, BlockchainEvents}; use sc_consensus_babe::SlotProportion; pub use sc_executor::NativeElseWasmExecutor; use sc_finality_grandpa::SharedVoterState; -use sc_service::{Error as ServiceError, KeystoreContainer, PartialComponents, TaskManager}; +use sc_service::{ + Error as ServiceError, KeystoreContainer, PartialComponents, TaskManager, WarpSyncParams, +}; use sc_telemetry::{Telemetry, TelemetryWorker}; use tracing::*; @@ -283,6 +285,10 @@ pub async fn new_full(config: Configuration) -> Result, + >::default()); let proposer_factory = sc_basic_authorship::ProposerFactory::new( task_manager.spawn_handle(), @@ -306,7 +312,7 @@ pub async fn new_full(config: Configuration) -> Result Result, + >(humanode_rpc::Deps { client: Arc::clone(&client), pool: Arc::clone(&pool), deny_unsafe, @@ -408,6 +424,8 @@ pub async fn new_full(config: Configuration) -> Result Result Result::Number, 0, SyncStrategy::Normal, + network, + eth_pubsub_notification_sinks, ) .for_each(|()| futures::future::ready(())), ); diff --git a/crates/humanode-rpc/Cargo.toml b/crates/humanode-rpc/Cargo.toml index 0e3740aed..7ea74f958 100644 --- a/crates/humanode-rpc/Cargo.toml +++ b/crates/humanode-rpc/Cargo.toml @@ -14,6 +14,7 @@ humanode-runtime = { path = "../humanode-runtime" } robonode-client = { path = "../robonode-client" } fc-db = { workspace = true } +fc-mapping-sync = { workspace = true } fc-rpc = { workspace = true, features = ["rpc-binary-search-estimate"] } fc-rpc-core = { workspace = true } fc-storage = { workspace = true } @@ -38,6 +39,7 @@ sp-block-builder = { workspace = true } sp-blockchain = { workspace = true } sp-consensus = { workspace = true } sp-consensus-babe = { workspace = true } +sp-core = { workspace = true } sp-keystore = { workspace = true } sp-runtime = { workspace = true } substrate-frame-rpc-system = { workspace = true } diff --git a/crates/humanode-rpc/src/lib.rs b/crates/humanode-rpc/src/lib.rs index 672f67f33..fa5ec7169 100644 --- a/crates/humanode-rpc/src/lib.rs +++ b/crates/humanode-rpc/src/lib.rs @@ -1,13 +1,13 @@ //! RPC subsystem instantiation logic. -use std::sync::Arc; +use std::{collections::BTreeMap, sync::Arc}; use author_ext_api::AuthorExtApi; use author_ext_rpc::{AuthorExt, AuthorExtServer}; use bioauth_flow_rpc::{Bioauth, BioauthServer, Signer, SignerFactory}; use bioauth_keys::traits::KeyExtractor as KeyExtractorT; use fc_rpc::{ - Eth, EthApiServer, EthBlockDataCacheTask, EthFilter, EthFilterApiServer, EthPubSub, + Eth, EthApiServer, EthBlockDataCacheTask, EthConfig, EthFilter, EthFilterApiServer, EthPubSub, EthPubSubApiServer, Net, NetApiServer, Web3, Web3ApiServer, }; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; @@ -33,11 +33,12 @@ pub use sc_rpc_api::DenyUnsafe; use sc_rpc_spec_v2::chain_spec::{ChainSpec, ChainSpecApiServer}; use sc_transaction_pool::{ChainApi, Pool}; use sc_transaction_pool_api::TransactionPool; -use sp_api::{Encode, ProvideRuntimeApi}; +use sp_api::{CallApiAt, Encode, ProvideRuntimeApi}; use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; use sp_consensus::SelectChain; use sp_consensus_babe::BabeApi; +use sp_core::H256; use sp_keystore::SyncCryptoStorePtr; /// Extra dependencies for `AuthorExt`. @@ -101,6 +102,18 @@ pub struct EvmDeps { /// When using eth_call/eth_estimateGas, the maximum allowed gas limit will be /// block.gas_limit * execute_gas_limit_multiplier. pub eth_execute_gas_limit_multiplier: u64, + /// Mandated parent hashes for a given block hash. + pub eth_forced_parent_hashes: Option>, + /// Sinks for pubsub notifications. + /// + /// Everytime a new subscription is created, a new mpsc channel is added to the sink pool. + /// The MappingSyncWorker sends through the channel on block import and the subscription + /// emits a notification to the subscriber on receiving a message through this channel. + pub eth_pubsub_notification_sinks: Arc< + fc_mapping_sync::EthereumBlockNotificationSinks< + fc_mapping_sync::EthereumBlockNotification, + >, + >, } /// RPC subsystem dependencies. @@ -136,13 +149,14 @@ pub struct Deps { } /// Instantiate all RPC extensions. -pub fn create( +pub fn create( deps: Deps, ) -> Result, Box> where BE: Backend + 'static, BE::State: StateBackend>, - C: ProvideRuntimeApi + BlockBackend + StorageProvider + AuxStore, + C: ProvideRuntimeApi + CallApiAt, + C: BlockBackend + StorageProvider + AuxStore, C: BlockchainEvents, C: HeaderBackend + HeaderMetadata + 'static, C: Send + Sync + 'static, @@ -164,6 +178,7 @@ where std::error::Error + 'static, A: ChainApi + 'static, SC: SelectChain + 'static, + EC: EthConfig, { use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; use substrate_frame_rpc_system::{System, SystemApiServer}; @@ -220,6 +235,8 @@ where eth_overrides, eth_block_data_cache, eth_execute_gas_limit_multiplier, + eth_forced_parent_hashes, + eth_pubsub_notification_sinks, } = evm; let chain_name = chain_spec.name().to_string(); @@ -295,7 +312,9 @@ where eth_fee_history_cache, eth_fee_history_limit, eth_execute_gas_limit_multiplier, + eth_forced_parent_hashes, ) + .replace_config::() .into_rpc(), )?; @@ -308,6 +327,7 @@ where Arc::clone(&network), Arc::clone(&subscription_task_executor), Arc::clone(ð_overrides), + Arc::clone(ð_pubsub_notification_sinks), ) .into_rpc(), )?; diff --git a/crates/humanode-runtime/src/constants.rs b/crates/humanode-runtime/src/constants.rs index 75bd9ca4b..8814e1eb9 100644 --- a/crates/humanode-runtime/src/constants.rs +++ b/crates/humanode-runtime/src/constants.rs @@ -114,3 +114,11 @@ pub mod evm_fees { /// The value below is a nice round number that fits the requirements outlined above. pub const FEE_PER_GAS: u128 = 10_000_000_000_000; } + +/// Ethereum related constants. +pub mod ethereum { + /// The maximum length of the extra data in the executed event. + /// + /// Current value has been taken based on moonbeam runtime ethereum pallet configuration. + pub const EXTRA_DATA_LENGTH: u32 = 30; +} diff --git a/crates/humanode-runtime/src/lib.rs b/crates/humanode-runtime/src/lib.rs index e8006c047..264b832ab 100644 --- a/crates/humanode-runtime/src/lib.rs +++ b/crates/humanode-runtime/src/lib.rs @@ -84,7 +84,7 @@ use frontier_precompiles::{precompiles_constants, FrontierPrecompiles}; #[cfg(feature = "runtime-benchmarks")] mod benchmarking; -mod constants; +pub mod constants; mod currency_swap; #[cfg(test)] mod dev_utils; @@ -104,6 +104,7 @@ pub use constants::{ bioauth::{AUTHENTICATIONS_EXPIRE_AFTER, MAX_AUTHENTICATIONS, MAX_NONCES}, block_time::MILLISECS_PER_BLOCK, equivocation::REPORT_LONGEVITY, + ethereum::EXTRA_DATA_LENGTH, im_online::{MAX_KEYS, MAX_PEER_DATA_ENCODING_SIZE, MAX_PEER_IN_HEARTBEATS}, }; use static_assertions::const_assert; @@ -701,6 +702,8 @@ impl pallet_evm::Config for Runtime { type FindAuthor = find_author::FindAuthorTruncated< find_author::FindAuthorFromSession, >; + type Timestamp = Timestamp; + type WeightInfo = pallet_evm::weights::SubstrateWeight; } parameter_types! { @@ -711,6 +714,7 @@ impl pallet_ethereum::Config for Runtime { type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot; type PostLogContent = PostBlockAndTxnHashes; + type ExtraDataLength = ConstU32; } impl pallet_chain_properties::Config for Runtime {} @@ -1300,7 +1304,7 @@ impl_runtime_apis! { } fn account_code_at(address: H160) -> Vec { - EVM::account_codes(address) + pallet_evm::AccountCodes::::get(address) } fn author() -> H160 { @@ -1310,7 +1314,7 @@ impl_runtime_apis! { 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[..])) + pallet_evm::AccountStorages::::get(address, H256::from_slice(&tmp[..])) } fn call( @@ -1388,15 +1392,15 @@ impl_runtime_apis! { } fn current_transaction_statuses() -> Option> { - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentTransactionStatuses::::get() } fn current_block() -> Option { - Ethereum::current_block() + pallet_ethereum::CurrentBlock::::get() } fn current_receipts() -> Option> { - Ethereum::current_receipts() + pallet_ethereum::CurrentReceipts::::get() } fn current_all() -> ( @@ -1405,9 +1409,9 @@ impl_runtime_apis! { Option> ) { ( - Ethereum::current_block(), - Ethereum::current_receipts(), - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentBlock::::get(), + pallet_ethereum::CurrentReceipts::::get(), + pallet_ethereum::CurrentTransactionStatuses::::get() ) } diff --git a/crates/pallet-balanced-currency-swap-bridges-initializer/src/lib.rs b/crates/pallet-balanced-currency-swap-bridges-initializer/src/lib.rs index 5ce165896..aa1121e99 100644 --- a/crates/pallet-balanced-currency-swap-bridges-initializer/src/lib.rs +++ b/crates/pallet-balanced-currency-swap-bridges-initializer/src/lib.rs @@ -56,7 +56,6 @@ pub mod pallet { /// The Bridge Pot Currency Swap Initializer Pallet. #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); /// Configuration trait of this pallet. diff --git a/crates/pallet-bioauth/src/lib.rs b/crates/pallet-bioauth/src/lib.rs index 252ecf2f4..b84a4c847 100644 --- a/crates/pallet-bioauth/src/lib.rs +++ b/crates/pallet-bioauth/src/lib.rs @@ -272,7 +272,6 @@ pub mod pallet { #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); /// The public key of the robonode. @@ -409,16 +408,11 @@ pub mod pallet { } } - /// Dispatchable functions allow users to interact with the pallet and invoke state changes. - /// These functions materialize as "extrinsics", which are often compared to transactions. - /// Dispatchable functions must be annotated with a weight and must return - /// a [`frame_support::dispatch::DispatchResult`] or - /// or [`frame_support::dispatch::DispatchResultWithPostInfo`]. - /// - /// Weight: `O(M + N) where M is the number of authentications and N is the number of nonces` - /// Cost incurred from decoding vec of length M or N. Charged as maximum #[pallet::call] impl Pallet { + /// ### Complexity + /// `O(M + N)` where `M` is the number of authentications and `N` is the number of nonces + /// Cost incurred from decoding vec of length M or N. Charged as maximum. #[pallet::call_index(0)] #[pallet::weight(T::WeightInfo::authenticate( >::get().len().try_into() diff --git a/crates/pallet-bootnodes/src/lib.rs b/crates/pallet-bootnodes/src/lib.rs index c16c2ce41..91609c14a 100644 --- a/crates/pallet-bootnodes/src/lib.rs +++ b/crates/pallet-bootnodes/src/lib.rs @@ -29,7 +29,6 @@ pub mod pallet { #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); /// A list of the bootnodes. diff --git a/crates/pallet-chain-properties/src/lib.rs b/crates/pallet-chain-properties/src/lib.rs index 2f39b88be..feb5fc482 100644 --- a/crates/pallet-chain-properties/src/lib.rs +++ b/crates/pallet-chain-properties/src/lib.rs @@ -26,7 +26,6 @@ pub mod pallet { /// The Chain Properties Pallet #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); /// Configuration trait of this pallet. diff --git a/crates/pallet-chain-start-moment/src/lib.rs b/crates/pallet-chain-start-moment/src/lib.rs index 82b301faa..ca760c8eb 100644 --- a/crates/pallet-chain-start-moment/src/lib.rs +++ b/crates/pallet-chain-start-moment/src/lib.rs @@ -26,7 +26,6 @@ pub mod pallet { #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); #[pallet::config] diff --git a/crates/pallet-currency-swap/src/lib.rs b/crates/pallet-currency-swap/src/lib.rs index ba21e8f2c..a7fa25ccc 100644 --- a/crates/pallet-currency-swap/src/lib.rs +++ b/crates/pallet-currency-swap/src/lib.rs @@ -54,7 +54,6 @@ pub mod pallet { use super::*; #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); /// Configuration trait of this pallet. diff --git a/crates/pallet-dummy-precompiles-code/src/lib.rs b/crates/pallet-dummy-precompiles-code/src/lib.rs index 4361e5a3b..ffbc25902 100644 --- a/crates/pallet-dummy-precompiles-code/src/lib.rs +++ b/crates/pallet-dummy-precompiles-code/src/lib.rs @@ -39,7 +39,6 @@ pub mod pallet { #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); /// Configuration trait of this pallet. @@ -114,7 +113,7 @@ pub mod pallet { let mut not_created_precompiles = Vec::new(); for precompile_address in &T::PrecompilesAddresses::get() { - let code = pallet_evm::Pallet::::account_codes(*precompile_address); + let code = pallet_evm::AccountCodes::::get(*precompile_address); if code != DUMMY_CODE { not_created_precompiles.push(*precompile_address); } @@ -135,7 +134,7 @@ impl Pallet { let mut weight = T::DbWeight::get().reads(0); for precompile_address in &T::PrecompilesAddresses::get() { - let code = pallet_evm::Pallet::::account_codes(*precompile_address); + let code = pallet_evm::AccountCodes::::get(*precompile_address); weight.saturating_accrue(T::DbWeight::get().reads(1)); if code != DUMMY_CODE { diff --git a/crates/pallet-dummy-precompiles-code/src/mock/v0.rs b/crates/pallet-dummy-precompiles-code/src/mock/v0.rs index 37246661a..622ca6dcd 100644 --- a/crates/pallet-dummy-precompiles-code/src/mock/v0.rs +++ b/crates/pallet-dummy-precompiles-code/src/mock/v0.rs @@ -140,4 +140,6 @@ impl pallet_evm::Config for Test { type OnChargeTransaction = (); type OnCreate = (); type FindAuthor = (); + type Timestamp = Timestamp; + type WeightInfo = (); } diff --git a/crates/pallet-dummy-precompiles-code/src/mock/v1.rs b/crates/pallet-dummy-precompiles-code/src/mock/v1.rs index 155e0ddc3..ef657e8fe 100644 --- a/crates/pallet-dummy-precompiles-code/src/mock/v1.rs +++ b/crates/pallet-dummy-precompiles-code/src/mock/v1.rs @@ -146,6 +146,8 @@ impl pallet_evm::Config for Test { type OnChargeTransaction = (); type OnCreate = (); type FindAuthor = (); + type Timestamp = Timestamp; + type WeightInfo = (); } frame_support::parameter_types! { diff --git a/crates/pallet-dummy-precompiles-code/src/tests.rs b/crates/pallet-dummy-precompiles-code/src/tests.rs index e5311da3e..e92bc79d1 100644 --- a/crates/pallet-dummy-precompiles-code/src/tests.rs +++ b/crates/pallet-dummy-precompiles-code/src/tests.rs @@ -10,7 +10,7 @@ fn genesis_build() { // Assert the state. for precompile_address in &v1::PrecompilesAddresses::get() { assert_eq!( - v1::Evm::account_codes(precompile_address), + pallet_evm::AccountCodes::::get(precompile_address), DUMMY_CODE.to_vec() ); assert!(v1::EvmSystem::account_exists(precompile_address)); @@ -37,7 +37,7 @@ fn runtime_upgrade() { new_test_ext_with(v0::GenesisConfig::default()).execute_with(move || { // Check test preconditions. for precompile_address in &v1::PrecompilesAddresses::get() { - assert!(v0::Evm::account_codes(precompile_address).is_empty()); + assert!(pallet_evm::AccountCodes::::get(precompile_address).is_empty()); assert!(!v0::EvmSystem::account_exists(precompile_address)); } assert_eq!(v1::DummyPrecompilesCode::last_execution_version(), 0); @@ -52,7 +52,7 @@ fn runtime_upgrade() { // Verify precompiles addresses creation. for precompile_address in &v1::PrecompilesAddresses::get() { assert_eq!( - v1::Evm::account_codes(precompile_address), + pallet_evm::AccountCodes::::get(precompile_address), DUMMY_CODE.to_vec() ); assert!(v1::EvmSystem::account_exists(precompile_address)); diff --git a/crates/pallet-erc20-support/src/lib.rs b/crates/pallet-erc20-support/src/lib.rs index 679ea3f7e..c2ee7b744 100644 --- a/crates/pallet-erc20-support/src/lib.rs +++ b/crates/pallet-erc20-support/src/lib.rs @@ -54,7 +54,6 @@ pub mod pallet { #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); /// Configuration trait of this pallet. diff --git a/crates/pallet-ethereum-chain-id/src/lib.rs b/crates/pallet-ethereum-chain-id/src/lib.rs index d2fa88703..7c678584c 100644 --- a/crates/pallet-ethereum-chain-id/src/lib.rs +++ b/crates/pallet-ethereum-chain-id/src/lib.rs @@ -30,7 +30,6 @@ pub mod pallet { /// The Ethereum Chain Id Pallet #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(_); /// Configuration trait of this pallet. diff --git a/crates/pallet-token-claims/src/lib.rs b/crates/pallet-token-claims/src/lib.rs index 2ba47a593..db93c99af 100644 --- a/crates/pallet-token-claims/src/lib.rs +++ b/crates/pallet-token-claims/src/lib.rs @@ -60,7 +60,6 @@ pub mod pallet { }; #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(_); diff --git a/crates/pallet-vesting/src/lib.rs b/crates/pallet-vesting/src/lib.rs index 6b1ae43f0..28746db49 100644 --- a/crates/pallet-vesting/src/lib.rs +++ b/crates/pallet-vesting/src/lib.rs @@ -42,7 +42,6 @@ pub mod pallet { use crate::{traits::SchedulingDriver, weights::WeightInfo}; #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(_); diff --git a/crates/precompile-currency-swap/src/mock.rs b/crates/precompile-currency-swap/src/mock.rs index b9c5b953c..ce9dba6cc 100644 --- a/crates/precompile-currency-swap/src/mock.rs +++ b/crates/precompile-currency-swap/src/mock.rs @@ -149,6 +149,8 @@ impl pallet_evm::Config for Test { type OnChargeTransaction = (); type OnCreate = (); type FindAuthor = (); + type Timestamp = Timestamp; + type WeightInfo = (); } type CurrencySwapPrecompile = diff --git a/crates/precompile-native-currency/src/mock.rs b/crates/precompile-native-currency/src/mock.rs index cd810140d..8db15318e 100644 --- a/crates/precompile-native-currency/src/mock.rs +++ b/crates/precompile-native-currency/src/mock.rs @@ -182,6 +182,8 @@ impl pallet_evm::Config for Test { type OnChargeTransaction = (); type OnCreate = (); type FindAuthor = (); + type Timestamp = Timestamp; + type WeightInfo = (); } pub fn new_test_ext() -> sp_io::TestExternalities { diff --git a/utils/checks/snapshots/features.yaml b/utils/checks/snapshots/features.yaml index 16b1e82e4..48bd20134 100644 --- a/utils/checks/snapshots/features.yaml +++ b/utils/checks/snapshots/features.yaml @@ -80,9 +80,7 @@ - default - std - name: approx 0.5.1 - features: - - default - - std + features: [] - name: arc-swap 1.6.0 features: [] - name: array-bytes 4.2.0 @@ -236,6 +234,10 @@ features: [] - name: block-padding 0.2.1 features: [] +- name: bounded-collections 0.1.9 + features: + - serde + - std - name: bridge-pot-currency-swap 0.1.0 features: - default @@ -267,6 +269,8 @@ - std - name: byte-tools 0.3.1 features: [] +- name: bytemuck 1.14.0 + features: [] - name: byteorder 1.4.3 features: - default @@ -286,7 +290,7 @@ - serde1 - name: cargo-platform 0.1.2 features: [] -- name: cargo_metadata 0.14.2 +- name: cargo_metadata 0.15.4 features: - default - name: cc 1.0.79 @@ -413,34 +417,35 @@ - std - name: cpufeatures 0.2.6 features: [] -- name: cranelift-bforest 0.88.2 +- name: cranelift-bforest 0.93.2 features: [] -- name: cranelift-codegen 0.88.2 +- name: cranelift-codegen 0.93.2 features: - default - gimli - std + - trace-log - unwind -- name: cranelift-codegen-meta 0.88.2 +- name: cranelift-codegen-meta 0.93.2 features: [] -- name: cranelift-codegen-shared 0.88.2 +- name: cranelift-codegen-shared 0.93.2 features: [] -- name: cranelift-entity 0.88.2 +- name: cranelift-entity 0.93.2 features: - enable-serde - serde -- name: cranelift-frontend 0.88.2 +- name: cranelift-frontend 0.93.2 features: - default - std -- name: cranelift-isle 0.88.2 +- name: cranelift-isle 0.93.2 features: - default -- name: cranelift-native 0.88.2 +- name: cranelift-native 0.93.2 features: - default - std -- name: cranelift-wasm 0.88.2 +- name: cranelift-wasm 0.93.2 features: - default - std @@ -777,8 +782,6 @@ - name: environmental 1.1.4 features: - std -- name: errno 0.2.8 - features: [] - name: errno 0.3.1 features: [] - name: errno-dragonfly 0.1.2 @@ -939,6 +942,11 @@ features: [] - name: form_urlencoded 1.1.0 features: [] +- name: fp-account 1.0.0-dev + features: + - impl-serde + - serde + - std - name: fp-consensus 2.0.0-dev features: - default @@ -1164,6 +1172,7 @@ - raw - name: hashbrown 0.13.2 features: + - ahash - inline-more - raw - name: headers 0.3.8 @@ -1304,8 +1313,6 @@ features: [] - name: interceptor 0.8.2 features: [] -- name: io-lifetimes 0.7.5 - features: [] - name: io-lifetimes 1.0.10 features: - close @@ -1529,9 +1536,9 @@ features: [] - name: linked_hash_set 0.1.4 features: [] -- name: linregress 0.4.4 +- name: linregress 0.5.3 features: [] -- name: linux-raw-sys 0.0.46 +- name: linux-raw-sys 0.1.4 features: - errno - general @@ -1680,18 +1687,14 @@ features: [] - name: multistream-select 0.12.1 features: [] -- name: nalgebra 0.27.1 +- name: nalgebra 0.32.3 features: - default - macros - matrixmultiply - nalgebra-macros - - rand - - rand-no-std - - rand-package - - rand_distr - std -- name: nalgebra-macros 0.1.0 +- name: nalgebra-macros 0.2.1 features: [] - name: names 0.13.0 features: [] @@ -1840,7 +1843,6 @@ features: - default - i128 - - libm - std - name: num_cpus 1.15.0 features: [] @@ -2380,8 +2382,6 @@ - alloc - getrandom - std -- name: rand_distr 0.4.3 - features: [] - name: rand_hc 0.2.0 features: [] - name: rand_pcg 0.3.1 @@ -2411,7 +2411,7 @@ features: [] - name: ref-cast-impl 1.0.16 features: [] -- name: regalloc2 0.3.2 +- name: regalloc2 0.5.1 features: - checker - default @@ -2450,6 +2450,8 @@ - unicode-perl - unicode-script - unicode-segment +- name: region 3.0.0 + features: [] - name: reqwest 0.11.16 features: - __tls @@ -2534,7 +2536,7 @@ features: [] - name: rusticata-macros 4.1.0 features: [] -- name: rustix 0.35.13 +- name: rustix 0.36.17 features: - default - fs @@ -2581,6 +2583,10 @@ features: [] - name: ryu 1.0.13 features: [] +- name: safe_arch 0.7.1 + features: + - bytemuck + - default - name: same-file 1.0.6 features: [] - name: sc-allocator 4.1.0-dev @@ -2690,6 +2696,7 @@ - name: scale-info 2.5.0 features: - decode + - default - derive - scale-info-derive - serde @@ -2867,9 +2874,10 @@ - digest - rand_core - std -- name: simba 0.5.1 +- name: simba 0.8.1 features: - std + - wide - name: similar 2.2.1 features: - bstr @@ -2895,7 +2903,10 @@ - default - std - name: smallvec 1.10.0 - features: [] + features: + - const_generics + - const_new + - union - name: snap 1.1.0 features: [] - name: snow 0.9.0 @@ -3076,7 +3087,6 @@ - name: sp-state-machine 0.13.0 features: - default - - log - parking_lot - rand - sp-panic-handler @@ -3143,6 +3153,7 @@ features: [] - name: sp-wasm-interface 7.0.0 features: + - anyhow - default - log - std @@ -3183,8 +3194,6 @@ - default - name: static_init_macro 1.0.2 features: [] -- name: statrs 0.15.0 - features: [] - name: strsim 0.10.0 features: [] - name: strum 0.24.1 @@ -3252,7 +3261,7 @@ features: [] - name: target-lexicon 0.12.6 features: - - default + - std - name: tempfile 3.5.0 features: [] - name: termcolor 1.2.0 @@ -3457,7 +3466,7 @@ features: [] - name: tracing-test-macro 0.2.4 features: [] -- name: trie-db 0.24.0 +- name: trie-db 0.25.1 features: - rustc-hex - std @@ -3648,47 +3657,49 @@ features: - default - std + - virtual_memory - name: wasmi-validation 0.5.0 features: - std - name: wasmi_core 0.2.1 features: + - region - std -- name: wasmparser 0.89.1 + - virtual_memory +- name: wasmparser 0.100.0 features: [] -- name: wasmtime 1.0.2 +- name: wasmtime 6.0.2 features: - cache - cranelift - jitdump - - memory-init-cow - parallel-compilation - pooling-allocator -- name: wasmtime-asm-macros 1.0.2 +- name: wasmtime-asm-macros 6.0.2 features: [] -- name: wasmtime-cache 1.0.2 +- name: wasmtime-cache 6.0.2 features: [] -- name: wasmtime-cranelift 1.0.2 +- name: wasmtime-cranelift 6.0.2 features: [] -- name: wasmtime-environ 1.0.2 +- name: wasmtime-environ 6.0.2 features: [] -- name: wasmtime-jit 1.0.2 +- name: wasmtime-jit 6.0.2 features: - jitdump - wasmtime-jit-debug -- name: wasmtime-jit-debug 1.0.2 +- name: wasmtime-jit-debug 6.0.2 features: - gdb_jit_int - object - once_cell - perf_jitdump - rustix -- name: wasmtime-runtime 1.0.2 +- name: wasmtime-jit-icache-coherence 6.0.2 + features: [] +- name: wasmtime-runtime 6.0.2 features: - - memfd - - memory-init-cow - pooling-allocator -- name: wasmtime-types 1.0.2 +- name: wasmtime-types 6.0.2 features: [] - name: web-sys 0.3.61 features: @@ -3754,6 +3765,9 @@ - vnet - name: which 4.4.0 features: [] +- name: wide 0.7.13 + features: + - std - name: widestring 0.5.1 features: - alloc @@ -3771,6 +3785,7 @@ - impl-default - knownfolders - libloaderapi + - memoryapi - minwinbase - minwindef - ntdef @@ -3814,28 +3829,10 @@ features: - Globalization - default -- name: windows-sys 0.36.1 - features: - - Win32 - - Win32_Security - - Win32_Storage - - Win32_Storage_FileSystem - - Win32_System - - Win32_System_Diagnostics - - Win32_System_Diagnostics_Debug - - Win32_System_Kernel - - Win32_System_Memory - - Win32_System_SystemInformation - - Win32_System_Threading - - default - name: windows-sys 0.42.0 features: - Win32 - Win32_Foundation - - Win32_NetworkManagement - - Win32_NetworkManagement_IpHelper - - Win32_Networking - - Win32_Networking_WinSock - Win32_Security - Win32_Security_Authentication - Win32_Security_Authentication_Identity @@ -3845,7 +3842,11 @@ - Win32_Storage_FileSystem - Win32_System - Win32_System_Console + - Win32_System_Diagnostics + - Win32_System_Diagnostics_Debug + - Win32_System_Kernel - Win32_System_Memory + - Win32_System_SystemInformation - Win32_System_Threading - Win32_UI - Win32_UI_Input @@ -3855,6 +3856,8 @@ features: - Win32 - Win32_Foundation + - Win32_NetworkManagement + - Win32_NetworkManagement_IpHelper - Win32_Networking - Win32_Networking_WinSock - Win32_Security @@ -3900,32 +3903,24 @@ features: [] - name: windows_aarch64_msvc 0.34.0 features: [] -- name: windows_aarch64_msvc 0.36.1 - features: [] - name: windows_aarch64_msvc 0.42.2 features: [] - name: windows_aarch64_msvc 0.48.0 features: [] - name: windows_i686_gnu 0.34.0 features: [] -- name: windows_i686_gnu 0.36.1 - features: [] - name: windows_i686_gnu 0.42.2 features: [] - name: windows_i686_gnu 0.48.0 features: [] - name: windows_i686_msvc 0.34.0 features: [] -- name: windows_i686_msvc 0.36.1 - features: [] - name: windows_i686_msvc 0.42.2 features: [] - name: windows_i686_msvc 0.48.0 features: [] - name: windows_x86_64_gnu 0.34.0 features: [] -- name: windows_x86_64_gnu 0.36.1 - features: [] - name: windows_x86_64_gnu 0.42.2 features: [] - name: windows_x86_64_gnu 0.48.0 @@ -3936,8 +3931,6 @@ features: [] - name: windows_x86_64_msvc 0.34.0 features: [] -- name: windows_x86_64_msvc 0.36.1 - features: [] - name: windows_x86_64_msvc 0.42.2 features: [] - name: windows_x86_64_msvc 0.48.0 diff --git a/utils/weights/assets/template.hbs b/utils/weights/assets/template.hbs index b30df8021..7f99b341f 100644 --- a/utils/weights/assets/template.hbs +++ b/utils/weights/assets/template.hbs @@ -25,6 +25,7 @@ impl {{pallet}}::WeightInfo for WeightInfo { ) -> Weight { // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. Weight::from_ref_time({{underscore benchmark.base_weight}}) + .saturating_add(Weight::from_proof_size({{benchmark.base_calculated_proof_size}})) {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} .saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into()))