Chevdor
71d7743869
Hide unwanted hashes for parachain runtimes ( #1122 )
2022-03-31 08:47:12 +00:00
Andrew Jones
28d75eac87
Register dev rpc api for canvas parachain ( #1102 )
...
* Register dev api for canvas parachain
* Update Substrate
* Update Polkadot
2022-03-30 09:14:48 +00:00
dependabot[bot]
3b66550ead
Bump quote from 1.0.16 to 1.0.17 ( #1118 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.16...1.0.17 )
---
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>
2022-03-29 23:28:23 +02:00
Chevdor
bf8b24071c
Skip runtime migrations for the client release ( #1116 )
...
Also removes a bunch of empty lines for a nice output
2022-03-29 18:17:56 +02: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
dependabot[bot]
e5a9a5a240
Bump syn from 1.0.89 to 1.0.90 ( #1119 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.89 to 1.0.90.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.89...1.0.90 )
---
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>
2022-03-28 21:15:43 +00:00
Chevdor
b468d0c33e
Fix #851 ( #1110 )
...
* Fix doc
* Formatting fixes and bump prio if host functions are detected
* Add canvas
* Bump canvas-kusama's runtime version to 800
* Add db migrations
* Prepare for client releases
* Split the upload of the context artifact
* Rename of the srtool digests to match script default expectations
* Fix runtime name for canvas
* Fix jobs dependencies when skipping jobs/steps for client builds
* Fix CI for the client builds
* Fix issue when building in client mode
* Bump checkout action to v3 and gate some tests
* Fix notification
ref #851
2022-03-28 10:00:07 +02:00
Sergejs Kostjucenko
dc10d1520d
Move scripts used in CI to the new location ( #1109 )
...
* Move CI scripts to new location
* Update references
* Update CODEOWNERS file
* Update docker/polkadot-collator_builder.Containerfile
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
2022-03-25 01:25:06 +02:00
Davide Galassi
6ea78e9cc9
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
joe petrowski
61c20971d3
Enable DOT-over-XCM and Lift Asset Creation Restrictions ( #1057 )
...
* enable DOT-over-XCM and lift asset creation restrictions
* no Contains
* Remove unused import
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-03-23 19:22:23 +00:00
cheme
571b20f95e
Companion to #11081 , upgrade paritydb version. ( #1101 )
...
* update paritydb.
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-03-23 17:57:00 +00:00
dependabot[bot]
2fe7a2edba
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
Squirrel
3cbd4279fa
xcmp-queue / less indexing ( #1100 )
...
* less indexing
* removed unneeded clone
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-03-22 20:56:58 +00:00
Squirrel
9717379012
bump versions in preparation for next release ( #1103 )
...
* bump collator version
* bump statmint runtimes versions
* Update lock file
* unifying runtime versions
2022-03-22 17:01:15 +00:00
dependabot[bot]
fc903ed678
Bump quote from 1.0.15 to 1.0.16
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.15...1.0.16 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-21 15:32:40 +00:00
Squirrel
2db0a69f66
express intent better ( #1099 )
2022-03-21 14:47:47 +00:00
dependabot[bot]
f6fa460911
Bump parity-scale-codec from 3.1.0 to 3.1.2 ( #1096 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.1.0 to 3.1.2.
- [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/commits )
---
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>
2022-03-17 21:09:28 +00:00
Amar Singh
680c5738d6
Add babe randomness to relay state proof ( #1083 )
...
* add new babe keys to relay storage proof
* persist relay state proof and make pub super to expose to runtime
* use sp trie StorageProof instead of sp state machine Storage Proof
* fmt
2022-03-17 11:02:59 +01:00
dependabot[bot]
878872c319
Bump syn from 1.0.88 to 1.0.89 ( #1094 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.88...1.0.89 )
---
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>
2022-03-17 11:01:12 +01:00
Squirrel
4322e064ea
collator-selection pallet tidy ( #1093 )
...
* One less collect + clippy suggestions.
* No need to index into collection
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-03-16 19:10:41 +00:00
dependabot[bot]
dd5e9775b5
Bump dyn-clone from 1.0.4 to 1.0.5 ( #1090 )
...
Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/dtolnay/dyn-clone/releases )
- [Commits](https://github.com/dtolnay/dyn-clone/compare/1.0.4...1.0.5 )
---
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>
2022-03-15 23:19:00 +01:00
dependabot[bot]
345de10b55
Bump syn from 1.0.87 to 1.0.88 ( #1091 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.87 to 1.0.88.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.87...1.0.88 )
---
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>
2022-03-15 21:33:39 +00:00
dependabot[bot]
4e95228291
Bump syn from 1.0.86 to 1.0.87 ( #1086 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.86...1.0.87 )
---
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>
2022-03-14 21:49:18 +00:00
Squirrel
e535a504ed
--json switched to --json-file param in benchmarking script ( #1084 )
2022-03-14 21:32:11 +00:00
dependabot[bot]
bddb7d0f0a
Bump parity-scale-codec from 3.0.0 to 3.1.0 ( #1087 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.0.0 to 3.1.0.
- [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.0...parity-scale-codec-v3.1.0 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
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-03-14 21:08:40 +00:00
Oliver Tale-Yazdi
99bb22d8e9
Co #5091 : Runtime dependent weights for parachains ( #1081 )
...
* Use runtime dependent weights in parachains
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Lockfile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-03-12 20:12:31 +00:00
Bastian Köcher
b496ce8f4c
Directly use the new to_memory_db function ( #1080 )
...
This reduces the amount of code a little bit.
2022-03-11 23:01:17 +01:00
Oliver Tale-Yazdi
4ee62872a1
Make CI work ( #1079 )
...
MR#1076 somehow broke the check-runtime-benchmarks CI.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-03-11 20:44:33 +00:00
Oliver Tale-Yazdi
984d9fab25
Co #5064 : Use runtime dependant weights ( #1076 )
...
* Use runtime dependant weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Re-add dependencies
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-03-11 18:26:25 +01: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
dependabot[bot]
40bd56db82
Bump tracing from 0.1.31 to 0.1.32 ( #1075 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.31 to 0.1.32.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.31...tracing-0.1.32 )
---
updated-dependencies:
- dependency-name: tracing
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-10 00:04:16 +00:00
Keith Yeung
1f94506386
Use WeightToFee when calculating cost of each weight unit in XCM trader ( #1055 )
...
* Use WeightToFee when calculating cost of each weight unit in XCM trader
* Set the OnUnbalanced type parameter for XCM Traders
2022-03-08 09:10:41 +00:00
dependabot[bot]
4b3b955497
Bump clap from 3.1.5 to 3.1.6 ( #1072 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.5 to 3.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/v3.1.5...v3.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>
2022-03-07 17:51:05 -08:00
Doordashcon
c543f9d980
Add benchmarks for Xcmp QueueConfigData setters ( #982 )
...
* add benchmarks for xcmp queue config data setters
* add new benchmarks
* cargo fmt
* added newline
* Additional weights for dmp queue for westmint
* include new weights
* Adding WeightInfo trait and friends
* WeightInfo should be on xcmp rather than dmp pallet
* cargo fmt
* update scripts
* mock weightinfo
* cargo fmt
* canvas kusama is substrate weight
* weights from bm2
* expanding to other similar config functions
* updated weights from bm2
* Revert "updated weights from bm2"
This reverts commit b1702780982c278b44f572c2089b1d7ddc564d76.
* Consolidation to one benchmark
* reran weights
* Update pallets/xcmp-queue/src/lib.rs
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
* integrating review feedback
* rerun weights
* Add DispatchClass::Operational
Co-authored-by: Squirrel <gilescope@gmail.com >
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
2022-03-07 11:47:24 +00:00
Gavin Wood
1919cbb4d4
Companion for #10896 : Minor Uniques pallet improvements ( #1070 )
...
* Formatting
* Add set_accept_ownership weight
* Revert lock file
* Fixes
* Fixed
* Revert lock
* Fixes
* Bump Substrate
2022-03-07 11:02:03 +01:00
Liu-Cheng Xu
7aeefb0edd
Companion for Substrate#10915 ( #1051 )
...
* Companion for Substrate#10915
* Fix compile
* Fix compile
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-03-05 14:23:58 +00:00
Sebastian Kunert
66bb76dc97
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
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
Mara Robin B
26b2954855
ci: use sensible keyserver for gpg key retrieval ( #1067 )
2022-03-04 09:40:56 +01:00
Mara Robin B
5fa7943549
ci: add manual docker release workflow ( #1066 )
2022-03-03 19:26:00 +00:00
Mara Robin B
d0804039d0
ci: fix missing quotes ( #1065 )
2022-03-03 10:56:45 +00:00
dependabot[bot]
6f2ad77ba7
Bump clap from 3.1.3 to 3.1.5 ( #1064 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.3 to 3.1.5.
- [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.3...v3.1.5 )
---
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-03-02 15:11:57 -08:00
Bastian Köcher
92313f6502
polkadot-collator: Switch to wasm only ( #1054 )
...
* polkadot-collator: Switch to wasm only
This switches the polkadot-collator to run everything in wasm only mode. While we should not that
yet with the relay chain, because it can happen that we run out of memory (very unlikely). On the
relay chain that would be bad, because we only have at max 2 sessions to bring everything back, for
Parachains that isn't such a problem as they would only stall and we could roll out a release that
fixes it. Besides that, Parachain validation on the relay chain happens in Wasm already all the time
and there is the memory usage even higher then on block import.
* cargo fmt
* remove unused var
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-03-02 11:44:53 +00:00
Sebastian Kunert
e42a7c3fff
Improve conflicts to properly detect helper flags ( #1063 )
2022-03-02 12:13:33 +01:00
Sebastian Kunert
0546af470c
Bump jsonrpsee from 0.8.0 to 0.9.0
2022-03-02 09:57:35 +00:00
dependabot[bot]
1213071d78
Bump jsonrpsee-core from 0.8.0 to 0.9.0
...
Bumps jsonrpsee-core from 0.8.0 to 0.9.0.
---
updated-dependencies:
- dependency-name: jsonrpsee-core
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-02 09:57:35 +00:00
Kai
ac074d7230
Fix panic in pallet-collator-selection benchmarking ( #1061 )
...
* register validators in set_invulnerables benchmarking
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-03-02 09:24:36 +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