diff --git a/Cargo.lock b/Cargo.lock index 8ca06d0..348e05b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -639,7 +639,7 @@ checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -776,7 +776,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -1216,7 +1216,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -1641,7 +1641,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -1668,7 +1668,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -1685,7 +1685,7 @@ checksum = "5c6888cd161769d65134846d4d4981d5a6654307cc46ec83fb917e530aea5f84" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -1868,7 +1868,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -1908,7 +1908,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.41", + "syn 2.0.48", "termcolor", "toml 0.8.2", "walkdir", @@ -2130,7 +2130,7 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -2476,7 +2476,7 @@ dependencies = [ "proc-macro2", "quote", "sp-core-hashing", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -2485,10 +2485,10 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -2498,7 +2498,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-v1.5.0 dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -2649,7 +2649,7 @@ checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -4251,7 +4251,7 @@ dependencies = [ [[package]] name = "logion-shared" version = "0.1.1" -source = "git+https://github.com/logion-network/logion-pallets?branch=polkadot-v1.5.0#bab6aa72aa1b77ef4e549dc8fca9375c60c0f07e" +source = "git+https://github.com/logion-network/logion-pallets?tag=v0.1.0#26cbca24b12fb1247b2facf448d644e4f4b375e8" dependencies = [ "frame-support", "frame-system", @@ -4317,7 +4317,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -4331,7 +4331,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -4342,7 +4342,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -4353,7 +4353,7 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -4948,7 +4948,7 @@ dependencies = [ [[package]] name = "pallet-block-reward" version = "0.1.0" -source = "git+https://github.com/logion-network/logion-pallets?branch=polkadot-v1.5.0#bab6aa72aa1b77ef4e549dc8fca9375c60c0f07e" +source = "git+https://github.com/logion-network/logion-pallets?tag=v0.1.0#26cbca24b12fb1247b2facf448d644e4f4b375e8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4988,7 +4988,7 @@ dependencies = [ [[package]] name = "pallet-lo-authority-list" version = "0.1.1" -source = "git+https://github.com/logion-network/logion-pallets?branch=polkadot-v1.5.0#bab6aa72aa1b77ef4e549dc8fca9375c60c0f07e" +source = "git+https://github.com/logion-network/logion-pallets?tag=v0.1.0#26cbca24b12fb1247b2facf448d644e4f4b375e8" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -5008,7 +5008,7 @@ dependencies = [ [[package]] name = "pallet-logion-loc" version = "0.4.0" -source = "git+https://github.com/logion-network/logion-pallets?branch=polkadot-v1.5.0#bab6aa72aa1b77ef4e549dc8fca9375c60c0f07e" +source = "git+https://github.com/logion-network/logion-pallets?tag=v0.1.0#26cbca24b12fb1247b2facf448d644e4f4b375e8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5027,7 +5027,7 @@ dependencies = [ [[package]] name = "pallet-logion-vault" version = "0.1.1" -source = "git+https://github.com/logion-network/logion-pallets?branch=polkadot-v1.5.0#bab6aa72aa1b77ef4e549dc8fca9375c60c0f07e" +source = "git+https://github.com/logion-network/logion-pallets?tag=v0.1.0#26cbca24b12fb1247b2facf448d644e4f4b375e8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5044,7 +5044,7 @@ dependencies = [ [[package]] name = "pallet-logion-vote" version = "0.1.0" -source = "git+https://github.com/logion-network/logion-pallets?branch=polkadot-v1.5.0#bab6aa72aa1b77ef4e549dc8fca9375c60c0f07e" +source = "git+https://github.com/logion-network/logion-pallets?tag=v0.1.0#26cbca24b12fb1247b2facf448d644e4f4b375e8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5227,7 +5227,7 @@ dependencies = [ [[package]] name = "pallet-verified-recovery" version = "0.1.1" -source = "git+https://github.com/logion-network/logion-pallets?branch=polkadot-v1.5.0#bab6aa72aa1b77ef4e549dc8fca9375c60c0f07e" +source = "git+https://github.com/logion-network/logion-pallets?tag=v0.1.0#26cbca24b12fb1247b2facf448d644e4f4b375e8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5279,7 +5279,7 @@ version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 1.0.109", @@ -5424,7 +5424,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -5465,7 +5465,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -5610,7 +5610,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -5638,14 +5638,22 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "2.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" dependencies = [ - "toml_datetime", "toml_edit 0.20.2", ] +[[package]] +name = "proc-macro-crate" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b2685dd208a3771337d8d386a89840f0f43cd68be8dae90a5f8c2384effc9cd" +dependencies = [ + "toml_edit 0.21.0", +] + [[package]] name = "proc-macro-error" version = "1.0.4" @@ -5678,14 +5686,14 @@ checksum = "9b698b0b09d40e9b7c1a47b132d66a8b54bcd20583d9b6d06e4535e383b4405c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] name = "proc-macro2" -version = "1.0.70" +version = "1.0.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" +checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" dependencies = [ "unicode-ident", ] @@ -5724,7 +5732,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -5849,9 +5857,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -6036,7 +6044,7 @@ checksum = "2566c4bf6845f2c2e83b27043c3f5dfcd5ba8f2937d6c00dc009bfb51a079dc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -6443,10 +6451,10 @@ name = "sc-chain-spec-derive" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -7236,10 +7244,10 @@ name = "sc-tracing-proc-macro" version = "4.0.0-dev" source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-v1.5.0#a3dc2f15f23b3fd25ada62917bfab169a01f2b0d" dependencies = [ - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -7475,22 +7483,22 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.195" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -7740,10 +7748,10 @@ dependencies = [ "Inflector", "blake2 0.10.6", "expander", - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -7967,13 +7975,13 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-v1.5.0 dependencies = [ "quote", "sp-core-hashing", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" -source = "git+https://github.com/paritytech/polkadot-sdk#166ae5ae1295c2431c83421439c3869d4f40de7e" +source = "git+https://github.com/paritytech/polkadot-sdk#f270b08a486d8e4ec85434ce13a060408d66e761" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -8007,17 +8015,17 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-v1.5.0 dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#166ae5ae1295c2431c83421439c3869d4f40de7e" +source = "git+https://github.com/paritytech/polkadot-sdk#f270b08a486d8e4ec85434ce13a060408d66e761" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -8034,7 +8042,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk#166ae5ae1295c2431c83421439c3869d4f40de7e" +source = "git+https://github.com/paritytech/polkadot-sdk#f270b08a486d8e4ec85434ce13a060408d66e761" dependencies = [ "environmental", "parity-scale-codec", @@ -8221,7 +8229,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#166ae5ae1295c2431c83421439c3869d4f40de7e" +source = "git+https://github.com/paritytech/polkadot-sdk#f270b08a486d8e4ec85434ce13a060408d66e761" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -8243,23 +8251,23 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-v1.5.0 dependencies = [ "Inflector", "expander", - "proc-macro-crate 2.0.1", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#166ae5ae1295c2431c83421439c3869d4f40de7e" +source = "git+https://github.com/paritytech/polkadot-sdk#f270b08a486d8e4ec85434ce13a060408d66e761" dependencies = [ "Inflector", "expander", - "proc-macro-crate 2.0.1", + "proc-macro-crate 3.0.0", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -8344,7 +8352,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk.git?tag=polkadot-v1.5.0 [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#166ae5ae1295c2431c83421439c3869d4f40de7e" +source = "git+https://github.com/paritytech/polkadot-sdk#f270b08a486d8e4ec85434ce13a060408d66e761" [[package]] name = "sp-storage" @@ -8362,7 +8370,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#166ae5ae1295c2431c83421439c3869d4f40de7e" +source = "git+https://github.com/paritytech/polkadot-sdk#f270b08a486d8e4ec85434ce13a060408d66e761" dependencies = [ "impl-serde", "parity-scale-codec", @@ -8400,7 +8408,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#166ae5ae1295c2431c83421439c3869d4f40de7e" +source = "git+https://github.com/paritytech/polkadot-sdk#f270b08a486d8e4ec85434ce13a060408d66e761" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/paritytech/polkadot-sdk)", @@ -8483,7 +8491,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -8502,7 +8510,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#166ae5ae1295c2431c83421439c3869d4f40de7e" +source = "git+https://github.com/paritytech/polkadot-sdk#f270b08a486d8e4ec85434ce13a060408d66e761" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -8659,7 +8667,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -8787,9 +8795,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.41" +version = "2.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269" +checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" dependencies = [ "proc-macro2", "quote", @@ -8896,7 +8904,7 @@ checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -9014,7 +9022,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -9100,9 +9108,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.3" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", ] @@ -9133,6 +9141,17 @@ dependencies = [ "winnow", ] +[[package]] +name = "toml_edit" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +dependencies = [ + "indexmap 2.1.0", + "toml_datetime", + "winnow", +] + [[package]] name = "tower" version = "0.4.13" @@ -9194,7 +9213,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -9597,7 +9616,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", "wasm-bindgen-shared", ] @@ -9631,7 +9650,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -10331,7 +10350,7 @@ checksum = "b3c129550b3e6de3fd0ba67ba5c81818f9805e58b8d7fee80a3a59d2c9fc601a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] @@ -10351,7 +10370,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.41", + "syn 2.0.48", ] [[package]] diff --git a/node/Cargo.toml b/node/Cargo.toml index efd37cc..8381cbb 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -45,7 +45,7 @@ sp-timestamp = { version = "4.0.0-dev", git = "https://github.com/paritytech/pol sp-inherents = { version = "4.0.0-dev", git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0" } sp-keyring = { version = "24.0.0", git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0" } frame-system = { version = "4.0.0-dev", git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0" } -pallet-lo-authority-list = { git = "https://github.com/logion-network/logion-pallets", default-features = false, branch = "polkadot-v1.5.0" } +pallet-lo-authority-list = { git = "https://github.com/logion-network/logion-pallets", default-features = false, tag = "v0.1.0" } pallet-transaction-payment = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0" } # These dependencies are used for the node template"s RPCs diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 678c953..91df075 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -53,17 +53,17 @@ frame-system-benchmarking = { version = "4.0.0-dev", default-features = false, g # logion dependencies log = { version = "0.4.17", default-features = false } -logion-shared = { git = "https://github.com/logion-network/logion-pallets", default-features = false, branch = "polkadot-v1.5.0" } -pallet-block-reward = { git = "https://github.com/logion-network/logion-pallets", default-features = false, branch = "polkadot-v1.5.0" } -pallet-lo-authority-list = { git = "https://github.com/logion-network/logion-pallets", default-features = false, branch = "polkadot-v1.5.0" } -pallet-logion-loc = { git = "https://github.com/logion-network/logion-pallets", default-features = false, branch = "polkadot-v1.5.0" } -pallet-logion-vault = { git = "https://github.com/logion-network/logion-pallets", default-features = false, branch = "polkadot-v1.5.0" } -pallet-logion-vote = { git = "https://github.com/logion-network/logion-pallets", default-features = false, branch = "polkadot-v1.5.0" } +logion-shared = { git = "https://github.com/logion-network/logion-pallets", default-features = false, tag = "v0.1.0" } +pallet-block-reward = { git = "https://github.com/logion-network/logion-pallets", default-features = false, tag = "v0.1.0" } +pallet-lo-authority-list = { git = "https://github.com/logion-network/logion-pallets", default-features = false, tag = "v0.1.0" } +pallet-logion-loc = { git = "https://github.com/logion-network/logion-pallets", default-features = false, tag = "v0.1.0" } +pallet-logion-vault = { git = "https://github.com/logion-network/logion-pallets", default-features = false, tag = "v0.1.0" } +pallet-logion-vote = { git = "https://github.com/logion-network/logion-pallets", default-features = false, tag = "v0.1.0" } pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.5.0" } pallet-recovery = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.5.0" } pallet-session = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", tag = "polkadot-v1.5.0" } pallet-validator-set = { default-features = false, git = "https://github.com/logion-network/substrate-validator-set.git", package = "substrate-validator-set", branch = "polkadot-v1.5.0" } -pallet-verified-recovery = { git = "https://github.com/logion-network/logion-pallets", default-features = false, branch = "polkadot-v1.5.0" } +pallet-verified-recovery = { git = "https://github.com/logion-network/logion-pallets", default-features = false, tag = "v0.1.0" } pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.5.0" } pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, tag = "polkadot-v1.5.0" } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 77dd76b..8aec5bd 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -127,7 +127,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 160, + spec_version: 161, impl_version: 2, apis: RUNTIME_API_VERSIONS, transaction_version: 5, diff --git a/runtime/src/weights/pallet_logion_loc.rs b/runtime/src/weights/pallet_logion_loc.rs index 03d1b1c..08ef7b6 100644 --- a/runtime/src/weights/pallet_logion_loc.rs +++ b/runtime/src/weights/pallet_logion_loc.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `pallet_logion_loc` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-01-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `gerard-XPS-13-9305`, CPU: `11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz` +//! HOSTNAME: `BeQuiet`, CPU: `Intel(R) Core(TM) i9-10900KF CPU @ 3.70GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: 1024 // Executed Command: @@ -44,11 +44,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::AccountLocsMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_polkadot_identity_loc() -> Weight { // Proof Size summary in bytes: - // Measured: `2318` - // Estimated: `30533` - // Minimum execution time: 85_798_000 picoseconds. - Weight::from_parts(87_401_000, 0) - .saturating_add(Weight::from_parts(0, 30533)) + // Measured: `2403` + // Estimated: `30618` + // Minimum execution time: 95_940_000 picoseconds. + Weight::from_parts(97_163_000, 0) + .saturating_add(Weight::from_parts(0, 30618)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -60,26 +60,26 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `247` // Estimated: `3712` - // Minimum execution time: 18_122_000 picoseconds. - Weight::from_parts(18_731_000, 0) + // Minimum execution time: 22_428_000 picoseconds. + Weight::from_parts(22_829_000, 0) .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `LoAuthorityList::LegalOfficerSet` (r:1 w:0) /// Proof: `LoAuthorityList::LegalOfficerSet` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `LogionLoc::LocMap` (r:11 w:1) + /// Storage: `LogionLoc::LocMap` (r:12 w:1) /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LogionLoc::AccountLocsMap` (r:1 w:1) /// Proof: `LogionLoc::AccountLocsMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_polkadot_transaction_loc() -> Weight { // Proof Size summary in bytes: - // Measured: `2318` - // Estimated: `30533` - // Minimum execution time: 87_319_000 picoseconds. - Weight::from_parts(89_605_000, 0) - .saturating_add(Weight::from_parts(0, 30533)) - .saturating_add(T::DbWeight::get().reads(13)) + // Measured: `2515` + // Estimated: `33205` + // Minimum execution time: 100_998_000 picoseconds. + Weight::from_parts(101_851_000, 0) + .saturating_add(Weight::from_parts(0, 33205)) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `LoAuthorityList::LegalOfficerSet` (r:1 w:0) @@ -92,37 +92,37 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `416` // Estimated: `6356` - // Minimum execution time: 26_149_000 picoseconds. - Weight::from_parts(26_843_000, 0) + // Minimum execution time: 31_105_000 picoseconds. + Weight::from_parts(31_613_000, 0) .saturating_add(Weight::from_parts(0, 6356)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `LoAuthorityList::LegalOfficerSet` (r:1 w:0) /// Proof: `LoAuthorityList::LegalOfficerSet` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `LogionLoc::LocMap` (r:11 w:1) - /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `LogionLoc::AccountLocsMap` (r:1 w:1) /// Proof: `LogionLoc::AccountLocsMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `LogionLoc::LocMap` (r:12 w:1) + /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn create_collection_loc() -> Weight { // Proof Size summary in bytes: - // Measured: `2318` - // Estimated: `30533` - // Minimum execution time: 88_233_000 picoseconds. - Weight::from_parts(90_238_000, 0) - .saturating_add(Weight::from_parts(0, 30533)) - .saturating_add(T::DbWeight::get().reads(13)) + // Measured: `2515` + // Estimated: `33205` + // Minimum execution time: 100_963_000 picoseconds. + Weight::from_parts(102_063_000, 0) + .saturating_add(Weight::from_parts(0, 33205)) + .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: `LogionLoc::LocMap` (r:1 w:1) /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `1267` - // Estimated: `4732` - // Minimum execution time: 20_826_000 picoseconds. - Weight::from_parts(21_759_000, 0) - .saturating_add(Weight::from_parts(0, 4732)) + // Measured: `1305` + // Estimated: `4770` + // Minimum execution time: 25_992_000 picoseconds. + Weight::from_parts(26_327_000, 0) + .saturating_add(Weight::from_parts(0, 4770)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -130,11 +130,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_file() -> Weight { // Proof Size summary in bytes: - // Measured: `1307` - // Estimated: `4772` - // Minimum execution time: 27_884_000 picoseconds. - Weight::from_parts(28_934_000, 0) - .saturating_add(Weight::from_parts(0, 4772)) + // Measured: `1345` + // Estimated: `4810` + // Minimum execution time: 34_977_000 picoseconds. + Weight::from_parts(35_543_000, 0) + .saturating_add(Weight::from_parts(0, 4810)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -142,11 +142,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_link() -> Weight { // Proof Size summary in bytes: - // Measured: `1446` - // Estimated: `7386` - // Minimum execution time: 22_844_000 picoseconds. - Weight::from_parts(23_978_000, 0) - .saturating_add(Weight::from_parts(0, 7386)) + // Measured: `1483` + // Estimated: `7423` + // Minimum execution time: 27_481_000 picoseconds. + Weight::from_parts(27_937_000, 0) + .saturating_add(Weight::from_parts(0, 7423)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -154,11 +154,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn make_void() -> Weight { // Proof Size summary in bytes: - // Measured: `277` - // Estimated: `3742` - // Minimum execution time: 16_678_000 picoseconds. - Weight::from_parts(17_081_000, 0) - .saturating_add(Weight::from_parts(0, 3742)) + // Measured: `315` + // Estimated: `3780` + // Minimum execution time: 23_023_000 picoseconds. + Weight::from_parts(23_238_000, 0) + .saturating_add(Weight::from_parts(0, 3780)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -166,11 +166,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn make_void_and_replace() -> Weight { // Proof Size summary in bytes: - // Measured: `463` - // Estimated: `6403` - // Minimum execution time: 25_232_000 picoseconds. - Weight::from_parts(25_854_000, 0) - .saturating_add(Weight::from_parts(0, 6403)) + // Measured: `496` + // Estimated: `6436` + // Minimum execution time: 30_497_000 picoseconds. + Weight::from_parts(30_990_000, 0) + .saturating_add(Weight::from_parts(0, 6436)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -182,11 +182,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::CollectionSizeMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_collection_item() -> Weight { // Proof Size summary in bytes: - // Measured: `334` - // Estimated: `3799` - // Minimum execution time: 33_128_000 picoseconds. - Weight::from_parts(34_952_000, 0) - .saturating_add(Weight::from_parts(0, 3799)) + // Measured: `386` + // Estimated: `3851` + // Minimum execution time: 39_486_000 picoseconds. + Weight::from_parts(40_257_000, 0) + .saturating_add(Weight::from_parts(0, 3851)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -200,8 +200,8 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `482` // Estimated: `3947` - // Minimum execution time: 20_414_000 picoseconds. - Weight::from_parts(21_065_000, 0) + // Minimum execution time: 24_249_000 picoseconds. + Weight::from_parts(24_607_000, 0) .saturating_add(Weight::from_parts(0, 3947)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -216,8 +216,8 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `456` // Estimated: `3921` - // Minimum execution time: 26_508_000 picoseconds. - Weight::from_parts(26_892_000, 0) + // Minimum execution time: 31_239_000 picoseconds. + Weight::from_parts(31_902_000, 0) .saturating_add(Weight::from_parts(0, 3921)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -236,8 +236,8 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `669` // Estimated: `4134` - // Minimum execution time: 31_508_000 picoseconds. - Weight::from_parts(32_499_000, 0) + // Minimum execution time: 36_909_000 picoseconds. + Weight::from_parts(37_441_000, 0) .saturating_add(Weight::from_parts(0, 4134)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -248,11 +248,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::TokensRecordsMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_tokens_record() -> Weight { // Proof Size summary in bytes: - // Measured: `281` - // Estimated: `3746` - // Minimum execution time: 27_733_000 picoseconds. - Weight::from_parts(28_927_000, 0) - .saturating_add(Weight::from_parts(0, 3746)) + // Measured: `319` + // Estimated: `3784` + // Minimum execution time: 35_524_000 picoseconds. + Weight::from_parts(35_917_000, 0) + .saturating_add(Weight::from_parts(0, 3784)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -268,8 +268,8 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `394` // Estimated: `3859` - // Minimum execution time: 38_123_000 picoseconds. - Weight::from_parts(40_289_000, 0) + // Minimum execution time: 45_376_000 picoseconds. + Weight::from_parts(46_065_000, 0) .saturating_add(Weight::from_parts(0, 3859)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -282,8 +282,8 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `247` // Estimated: `3712` - // Minimum execution time: 18_375_000 picoseconds. - Weight::from_parts(19_264_000, 0) + // Minimum execution time: 23_082_000 picoseconds. + Weight::from_parts(23_505_000, 0) .saturating_add(Weight::from_parts(0, 3712)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -294,8 +294,8 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `189` // Estimated: `3654` - // Minimum execution time: 13_360_000 picoseconds. - Weight::from_parts(13_798_000, 0) + // Minimum execution time: 16_804_000 picoseconds. + Weight::from_parts(17_167_000, 0) .saturating_add(Weight::from_parts(0, 3654)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -306,11 +306,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::VerifiedIssuersByLocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn acknowledge_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `1320` - // Estimated: `4785` - // Minimum execution time: 23_281_000 picoseconds. - Weight::from_parts(23_768_000, 0) - .saturating_add(Weight::from_parts(0, 4785)) + // Measured: `1372` + // Estimated: `4837` + // Minimum execution time: 28_104_000 picoseconds. + Weight::from_parts(28_485_000, 0) + .saturating_add(Weight::from_parts(0, 4837)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -320,11 +320,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::VerifiedIssuersByLocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn acknowledge_file() -> Weight { // Proof Size summary in bytes: - // Measured: `1360` - // Estimated: `4825` - // Minimum execution time: 22_854_000 picoseconds. - Weight::from_parts(23_983_000, 0) - .saturating_add(Weight::from_parts(0, 4825)) + // Measured: `1412` + // Estimated: `4877` + // Minimum execution time: 27_103_000 picoseconds. + Weight::from_parts(27_694_000, 0) + .saturating_add(Weight::from_parts(0, 4877)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,11 +334,11 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::VerifiedIssuersByLocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn acknowledge_link() -> Weight { // Proof Size summary in bytes: - // Measured: `1444` - // Estimated: `4909` - // Minimum execution time: 21_849_000 picoseconds. - Weight::from_parts(22_442_000, 0) - .saturating_add(Weight::from_parts(0, 4909)) + // Measured: `1480` + // Estimated: `4945` + // Minimum execution time: 26_542_000 picoseconds. + Weight::from_parts(26_905_000, 0) + .saturating_add(Weight::from_parts(0, 4945)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -346,12 +346,28 @@ impl pallet_logion_loc::WeightInfo for WeightInfo { /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) fn close() -> Weight { // Proof Size summary in bytes: - // Measured: `3397` - // Estimated: `6862` - // Minimum execution time: 32_118_000 picoseconds. - Weight::from_parts(33_311_000, 0) - .saturating_add(Weight::from_parts(0, 6862)) + // Measured: `3433` + // Estimated: `6898` + // Minimum execution time: 37_542_000 picoseconds. + Weight::from_parts(38_053_000, 0) + .saturating_add(Weight::from_parts(0, 6898)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `LogionLoc::LocMap` (r:2 w:0) + /// Proof: `LogionLoc::LocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `LogionLoc::AccountLocsMap` (r:1 w:0) + /// Proof: `LogionLoc::AccountLocsMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `LogionLoc::InvitedContributorsByLocMap` (r:1 w:1) + /// Proof: `LogionLoc::InvitedContributorsByLocMap` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn set_invited_contributor_selection() -> Weight { + // Proof Size summary in bytes: + // Measured: `608` + // Estimated: `6548` + // Minimum execution time: 30_176_000 picoseconds. + Weight::from_parts(30_444_000, 0) + .saturating_add(Weight::from_parts(0, 6548)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) + } }