From ced567ba1bbbb592179bc49654d122f8bcd769ad Mon Sep 17 00:00:00 2001 From: Leonardo Razovic <4128940+lrazovic@users.noreply.github.com> Date: Wed, 17 Apr 2024 13:38:45 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Release=20Polimec=200.6.0=20(#24?= =?UTF-8?q?0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: bump crates version * feat: add yaml config * chore: run zepter * chore: cargo update * test: use the new pallet weights --- .config/zepter.yaml | 39 ++++ Cargo.lock | 272 +++++++++++++------------ Cargo.toml | 2 +- integration-tests/Cargo.toml | 2 +- nodes/parachain/Cargo.toml | 2 +- pallets/dispenser/Cargo.toml | 8 +- pallets/funding/Cargo.toml | 2 +- pallets/oracle-ocw/Cargo.toml | 6 +- pallets/parachain-staking/src/tests.rs | 8 +- runtimes/politest/Cargo.toml | 6 +- 10 files changed, 196 insertions(+), 151 deletions(-) create mode 100644 .config/zepter.yaml diff --git a/.config/zepter.yaml b/.config/zepter.yaml new file mode 100644 index 000000000..569bc5baa --- /dev/null +++ b/.config/zepter.yaml @@ -0,0 +1,39 @@ +version: + format: 1 + # Minimum version of the binary that is expected to work. This is just for printing a nice error + # message when someone tries to use an older version. + binary: 0.13.2 + +# The examples in this file assume crate `A` to have a dependency on crate `B`. +workflows: + check: + - [ + 'lint', + # Check that `A` activates the features of `B`. + 'propagate-feature', + # These are the features to check: + '--features=try-runtime,runtime-benchmarks,std', + # Do not try to add a new section into `[features]` of `A` only because `B` expose that feature. There are edge-cases where this is still needed, but we can add them manually. + '--left-side-feature-missing=ignore', + # Ignore the case that `A` it outside of the workspace. Otherwise it will report errors in external dependencies that we have no influence on. + '--left-side-outside-workspace=ignore', + # Some features imply that they activate a specific dependency as non-optional. Otherwise the default behaviour with a `?` is used. + '--feature-enables-dep=try-runtime:frame-try-runtime,runtime-benchmarks:frame-benchmarking', + # Auxillary flags: + '--offline', + '--locked', + '--show-path', + '--quiet', + ] + # Same as `check`, but with the `--fix` flag. + default: + - [ $check.0, '--fix' ] + +# Will be displayed when any workflow fails: +help: + text: | + This repo uses the Zepter CLI to detect abnormalities in the feature configuration. + It looks like one more more checks failed; please check the console output. You can try to automatically address them by running `zepter`. + Otherwise please ask directly in the Merge Request, GitHub Discussions or on Matrix Chat, thank you. + links: + - "https://github.com/ggwpez/zepter" \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index ce2b4970b..96778c1cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,9 +106,9 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "always-assert" @@ -214,7 +214,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -544,9 +544,9 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28243a43d821d11341ab73c80bed182dc015c514b951616cf79bd4af39af0c3" +checksum = "136d4d23bcc79e27423727b36823d86233aad06dfea531837b038394d11e9928" dependencies = [ "concurrent-queue", "event-listener 5.3.0", @@ -557,11 +557,10 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f98c37cf288e302c16ef6c8472aad1e034c6c84ce5ea7b8101c98eb4a802fee" +checksum = "b10202063978b3351199d68f8b22c4e47e4b1b822f8d43fd862d5ea8c006b29a" dependencies = [ - "async-lock 3.3.0", "async-task", "concurrent-queue", "fastrand 2.0.2", @@ -700,7 +699,7 @@ checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -828,13 +827,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.17", + "prettyplease 0.2.19", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -971,7 +970,7 @@ version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" dependencies = [ - "async-channel 2.2.0", + "async-channel 2.2.1", "async-lock 3.3.0", "async-task", "fastrand 2.0.2", @@ -1301,9 +1300,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.92" +version = "1.0.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2678b2e3449475e95b0aa6f9b506a28e61b3dc8996592b983695e8ebb58a8b41" +checksum = "17f6e324229dc011159fcc089755d1e2e216a90d43a7dea6853ca740b84f35e7" dependencies = [ "jobserver", "libc", @@ -1375,16 +1374,16 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.37" +version = "0.4.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a0d04d43504c61aa6c7531f1871dd0d418d91130162063b789da00fd7057a5e" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.52.4", + "windows-targets 0.52.5", ] [[package]] @@ -1499,7 +1498,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -2237,7 +2236,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -2572,7 +2571,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -2612,7 +2611,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -2629,7 +2628,7 @@ checksum = "ad08a837629ad949b73d032c637653d069e909cffe4ee7870b02301939ce39cc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -2721,7 +2720,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -2823,7 +2822,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -2847,7 +2846,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.58", + "syn 2.0.59", "termcolor", "toml 0.8.12", "walkdir", @@ -2968,9 +2967,9 @@ dependencies = [ [[package]] name = "either" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" +checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" [[package]] name = "elliptic-curve" @@ -3035,7 +3034,7 @@ checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -3046,7 +3045,7 @@ checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -3202,7 +3201,7 @@ dependencies = [ "prettier-please", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -3482,7 +3481,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -3615,7 +3614,7 @@ dependencies = [ "proc-macro2", "quote", "sp-core-hashing", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -3628,7 +3627,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -3639,7 +3638,7 @@ checksum = "68672b9ec6fe72d259d3879dc212c5e42e977588cdac830c76f54d9f492aeb58" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -3822,7 +3821,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -4529,7 +4528,7 @@ dependencies = [ [[package]] name = "integration-tests" -version = "0.5.1" +version = "0.6.0" dependencies = [ "asset-hub-polkadot-runtime", "cumulus-pallet-xcm", @@ -4542,9 +4541,9 @@ dependencies = [ "pallet-assets", "pallet-balances", "pallet-collective", - "pallet-democracy 0.5.1", + "pallet-democracy 0.6.0", "pallet-dispenser", - "pallet-elections-phragmen 0.5.1", + "pallet-elections-phragmen 0.6.0", "pallet-funding", "pallet-im-online", "pallet-linear-release", @@ -4673,9 +4672,9 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.29" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f08474e32172238f2827bd160c67871cdb2801430f65c3979184dc362e3ca118" +checksum = "685a7d121ee3f65ae4fddd72b25a04bb36b6af81bc0828f7d5434c0fe60fa3a2" dependencies = [ "libc", ] @@ -4968,7 +4967,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" dependencies = [ "cfg-if", - "windows-targets 0.52.4", + "windows-targets 0.52.5", ] [[package]] @@ -5604,7 +5603,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -5618,7 +5617,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -5629,7 +5628,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -5640,21 +5639,21 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] name = "macros" -version = "0.5.1" +version = "0.6.0" dependencies = [ "quote", "sp-core", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] name = "macros-tests" -version = "0.5.1" +version = "0.6.0" dependencies = [ "macros", ] @@ -6356,7 +6355,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -6828,7 +6827,7 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "0.5.1" +version = "0.6.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6865,7 +6864,7 @@ dependencies = [ [[package]] name = "pallet-dispenser" -version = "0.5.1" +version = "0.6.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6924,7 +6923,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "0.5.1" +version = "0.6.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6983,7 +6982,7 @@ dependencies = [ [[package]] name = "pallet-funding" -version = "0.5.1" +version = "0.6.0" dependencies = [ "assert_matches2", "env_logger", @@ -7118,7 +7117,7 @@ dependencies = [ [[package]] name = "pallet-linear-release" -version = "0.5.1" +version = "0.6.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -7357,7 +7356,7 @@ dependencies = [ [[package]] name = "pallet-oracle-ocw" -version = "0.5.1" +version = "0.6.0" dependencies = [ "frame-support", "frame-system", @@ -7382,7 +7381,7 @@ dependencies = [ [[package]] name = "pallet-parachain-staking" -version = "0.5.1" +version = "0.6.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -7646,7 +7645,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -8269,7 +8268,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -8310,7 +8309,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -8366,7 +8365,7 @@ checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" [[package]] name = "polimec-common" -version = "0.5.1" +version = "0.6.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8384,7 +8383,7 @@ dependencies = [ [[package]] name = "polimec-common-test-utils" -version = "0.5.1" +version = "0.6.0" dependencies = [ "chrono", "frame-support", @@ -8396,7 +8395,7 @@ dependencies = [ [[package]] name = "polimec-node" -version = "0.5.1" +version = "0.6.0" dependencies = [ "clap", "color-print", @@ -8476,7 +8475,7 @@ dependencies = [ [[package]] name = "polimec-runtime" -version = "0.5.1" +version = "0.6.0" dependencies = [ "array-bytes 6.2.2", "cumulus-pallet-aura-ext", @@ -8502,8 +8501,8 @@ dependencies = [ "pallet-authorship", "pallet-balances", "pallet-collective", - "pallet-democracy 0.5.1", - "pallet-elections-phragmen 0.5.1", + "pallet-democracy 0.6.0", + "pallet-elections-phragmen 0.6.0", "pallet-identity", "pallet-membership", "pallet-message-queue", @@ -8549,7 +8548,7 @@ dependencies = [ [[package]] name = "polimec-xcm-executor" -version = "0.5.1" +version = "0.6.0" dependencies = [ "environmental", "frame-benchmarking", @@ -8567,7 +8566,7 @@ dependencies = [ [[package]] name = "politest-runtime" -version = "0.5.1" +version = "0.6.0" dependencies = [ "array-bytes 6.2.2", "cumulus-pallet-aura-ext", @@ -8595,9 +8594,9 @@ dependencies = [ "pallet-authorship", "pallet-balances", "pallet-collective", - "pallet-democracy 0.5.1", + "pallet-democracy 0.6.0", "pallet-dispenser", - "pallet-elections-phragmen 0.5.1", + "pallet-elections-phragmen 0.6.0", "pallet-funding", "pallet-identity", "pallet-insecure-randomness-collective-flip", @@ -9974,7 +9973,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22020dfcf177fcc7bf5deaf7440af371400c67c0de14c399938d8ed4fb4645d3" dependencies = [ "proc-macro2", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -9989,12 +9988,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.17" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d3928fb5db768cb86f891ff014f0144589297e3c6a1aba6ed7cecfdace270c7" +checksum = "5ac2cf0f2e4f42b49f5ffd07dae8d746508ef7526c13940e5f524012ae6c6550" dependencies = [ "proc-macro2", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -10103,14 +10102,14 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] name = "proc-macro2" -version = "1.0.79" +version = "1.0.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" +checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" dependencies = [ "unicode-ident", ] @@ -10149,7 +10148,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -10452,7 +10451,7 @@ checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -11098,7 +11097,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -12107,7 +12106,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -12381,9 +12380,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.197" +version = "1.0.198" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" dependencies = [ "serde_derive", ] @@ -12409,20 +12408,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.198" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] name = "serde_json" -version = "1.0.115" +version = "1.0.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12dc5c46daa8e9fdf4f5e71b6cf9a53f2487da0e86e55808e2d35539666497dd" +checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" dependencies = [ "itoa", "ryu", @@ -12519,7 +12518,7 @@ dependencies = [ [[package]] name = "shared-configuration" -version = "0.5.1" +version = "0.6.0" dependencies = [ "frame-support", "frame-system", @@ -12854,7 +12853,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -13105,7 +13104,7 @@ checksum = "7527f8dda7667c41009b2cd0efaddcb81709b9741bd5ee6d17b11bad835cc698" dependencies = [ "quote", "sp-core-hashing", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -13126,7 +13125,7 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -13374,7 +13373,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -13580,7 +13579,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -13840,7 +13839,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -13998,9 +13997,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.58" +version = "2.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" +checksum = "4a6531ffc7b071655e4ce2e04bd464c4830bb585a61cabb96cf808f05172615a" dependencies = [ "proc-macro2", "quote", @@ -14136,7 +14135,7 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -14147,7 +14146,7 @@ checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -14291,7 +14290,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -14489,7 +14488,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -14534,7 +14533,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -14949,7 +14948,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", "wasm-bindgen-shared", ] @@ -14983,7 +14982,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -15476,9 +15475,9 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.15" +version = "0.7.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89beec544f246e679fc25490e3f8e08003bc4bf612068f325120dad4cea02c1c" +checksum = "81a1851a719f11d1d2fea40e15c72f6c00de8c142d7ac47c1441cc7e4d0d5bc6" dependencies = [ "bytemuck", "safe_arch", @@ -15546,7 +15545,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.52.4", + "windows-targets 0.52.5", ] [[package]] @@ -15573,7 +15572,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.4", + "windows-targets 0.52.5", ] [[package]] @@ -15608,17 +15607,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" dependencies = [ - "windows_aarch64_gnullvm 0.52.4", - "windows_aarch64_msvc 0.52.4", - "windows_i686_gnu 0.52.4", - "windows_i686_msvc 0.52.4", - "windows_x86_64_gnu 0.52.4", - "windows_x86_64_gnullvm 0.52.4", - "windows_x86_64_msvc 0.52.4", + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", ] [[package]] @@ -15635,9 +15635,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" [[package]] name = "windows_aarch64_msvc" @@ -15653,9 +15653,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" [[package]] name = "windows_i686_gnu" @@ -15671,9 +15671,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.4" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" [[package]] name = "windows_i686_msvc" @@ -15689,9 +15695,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" [[package]] name = "windows_x86_64_gnu" @@ -15707,9 +15713,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" [[package]] name = "windows_x86_64_gnullvm" @@ -15725,9 +15731,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" [[package]] name = "windows_x86_64_msvc" @@ -15743,9 +15749,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.4" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" [[package]] name = "winnow" @@ -15868,7 +15874,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -15911,7 +15917,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] @@ -15931,7 +15937,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.58", + "syn 2.0.59", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index f98208022..a3c6c5b05 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ homepage = "https://www.polimec.org/" license-file = "LICENSE" readme = "README.md" repository = "https://github.com/Polimec/polimec-node" -version = "0.5.1" +version = "0.6.0" [profile.release] # Substrate runtime requires unwinding. diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 06955cca8..f3d5aee0a 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -97,8 +97,8 @@ std = [ "pallet-balances/std", "pallet-collective/std", "pallet-democracy/std", - "pallet-elections-phragmen/std", "pallet-dispenser/std", + "pallet-elections-phragmen/std", "pallet-funding/std", "pallet-im-online/std", "pallet-linear-release/std", diff --git a/nodes/parachain/Cargo.toml b/nodes/parachain/Cargo.toml index 25c4a561f..1be933404 100644 --- a/nodes/parachain/Cargo.toml +++ b/nodes/parachain/Cargo.toml @@ -123,6 +123,6 @@ std = [ ] on-chain-release-build = [ "polimec-runtime/on-chain-release-build", - "politest-runtime/on-chain-release-build" + "politest-runtime/on-chain-release-build", ] async-backing = [ "politest-runtime/async-backing" ] diff --git a/pallets/dispenser/Cargo.toml b/pallets/dispenser/Cargo.toml index 93d1fe398..08f08d953 100644 --- a/pallets/dispenser/Cargo.toml +++ b/pallets/dispenser/Cargo.toml @@ -42,15 +42,15 @@ pallet-vesting.workspace = true [features] default = [ "std" ] std = [ - "parity-scale-codec/std", "frame-benchmarking/std", "frame-support/std", "frame-system/std", "pallet-balances/std", "pallet-timestamp/std", "pallet-vesting/std", - "polimec-common/std", + "parity-scale-codec/std", "polimec-common-test-utils/std", + "polimec-common/std", "scale-info/std", "sp-core/std", "sp-io/std", @@ -64,8 +64,8 @@ runtime-benchmarks = [ "pallet-balances/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", - "polimec-common/runtime-benchmarks", "polimec-common-test-utils/runtime-benchmarks", + "polimec-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", ] @@ -75,7 +75,7 @@ try-runtime = [ "pallet-balances/try-runtime", "pallet-timestamp/try-runtime", "pallet-vesting/try-runtime", + "polimec-common-test-utils/try-runtime", "polimec-common/try-runtime", "sp-runtime/try-runtime", - "polimec-common-test-utils/try-runtime" ] diff --git a/pallets/funding/Cargo.toml b/pallets/funding/Cargo.toml index c41c70417..087868e90 100644 --- a/pallets/funding/Cargo.toml +++ b/pallets/funding/Cargo.toml @@ -65,6 +65,7 @@ std = [ "frame-support/std", "frame-system/std", "futures", + "futures?/std", "itertools/use_std", "log/std", "pallet-assets/std", @@ -91,7 +92,6 @@ std = [ "xcm-builder/std", "xcm-executor/std", "xcm/std", - "futures?/std" ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", diff --git a/pallets/oracle-ocw/Cargo.toml b/pallets/oracle-ocw/Cargo.toml index 2f0488174..ac25baf86 100644 --- a/pallets/oracle-ocw/Cargo.toml +++ b/pallets/oracle-ocw/Cargo.toml @@ -45,6 +45,7 @@ std = [ "orml-oracle/std", "pallet-balances/std", "parity-scale-codec/std", + "polimec-common-test-utils/std", "scale-info/std", "serde-json-core/std", "serde/std", @@ -55,7 +56,6 @@ std = [ "sp-runtime/std", "sp-std/std", "substrate-fixed/std", - "polimec-common-test-utils/std", ] try-runtime = [ @@ -63,13 +63,13 @@ try-runtime = [ "frame-system/try-runtime", "orml-oracle/try-runtime", "pallet-balances/try-runtime", + "polimec-common-test-utils/try-runtime", "sp-runtime/try-runtime", - "polimec-common-test-utils/try-runtime" ] runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", + "polimec-common-test-utils/runtime-benchmarks", "sp-runtime/runtime-benchmarks", - "polimec-common-test-utils/runtime-benchmarks" ] diff --git a/pallets/parachain-staking/src/tests.rs b/pallets/parachain-staking/src/tests.rs index baf309459..d4b0515b2 100644 --- a/pallets/parachain-staking/src/tests.rs +++ b/pallets/parachain-staking/src/tests.rs @@ -5396,7 +5396,7 @@ fn test_on_initialize_weights() { let weight = ParachainStaking::on_initialize(1); // TODO: build this with proper db reads/writes - assert_eq!(Weight::from_parts(277065000, 0), weight); + assert_eq!(Weight::from_parts(304110000, 1832), weight); // roll to the end of the round, then run on_init again, we should see round change... roll_to_round_end(3); @@ -5410,8 +5410,8 @@ fn test_on_initialize_weights() { // // following this assertion, we add individual weights together to show that we can // derive this number independently. - let expected_on_init = 2479994997; - assert_eq!(Weight::from_parts(expected_on_init, 186592), weight); + let expected_on_init = 2053713382; + assert_eq!(Weight::from_parts(expected_on_init, 42845), weight); // assemble weight manually to ensure it is well understood let mut expected_weight = 0u64; @@ -5429,7 +5429,7 @@ fn test_on_initialize_weights() { // more reads/writes manually accounted for for on_finalize expected_weight += RocksDbWeight::get().reads_writes(3, 2).ref_time(); - assert_eq!(Weight::from_parts(expected_weight, 186592), weight); + assert_eq!(Weight::from_parts(expected_weight, 42845), weight); assert_eq!(expected_on_init, expected_weight); // magic number == independent accounting }); } diff --git a/runtimes/politest/Cargo.toml b/runtimes/politest/Cargo.toml index 7dbde6a8d..6fd5eb8d4 100644 --- a/runtimes/politest/Cargo.toml +++ b/runtimes/politest/Cargo.toml @@ -142,8 +142,8 @@ std = [ "pallet-balances/std", "pallet-collective/std", "pallet-democracy/std", - "pallet-elections-phragmen/std", "pallet-dispenser/std", + "pallet-elections-phragmen/std", "pallet-funding/std", "pallet-identity/std", "pallet-insecure-randomness-collective-flip/std", @@ -210,8 +210,8 @@ runtime-benchmarks = [ "pallet-balances/runtime-benchmarks", "pallet-collective/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", - "pallet-elections-phragmen/runtime-benchmarks", "pallet-dispenser/runtime-benchmarks", + "pallet-elections-phragmen/runtime-benchmarks", "pallet-funding/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-linear-release/runtime-benchmarks", @@ -260,8 +260,8 @@ try-runtime = [ "pallet-balances/try-runtime", "pallet-collective/try-runtime", "pallet-democracy/try-runtime", - "pallet-elections-phragmen/try-runtime", "pallet-dispenser/try-runtime", + "pallet-elections-phragmen/try-runtime", "pallet-funding/try-runtime", "pallet-identity/try-runtime", "pallet-insecure-randomness-collective-flip/try-runtime",