Oliver Tale-Yazdi
fcaa0bbe7c
Co #11456 : Match statement fallthrough for benchmark commands ( #1350 )
...
* Add default error for unsupported benchmarking command
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Same for the parachain-template...
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 >
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-07-19 12:53:59 +00:00
dependabot[bot]
21d2f135df
Bump serde from 1.0.137 to 1.0.139 ( #1439 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.137 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.139 )
---
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-07-16 23:13:09 +02:00
dependabot[bot]
df2afb1454
Bump clap from 3.2.8 to 3.2.12 ( #1448 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.8 to 3.2.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/v3.2.8...v3.2.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>
2022-07-16 12:38:06 +00:00
dependabot[bot]
ec1f24a1a2
Bump clap from 3.2.6 to 3.2.8 ( #1422 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.6 to 3.2.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/v3.2.6...v3.2.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>
2022-07-12 22:33:53 +02:00
Xiliang Chen
71df7f0148
Companion for substrate#11786 ( #1436 )
...
* bump deps
* companion substrate#11786
* cargo fmt
* update substrate
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2022-07-12 12:58:01 +00:00
Branislav Kontur
c623784f13
Typo + some clippy stuff (unnecessary clone/to_string/refs) + fmt ( #1437 )
2022-07-11 11:05:40 +00:00
Sebastian Kunert
6e13b44694
Rename help string parachain-collator -> parachain-template-node ( #1392 )
2022-06-23 11:36:33 +02:00
dependabot[bot]
a58b0181e6
Bump clap from 3.2.5 to 3.2.6 ( #1400 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.5 to 3.2.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/v3.2.5...v3.2.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>
2022-06-22 17:32:01 +00:00
Qinxuan Chen
ad6fe6d191
Move ExportGenesisStateCommand and ExportGenesisWasmCommand to cumulus-client-cli ( #1325 )
...
* Move ExportGenesisStateCommand and ExportGenesisWasmCommand to cumulus-client-cli
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove useless
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Use shared_params.chain
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-06-18 15:33:52 +02:00
Alexander Theißen
3e67ab361c
Remove redundant binary specification ( #1303 )
...
* Remove redundant binary specification
* Update polkadot-launch config
Co-authored-by: joepetrowski <joe@parity.io >
2022-06-17 19:32:39 +00:00
dependabot[bot]
48b8b1734c
Bump clap from 3.1.18 to 3.2.2 ( #1370 )
...
* Bump clap from 3.1.18 to 3.2.2
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.18 to 3.2.2.
- [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/v3.1.18...v3.2.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump clap to 3.2.5 and fix warnings
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
2022-06-17 15:05:44 +00:00
Niklas Adolfsson
21b0d92d31
companion #11661 ( #1364 )
...
* bump jsonrpsee v0.14.0
* update Cargo.lock
2022-06-14 22:33:42 +00:00
Bastian Köcher
aaa7b59c6a
Ensure we send the correct polkadot node version to telemetry ( #1307 )
...
This is basically a hack, but with the current way we initialize the node this is the easiest
solution to ensure we send the correct version etc.
2022-05-30 19:50:00 +02:00
Qinxuan Chen
12221cb534
Companion for polkadot#5569 ( #1281 )
...
* Companion for polkadot#5569
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-05-21 09:14:02 +00:00
Shawn Tabrizi
6ceca1d373
Companion for Substrate #10719 (Into Account Truncating) ( #1262 )
...
* into account truncating
* more truncating
* Update Cargo.lock
2022-05-17 22:29:38 +00:00
dependabot[bot]
9b15f17391
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
Shawn Tabrizi
fd13ef94ba
Companion for Polkadot #5536 (Remove Duplicate Traits) ( #1264 )
...
* change deps
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-05-17 07:12:13 +00:00
Niklas Adolfsson
d8ba3cf547
companion 11395 ( #1253 )
...
* companion for 11395
* companion for 11395
* update polkadot
2022-05-11 15:02:22 +02:00
Niklas Adolfsson
2d506dfcd7
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
dependabot[bot]
990f8fc147
Bump log from 0.4.16 to 0.4.17 ( #1235 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits/0.4.17 )
---
updated-dependencies:
- dependency-name: log
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-04 02:19:08 +02:00
dependabot[bot]
cb89ef2d30
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
Oliver Tale-Yazdi
c5298f6245
Co #11270 : Update benchmark machine command ( #1214 )
...
* Use polkadot reference hardware for benchmark machine
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Rename POLKADOT_REFERENCE_HARDWARE -> SUBSTRATE_REFERENCE_HARDWARE
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 >
* Revert "cargo update -p polkadot-primitives"
This reverts commit 051d51c5ab3fdd80c6351e16d3255efc67288136.
* cargo update -p polkadot-primitives
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-04-26 17:46:13 +00:00
Koute
9550172cb9
Companion for Substrate#11062 ( #1113 )
...
* Align to changes in Substrate
* Align to the newest changes in substrate
* Update `Cargo.lock`
* Add hwbenches to `parachain-template` too
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-04-26 09:51:18 +00:00
Oliver Tale-Yazdi
5721c68436
Co #11198 : Expose benchmark machine command ( #1172 )
...
* Expose benchmark machine command
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 >
* cargo update -p polkadot-client
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-04-15 21:39:26 +02:00
Oliver Tale-Yazdi
7ec0963e3b
Co #11164 : Sub-commands for benchmark ( #1156 )
...
* para-template: Add bench commands
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* collator: Add bench commands
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test benchmark commands
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove comments
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"polkadot"}
* Remove benchmark block test as the collator cannot produce blocks on its own
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-04-08 00:02:22 +00:00
Davide Galassi
09d2cb9a09
Companion for revert command new API ( #11022 ) ( #1089 )
...
* Additional parameter for 'revert' command
* Update substrate
* cargo update -p xcm
* Update Cargo.lock
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-03-24 16:32:12 -04:00
dependabot[bot]
908776edb6
Bump log from 0.4.14 to 0.4.16 ( #1107 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits )
---
updated-dependencies:
- dependency-name: log
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-23 00:17:49 +01:00
Robert Habermeier
544501a241
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
Sebastian Kunert
e495168051
Support running relay chain full node as non-collator ( #1069 )
...
* Run relay chain full node not as collator
* Clean up
2022-03-04 17:02:37 +01:00
Dan Shields
62ccc85392
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
bd4f30259a
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
bc532724b0
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
a59f02bc3f
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]
3b839476d9
Bump clap from 3.0.7 to 3.1.1 ( #1035 )
...
* Bump clap from 3.0.7 to 3.1.1
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.7 to 3.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/v3.0.7...v3.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 >
* Fix up deprecated usages
* cargo fmt
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-02-23 08:31:24 +00:00
André Silva
719127cac3
Companion for substrate#10878 ( #993 )
...
* companion for slot duration changes
* fix aura inherent data provider
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-02-22 22:27:29 +00:00
dependabot[bot]
64a0b0e41b
Bump hex-literal from 0.2.1 to 0.3.4 ( #1028 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.2.1 to 0.3.4.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.2.1...hex-literal-v0.3.4 )
---
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>
2022-02-22 16:49:46 +01:00
Bastian Köcher
a17b173a87
Fix relay chain node name ( #1008 )
...
Before this fix the relay chain node name was always a random generated, because we did not had
implemented all the required methods of the `CliConfiguration` trait.
2022-02-21 11:34:23 +01:00
Shawn Tabrizi
eeca2bb61a
Fix Runtime Benchmarks Feature Flag in Parachain Template ( #991 )
...
* Update Cargo.toml
* add checks to ci
2022-02-16 13:33:08 +01:00
Squirrel
c69b749290
Add safe_xcm_version to Genesis Specs ( #743 ) ( #904 )
...
* Add safe_xcm_version to Genesis Specs (#743 )
* add safe_xcm_version to genesis specs
* cargo +nightly fmt
* Point to xcm latest version
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2022-01-26 11:11:03 +00:00
Sebastian Kunert
dacd0aed5e
Unify RelayChainInterface error handling and introduce async ( #909 )
2022-01-25 18:27:54 +01:00
Qinxuan Chen
e802dcad1d
Companion for substrate#10632 ( #895 )
...
* Companion for substrate#10632
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo update -p clap
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update substrate
* update lockfile for {"polkadot"}
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: parity-processbot <>
2022-01-25 11:42:59 +00:00
Bastian Köcher
035f7cee9f
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
Doordashcon
60f5e0cf2d
Use Polkadot Constants instead of Hardcoding ( #868 )
...
* added Polkadot constants
* remove hardcoded constants
* cargo +nightly fmt
* add const existential deposit
* update
* cargo +nightly fmt
* not pulling
* readd constants.rs modules
* update
* Cargo.lock
* update
* add balance constants
* Update polkadot-parachains/statemine/src/constants.rs
Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com >
* cargo fmt
Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com >
2022-01-13 11:54:59 +00:00
Adrian Catangiu
76fdc9d11a
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
cheme
0256fe73c0
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
876e594f59
Introduce interface for relay chain interaction ( #835 )
2021-12-22 19:02:11 +01:00
Keith Yeung
d78ea860ec
Update serde to 1.0.132 ( #871 )
2021-12-21 09:15:50 +01:00
sandreim
34f605004d
Companion for #10440 (Add logger configuration hook) ( #856 )
...
* update `DefaultConfigurationValues` impl
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2021-12-16 11:57:17 +00:00
Keith Yeung
308cb3e76b
Update serde to 1.0.131 ( #853 )
2021-12-11 14:10:51 +01:00
Bastian Köcher
6c6802b67c
Update to latest Polkadot & Substrate ( #850 )
...
* Update to latest Polkadot & Substrate
* More fixes
2021-12-10 12:08:41 +01:00