diff --git a/Cargo.lock b/Cargo.lock index 84503f4c..7b1c2967 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 4 +version = 3 [[package]] name = "Inflector" @@ -426,7 +426,7 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "assets-common" version = "0.18.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -525,7 +525,7 @@ checksum = "8d9a9bf8b79a749ee0b911b91b671cc2b6c670bdbc7e3dfd537576ddc94bb2a2" dependencies = [ "http 0.2.12", "log", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -712,7 +712,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.14.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -859,7 +859,7 @@ dependencies = [ [[package]] name = "chain-spec-generator" -version = "0.13.3" +version = "0.14.0" dependencies = [ "clap", "cumulus-primitives-core", @@ -1304,7 +1304,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.17.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -1321,7 +1321,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.17.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -1357,7 +1357,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -1368,7 +1368,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "19.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -1381,7 +1381,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.17.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1396,7 +1396,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.17.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -1421,7 +1421,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.15.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "sp-api", "sp-consensus-aura", @@ -1430,7 +1430,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.16.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -1446,7 +1446,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.16.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1460,7 +1460,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.10.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -1470,7 +1470,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.16.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -1480,7 +1480,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.17.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2041,10 +2041,41 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" +[[package]] +name = "fc-pallet-gas-transaction-payment" +version = "1.0.0" +source = "git+https://github.com/virto-network/frame-contrib#4f34f38ff48dd2a06e2fb594e7d5045085a37a1a" +dependencies = [ + "fc-traits-gas-tank", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", +] + +[[package]] +name = "fc-pallet-pass" +version = "1.0.0" +source = "git+https://github.com/virto-network/frame-contrib#4f34f38ff48dd2a06e2fb594e7d5045085a37a1a" +dependencies = [ + "fc-traits-authn", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "fc-pallet-referenda-tracks" version = "1.0.0" -source = "git+https://github.com/virto-network/frame-contrib?branch=main#f67041afa1047c91e86774288b37183fdf63e72e" +source = "git+https://github.com/virto-network/frame-contrib#4f34f38ff48dd2a06e2fb594e7d5045085a37a1a" dependencies = [ "fc-traits-tracks", "frame-benchmarking", @@ -2060,10 +2091,41 @@ dependencies = [ "sp-std", ] +[[package]] +name = "fc-traits-authn" +version = "0.1.0" +source = "git+https://github.com/virto-network/frame-contrib#4f34f38ff48dd2a06e2fb594e7d5045085a37a1a" +dependencies = [ + "fc-traits-authn-proc", + "frame-support", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "fc-traits-authn-proc" +version = "0.1.0" +source = "git+https://github.com/virto-network/frame-contrib#4f34f38ff48dd2a06e2fb594e7d5045085a37a1a" +dependencies = [ + "quote", + "syn 2.0.79", +] + +[[package]] +name = "fc-traits-gas-tank" +version = "0.1.0" +source = "git+https://github.com/virto-network/frame-contrib#4f34f38ff48dd2a06e2fb594e7d5045085a37a1a" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "sp-runtime", +] + [[package]] name = "fc-traits-memberships" version = "0.1.0" -source = "git+https://github.com/virto-network/frame-contrib?branch=main#f67041afa1047c91e86774288b37183fdf63e72e" +source = "git+https://github.com/virto-network/frame-contrib#4f34f38ff48dd2a06e2fb594e7d5045085a37a1a" dependencies = [ "frame-support", "parity-scale-codec", @@ -2073,7 +2135,7 @@ dependencies = [ [[package]] name = "fc-traits-tracks" version = "0.1.0" -source = "git+https://github.com/virto-network/frame-contrib?branch=main#f67041afa1047c91e86774288b37183fdf63e72e" +source = "git+https://github.com/virto-network/frame-contrib#4f34f38ff48dd2a06e2fb594e7d5045085a37a1a" dependencies = [ "frame-support", "pallet-referenda", @@ -2205,7 +2267,15 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" dependencies = [ - "percent-encoding", + "percent-encoding 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "form_urlencoded" +version = "1.2.1" +source = "git+https://github.com/servo/rust-url#ebd5cfbf6ffa20de67e47b3b4fa1be55081d7ca8" +dependencies = [ + "percent-encoding 2.3.1 (git+https://github.com/servo/rust-url)", ] [[package]] @@ -2217,7 +2287,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support", "frame-support-procedural", @@ -2241,7 +2311,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "14.0.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -2252,7 +2322,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2268,7 +2338,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "aquamarine", "frame-support", @@ -2298,7 +2368,7 @@ dependencies = [ [[package]] name = "frame-support" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "aquamarine", "array-bytes", @@ -2339,7 +2409,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "30.0.3" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "Inflector", "cfg-expr", @@ -2359,7 +2429,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.2.0", @@ -2371,7 +2441,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "proc-macro2", "quote", @@ -2381,7 +2451,7 @@ dependencies = [ [[package]] name = "frame-system" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "cfg-if", "docify", @@ -2401,7 +2471,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -2415,7 +2485,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "parity-scale-codec", @@ -2425,7 +2495,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.44.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support", "parity-scale-codec", @@ -3040,6 +3110,15 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "idna" +version = "0.5.0" +source = "git+https://github.com/servo/rust-url#ebd5cfbf6ffa20de67e47b3b4fa1be55081d7ca8" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + [[package]] name = "if-addrs" version = "0.10.2" @@ -3084,7 +3163,7 @@ dependencies = [ "log", "rand", "tokio", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "xmltree", ] @@ -3318,7 +3397,7 @@ dependencies = [ [[package]] name = "kreivo-runtime" -version = "0.13.3" +version = "0.14.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -3330,7 +3409,11 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-timestamp", "cumulus-primitives-utility", + "fc-pallet-gas-transaction-payment", + "fc-pallet-pass", "fc-pallet-referenda-tracks", + "fc-traits-authn", + "fc-traits-gas-tank", "fc-traits-memberships", "frame-benchmarking", "frame-executive", @@ -3361,6 +3444,7 @@ dependencies = [ "pallet-referenda", "pallet-scheduler", "pallet-session", + "pallet-skip-feeless-payment", "pallet-sudo", "pallet-timestamp", "pallet-transaction-payment", @@ -3372,6 +3456,7 @@ dependencies = [ "pallet-xcm-benchmarks", "parachains-common", "parity-scale-codec", + "pass-webauthn", "polkadot-core-primitives", "polkadot-parachain-primitives", "polkadot-runtime-common", @@ -3418,9 +3503,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.159" +version = "0.2.161" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" +checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1" [[package]] name = "libm" @@ -3845,7 +3930,7 @@ dependencies = [ "rw-stream-sink", "soketto", "thiserror", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "webpki-roots", ] @@ -4013,7 +4098,7 @@ dependencies = [ "trust-dns-resolver", "uint", "unsigned-varint 0.8.0", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "webpki", "x25519-dalek", "x509-parser 0.16.0", @@ -4296,11 +4381,11 @@ dependencies = [ "log", "multibase", "multihash 0.17.0", - "percent-encoding", + "percent-encoding 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde", "static_assertions", "unsigned-varint 0.7.2", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -4315,11 +4400,11 @@ dependencies = [ "libp2p-identity", "multibase", "multihash 0.19.1", - "percent-encoding", + "percent-encoding 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde", "static_assertions", "unsigned-varint 0.8.0", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -4419,9 +4504,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.33.0" +version = "0.33.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c4b5f057b303842cf3262c27e465f4c303572e7f6b0648f60e16248ac3397f4" +checksum = "3bf139e93ad757869338ad85239cb1d6c067b23b94e5846e637ca6328ee4be60" dependencies = [ "approx", "matrixmultiply", @@ -4700,9 +4785,9 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl" -version = "0.10.67" +version = "0.10.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b8cefcf97f41316955f9294cd61f639bdcfa9f2f230faac6cb896aa8ab64704" +checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" dependencies = [ "bitflags 2.6.0", "cfg-if", @@ -4758,10 +4843,22 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" +[[package]] +name = "p256" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" +dependencies = [ + "ecdsa", + "elliptic-curve", + "primeorder", + "sha2 0.10.8", +] + [[package]] name = "pallet-asset-conversion" version = "20.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -4779,7 +4876,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "17.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -4793,7 +4890,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4907,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "40.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -4826,7 +4923,7 @@ dependencies = [ [[package]] name = "pallet-assets-freezer" version = "0.5.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -4841,7 +4938,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support", "frame-system", @@ -4857,7 +4954,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support", "frame-system", @@ -4872,7 +4969,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support", "frame-system", @@ -4885,7 +4982,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -4908,7 +5005,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "39.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "frame-benchmarking", @@ -4923,7 +5020,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.17.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bitvec", "frame-benchmarking", @@ -4941,7 +5038,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "19.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -5014,7 +5111,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bitflags 1.3.2", "environmental", @@ -5047,7 +5144,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "23.0.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "proc-macro2", "quote", @@ -5057,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-contracts-uapi" version = "12.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -5069,7 +5166,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5091,7 +5188,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5104,7 +5201,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "frame-benchmarking", @@ -5122,7 +5219,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5138,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "41.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "environmental", "frame-benchmarking", @@ -5157,7 +5254,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -5174,7 +5271,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -5189,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-nfts" version = "32.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5229,7 +5326,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -5245,7 +5342,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -5259,7 +5356,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -5277,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5296,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "39.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "frame-benchmarking", @@ -5313,7 +5410,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support", "frame-system", @@ -5331,10 +5428,22 @@ dependencies = [ "sp-trie", ] +[[package]] +name = "pallet-skip-feeless-payment" +version = "13.0.0" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", +] + [[package]] name = "pallet-staking" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5356,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "22.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "log", "sp-arithmetic", @@ -5365,7 +5474,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "frame-benchmarking", @@ -5380,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "frame-benchmarking", @@ -5399,7 +5508,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support", "frame-system", @@ -5414,7 +5523,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5426,7 +5535,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "frame-benchmarking", @@ -5444,7 +5553,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -5459,7 +5568,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -5473,7 +5582,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "17.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -5496,7 +5605,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "17.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-benchmarking", "frame-support", @@ -5514,7 +5623,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "18.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -5647,6 +5756,20 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" +[[package]] +name = "pass-webauthn" +version = "0.1.0" +source = "git+https://github.com/virto-network/webauthn#71f186d564f0558bc40ad903e1a9d2fcd432bf44" +dependencies = [ + "fc-traits-authn", + "frame-support", + "parity-scale-codec", + "scale-info", + "simple-base64", + "url 2.5.2 (git+https://github.com/servo/rust-url)", + "verifier", +] + [[package]] name = "password-hash" version = "0.5.0" @@ -5689,6 +5812,11 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +[[package]] +name = "percent-encoding" +version = "2.3.1" +source = "git+https://github.com/servo/rust-url#ebd5cfbf6ffa20de67e47b3b4fa1be55081d7ca8" + [[package]] name = "petgraph" version = "0.6.5" @@ -5760,7 +5888,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "15.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -5771,7 +5899,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "14.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bounded-collections", "derive_more", @@ -5787,7 +5915,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "16.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bitvec", "hex-literal", @@ -5813,7 +5941,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "17.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bitvec", "frame-benchmarking", @@ -5863,7 +5991,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "17.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bs58 0.5.1", "frame-benchmarking", @@ -5875,7 +6003,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "17.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -6117,6 +6245,15 @@ dependencies = [ "syn 2.0.79", ] +[[package]] +name = "primeorder" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" +dependencies = [ + "elliptic-curve", +] + [[package]] name = "primitive-types" version = "0.12.2" @@ -6197,9 +6334,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.87" +version = "1.0.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a" +checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9" dependencies = [ "unicode-ident", ] @@ -6991,7 +7128,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "29.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "log", "sp-core", @@ -7002,7 +7139,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "array-bytes", "docify", @@ -7029,7 +7166,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", @@ -7040,7 +7177,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "fnv", "futures", @@ -7067,7 +7204,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.44.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-trait", "futures", @@ -7091,7 +7228,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.40.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -7114,7 +7251,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.35.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "polkavm", "sc-allocator", @@ -7127,7 +7264,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.32.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "log", "polkavm", @@ -7138,7 +7275,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.35.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "anyhow", "cfg-if", @@ -7156,7 +7293,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.45.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "array-bytes", "async-channel", @@ -7207,7 +7344,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.44.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -7225,7 +7362,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.12.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bs58 0.5.1", "ed25519-dalek", @@ -7242,7 +7379,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "25.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "chrono", "futures", @@ -7262,7 +7399,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-trait", "futures", @@ -7278,7 +7415,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "17.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-channel", "futures", @@ -7518,9 +7655,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.128" +version = "1.0.129" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" +checksum = "6dbcf9b78a125ee667ae19388837dd12294b858d101fdd393cb9d5501ef09eb2" dependencies = [ "itoa", "memchr", @@ -7651,6 +7788,12 @@ dependencies = [ "wide", ] +[[package]] +name = "simple-base64" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6385ef05b7bbfddaa8bf6306d059adac087990d659576c73b7da802d9a6ce91f" + [[package]] name = "simple-dns" version = "0.5.7" @@ -7684,7 +7827,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "15.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "enumn", "parity-scale-codec", @@ -7753,7 +7896,7 @@ dependencies = [ [[package]] name = "sp-api" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "hash-db", @@ -7775,7 +7918,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "20.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "Inflector", "blake2", @@ -7789,7 +7932,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -7801,7 +7944,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "26.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "integer-sqrt", @@ -7815,7 +7958,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -7827,7 +7970,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "sp-api", "sp-inherents", @@ -7837,7 +7980,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "37.0.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "futures", "parity-scale-codec", @@ -7856,7 +7999,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.40.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-trait", "futures", @@ -7871,7 +8014,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.40.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-trait", "parity-scale-codec", @@ -7887,7 +8030,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.40.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-trait", "parity-scale-codec", @@ -7905,7 +8048,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "21.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "finality-grandpa", "log", @@ -7922,7 +8065,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.40.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -7933,7 +8076,7 @@ dependencies = [ [[package]] name = "sp-core" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -7979,7 +8122,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "blake2b_simd", "byteorder", @@ -7992,7 +8135,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "quote", "sp-crypto-hashing", @@ -8002,7 +8145,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -8011,7 +8154,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "proc-macro2", "quote", @@ -8021,7 +8164,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.29.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "environmental", "parity-scale-codec", @@ -8031,7 +8174,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.15.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -8043,7 +8186,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -8056,7 +8199,7 @@ dependencies = [ [[package]] name = "sp-io" version = "38.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bytes", "docify", @@ -8082,7 +8225,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.40.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -8093,7 +8236,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "thiserror", "zstd 0.12.4", @@ -8102,7 +8245,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.7.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -8112,7 +8255,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "34.1.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "log", "parity-scale-codec", @@ -8129,7 +8272,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -8142,7 +8285,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "sp-api", "sp-core", @@ -8152,7 +8295,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "backtrace", "lazy_static", @@ -8162,7 +8305,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "39.0.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "docify", "either", @@ -8188,7 +8331,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "28.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -8207,7 +8350,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "Inflector", "expander", @@ -8220,7 +8363,7 @@ dependencies = [ [[package]] name = "sp-session" version = "36.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "scale-info", @@ -8234,7 +8377,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "36.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8247,7 +8390,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.43.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "hash-db", "log", @@ -8267,7 +8410,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "18.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -8291,12 +8434,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" [[package]] name = "sp-storage" version = "21.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8308,7 +8451,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "async-trait", "parity-scale-codec", @@ -8320,7 +8463,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "17.0.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "tracing", @@ -8331,7 +8474,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "34.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "sp-api", "sp-runtime", @@ -8340,7 +8483,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "ahash", "hash-db", @@ -8363,7 +8506,7 @@ dependencies = [ [[package]] name = "sp-version" version = "37.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8380,7 +8523,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "14.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -8391,7 +8534,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "21.0.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -8403,7 +8546,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "31.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -8460,7 +8603,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" version = "0.17.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8473,7 +8616,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "14.2.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "array-bytes", "bounded-collections", @@ -8492,7 +8635,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "17.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support", "frame-system", @@ -8514,7 +8657,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "17.0.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "environmental", "frame-benchmarking", @@ -8618,7 +8761,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -8630,7 +8773,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "http-body-util", "hyper 1.5.0", @@ -8644,7 +8787,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "24.0.1" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "build-helper", "cargo_metadata", @@ -9092,7 +9235,7 @@ dependencies = [ "tinyvec", "tokio", "tracing", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -9117,7 +9260,7 @@ dependencies = [ "tinyvec", "tokio", "tracing", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -9169,7 +9312,7 @@ dependencies = [ "rustls 0.21.12", "sha1", "thiserror", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "utf-8", ] @@ -9286,9 +9429,19 @@ version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" dependencies = [ - "form_urlencoded", - "idna 0.5.0", - "percent-encoding", + "form_urlencoded 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "idna 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", + "percent-encoding 2.3.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "url" +version = "2.5.2" +source = "git+https://github.com/servo/rust-url#ebd5cfbf6ffa20de67e47b3b4fa1be55081d7ca8" +dependencies = [ + "form_urlencoded 1.2.1 (git+https://github.com/servo/rust-url)", + "idna 0.5.0 (git+https://github.com/servo/rust-url)", + "percent-encoding 2.3.1 (git+https://github.com/servo/rust-url)", ] [[package]] @@ -9315,6 +9468,15 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" +[[package]] +name = "verifier" +version = "0.1.0" +source = "git+https://github.com/virto-network/webauthn#71f186d564f0558bc40ad903e1a9d2fcd432bf44" +dependencies = [ + "p256", + "sha2 0.10.8", +] + [[package]] name = "version_check" version = "0.9.5" @@ -9345,9 +9507,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "w3f-bls" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6114fd2fad99890d3990c1df1a2d9cb3e76670f006e3255fa448cbfd1faea9" +checksum = "6a48c48447120a85b0bdb897ba9426a7aa15b4229498a2e19103e8c9368dd4b2" dependencies = [ "ark-bls12-377", "ark-bls12-381", @@ -9570,7 +9732,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" dependencies = [ "indexmap 1.9.3", - "url", + "url 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -10196,7 +10358,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "10.1.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "Inflector", "proc-macro2", @@ -10207,7 +10369,7 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.4.0" -source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#e807b26ef867f67e95e526b64c78dd2f443db656" +source = "git+https://github.com/virto-network/polkadot-sdk?branch=release-virto-stable2409#d13cf291bef64b5ab713ed864df18ce763a799fc" dependencies = [ "frame-support", "parity-scale-codec", diff --git a/Cargo.toml b/Cargo.toml index ea74d75f..3baa0720 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,9 +50,14 @@ runtime-constants = { default-features = false, path = "runtime/runtime-constant runtime-common = { default-features = false, path = "runtime/common" } # Frame Contrib -fc-traits-memberships = { git = "https://github.com/virto-network/frame-contrib", branch = "main", default-features = false } -fc-traits-tracks = { git = "https://github.com/virto-network/frame-contrib", branch = "main", default-features = false } -pallet-referenda-tracks = { git = "https://github.com/virto-network/frame-contrib", branch = "main", package = "fc-pallet-referenda-tracks", default-features = false } +fc-traits-authn = { git = "https://github.com/virto-network/frame-contrib", default-features = false } +fc-traits-gas-tank = { git = "https://github.com/virto-network/frame-contrib", default-features = false } +fc-traits-memberships = { git = "https://github.com/virto-network/frame-contrib", default-features = false } +fc-traits-tracks = { git = "https://github.com/virto-network/frame-contrib", default-features = false } +pallet-gas-transaction-payment = { git = "https://github.com/virto-network/frame-contrib", package = "fc-pallet-gas-transaction-payment", default-features = false } +pallet-pass = { git = "https://github.com/virto-network/frame-contrib", package = "fc-pallet-pass", default-features = false } +pallet-referenda-tracks = { git = "https://github.com/virto-network/frame-contrib", package = "fc-pallet-referenda-tracks", default-features = false } +pass-webauthn = { git = "https://github.com/virto-network/webauthn", default-features = false } # Substrate std pallet-transaction-payment-rpc = { git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-stable2409" } @@ -113,6 +118,7 @@ pallet-referenda = { default-features = false, git = "https://github.com/virto-n pallet-remark = { default-features = false, git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-stable2409" } pallet-scheduler = { default-features = false, git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-stable2409" } pallet-session = { default-features = false, git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-stable2409" } +pallet-skip-feeless-payment = { default-features = false, git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-stable2409" } pallet-sudo = { default-features = false, git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-stable2409" } pallet-timestamp = { default-features = false, git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-stable2409" } pallet-transaction-payment = { default-features = false, git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-stable2409" } diff --git a/chain-spec-generator/Cargo.toml b/chain-spec-generator/Cargo.toml index 6476b733..4249389c 100644 --- a/chain-spec-generator/Cargo.toml +++ b/chain-spec-generator/Cargo.toml @@ -6,7 +6,7 @@ homepage.workspace = true license.workspace = true name = "chain-spec-generator" repository.workspace = true -version = "0.13.3" +version = "0.14.0" [dependencies] clap = { workspace = true, features = ["derive"] } diff --git a/chain-spec-generator/src/spec/live/kreivo_paseador_chainspec.json b/chain-spec-generator/src/spec/live/kreivo_paseador_chainspec.json index ce33e98a..7635848f 100644 --- a/chain-spec-generator/src/spec/live/kreivo_paseador_chainspec.json +++ b/chain-spec-generator/src/spec/live/kreivo_paseador_chainspec.json @@ -6,8 +6,8 @@ "telemetryEndpoints": null, "protocolId": "kreivo", "properties": { - "ss58Format": 42, - "tokenDecimals": 12, + "ss58Format": 1, + "tokenDecimals": 10, "tokenSymbol": "PAS" }, "relay_chain": "paseo", diff --git a/justfile b/justfile index c9794d86..6e5f6309 100644 --- a/justfile +++ b/justfile @@ -108,7 +108,7 @@ bump mode="minor": #!/usr/bin/env nu let ver = '{{ ver }}' | inc --{{ mode }} open -r runtime/kreivo/Cargo.toml | str replace -m '^version = "(.+)"$' $'version = "($ver)"' | save -f runtime/kreivo/Cargo.toml - open -r node/Cargo.toml | str replace -m '^version = "(.+)"$' $'version = "($ver)"' | save -f node/Cargo.toml + open -r chain-spec-generator/Cargo.toml | str replace -m '^version = "(.+)"$' $'version = "($ver)"' | save -f chain-spec-generator/Cargo.toml # bump spec version const SRC = 'runtime/kreivo/src/lib.rs' let src = open $SRC diff --git a/runtime/kreivo/Cargo.toml b/runtime/kreivo/Cargo.toml index 52c86d3b..6c76bf7c 100644 --- a/runtime/kreivo/Cargo.toml +++ b/runtime/kreivo/Cargo.toml @@ -6,7 +6,7 @@ homepage.workspace = true license.workspace = true name = "kreivo-runtime" repository.workspace = true -version = "0.13.3" +version = "0.14.0" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] @@ -56,6 +56,7 @@ pallet-ranked-collective.workspace = true pallet-referenda.workspace = true pallet-scheduler.workspace = true pallet-session.workspace = true +pallet-skip-feeless-payment.workspace = true pallet-sudo.workspace = true pallet-timestamp.workspace = true pallet-transaction-payment.workspace = true @@ -105,8 +106,13 @@ parachain-info.workspace = true parachains-common.workspace = true # Frame Contrib +fc-traits-authn.workspace = true +fc-traits-gas-tank.workspace = true fc-traits-memberships.workspace = true +pallet-gas-transaction-payment.workspace = true +pallet-pass.workspace = true pallet-referenda-tracks.workspace = true +pass-webauthn = { workspace = true, features = ["runtime"] } [features] default = ["std"] @@ -129,6 +135,8 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-try-runtime/std", "frame-system/std", + "fc-traits-authn/std", + "fc-traits-gas-tank/std", "fc-traits-memberships/std", "log/std", "runtime-constants/std", @@ -142,9 +150,11 @@ std = [ "pallet-communities-manager/std", "pallet-communities/std", "pallet-collator-selection/std", + "pallet-gas-transaction-payment/std", "pallet-message-queue/std", "pallet-multisig/std", "pallet-nfts/std", + "pallet-pass/std", "pallet-payments/std", "pallet-preimage/std", "pallet-proxy/std", @@ -153,6 +163,7 @@ std = [ "pallet-referenda-tracks/std", "pallet-scheduler/std", "pallet-session/std", + "pallet-skip-feeless-payment/std", "pallet-sudo/std", "pallet-timestamp/std", "pallet-transaction-payment-rpc-runtime-api/std", @@ -164,6 +175,7 @@ std = [ "parachain-info/std", "parachains-common/std", "parity-scale-codec/std", + "pass-webauthn/std", "polkadot-core-primitives/std", "polkadot-parachain-primitives/std", "polkadot-runtime-common/std", @@ -209,22 +221,26 @@ runtime-benchmarks = [ "pallet-communities-manager/runtime-benchmarks", "pallet-communities/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks", + "pallet-gas-transaction-payment/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-nfts/runtime-benchmarks", "pallet-payments/runtime-benchmarks", + "pallet-pass/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-ranked-collective/runtime-benchmarks", "pallet-referenda/runtime-benchmarks", "pallet-referenda-tracks/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", + "pallet-skip-feeless-payment/runtime-benchmarks", "pallet-sudo/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", "pallet-utility/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "pass-webauthn/runtime-benchmarks", "parachains-common/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", @@ -254,9 +270,11 @@ try-runtime = [ "pallet-communities-manager/try-runtime", "pallet-communities/try-runtime", "pallet-collator-selection/try-runtime", + "pallet-gas-transaction-payment/try-runtime", "pallet-message-queue/try-runtime", "pallet-nfts/try-runtime", "pallet-multisig/try-runtime", + "pallet-pass/try-runtime", "pallet-payments/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", @@ -265,12 +283,14 @@ try-runtime = [ "pallet-referenda-tracks/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", + "pallet-skip-feeless-payment/try-runtime", "pallet-sudo/try-runtime", "pallet-timestamp/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", "pallet-utility/try-runtime", "pallet-xcm/try-runtime", + "pass-webauthn/try-runtime", "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", "runtime-common/try-runtime", diff --git a/runtime/kreivo/src/configuration/mod.rs b/runtime/kreivo/src/configuration/mod.rs new file mode 100644 index 00000000..dfd80d34 --- /dev/null +++ b/runtime/kreivo/src/configuration/mod.rs @@ -0,0 +1,12 @@ +//! Configure FRAME pallets to include in runtime. + +use super::*; + +pub mod monetary_stuff; +pub mod system_support; + +pub use monetary_stuff::{ + ExistentialDeposit, KreivoAssetsCall, KreivoAssetsInstance, MetadataDepositBase, MetadataDepositPerByte, + TransactionByteFee, +}; +pub use system_support::RuntimeBlockWeights; diff --git a/runtime/kreivo/src/configuration/monetary_stuff.rs b/runtime/kreivo/src/configuration/monetary_stuff.rs new file mode 100644 index 00000000..dc763a21 --- /dev/null +++ b/runtime/kreivo/src/configuration/monetary_stuff.rs @@ -0,0 +1,142 @@ +use super::*; + +use fc_traits_gas_tank::NonFungibleGasBurner; + +use pallet_asset_tx_payment::FungiblesAdapter; +use pallet_assets::BalanceToAssetBalance; +use pallet_transaction_payment::FungibleAdapter; +use runtime_common::impls::AssetsToBlockAuthor; + +// #[runtime::pallet_index(10)] +// pub type Balances +parameter_types! { + pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; +} + +impl pallet_balances::Config for Runtime { + type MaxLocks = ConstU32<50>; + /// The type for recording an account's balance. + type Balance = Balance; + /// The ubiquitous event type. + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = pallet_balances::weights::SubstrateWeight; + type MaxReserves = ConstU32<50>; + type ReserveIdentifier = [u8; 8]; + type RuntimeHoldReason = RuntimeHoldReason; + type FreezeIdentifier = RuntimeFreezeReason; + type MaxFreezes = ConstU32<256>; + type RuntimeFreezeReason = RuntimeFreezeReason; +} + +// #[runtime::pallet_index(11)] +// pub type TransactionPayment +parameter_types! { + /// Relay Chain `TransactionByteFee` / 10 + pub const TransactionByteFee: Balance = 10 * MILLICENTS; +} + +impl pallet_transaction_payment::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type OnChargeTransaction = FungibleAdapter>; + type WeightToFee = WeightToFee; + type LengthToFee = ConstantMultiplier; + type FeeMultiplierUpdate = SlowAdjustingFeeUpdate; + type OperationalFeeMultiplier = ConstU8<5>; +} + +// #[runtime::pallet_index(12)] +// pub type AssetsFreezer +impl pallet_assets_freezer::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type RuntimeFreezeReason = RuntimeFreezeReason; +} + +// #[runtime::pallet_index(13)] +// pub type Assets +parameter_types! { + pub const AssetDeposit: Balance = UNITS / 10; // 1 / 10 UNITS deposit to create asset + pub const AssetAccountDeposit: Balance = deposit(1, 16); + pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; + pub const AssetsStringLimit: u32 = 50; + /// Key = 32 bytes, Value = 36 bytes (32+1+1+1+1) + // https://github.com/paritytech/substrate/blob/069917b/frame/assets/src/lib.rs#L257L271 + pub const MetadataDepositBase: Balance = deposit(1, 68); + pub const MetadataDepositPerByte: Balance = deposit(0, 1); +} + +/// We allow root to execute privileged asset operations. +pub type AssetsForceOrigin = EnsureRoot; +pub type KreivoAssetsInstance = pallet_assets::Instance1; +pub type KreivoAssetsCall = pallet_assets::Call; + +impl pallet_assets::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Balance = Balance; + type AssetId = FungibleAssetLocation; + type AssetIdParameter = FungibleAssetLocation; + type Currency = Balances; + /// Only root can create assets and force state changes. + type CreateOrigin = AsEnsureOriginWithArg>; + type ForceOrigin = AssetsForceOrigin; + type AssetDeposit = AssetDeposit; + type MetadataDepositBase = MetadataDepositBase; + type MetadataDepositPerByte = MetadataDepositPerByte; + type ApprovalDeposit = ApprovalDeposit; + type StringLimit = AssetsStringLimit; + type Freezer = AssetsFreezer; + type Extra = (); + type WeightInfo = weights::pallet_assets::WeightInfo; + type CallbackHandle = (); + type AssetAccountDeposit = AssetAccountDeposit; + type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; + type MaxHolds = frame_support::traits::ConstU32<50>; + type RuntimeHoldReason = RuntimeHoldReason; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); +} + +// #[runtime::pallet_index(14)] +// pub type AssetsTxPayment +impl pallet_asset_tx_payment::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Fungibles = Assets; + type OnChargeAssetTransaction = FungiblesAdapter< + BalanceToAssetBalance, + AssetsToBlockAuthor, + >; +} + +// #[runtime::pallet_index(15)] +// pub type Vesting +parameter_types! { + pub const MinVestedTransfer: Balance = 100 * CENTS; + pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = + WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); +} + +impl pallet_vesting::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type BlockNumberToBalance = ConvertInto; + type MinVestedTransfer = MinVestedTransfer; + type WeightInfo = pallet_vesting::weights::SubstrateWeight; + type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; + type BlockNumberProvider = System; + const MAX_VESTING_SCHEDULES: u32 = 28; +} + +// #[runtime::pallet_index(16)] +// pub type SkipFeeless +impl pallet_skip_feeless_payment::Config for Runtime { + type RuntimeEvent = RuntimeEvent; +} + +// #[runtime::pallet_index(17)] +// pub type GasTxPayment +impl pallet_gas_transaction_payment::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type GasBurner = NonFungibleGasBurner; +} diff --git a/runtime/kreivo/src/configuration/system_support.rs b/runtime/kreivo/src/configuration/system_support.rs new file mode 100644 index 00000000..5c368ade --- /dev/null +++ b/runtime/kreivo/src/configuration/system_support.rs @@ -0,0 +1,243 @@ +//! System support stuff. + +use fc_traits_authn::{composite_authenticator, util::AuthorityFromPalletId, Challenge, Challenger}; +use frame_support::{traits::EnsureOrigin, PalletId}; +use frame_system::EnsureRootWithSuccess; +use pallet_communities::origin::AsSignedByCommunity; +use polkadot_core_primitives::HashT; + +use super::*; + +// #[runtime::pallet_index(0)] +// pub type System +parameter_types! { + pub const Version: RuntimeVersion = VERSION; + + // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. + // The `RuntimeBlockLength` and `RuntimeBlockWeights` exist here because the + // `DeletionWeightLimit` and `DeletionQueueDepth` depend on those to parameterize + // the lazy contract deletion. + pub RuntimeBlockLength: BlockLength = + BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO); + pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder() + .base_block(BlockExecutionWeight::get()) + .for_class(DispatchClass::all(), |weights| { + weights.base_extrinsic = ExtrinsicBaseWeight::get(); + }) + .for_class(DispatchClass::Normal, |weights| { + weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT); + }) + .for_class(DispatchClass::Operational, |weights| { + weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT); + // Operational transactions have some extra reserved space, so that they + // are included even if block reached `MAXIMUM_BLOCK_WEIGHT`. + weights.reserved = Some( + MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT + ); + }) + .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO) + .build_or_panic(); + pub const SS58Prefix: u16 = 2; +} + +pub struct CommunityLookup; +impl StaticLookup for CommunityLookup { + type Source = Address; + type Target = AccountId; + fn lookup(s: Self::Source) -> Result { + match s { + MultiAddress::Id(i) => Ok(i), + MultiAddress::Index(i) => Ok(Communities::community_account(&i)), + _ => Err(LookupError), + } + } + fn unlookup(t: Self::Target) -> Self::Source { + MultiAddress::Id(t) + } +} + +#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)] +impl frame_system::Config for Runtime { + /// The identifier used to distinguish between accounts. + type AccountId = AccountId; + type Lookup = CommunityLookup; + /// The type for hashing blocks and tries. + type Hash = Hash; + type Block = Block; + type Nonce = Nonce; + /// Maximum number of block number to block hash mappings to keep (oldest + /// pruned first). + type BlockHashCount = BlockHashCount; + /// Runtime version. + type Version = Version; + /// The data to be stored in an account. + type AccountData = pallet_balances::AccountData; + /// The weight of database operations that the runtime can invoke. + type DbWeight = RocksDbWeight; + /// Block & extrinsics weights: base values and limits. + type BlockWeights = RuntimeBlockWeights; + /// The maximum length of a block (in bytes). + type BlockLength = RuntimeBlockLength; + /// This is used as an identifier of the chain. 42 is the generic substrate + /// prefix. + type SS58Prefix = SS58Prefix; + /// The action to take on a Runtime Upgrade + type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; + type MaxConsumers = frame_support::traits::ConstU32<16>; +} + +// #[runtime::pallet_index(1)] +// pub type ParachainSystem +parameter_types! { + pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); + pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; +} + +impl cumulus_pallet_parachain_system::Config for Runtime { + type WeightInfo = (); + type RuntimeEvent = RuntimeEvent; + type OnSystemEvent = (); + type SelfParaId = parachain_info::Pallet; + type OutboundXcmpMessageSource = XcmpQueue; + type DmpQueue = frame_support::traits::EnqueueWithOrigin; + type ReservedDmpWeight = ReservedDmpWeight; + type XcmpMessageHandler = XcmpQueue; + type ReservedXcmpWeight = ReservedXcmpWeight; + type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; + type ConsensusHook = ConsensusHook; +} + +// #[runtime::pallet_index(2)] +// pub type Timestamp +impl pallet_timestamp::Config for Runtime { + /// A timestamp: milliseconds since the unix epoch. + type Moment = u64; + type OnTimestampSet = Aura; + type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>; + type WeightInfo = (); +} + +// #[runtime::pallet_index(3)] +// pub type ParachainInfo +impl parachain_info::Config for Runtime {} + +// #[runtime::pallet_index(4)] +// pub type Origins +impl pallet_custom_origins::Config for Runtime {} + +// #[runtime::pallet_index(6)] +// pub type Pass +parameter_types! { + pub PassPalletId: PalletId = PalletId(*b"kreivo_p"); + pub NeverPays: Option> = None; +} + +pub struct UnincludedBlockChallenger; + +impl Challenger for UnincludedBlockChallenger { + type Context = BlockNumber; + + fn check_challenge(cx: &Self::Context, challenge: &[u8]) -> Option<()> { + (*cx >= System::block_number().saturating_sub(3)).then_some(())?; + Self::generate(cx).eq(challenge).then_some(()) + } + + fn generate(cx: &Self::Context) -> Challenge { + BlakeTwo256::hash(&cx.to_le_bytes()).0 + } +} + +pub type WebAuthn = pass_webauthn::Authenticator>; +pub type Dummy = fc_traits_authn::util::dummy::Dummy>; + +#[cfg(not(feature = "runtime-benchmarks"))] +composite_authenticator!( + pub Pass> { + WebAuthn, + } +); + +#[cfg(feature = "runtime-benchmarks")] +composite_authenticator!( + pub Pass> { + WebAuthn, + Dummy, + } +); + +/// Communities don't need to pay deposit fees to create a `pass` account +pub struct CommunitiesDontDeposit; + +impl EnsureOriginWithArg for CommunitiesDontDeposit +where + OuterOrigin: frame_support::traits::OriginTrait + + From> + + From> + + Clone + + Into, OuterOrigin>> + + Into, OuterOrigin>>, +{ + type Success = Option>; + + fn try_origin(o: OuterOrigin, _: &HashedUserId) -> Result { + AsSignedByCommunity::::try_origin(o)?; + Ok(None) + } + + #[cfg(feature = "runtime-benchmarks")] + fn try_successful_origin(_: &HashedUserId) -> Result { + use pallet_communities::BenchmarkHelper; + let community_id = crate::communities::CommunityBenchmarkHelper::community_id(); + Ok( + frame_system::RawOrigin::Signed(pallet_communities::Pallet::::community_account(&community_id)) + .into(), + ) + } +} + +impl pallet_pass::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type RuntimeCall = RuntimeCall; + type Currency = Balances; + type WeightInfo = pallet_pass::SubstrateWeight; + type Authenticator = PassAuthenticator; // WebAuthn; + type PalletsOrigin = OriginCaller; + type PalletId = PassPalletId; + type MaxSessionDuration = ConstU32<{ 15 * MINUTES }>; + type RegisterOrigin = EitherOf< + // Root never pays + EnsureRootWithSuccess, + EitherOf< + // // Communities never pay + CommunitiesDontDeposit, + // Signed users must deposit ED for creating a pass account + pallet_pass::EnsureSignedPays< + Runtime, + ::ExistentialDeposit, + TreasuryAccount, + >, + >, + >; + + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = PassBenchmarkHelper; +} + +#[cfg(feature = "runtime-benchmarks")] +pub struct PassBenchmarkHelper; + +#[cfg(feature = "runtime-benchmarks")] +impl pallet_pass::BenchmarkHelper for PassBenchmarkHelper { + fn register_origin() -> frame_system::pallet_prelude::OriginFor { + RuntimeOrigin::root() + } + + fn device_attestation(_: fc_traits_authn::DeviceId) -> pallet_pass::DeviceAttestationOf { + PassDeviceAttestation::Dummy(fc_traits_authn::util::dummy::DummyAttestation::new(true)) + } + + fn credential(_: HashedUserId) -> pallet_pass::CredentialOf { + PassCredential::Dummy(fc_traits_authn::util::dummy::DummyCredential::new(true)) + } +} diff --git a/runtime/kreivo/src/lib.rs b/runtime/kreivo/src/lib.rs index d9f4277f..d47aad8c 100644 --- a/runtime/kreivo/src/lib.rs +++ b/runtime/kreivo/src/lib.rs @@ -11,6 +11,7 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); mod tests; pub mod apis; +pub mod configuration; pub mod constants; pub mod contracts; pub mod governance; @@ -18,6 +19,8 @@ pub mod impls; mod weights; pub mod xcm_config; +pub use configuration::*; + use apis::*; use cumulus_pallet_parachain_system::RelayNumberMonotonicallyIncreases; use cumulus_primitives_core::{AggregateMessageOrigin, ParaId}; @@ -86,6 +89,11 @@ pub mod payments; pub mod communities; +use pallet_asset_tx_payment::ChargeAssetTxPayment; +use pallet_gas_transaction_payment::ChargeTransactionPayment as ChargeGasTxPayment; +use pallet_pass::ChargeTransactionToPassAccount as ChargeTxToPassAccount; +use pallet_skip_feeless_payment::SkipCheckIfFeeless; + // XCM Imports use xcm::latest::prelude::BodyId; @@ -99,7 +107,6 @@ pub use parachains_common::{ opaque, AccountId, AssetIdForTrustBackedAssets, AuraId, Balance, BlockNumber, Hash, Header, Nonce, Signature, AVERAGE_ON_INITIALIZE_RATIO, DAYS, HOURS, MAXIMUM_BLOCK_WEIGHT, MINUTES, NORMAL_DISPATCH_RATIO, SLOT_DURATION, }; -pub use runtime_common::impls::AssetsToBlockAuthor; /// The address format for describing accounts. pub type Address = MultiAddress; @@ -113,6 +120,8 @@ pub type SignedBlock = generic::SignedBlock; /// BlockId type as expected by this runtime. pub type BlockId = generic::BlockId; +pub type ChargeTransaction = ChargeGasTxPayment>; + /// The SignedExtension to the basic transaction logic. pub type SignedExtra = ( frame_system::CheckNonZeroSender, @@ -122,7 +131,7 @@ pub type SignedExtra = ( frame_system::CheckEra, frame_system::CheckNonce, frame_system::CheckWeight, - pallet_asset_tx_payment::ChargeAssetTxPayment, + SkipCheckIfFeeless>, ); /// Unchecked extrinsic type as expected by this runtime. @@ -148,10 +157,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kreivo-parachain"), impl_name: create_runtime_str!("kreivo-parachain"), authoring_version: 1, - spec_version: 111, + spec_version: 112, impl_version: 0, apis: RUNTIME_API_VERSIONS, - transaction_version: 8, + transaction_version: 9, state_version: 1, }; @@ -192,11 +201,8 @@ mod runtime { pub type ParachainInfo = parachain_info; #[runtime::pallet_index(4)] pub type Origins = pallet_custom_origins; - #[cfg(feature = "paseo")] - mod paseo { - #[runtime::pallet_index(5)] - pub type Sudo = pallet_sudo; - } + #[runtime::pallet_index(6)] + pub type Pass = pallet_pass; // Monetary stuff. #[runtime::pallet_index(10)] @@ -211,6 +217,10 @@ mod runtime { pub type AssetsTxPayment = pallet_asset_tx_payment; #[runtime::pallet_index(15)] pub type Vesting = pallet_vesting; + #[runtime::pallet_index(16)] + pub type SkipFeeless = pallet_skip_feeless_payment; + #[runtime::pallet_index(17)] + pub type GasTxPayment = pallet_gas_transaction_payment; // Collator support. The order of these 4 are important and shall not change. #[runtime::pallet_index(20)] @@ -275,146 +285,11 @@ mod runtime { pub type Contracts = pallet_contracts; } -parameter_types! { - pub const Version: RuntimeVersion = VERSION; - - // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`. - // The `RuntimeBlockLength` and `RuntimeBlockWeights` exist here because the - // `DeletionWeightLimit` and `DeletionQueueDepth` depend on those to parameterize - // the lazy contract deletion. - pub RuntimeBlockLength: BlockLength = - BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO); - pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder() - .base_block(BlockExecutionWeight::get()) - .for_class(DispatchClass::all(), |weights| { - weights.base_extrinsic = ExtrinsicBaseWeight::get(); - }) - .for_class(DispatchClass::Normal, |weights| { - weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT); - }) - .for_class(DispatchClass::Operational, |weights| { - weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT); - // Operational transactions have some extra reserved space, so that they - // are included even if block reached `MAXIMUM_BLOCK_WEIGHT`. - weights.reserved = Some( - MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT - ); - }) - .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO) - .build_or_panic(); - pub const SS58Prefix: u16 = 2; -} - -#[cfg(feature = "paseo")] -mod paseo { - use super::{Runtime, RuntimeCall, RuntimeEvent}; - - impl pallet_sudo::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type RuntimeCall = RuntimeCall; - type WeightInfo = pallet_sudo::weights::SubstrateWeight; - } -} - -impl pallet_custom_origins::Config for Runtime {} - -pub struct CommunityLookup; -impl StaticLookup for CommunityLookup { - type Source = Address; - type Target = AccountId; - fn lookup(s: Self::Source) -> Result { - match s { - MultiAddress::Id(i) => Ok(i), - MultiAddress::Index(i) => Ok(Communities::community_account(&i)), - _ => Err(LookupError), - } - } - fn unlookup(t: Self::Target) -> Self::Source { - MultiAddress::Id(t) - } -} - -// Configure FRAME pallets to include in runtime. -#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)] -impl frame_system::Config for Runtime { - /// The identifier used to distinguish between accounts. - type AccountId = AccountId; - type Lookup = CommunityLookup; - /// The type for hashing blocks and tries. - type Hash = Hash; - type Block = Block; - type Nonce = Nonce; - /// Maximum number of block number to block hash mappings to keep (oldest - /// pruned first). - type BlockHashCount = BlockHashCount; - /// Runtime version. - type Version = Version; - /// The data to be stored in an account. - type AccountData = pallet_balances::AccountData; - /// The weight of database operations that the runtime can invoke. - type DbWeight = RocksDbWeight; - /// Block & extrinsics weights: base values and limits. - type BlockWeights = RuntimeBlockWeights; - /// The maximum length of a block (in bytes). - type BlockLength = RuntimeBlockLength; - /// This is used as an identifier of the chain. 42 is the generic substrate - /// prefix. - type SS58Prefix = SS58Prefix; - /// The action to take on a Runtime Upgrade - type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; - type MaxConsumers = frame_support::traits::ConstU32<16>; -} - -impl pallet_timestamp::Config for Runtime { - /// A timestamp: milliseconds since the unix epoch. - type Moment = u64; - type OnTimestampSet = Aura; - type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>; - type WeightInfo = (); -} - impl pallet_authorship::Config for Runtime { type FindAuthor = pallet_session::FindAccountFromAuthorIndex; type EventHandler = (CollatorSelection,); } -parameter_types! { - pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; -} - -impl pallet_balances::Config for Runtime { - type MaxLocks = ConstU32<50>; - /// The type for recording an account's balance. - type Balance = Balance; - /// The ubiquitous event type. - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = pallet_balances::weights::SubstrateWeight; - type MaxReserves = ConstU32<50>; - type ReserveIdentifier = [u8; 8]; - type RuntimeHoldReason = RuntimeHoldReason; - type FreezeIdentifier = RuntimeFreezeReason; - type MaxFreezes = ConstU32<256>; - type RuntimeFreezeReason = RuntimeFreezeReason; -} - -parameter_types! { - /// Relay Chain `TransactionByteFee` / 10 - pub const TransactionByteFee: Balance = 10 * MILLICENTS; -} - -impl pallet_transaction_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type OnChargeTransaction = - pallet_transaction_payment::FungibleAdapter>; - type WeightToFee = WeightToFee; - type LengthToFee = ConstantMultiplier; - type FeeMultiplierUpdate = SlowAdjustingFeeUpdate; - type OperationalFeeMultiplier = ConstU8<5>; -} - parameter_types! { pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block; } @@ -442,8 +317,6 @@ impl pallet_message_queue::Config for Runtime { type IdleMaxServiceWeight = (); } -impl parachain_info::Config for Runtime {} - impl cumulus_pallet_aura_ext::Config for Runtime {} /// How many parachain blocks are processed by the relay chain per parent. @@ -455,26 +328,6 @@ const UNINCLUDED_SEGMENT_CAPACITY: u32 = 1; /// Relay chain slot duration, in milliseconds. const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6_000; -parameter_types! { - pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); - pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4); - pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; -} - -impl cumulus_pallet_parachain_system::Config for Runtime { - type WeightInfo = (); - type RuntimeEvent = RuntimeEvent; - type OnSystemEvent = (); - type SelfParaId = parachain_info::Pallet; - type OutboundXcmpMessageSource = XcmpQueue; - type DmpQueue = frame_support::traits::EnqueueWithOrigin; - type ReservedDmpWeight = ReservedDmpWeight; - type XcmpMessageHandler = XcmpQueue; - type ReservedXcmpWeight = ReservedXcmpWeight; - type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; - type ConsensusHook = ConsensusHook; -} - /// Aura consensus hook type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook< Runtime, @@ -631,54 +484,6 @@ impl pallet_utility::Config for Runtime { type WeightInfo = pallet_utility::weights::SubstrateWeight; } -parameter_types! { - pub const AssetDeposit: Balance = UNITS / 10; // 1 / 10 UNITS deposit to create asset - pub const AssetAccountDeposit: Balance = deposit(1, 16); - pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT; - pub const AssetsStringLimit: u32 = 50; - /// Key = 32 bytes, Value = 36 bytes (32+1+1+1+1) - // https://github.com/paritytech/substrate/blob/069917b/frame/assets/src/lib.rs#L257L271 - pub const MetadataDepositBase: Balance = deposit(1, 68); - pub const MetadataDepositPerByte: Balance = deposit(0, 1); -} - -/// We allow root to execute privileged asset operations. - -pub type AssetsForceOrigin = EnsureRoot; -pub type KreivoAssetsInstance = pallet_assets::Instance1; -type KreivoAssetsCall = pallet_assets::Call; - -impl pallet_assets::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type AssetId = FungibleAssetLocation; - type AssetIdParameter = FungibleAssetLocation; - type Currency = Balances; - /// Only root can create assets and force state changes. - type CreateOrigin = AsEnsureOriginWithArg>; - type ForceOrigin = AssetsForceOrigin; - type AssetDeposit = AssetDeposit; - type MetadataDepositBase = MetadataDepositBase; - type MetadataDepositPerByte = MetadataDepositPerByte; - type ApprovalDeposit = ApprovalDeposit; - type StringLimit = AssetsStringLimit; - type Freezer = AssetsFreezer; - type Extra = (); - type WeightInfo = weights::pallet_assets::WeightInfo; - type CallbackHandle = (); - type AssetAccountDeposit = AssetAccountDeposit; - type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; - type MaxHolds = frame_support::traits::ConstU32<50>; - type RuntimeHoldReason = RuntimeHoldReason; - #[cfg(feature = "runtime-benchmarks")] - type BenchmarkHelper = (); -} - -impl pallet_assets_freezer::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type RuntimeFreezeReason = RuntimeFreezeReason; -} - parameter_types! { // One storage item; key size 32, value size 8; . pub const ProxyDepositBase: Balance = deposit(1, 40); @@ -784,32 +589,6 @@ pub type PriceForParentDelivery = polkadot_runtime_common::xcm_sender::Exponenti ParachainSystem, >; -impl pallet_asset_tx_payment::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Fungibles = Assets; - type OnChargeAssetTransaction = pallet_asset_tx_payment::FungiblesAdapter< - pallet_assets::BalanceToAssetBalance, - AssetsToBlockAuthor, - >; -} - -parameter_types! { - pub const MinVestedTransfer: Balance = 100 * CENTS; - pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = - WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); -} - -impl pallet_vesting::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Currency = Balances; - type BlockNumberToBalance = ConvertInto; - type MinVestedTransfer = MinVestedTransfer; - type WeightInfo = pallet_vesting::weights::SubstrateWeight; - type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; - type BlockNumberProvider = System; - const MAX_VESTING_SCHEDULES: u32 = 28; -} - #[cfg(feature = "runtime-benchmarks")] mod benches { frame_benchmarking::define_benchmarks!(