Branislav Kontur
794b8454a4
Build just polkadot-parachain binary for build-short-benchmark ( #2928 )
2023-07-24 14:50:10 +00:00
Branislav Kontur
cd263ace19
BHs readme nits ( #2754 )
...
* Correct BH readme
* Zombienet renaming
* TOC
* Apply suggestions from code review
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* Updated REAMDE.md
* Alice -> Bob for e2e
---------
Co-authored-by: Adrian Catangiu <adrian@parity.io >
Co-authored-by: parity-processbot <>
2023-07-24 14:16:08 +00:00
Egor_P
0b79443be3
Fix PR name ( #2926 )
2023-07-24 11:33:05 +00:00
dependabot[bot]
543b35a30f
Bump anyhow from 1.0.71 to 1.0.72 ( #2906 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.72 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 15:49:45 +00:00
dependabot[bot]
56d225c281
Bump async-trait from 0.1.71 to 0.1.72 ( #2920 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.71 to 0.1.72.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.71...0.1.72 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 15:49:26 +00:00
dependabot[bot]
bb4e989a91
Bump num-traits from 0.2.15 to 0.2.16 ( #2921 )
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.15 to 0.2.16.
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.15...num-traits-0.2.16 )
---
updated-dependencies:
- dependency-name: num-traits
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 13:52:11 +00:00
dependabot[bot]
55218f8133
Bump thiserror from 1.0.43 to 1.0.44 ( #2922 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-22 13:50:44 +00:00
Branislav Kontur
bb04175303
Run all benchmarks "as tests" in short setup on every PR ( #2846 )
...
* Run all benchmarks "as tests" in short setup on every PR
* Fix
* Update scripts/ci/gitlab/pipeline/short-benchmarks.yml
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
* Updated TODO
* Removed `--execution wasm`
* [asset-conv] Unused Balances type
* [asset-conv] native asset change
* Dedicated `AssetBalance` type for `pallet_assets` instances
* Improved local vs foreign asset handling + test for not allowing pool_assets in pool
* Removed `into_multiasset_id`
* Fix
* Refactor
* Fixed create_pool for benchmark with LocalAndForeignAssets (finally found it)
* Revert
* fmt
* Migrates pools with `MultiLocation { parents: 0, interior: Here }` to `MultiLocation { parents: 1, interior: Here }`
* Allow `set_storage` for `AllowMultiAssetPools` / `LiquidityWithdrawalFee`
* Benchmarks work
* Removed comment + more defensive migration
* `T::Currency::transfer` -> `Balances::transfer_all` in migration
* Change pool_id in migration
---------
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2023-07-22 06:30:28 +00:00
Branislav Kontur
8171890f9b
Asset conversion nits ( #2860 )
...
* [asset-conv] Unused Balances type
* [asset-conv] native asset change
* Dedicated `AssetBalance` type for `pallet_assets` instances
* Improved local vs foreign asset handling + test for not allowing pool_assets in pool
* Removed `into_multiasset_id`
* Fix
* Refactor
* Fixed create_pool for benchmark with LocalAndForeignAssets (finally found it)
* ".git/.scripts/commands/fmt/fmt.sh"
* Revert
* fmt
* Migrates pools with `MultiLocation { parents: 0, interior: Here }` to `MultiLocation { parents: 1, interior: Here }`
* Allow `set_storage` for `AllowMultiAssetPools` / `LiquidityWithdrawalFee`
* Benchmarks work
* Removed comment + more defensive migration
* `T::Currency::transfer` -> `Balances::transfer_all` in migration
* Change pool_id in migration
* Update parachains/runtimes/assets/asset-hub-westend/src/lib.rs
* Bump substrate (manually)
* Bump polkadot
* Fixes from polkadot + clippy
* Fix for xcm-emulator tests (thank you Nacho)
---------
Co-authored-by: command-bot <>
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
2023-07-21 23:53:51 +02:00
dependabot[bot]
849964bf18
Bump clap from 4.3.16 to 4.3.17 ( #2908 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.16 to 4.3.17.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.16...v4.3.17 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 14:42:56 +02:00
dependabot[bot]
559e301f06
Bump parity-scale-codec from 3.6.3 to 3.6.4 ( #2909 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/v3.6.3...parity-scale-codec-v3.6.4 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 09:57:00 +02:00
dependabot[bot]
2b8662def7
Bump tempfile from 3.6.0 to 3.7.0 ( #2912 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.6.0 to 3.7.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.6.0...v3.7.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 23:14:46 +02:00
georgepisaltu
9ec80090f5
Use benchmarking::v2 in collator selection pallet ( #2904 )
...
* Use benchmarking v2 in collator selection pallet
Signed-off-by: georgepisaltu <george.pisaltu@parity.io >
* Use extrinsic_call syntax
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Replace `block` with `extrinsic_call` syntax
Signed-off-by: georgepisaltu <george.pisaltu@parity.io >
---------
Signed-off-by: georgepisaltu <george.pisaltu@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-07-20 12:09:12 +00:00
Svyatoslav Nikolsky
948f80733e
Update bridges subtree ( #2903 )
...
* Squashed 'bridges/' changes from 0417308a48..3c4ada921b
3c4ada921b Update dependecies (#2277 ) (#2281 )
3e195c9e76 GRANDPA: optimize votes_ancestries when needed (#2262 ) (#2264 )
7065bbabc6 Implement RuntimeDebug for GrandpaJustification (#2254 )
8c9e59bcbc Define generate_grandpa_key_ownership_proof() (#2247 ) (#2248 )
0b46956df7 Deduplicate Grandpa consensus log reading logic (#2245 ) (#2246 )
96c9701710 Fix deps from Cumulus (#2244 )
git-subtree-dir: bridges
git-subtree-split: 3c4ada921bbdbdba945c3aa85d76ce316f7baab3
* removed extra files
* post-merge fixes
* also post-merge fixes
2023-07-19 19:29:12 +03:00
dependabot[bot]
913b789416
Bump dyn-clone from 1.0.11 to 1.0.12 ( #2897 )
...
Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone ) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/dtolnay/dyn-clone/releases )
- [Commits](https://github.com/dtolnay/dyn-clone/compare/1.0.11...1.0.12 )
---
updated-dependencies:
- dependency-name: dyn-clone
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 17:53:54 +02:00
dependabot[bot]
781b9326da
Bump quote from 1.0.30 to 1.0.31 ( #2895 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.30...1.0.31 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 16:34:09 +02:00
Sebastian Kunert
5b5942ef60
Use trie-cache for validate_block ( #2813 )
...
* Simple cache
* Fix node insertion
* Switch to hashbrown hashmap
* Remove unused phantomdata
* Return error when fetch_node fails
* Remove cargo patches
* Move trie cache to extra module
* Add ReadOnceBackend
* Add readonlybackend
* Improve naming and get_or_insert
* Stylistic improvements
* Improve naming, add docs
* Revert unwanted changes
* Remove unused dependencies
* Improve docs
* Use RefCell
* lockfile
* Remove ReadOnceBackend
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* Code review
* Do not use value cache when calculating storage roots
* Apply suggestions from code review
Co-authored-by: Davide Galassi <davxy@datawok.net >
* Remove hash-db dep
* Update pallets/parachain-system/src/validate_block/trie_cache.rs
Co-authored-by: Anton <anton.kalyaev@gmail.com >
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: Anton <anton.kalyaev@gmail.com >
2023-07-19 11:46:58 +00:00
dependabot[bot]
18340b304b
Bump paste from 1.0.13 to 1.0.14 ( #2896 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.13...1.0.14 )
---
updated-dependencies:
- dependency-name: paste
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 11:48:09 +02:00
dependabot[bot]
70151644c6
Bump clap from 4.3.14 to 4.3.16 ( #2898 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.14 to 4.3.16.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.14...v4.3.16 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 11:45:30 +02:00
Branislav Kontur
e913579d97
Added construct_benchmark_partials for BridgeHubs ( #2901 )
2023-07-19 08:55:19 +00:00
Muharem Ismailov
20e677bf28
use ext_wrapper instead execute_with ( #2893 )
2023-07-19 08:53:15 +00:00
Evgeny Snitko
68ea60525b
Move CI_IMAGE to external snippet via !reference #2890
2023-07-18 18:25:01 +04:00
Arkadiy Paronyan
2f66661a33
Bump crypto-common ( #2876 )
...
* bump crypto-common
* update lockfile for {"substrate", "polkadot"}
* Update Substrate & Polkadot
---------
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-07-18 08:44:46 +00:00
dependabot[bot]
b1cd6bcd39
Bump quote from 1.0.29 to 1.0.30 ( #2887 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.29...1.0.30 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 23:02:38 +00:00
dependabot[bot]
2870dd39d6
Bump syn from 2.0.25 to 2.0.26 ( #2888 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.25 to 2.0.26.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.25...2.0.26 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 22:21:05 +00:00
dependabot[bot]
ddbbbb9ce3
Bump serde_json from 1.0.102 to 1.0.103 ( #2885 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.102...v1.0.103 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 23:36:20 +02:00
dependabot[bot]
18bc118285
Bump clap from 4.3.12 to 4.3.14 ( #2886 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.12 to 4.3.14.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.12...v4.3.14 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 23:31:53 +02:00
Evgeny Snitko
f92d54e677
ci-unified:bullseye-1.70.0-2023-05-23 image for ci ( #2840 )
2023-07-17 19:34:25 +04:00
Bulat Saifullin
921ac0c4ad
Update collectives-westend bootnodes ( #2856 )
2023-07-14 22:16:19 +00:00
dependabot[bot]
83a527ed86
Bump assert_cmd from 2.0.11 to 2.0.12 ( #2872 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 2.0.11 to 2.0.12.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.11...v2.0.12 )
---
updated-dependencies:
- dependency-name: assert_cmd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-14 22:13:05 +00:00
dependabot[bot]
f682f4c414
Bump clap from 4.3.11 to 4.3.12 ( #2873 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.11 to 4.3.12.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.11...v4.3.12 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-14 22:12:49 +00:00
Juan
3513b7e019
Replace Index for Nonce ( #2740 )
...
* replace Index for Nonce
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-07-14 08:46:49 +00:00
gupnik
24d6e46ad0
Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber ( #2790 )
...
* Fixes
* Removes unused import
* Uses Block and removes BlockNumber/Header from Chain
* Fixes bridges
* Fixes
* Removes unused import
* Fixes build
* Uses correct RelayBlock
* Minor fix
* Fixes glutton-kusama
* Uses correct RelayBlock
* Minor fix
* Fixes benchmark for pallet-bridge-parachains
* Adds appropriate constraints
* Minor fixes
* Removes unused import
* Fixes integrity tests
* Minor fixes
* Updates trait bounds
* Uses custom bound for AsPrimitive
* Fixes trait bounds
* Revert "Fixes trait bounds"
This reverts commit 0b0f42f583f3a616a88afe45fcd06d31e7d9a06f.
* Revert "Uses custom bound for AsPrimitive"
This reverts commit 838e5281adf8b6e9632a2abb9cd550db4ae24126.
* No AsPrimitive trait bound for now
* Removes bounds on Number
* update lockfile for {"substrate", "polkadot"}
* Formatting
* ".git/.scripts/commands/fmt/fmt.sh"
* Minor fix
---------
Co-authored-by: parity-processbot <>
2023-07-13 13:30:28 +00:00
dependabot[bot]
49145bdd9b
Bump serde_json from 1.0.100 to 1.0.102 ( #2859 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.100 to 1.0.102.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.100...v1.0.102 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 09:47:32 +00:00
Michal Kucharczyk
94d2e4bc28
GenesisBuild<T,I> deprecated. BuildGenesisConfig added (#2757 )
...
* GenesisBuild<T,I> deprecated. BuildGenesisConfig added
* ".git/.scripts/commands/fmt/fmt.sh"
* integration-tests/emulated: ..Default::default added to genesis configs
* Cargo.lock updated
* Cargo.lock updated
* update lockfile for {"polkadot", "substrate"}
* clippy fixes
* clippy fixes
* clippy fixes again
---------
Co-authored-by: command-bot <>
2023-07-12 12:00:17 +00:00
Branislav Kontur
f3ada7b81f
Removed --execution wasm ( #2857 )
2023-07-12 09:33:24 +00:00
dependabot[bot]
da51d3c28c
Bump serde from 1.0.168 to 1.0.171 ( #2855 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.168 to 1.0.171.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.168...v1.0.171 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 23:24:25 +00:00
Bastian Köcher
ae0210c1cc
Companion for removal of execution strategies ( #2836 )
...
* Companion for removal of execution strategies
https://github.com/paritytech/substrate/pull/14387
* Update Cargo.lock
* Remove patches
* Delete file again
* update lockfile for {"polkadot", "substrate"}
* Fix
* FMT
---------
Co-authored-by: parity-processbot <>
2023-07-11 22:48:51 +00:00
Branislav Kontur
9e68861cad
Bump substrate (because of failing asset-hub-westend benchmarks) ( #2853 )
...
* Bump substrate (because of failing asset-hub-westend benchmarks)
* Cargo.lock
* Update to compatible substrate vs polkadot
2023-07-11 21:22:25 +00:00
Bastian Köcher
43a4f0345e
collator-selection: Optimize length decoding ( #2851 )
...
Instead of loading always the entire `Vec` into the runtime to just decode the length, we can
directly use `decode_len` to get this info.
2023-07-11 15:15:04 +02:00
asynchronous rob
406f92ad90
Asynchronous-backing compatible Aura, not plugged in ( #2573 )
...
* rough draft of potential parent search
* get things compiling
* fmt
* add new function to all RelayChainInterface implementations
* fix compilation
* set slot and timestamp based on relay parent, prepare for find-parent
* skeleton of new aura logic
* fmt
* introduce a collator module in the Aura crate
* extract different implementations into own modules
* make interface more convenient
* docs and todos for lookahead
* refactor basic collator to use new collator utility
* some more refactoring
* finish most of the control flow for new aura
* introduce backend as parameter
* fix compilation
* fix a couple more TODOs
* add an `announce_block` function to collator service
* announce with barrier
* rename block announcement validator to be more specific
* fmt
* clean up unused import errors
* update references to BlockAnnounceValidator
* rename unstable_reimpl
* add AuraUnincludedSegmentApi
* finish rename
* integrate AuraUnincludedSegmentApi
* add a new block announcement validator for backwards compatibility
* add some naive equivocation defenses
* rustfmt
* clean up remaining TODO [now]s
* fmt
* try to fix inprocess-interface
* actually fix compilation
* ignored -> rejected rephrase
* fix test compilation
* fmt
* clippy
2023-07-11 13:56:09 +02:00
Bradley Olson
cc5e0ae9ab
Better scoped fallback in read_messaging_state_snapshot() ( #2852 )
...
* moved changes to master
* spelling
* one last name change
2023-07-11 13:30:47 +02:00
dependabot[bot]
7074281392
Bump syn from 2.0.23 to 2.0.25 ( #2847 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 2.0.23 to 2.0.25.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.23...2.0.25 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 13:03:27 +02:00
dependabot[bot]
da91cafc34
Bump serde from 1.0.167 to 1.0.168 ( #2848 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.167 to 1.0.168.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.167...v1.0.168 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 22:25:29 +00:00
dependabot[bot]
cebf0f0595
Bump proc-macro2 from 1.0.63 to 1.0.64 ( #2849 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.63...1.0.64 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 22:25:02 +00:00
dependabot[bot]
edb79e46e5
Bump thiserror from 1.0.41 to 1.0.43 ( #2845 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-09 07:58:02 +00:00
dependabot[bot]
d03b393a48
Bump serde from 1.0.166 to 1.0.167 ( #2844 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.166 to 1.0.167.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.167 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-08 22:29:19 +02:00
joe petrowski
5a8134029a
Better Handling of Candidates Who Become Invulnerable ( #2801 )
...
* remove candidate when to invulnerable
* fix
* candidates to collators
* make parameters consistent and more reasonable
* add call to kick invulnerable candidates
* factor removal into weight
* fix: use accrue instead of add
* make set_invulnerables non-atomic
* benchmark add_invulnerable to account for candidate removal
* don't remove from candidates with set_invulnerables
* fix bounds on benchmarking
* protect against zero min invulnerables underflow
* extra event and tests
* make candidates/invulnerables self-cleaning on session change
* add integrity test
* unused imports
* make rococo-contracts have 1 collator
2023-07-07 11:18:27 +00:00
joe petrowski
8f75f13e5a
Add New Assets Privileged Functions to Appropriate Proxy Types ( #2839 )
2023-07-06 17:11:14 +00:00
Web3 Philosopher
b665db6510
don't wrap errors ( #2830 )
2023-07-06 17:09:13 +02:00