EgorPopelyaev
56c0353172
Update polkadot dependencies
2023-05-02 15:56:12 +02:00
Keith Yeung
cf4a6efbbd
Companion for paritytech/polkadot#7098 ( #2469 )
...
* Companion for paritytech/polkadot#7098
* Fixes
* Add missing benchmarked function
* Fix typo
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-04-27 10:48:22 +00:00
Sebastian Kunert
eced0cb3d5
Parachain node should not recover blocks while syncing ( #2462 )
2023-04-19 16:02:35 +02:00
dependabot[bot]
4449044033
Bump clap from 4.1.14 to 4.2.3 ( #2465 )
2023-04-19 12:25:13 +02:00
dependabot[bot]
5a0ebaddbc
Bump serde from 1.0.159 to 1.0.160 ( #2445 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.159 to 1.0.160.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.159...v1.0.160 )
---
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-04-12 10:04:29 +02:00
Alexandru Vasile
03763dd077
Companion for #13302 ( #2357 )
...
* primitives/core: Derive scale_info::TypeInfo for runtime APIs
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* parachains: Derive scale_info::TypeInfo for FungiblesAccessError
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* parachains: Fix `TypeInfo` import path
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update lockfile for {"polkadot", "substrate"}
* Adjust testing for the new API
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Adjust deprecated methods
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: parity-processbot <>
2023-04-11 14:23:39 +00:00
dependabot[bot]
98f6ca732b
Bump hex-literal from 0.4.0 to 0.4.1 ( #2434 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.4.0...hex-literal-v0.4.1 )
---
updated-dependencies:
- dependency-name: hex-literal
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-04-05 21:57:14 +00:00
dependabot[bot]
697f0cd1d8
Bump hex-literal from 0.3.4 to 0.4.0 ( #2426 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.3.4 to 0.4.0.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.4...hex-literal-v0.4.0 )
---
updated-dependencies:
- dependency-name: hex-literal
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-04-03 21:53:58 +00:00
dependabot[bot]
6bdcf1f792
Bump clap from 4.1.13 to 4.1.14 ( #2421 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.13 to 4.1.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.1.13...v4.1.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-04-01 20:58:34 +00:00
Sebastian Kunert
e5d994b0c3
help text examples + clean up ( #2418 )
2023-04-01 16:44:32 +02:00
dependabot[bot]
693e97336d
Bump scale-info from 2.4.0 to 2.5.0 ( #2404 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: scale-info
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-03-30 16:06:58 +02:00
dependabot[bot]
247e843011
Bump serde from 1.0.156 to 1.0.159 ( #2395 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.156 to 1.0.159.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.156...v1.0.159 )
---
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-03-29 21:50:45 +02:00
dependabot[bot]
0ef1444c48
Bump scale-info from 2.3.1 to 2.4.0 ( #2386 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.3.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: scale-info
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-03-28 11:08:38 +02:00
dependabot[bot]
ea6598c3fa
Bump clap from 4.1.11 to 4.1.13 ( #2388 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.11 to 4.1.13.
- [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.1.11...v4.1.13 )
---
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-03-27 22:08:11 +00:00
Just van Stam
adcca5e162
Companion for polkadot#6928 ( #2356 )
...
* add AdminOrigin to all xcm-configs in cumulus
* cargo fmt
* Update Substrate & Polkadot
---------
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-03-23 10:36:03 +00:00
Muharem Ismailov
7623aba639
Introduce Fellowship into Collectives ( #2186 )
...
* Fellowship into Collectives
* cargo.lock
* tracks alias
* allow to send Fellows origin over XCM
* update todos, remove duplication of type
* use Collectives location for Fellows body
* alias for ranks constants
* benchmarks
* proxy for Fellowship
* docs
* correct copyright date
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* rustfmt
* remove council, update origins
* renames
* remove tech committee from promote origin
* renames
* doc nits
* weights with new api
* sane weights for pallet_scheduler
* XCM tweaks for OpenGov (#2305 )
* updated xcm configs for collectives and statemint
* remove xcm send from safe filter
* remove prod_or_fast
* remove empty line
* drop redundant aggregation
* remove match arm duplication
---------
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2023-03-21 13:10:37 +00:00
dependabot[bot]
6adb3039b7
Bump clap from 4.1.8 to 4.1.11 ( #2352 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.8 to 4.1.11.
- [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.1.8...v4.1.11 )
---
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-03-21 10:01:54 +01:00
Gavin Wood
c5fc6414c1
Deprecate Currency: Companion for #12951 ( #2334 )
...
* Fix APIs
* Reflect API changes
* Everything builds
* Fixes
* Fixes
* Update Cargo.toml
* Fixes
* Fixes
* No networks use freezes/holds
* update lockfile for {"polkadot", "substrate"}
* Fix test
ED cannot be zero anymore.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix test
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-20 16:52:21 +00:00
Bastian Köcher
5aeff50e77
Improve build times by disabling wasm-builder in no_std ( #2308 )
...
There is no need to compile wasm-builder in `no_std` as we skip the compilation of the crate any
way. So, we can also directly disable wasm-builder as dependency in `no_std` to improve build times.
2023-03-20 09:53:09 +01:00
dependabot[bot]
6d3aaa072d
Bump serde from 1.0.152 to 1.0.156 ( #2329 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.152 to 1.0.156.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.156 )
---
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-03-19 10:17:30 +00:00
Davide Galassi
6865251d9c
[Companion #13615 ] Keystore overhaul ( #2336 )
...
* Align to Substrate keystore overhaul
* 'sync_keystore' renamed to 'keystore'
* Further fixes after removal of async keystore trait
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-03-17 12:50:38 +00:00
Alexandru Vasile
710fee562c
Companion for #13287 ( #2155 )
...
* parachains: Adjust `sp_api::Metadata` to the new API
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* parachains: Implement new Metadata trait for bridge/polkadot
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update lockfile for {"substrate", "polkadot"}
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: parity-processbot <>
2023-03-15 19:22:04 +00:00
dependabot[bot]
5e23bb7579
Bump clap from 4.1.6 to 4.1.8 ( #2272 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.6 to 4.1.8.
- [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.1.6...v4.1.8 )
---
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-03-15 15:16:39 +00:00
Aaro Altonen
14b9db56fd
Companion for paritytech/substrate#13592 ( #2310 )
...
* Fixes
* Remove `sc-network-common` dependency
* update lockfile for {"polkadot", "substrate"}
* Update Cargo.lock
* Update Cargo.lock
---------
Co-authored-by: parity-processbot <>
2023-03-14 16:34:20 +02:00
Vivek Pandya
bf223aa340
Remove use of trait Store ( #2286 )
...
* Remove use of Store trait from xcmp-queue pallet
* Remove Store trait usage from dmp-queue pallet
* Remove Store trait usage from parachain-system pallet
* Remove use of Store trait from cumulus
* Run cargo fmt
2023-03-13 22:30:20 +01:00
Sebastian Kunert
579dd3bb2e
Cleanup dependencies + dead code ( #2302 )
2023-03-10 17:09:38 +01:00
Keith Yeung
73661b7dea
XCM: Use matcher API in DenyReserveAssetTransferToRelay ( #2290 )
...
* Use matcher API in DenyReserveAssetTransferToRelay
* Fixes
* Fixes
* Fixes
* cargo fmt
2023-03-10 13:44:43 +00:00
Bastian Köcher
52d1067db6
relay-chain-interface: Do not depend on polkadot-service ( #2287 )
2023-03-07 15:17:05 +01:00
Aaro Altonen
c1f44c2c24
Companion for paritytech/substrate#12828 ( #1939 )
...
* Companion for paritytech/substrate#12764
* Remove `async-trait`
* Companion for paritytech/substrate#12828
* carg fmt
* Update client/relay-chain-minimal-node/src/network.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: parity-processbot <>
2023-03-06 18:25:56 +00:00
Oliver Tale-Yazdi
558502345f
Migrate to Weight::from_parts ( #2245 )
...
* Migrate to from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix remaining files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use Master Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-03 12:47:23 +00:00
s0me0ne-unkn0wn
9ed57cf859
Companion for paritytech/polkadot#6744: Retire OldV1SessionInfo ( #2213 )
...
* Adjust commands
* Use `NetworkWorker::next_action()` instead of `poll()`
* rustfmt
* minor: fix mutability
* Move imports
* Replace `NetworkWorker::next_action()` with `run()`
* Import fix
* Make `NetworkWorker::run` consume self
* Retire `OldV1SessionInfo`
* update lockfile for {"polkadot", "substrate"}
* update lockfile for {"substrate", "polkadot"}
* update lockfile for {"substrate", "polkadot"}
* Make stuff compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Piotr Mikołajczyk <piomiko41@gmail.com >
Co-authored-by: Dmitry Markin <dmitry@markin.tech >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-02-20 20:26:47 +00:00
dependabot[bot]
33e8327b13
Bump clap from 4.1.4 to 4.1.6 ( #2193 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.4 to 4.1.6.
- [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.1.4...v4.1.6 )
---
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-02-15 21:45:35 +00:00
Sam Elamin
1faed8b0f0
add warp_sync_params ( #1909 )
...
* wait for relay chain to sync then get parachain header
* Spawn new thread to wait for the target block
* second round of comments from the PR on substrate
* third round of pr comments
* add zombienet tests
* rebase issues
* refactor tests based on pr comments
* rebase issues
* pr comments
* passing zombienet test
* cargo +nightly fmt
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* use cargo lock from master
* pr comments
* cargo fmt
* use finalised block instead of best block
* use import notification stream
* rebase changes
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/relay-chain-interface/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/relay-chain-interface/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* pr comments
* use new file names
* db snaphots moved to google cloud storage
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* pr comments
* Update zombienet/tests/0007-full_node_warp_sync.toml
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* Update zombienet/tests/0007-full_node_warp_sync.toml
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* Scenario 1
Parachain node and in-node relay chain both start with --sync warp. This ensures that the waiting logic works as expected.
Scenario 2
Parachain node starts with warp sync, relay chain points to a node already synced up
scenario 3
Parachain node starts with warp sync, relay chain points to a node that uses warp sync
* Use test-parachain
* use test-parachain chainspecs
* remove relay chain spec as it is no longer required
* add back relaychain spec file
* pr comments
* Upload snapshots to google cloud
* Update zombienet/tests/0007-prepare-warp-sync-db-snapshot.md
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* update documentation
* Fix snapshot URLs
* use master lock file
* add finalized_block_hash
* Patch diener for CI
* Bump Zombienet
* Add 0007 zombienet test
* Bump zombienet
* Revert "Patch diener for CI"
This reverts commit 9ece6c9fc9b17058b61cd7e9dee29d3a9af87841.
* merge fixes
* use master lock file
* Update Substrate & Polkadot
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-02-14 19:15:43 +00:00
Sebastian Kunert
afcfd2404a
Add retry mechanism for pov-recovery, fix full-node pov-recovery ( #2164 )
...
* Increase delay for pov-recovery
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Comment
* FMT
* Clear waiting_recovery when block is recovered or recovery failed
* Introduce recovery queue that preserved insertion order
* Better error logs
* Decrease slot duration
* Style improvements
* Add option to use unordered queue
* Maintain cache of finalized blocks
* Wait for one relay chain slot before recovery
* Make retries testable
* fmt
* Improve docs
* Improve docs
* Simplify RecoveryQueue
* Remove unwanted changes
* Adjust to comments
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* Move recovery delay into the queue
* Check for finalized number
* Clean up
* Use timer
Co-authored-by: Bastian Köcher <git@kchr.de >
* Simplify implementation
* Revert "Use timer"
This reverts commit 3809eed840d3a09d54212f99486782ff80cdc1c9.
* Properly clear `to_recover` flag
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-02-09 14:18:55 +01:00
Bastian Köcher
9b1ef63f4b
Companion: Remove uncles related code ( #2126 )
...
* Companion: Remove `uncles` related code
https://github.com/paritytech/substrate/pull/13216
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-01-29 22:17:24 +00:00
Stephen Shelton
fd89a5bb97
13110 Companion: Add WeightToFee and LengthToFee Runtime API ( #2073 )
...
* Add WeightToFee runtime API impls
* Fix typo
* Forgot some
* Update Substrate & Polkadot
* Update
---------
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-01-27 17:52:00 +00:00
dependabot[bot]
3b3b6d2f84
Bump clap from 4.1.1 to 4.1.4 ( #2145 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.1 to 4.1.4.
- [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/clap_complete-v4.1.1...v4.1.4 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 22:29:09 +01:00
Sergej Sakac
b322482532
Warn validators with slow hardware ( #1863 )
...
* Warn validators with slow hardware
* update
* fix
* revert
* Fix printing logic
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update polkadot-parachain/src/service.rs
* import
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate", "polkadot"}
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-01-21 18:14:53 +00:00
dependabot[bot]
01c83d2a95
Bump clap from 4.0.32 to 4.1.1 ( #2096 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.32 to 4.1.1.
- [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.0.32...v4.1.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-20 23:40:54 +01:00
Bastian Köcher
46d309131a
Simplify the template ( #2072 )
...
* Simplify the template
* Fix and use generated whitelisted keys
* Fixes
* Update Substrate to fix compilation
* 🤦
2023-01-19 13:04:14 +01:00
Gavin Wood
3aae882437
XCM v3 Companion ( #697 )
...
* Fixes
* Undiener
* Undiener
* Undiener
* Lockfile
* Changes for send returning hash
* Include message ID as params to execute_xcm
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Companion fixes
* Formatting
* Fixes
* Formatting
* Bump
* Bump
* Fixes
* Formatting
* Make the price of UMP/XCMP message sending configurable
* cargo fmt
* Remove InvertLocation
* Formatting
* Use ConstantPrice from polkadot-runtime-common
* Fix naming
* cargo fmt
* Fixes
* Fixes
* Fixes
* Add CallDispatcher
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Remove unused import
* Remove unused import
* XCMv3 fixes (#1710 )
* Fixes XCMv3 related
Fixes XCMv3 (removed query_holding)
Fixes XCMv3 - should use _depositable_count?
Fixes XCMv3 - removed TrustedReserve
Fixes - missing weights for statemine/statemint/westmint
[DO-NOT-CHERRY-PICK] tmp return query_holding to aviod conficts to master
Fixes - missing functions for pallet_xcm_benchmarks::generic::Config
Fixes for XCMv3 benchmarking
Fix xcm - removed query_holding
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* Fix imports
* Avoid consuming XCM message for NotApplicable scenario (#1787 )
* Avoid consuming message for NotApplicable scenario
* Avoid consuming message for NotApplicable scenario tests
* Add 10 message processing limit to DMP queue
* Add 10 message limit to XCMP queue
* Always increment the message_processed count whenever a message is processed
* Fix formatting
* Set an upper limit to the overweight message DMP queue
* Add upper limit to XCMP overweight message queue
* Fix for missing weight for `fn unpaid_execution()`
* Fix - usage of `messages_processed`
* Fixes
* Fixes
* Fixes
* cargo fmt
* Fixes
* Fixes
* Fixes
* Fixes
* Remove unused import
* Fixes for gav-xcm-v3 (#1835 )
* Fix for FungiblesAdapter - trait changes: Contains -> AssetChecking
* Fix for missing weight for `fn unpaid_execution()`
* Used NonLocalMint for all NonZeroIssuance
* Fix
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fix tests
* Fixes
* Add SafeCallFilter
* Add missing config items
* Add TODO
* Use () as the PriceForParentDelivery
* Fixes
* Fixes
* Fixes
* Fixes
* Update transact_origin to transact_origin_and_runtime_call
* Add ReachableDest config item to XCM pallet
* Update SafeCallFilter to allow remark_with_event in runtime benchmarks
* cargo fmt
* Update substrate
* Fix worst_case_holding
* Fix DMQ queue unit tests
* Remove unused label
* cargo fmt
* Actually process incoming XCMs
* Fixes
* Fixes
* Fixes
* Fixes - return back Weightless
* Added measured benchmarks for `pallet_xcm` (#1968 )
* Fix
Fix
Fix
* Fix
* Fixes for transact benchmark
* Fixes add pallet_xcm to benchmarks
* Revert remark_with_event
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* Fixes
* TMP
* Fix for reserve_asset_deposited
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm
* Fix
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm
* Fix
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm
* Fix westmint
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* Fix
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm
* Fix for collectives
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm
* Fixes for bridge-hubs
* Fixes - return back Weightless
* Fix - removed MigrateToTrackInactive for contracts-rococo
Co-authored-by: command-bot <>
* cargo fmt
* Fix benchmarks
* Bko gav xcm v3 (#1993 )
* Fix
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm
Co-authored-by: command-bot <>
* Change AllowUnpaidExecutionFrom to be explicit
* xcm-v3 benchmarks, weights, fixes for bridge-hubs (#2035 )
* Dumy weights to get compile
* Change UniversalLocation according to https://github.com/paritytech/polkadot/pull/4097 (Location Inversion Removed)
* Fix bridge-hubs weights
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic
* Change NetworkId to Option<NetworkId>
Co-authored-by: command-bot <>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Add event for showing the hash of an UMP sent message (#1228 )
* Add UpwardMessageSent event in parachain-system
* additional fixes
* Message Id
* Fix errors from merge
* fmt
* more fmt
* Remove todo
* more formatting
* Fixes
* Fixes
* Fixes
* Fixes
* Allow explicit unpaid executions from the relay chains for system parachains (#2060 )
* Allow explicit unpaid executions from the relay chains for system parachains
* Put origin-filtering barriers into WithComputedOrigin
* Use ConstU32<8>
* Small nits
* formatting
* cargo fmt
* Allow receiving XCMs from any relay chain plurality
* Fixes
* update lockfile for {"polkadot", "substrate"}
* Update polkadot
* Add runtime-benchmarks feature
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: girazoki <gorka.irazoki@gmail.com >
Co-authored-by: parity-processbot <>
2023-01-17 09:26:34 +00:00
s0me0ne-unkn0wn
7d8d4d2106
Use primitives reexported from polkadot_primitives crate root ( #2067 )
...
* Use primitives reexported from `polkadot_primitives` crate root
* restart CI
* Fixes after merge
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2023-01-11 12:06:58 +00:00
Oliver Tale-Yazdi
dffcf83a5b
Co #6498 : Selectable on-runtime-upgrade checks ( #2057 )
...
* Use UpgradeCheckSelector
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-01-05 17:23:01 +00:00
dependabot[bot]
ac28cda2a6
Bump serde from 1.0.151 to 1.0.152 ( #2045 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.151 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-28 10:56:47 +01:00
dependabot[bot]
777318a84a
Bump clap from 4.0.29 to 4.0.32 ( #2032 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.29 to 4.0.32.
- [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.0.29...v4.0.32 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-22 23:01:52 +01:00
Squirrel
29175bb984
Expect less chaos: use explicit call indices ( #1984 )
...
* Expect less chaos: set call index explicitly.
* mark test pallet as dev mode so explicit call indicies are not required.
* Fix 'dev_mode' syntax
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-12-20 12:04:56 +00:00
Davide Galassi
73837c384e
Limit number of blocks per level (2nd attempt) ( #1559 )
...
Prevents the StateDbError::TooManySiblingBlocks error from being triggered by eagerly removing
stale blocks from the backend on block import and before the error condition is met.
Introduces a just in time block recovery mechanism for blocks that were wrongly removed
via an explicit pov-recovery method
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-12-20 12:13:49 +01:00
dependabot[bot]
88a2d0e67e
Bump serde from 1.0.150 to 1.0.151 ( #2001 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.150 to 1.0.151.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.150...v1.0.151 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 23:18:54 +01:00
dependabot[bot]
8cec35ccc8
Bump scale-info from 2.3.0 to 2.3.1 ( #1978 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: scale-info
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 09:50:50 +01:00
dependabot[bot]
d526ada9bd
Bump serde from 1.0.149 to 1.0.150 ( #1987 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.149 to 1.0.150.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.149...v1.0.150 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 16:13:06 +01:00