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
joe petrowski
f1d3607262
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
d6d1eb7b14
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]
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
Squirrel
4497c1f686
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
c6d910db51
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]
5968f743a0
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
585089e687
express intent better ( #1099 )
2022-03-21 14:47:47 +00:00
dependabot[bot]
d1c812ab16
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
6608d61a61
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]
c5d688778c
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
51d65e73c7
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]
6819e6b305
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]
5298a8903e
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]
68b7b68add
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
c0231c6dc1
--json switched to --json-file param in benchmarking script ( #1084 )
2022-03-14 21:32:11 +00:00
dependabot[bot]
40025f46d7
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
93934c7488
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
c744374f5f
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
889c34d8c2
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
cf3af4ac91
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
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
dependabot[bot]
f70d2f2fed
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
66d0e26d00
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]
f0c2a9a047
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
8d96b8673f
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
ca379cf7c8
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
2ebbbc1dc0
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
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
Arkadiy Paronyan
17729216e9
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
4be30e0175
ci: use sensible keyserver for gpg key retrieval ( #1067 )
2022-03-04 09:40:56 +01:00
Mara Robin B
1fafc952f9
ci: add manual docker release workflow ( #1066 )
2022-03-03 19:26:00 +00:00
Mara Robin B
1382d1606d
ci: fix missing quotes ( #1065 )
2022-03-03 10:56:45 +00:00
dependabot[bot]
231a821848
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
b78414e951
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
36f735e18b
Improve conflicts to properly detect helper flags ( #1063 )
2022-03-02 12:13:33 +01:00
Sebastian Kunert
6cf8177dac
Bump jsonrpsee from 0.8.0 to 0.9.0
2022-03-02 09:57:35 +00:00
dependabot[bot]
fe86a8d791
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
1f91a3068f
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
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
dependabot[bot]
586071bada
Bump clap from 3.1.2 to 3.1.3 ( #1053 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.2 to 3.1.3.
- [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.2...v3.1.3 )
---
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-02-28 15:33:39 -08: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
Alexander Theißen
86540a3a24
Add Canvas runtime to release automation ( #1043 )
2022-02-24 09:06:05 +00:00
dependabot[bot]
5093aab4f4
Bump clap from 3.1.1 to 3.1.2 ( #1046 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.1 to 3.1.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.1...v3.1.2 )
---
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-02-23 23:58:52 +00:00
Bastian Köcher
c6363e4682
Remove the last node-primitives leftover... ( #1047 )
2022-02-23 22:52:17 +01:00
dependabot[bot]
903f95ee78
Bump proc-macro-crate from 1.1.2 to 1.1.3 ( #1044 )
...
Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/bkchr/proc-macro-crate/releases )
- [Commits](https://github.com/bkchr/proc-macro-crate/commits )
---
updated-dependencies:
- dependency-name: proc-macro-crate
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-02-23 21:12:32 +00:00
Éloïs
06f2279182
fix: map cli parameter runtime_cache_size ( #1042 )
2022-02-23 19:47:49 +00:00
Alexander Theißen
ac1088fed9
Add canvas-rococo chainspec ( #1031 )
2022-02-23 16:19:14 +00:00