dependabot[bot]
6a7add66e7
Bump parking_lot from 0.12.0 to 0.12.1 ( #1322 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.0...0.12.1 )
---
updated-dependencies:
- dependency-name: parking_lot
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>
2022-05-31 23:16:54 +02:00
Squirrel
9405a969f0
dir restructure to support more CGP ( #1266 )
...
* rerame res to chain-specs
* split polkadot-parachains dir
* rename dir parachains-common to common
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-05-20 13:43:04 +01:00
Shawn Tabrizi
820153b785
Fix Cumulus Compile (into_account_truncating) ( #1277 )
...
* fix cumulus compile
* Update Cargo.lock
2022-05-19 19:38:57 +00:00
Sebastian Kunert
b1a5d70256
Create binary for cumulus testing node #1128 ( #1158 )
...
* Create binary for cumulus testing node
* Fix call to wrong method
* Fix iterator bug
* Add real networking to polkadot node
* Allow using of file chain specs
* Implement export of wasm blob and genesis state
* Add parachain id to test service export
* Remove debug logs
* Fix main.rs
* Do not use cli from polkadot-collator
* Add tracing dependency
* Improve cli structure
* Use struct instead of enum for export commands
* Add missing license header
* Fix benchmark
* add build-spec subcommand (#19 )
* add build-spec subcommand
* reorder args
* Fix formatting
* Add zombienet test (#26 )
* add migrated tests
* rename test files
* uncomment args and remove extra collator node
* Fix indentation (#27 )
* add migrated tests
* rename test files
* uncomment args and remove extra collator node
* fix identation
* Review comments
* Remove unwanted version changes
Co-authored-by: Sebastian Kunert <skunert@Sebastians-MacBook-Pro.fritz.box >
Co-authored-by: Javier Viola <pepoviola@gmail.com >
2022-05-18 16:41:48 +02:00
dependabot[bot]
7158f357bc
Bump jsonrpsee from 0.13.0 to 0.13.1 ( #1263 )
...
Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/paritytech/jsonrpsee/releases )
- [Changelog](https://github.com/paritytech/jsonrpsee/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/jsonrpsee/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: jsonrpsee
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>
2022-05-17 22:14:05 +02:00
Niklas Adolfsson
e3d0895dc6
companion 11395 ( #1253 )
...
* companion for 11395
* companion for 11395
* update polkadot
2022-05-11 15:02:22 +02:00
dependabot[bot]
25eabddb3c
Bump tokio from 1.18.1 to 1.18.2 ( #1249 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.1...tokio-1.18.2 )
---
updated-dependencies:
- dependency-name: tokio
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>
2022-05-10 13:46:40 +02:00
Niklas Adolfsson
3d982fef1c
companion #8738 (jsonrpsee) ( #823 )
...
* update polkadot and substrate
* add jsonrpsee glue code
* fix tests
* update substrate & polkadot
* update substrate & polkadot
* update Cargo.lock
* revert Cargo.toml
* revert changes in Cargo.toml
* update companion
* revert substrate change
* add Cargo.lock
* update substrate manually
* update polkadot
2022-05-10 12:53:21 +02:00
Roman Gafiyatullin
0eb8efa6f1
A companion PR to the https://github.com/paritytech/substrate/pull/10995 ( #1162 )
...
* Substrate API change: https://github.com/paritytech/substrate/issues/8103
* fix fallout of https://github.com/paritytech/polkadot/pull/5454
* update lockfile for {"polkadot"}
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
Co-authored-by: parity-processbot <>
2022-05-06 12:09:41 +00:00
dependabot[bot]
566b383f56
Bump tokio from 1.18.0 to 1.18.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.0...tokio-1.18.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-03 09:59:10 +00:00
dependabot[bot]
51eeb6fd32
Bump serde from 1.0.136 to 1.0.137 ( #1229 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.136 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137 )
---
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>
2022-05-03 10:55:52 +02:00
dependabot[bot]
423a7f5a37
Bump tokio from 1.17.0 to 1.18.0 ( #1220 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
2022-04-28 10:56:12 +02:00
dependabot[bot]
3b0f145934
Bump scale-info from 2.1.0 to 2.1.1 ( #1171 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.0 to 2.1.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.1.0...v2.1.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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 10:21:04 +02:00
dependabot[bot]
476c3bf688
Bump scale-info from 2.0.1 to 2.1.0 ( #1165 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.0.1 to 2.1.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/commits/v2.1.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>
2022-04-12 09:43:02 +02:00
Stephen Shelton
669e1c1672
Add LengthToFee to runtimes ( #1152 )
...
* Add LengthToFee to runtimes
* update lockfile for {"polkadot"}
* fmt
* Update Cargo.lock
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-04-07 14:05:27 +00:00
dependabot[bot]
564c0532a6
Bump async-trait from 0.1.52 to 0.1.53 ( #1117 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.52 to 0.1.53.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.52...0.1.53 )
---
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>
2022-03-28 23:20:18 +02:00
Robert Habermeier
8eee3c37c4
Companion for primitives consolidation into v2 ( #1071 )
...
* branches
* update all primitives references
* fmt
* Update Polkadot & Substrate
* Again
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-03-10 09:33:05 +00:00
Arkadiy Paronyan
4eb7549029
Companion PR for storage changes ( #949 )
...
* Update for latests substrate & polkadot
* update substrate & polkadot
2022-03-04 13:03:54 +00:00
Dan Shields
65454fbf96
Update Cumulus to common Cargo formmating scheme ( #1050 )
...
* Update throughout with common Cargo formating scheme
2022-03-02 00:07:29 -07:00
Dan Shields
ad5dd362b4
Add wasmtime feature to all parachain clients ( #1058 )
...
* add wasmtime feature to all parachain clients
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-03-01 20:41:21 +00:00
Sebastian Kunert
234c42c2df
Introduce rpc client for relay chain full node ( #963 )
...
* Initial network interface preparations
* Implement get_storage_by_key
* Implement `validators` and `session_index_for_child`
* Implement persisted_validation_data and candidate_pending_availability
* Fix method name for persisted_validation_data and add encoded params
* Implement `retrieve_dmq_contents` and `retrieve_all_inbound_hrmp_channel_contents`
* Implement `prove_read`
* Introduce separate RPC client, expose JsonRpSee errors
* Simplify closure in call_remote_runtime_function
* Implement import stream, upgrade JsonRpSee
* Implement finality stream
* Remove unused method from interface
* Implement `is_major_syncing`
* Implement `wait_on_block`
* Fix tests
* Unify error handling `ApiError`
* Replace WaitError with RelayChainError
* Wrap BlockChainError in RelayChainError
* Unify error handling in relay chain intefaces
* Fix return type of proof method
* Improve error handling of new methods
* Improve error handling and move logging outside of interface
* Clean up
* Remove unwanted changes, clean up
* Remove unused import
* Add format for StatemachineError and remove nused From trait
* Use 'thiserror' crate to simplify error handling
* Expose error for overseer, further simplify error handling
* Reintroduce network interface
* Implement cli option
* Adjust call_state method to use hashes
* Disable PoV recovery when RPC is used
* Add integration test for network full node
* Use Hash instead of BlockId to ensure compatibility with RPC interface
* Fix cargo check warnings
* Implement retries
* Remove `expect` statements from code
* Update jsonrpsee to 0.8.0 and make collator keys optional
* Make cli arguments conflicting
* Remove unused `block_status` method
* Add clippy fixes
* Cargo fmt
* Validate relay chain rpc url
* Clean up dependencies and add one more integration test
* Clean up
* Clean up dependencies of relay-chain-network
* Use hash instead of blockid for rpc methods
* Fix tests
* Update client/cli/src/lib.rs
Co-authored-by: Koute <koute@users.noreply.github.com >
* Improve error message of cli validation
* Add rpc client constructor
* Do not use debug formatting for errors
* Improve logging for remote runtime methods
* Only retry on transport problems
* Use PHash by value, rename test
* Improve tracing, return error on relay-chain-interface build
* Fix naming, use generics instead of deserializing manually
* Rename RelayChainLocal and RelayChainNetwork
* lock
* Format
* Use impl trait for encodable runtime payload
* Only instantiate full node in tests when we need it
* Upgrade scale-codec to 3.0.0
* Improve expect log
Co-authored-by: Koute <koute@users.noreply.github.com >
2022-03-01 12:37:51 +01:00
wigy
6af1dd5f6f
Companion to "Updating scale to v3" ( #1013 )
...
* Updating dependencies
* Adapting code to scale v3
* cargo fmt
* Fix compilation
* Update Cargo.lock
* TIL exists
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-02-25 13:40:24 +00:00
dependabot[bot]
307080e59a
Bump parking_lot from 0.10.2 to 0.12.0 ( #1030 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.10.2 to 0.12.0.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.10.2...0.12.0 )
---
updated-dependencies:
- dependency-name: parking_lot
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>
2022-02-22 19:39:09 +01:00
Koute
222d5cfaa1
Bump tokio to 1.17.0 ( #1014 )
2022-02-22 11:01:17 +00:00
Keith Yeung
e141b72ec7
Update rand to v0.8.5 ( #987 )
...
* Update rand to v0.8.5
* Enable std_rng feature on rand
* Enable std_rng only when std is enabled
* Revert "Enable std_rng only when std is enabled"
This reverts commit 8fb3b72dbd6dc18bc19868b999b5b07cea4b7392.
2022-02-14 23:14:05 +00:00
Bastian Köcher
1a7a452795
CI: Check that rustdocs can be generated ( #972 )
2022-02-09 13:24:42 +01:00
Sebastian Kunert
a9630551c2
Unify RelayChainInterface error handling and introduce async ( #909 )
2022-01-25 18:27:54 +01:00
Bastian Köcher
9dd0f5c225
pov-recovery: Enable pov-recovery as well on full nodes ( #927 )
...
* pov-recovery: Enable pov-recovery as well on full nodes
Pov recovery was before only enabled for collators. The reason behind this was prevention of spam of
the relay chain for block recovery. However, recent events has shown that this wasn't a good idea.
So, this pr enables pov-recover for normal full nodes as well, but with a much higher delay before
trying to recover a block. This means that full nodes will wait in minimum 2.5 minutes and in
maximum 5 minutes before recovering a block. This should give collators in "normal mode" enough time
to recover a block (they wait in maximum 6 seconds after they have seen a new candidate in the relay
chain) before recovering a block. So, we should hopefully not spam the relay chain.
* FMT
* Fixes
* Fix documentation
2022-01-21 20:16:11 +01:00
Ignacio Palacios
60c3ccfd62
Add set custom header to Seedling Runtime ( #846 )
...
* before adding seedling client side
* seedling runtime compiles
* create seedling spec script added
* seedling node & BaseCallFilter fixes
* update AllPalets
* formatting
* CallFilter + SignedExtra + AccountData fix
* XCM removed
* cleanup
* solo-to-para pallet added & before testing
* fix runtime upgrade method
* soloToPara pallet + set header
* clean up
* clean up 2
* signed extension check sudo added
* fmt + cleanup
* Refac code and fixes
* fmt
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* small fixes
* OnValidationData used
* small changes
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* OnValidationData replaced by OnSystemEvent
* fmt + cargo fix
* disable-default-bootnodes for seedling script
Co-authored-by: Ricardo Rius <ricardo@parity.io >
Co-authored-by: Ricardo Rius <9488369+riusricardo@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-01-14 14:21:10 +01:00
sandreim
9388723d81
Companion for #4639 (Remove sleep from tests ) ( #890 )
...
* fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update lockfile for polkadot
Co-authored-by: parity-processbot <>
2022-01-10 11:33:10 +00:00
Adrian Catangiu
242cdc306b
Cumulus companion for substrate #10463 ( #870 )
...
* Companion for substrate #10463
* update lockfile for substrate
* update lockfile for polkadot
Co-authored-by: parity-processbot <>
2022-01-05 20:33:23 +00:00
Bastian Köcher
f19c71e548
Fix transaction benchmark ( #886 )
...
We need to give the accounts more coins!!
2022-01-04 23:59:58 +01:00
Sergei Shulepov
cf8de5b001
Derive Clone for RelayStateSproofBuilder ( #884 )
2022-01-03 19:28:42 +00:00
Bastian Köcher
2f9e97ce02
Fix solo to para custom header return ( #882 )
...
* Adds an integration test for testing the migration
* Fix the custom validation header use case
2022-01-03 20:14:14 +01:00
Sergei Shulepov
38ae71fbdd
companion for polkadot#4635 (config rename frequency->cooldown) ( #880 )
...
* companion for polkadot#4635 (config rename frequency->cooldown)
* update lockfile for polkadot
Co-authored-by: parity-processbot <>
2021-12-30 20:58:10 +00:00
cheme
b9ba74892a
Companion for substrate#9732 ( #678 )
...
* state-update4 branch
* new ref
* Update to latest.
* update deps
* switch to host state version
* update
* fmt
* up
* remove trie patch
* remove patch
* fmt
* update
* set state_versions in runtimes
* state version from storage
* state version from storage
* seedling compat
* restore lock
* update lockfile for substrate
* update lockfile for polkadot
Co-authored-by: parity-processbot <>
2021-12-24 11:28:43 +00:00
Sebastian Kunert
7b42df10f3
Introduce interface for relay chain interaction ( #835 )
2021-12-22 19:02:11 +01:00
Keith Yeung
1856c5df34
Update serde to 1.0.132 ( #871 )
2021-12-21 09:15:50 +01:00
Bastian Köcher
60ae6ad1d3
Update Substrate & Polkadot ( #861 )
2021-12-15 03:10:12 +00:00
Gavin Wood
ccf1811432
Companion for #10403 : Remove Default for AccountId ( #842 )
...
* author is Some
* Bump
* Lockfile
* Fixes
* Fixes
* Fixes
* Fixes
* Bump
* Update Cargo.lock
* bump substrate and polkadot
* fmt
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-14 09:07:51 +00:00
Bastian Köcher
6d25c29087
Test-runtime: Support changing the ParaId. ( #858 )
...
Adds support for changing the para id relative easily. While this is currently not needed, we may
need it at some later point.
2021-12-13 14:46:40 +01:00
Bastian Köcher
e3a1e39cbb
Fix benchmarks and ensure CI tests them ( #854 )
...
* Fix benchmarks and ensure CI tests them
* FMT
2021-12-12 23:17:15 +01:00
Keith Yeung
1a71d006a7
Update serde to 1.0.131 ( #853 )
2021-12-11 14:10:51 +01:00
Bastian Köcher
2a8c07bf0b
Update to latest Polkadot & Substrate ( #850 )
...
* Update to latest Polkadot & Substrate
* More fixes
2021-12-10 12:08:41 +01:00
Gavin Wood
a4b3b378eb
Companion for #10382 (Insufficient asset quotes and deposits) ( #804 )
...
* MaxConsumers
* Fixes
* Fixes
* Fixes
* Fixes
* Bump
* Fixes
* Fixes
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-09 17:24:32 +01:00
Keith Yeung
1bfbc7fe0c
Add CheckNonZeroSender to runtime configs ( #847 )
...
* Add CheckNonZeroSender to runtime configs
* cargo update -p polkadot-primitives
* Fixes
* Fixes
2021-12-09 14:53:51 +01:00
Bastian Köcher
d0b5e2b56f
Adds support for returning a custom header from validate_block ( #825 )
...
* Adds support for returning a custom header from `validate_block`
This adds support for returning a custom header from `validate_block`. Before this, we always
returned the header of the block that was validated (and still do it by default). However, after
this pr it is possible to set a custom header or better custom head data that will be returned
instead from `validate_block`. This can be for example when a chain wants to fork.
* FMT
2021-12-03 12:49:13 +01:00
zjb0807
94988af02f
use double quotes instead of single quotes ( #815 )
2021-12-01 03:00:11 +00:00
Guillaume Thiolliere
6bcafd40ce
companion for pallet order fix ( #711 )
...
* companion
* Run cargo update
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-12-01 01:51:58 +00:00
Bastian Köcher
d85a3a937f
Update Substrate & Polkadot ( #770 )
...
* Update Substrate & Polkadot
* Disable tests without debug assertions
2021-11-19 23:46:14 +01:00