Adrian Catangiu
80606491e4
Polkadot companion for Substrate#10463 ( #4519 )
...
* Grandpa and Beefy protocol names include chain id
Signed-off-by: acatangiu <adrian@parity.io >
* chain_spec: include fork id
* use simplified protocol name
* fix after merge
* avoid using hash default, even for protocol names
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2022-01-05 17:43:08 +00:00
Adrian Catangiu
c1865988df
Name changes for GrandPa and Beefy notifications protocols ( #10463 )
...
* grandpa: update notif protocol name
* grandpa: add chain id prefix to protocol name
* grandpa: beautify protocol name handling
* grandpa: prepend genesis hash to protocol name
* chain-spec: add optional 'fork_id'
'fork_id' is used to uniquely identify forks of the same chain/network
'ChainSpec' trait provides default 'None' implementation, meaning this
chain hasn't been forked.
* grandpa: protocol_name mod instead of struct
* beefy: add genesis hash prefix to protocol name
* chainspec: add fork_id
* grandpa: simplify protocol name
* grandpa: contain protocol name building logic
* beefy: contain protocol name building logic
* grandpa: fix tests
* fix merge damage
* fix docs reference visibility
Signed-off-by: acatangiu <adrian@parity.io >
* Update client/finality-grandpa/src/lib.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* Update client/finality-grandpa/src/communication/mod.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* Update client/beefy/src/lib.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* Update client/beefy/src/lib.rs
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* avoid using hash default, even for protocol names
Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
2022-01-05 17:01:44 +00:00
Robert Klotzner
223d929f86
Warn on chain selection error. ( #10587 )
...
At least for Polkadot, this should not result in spam and a warning will
very likely indicate some serious issue.
2022-01-05 16:02:32 +00:00
Squirrel
3dd32d5255
Make clippy _a little_ more annoying ( #10570 )
...
* Clippy: +complexity
* Update client/cli/src/arg_enums.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update bin/node/inspect/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update primitives/keystore/src/testing.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update frame/elections/src/lib.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Update primitives/npos-elections/fuzzer/src/reduce.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Incorporating feedback
* No need for Ok
* Additional
* Needed slice
* Wigy's suggestions on less derefs
* fix count
* reverting changes brought in by option_map_unit_fn
* add --all-targets
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-01-05 14:35:30 +00:00
sandreim
b93c6e68ab
Parachain runtime metrics followup ( #4602 )
...
* initial changes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove file
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Remove pallet
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix copyright year
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Remove metric registration op
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Register runtime metrics in client
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix build without `runtime-metrics`
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* reduce visibility
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove metric prefix logic, use hardcoded
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Split CounterVec api so it doesn't need mutability
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Const beautify
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix docs
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Merge web ui feedback.
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-01-05 15:33:02 +02:00
Sebastian Kunert
57d04e0fc8
Add missing features in rococo Cargo.toml ( #887 )
2022-01-05 13:30:47 +00:00
Adrian Catangiu
8a6ca36ad0
Bump serde_json from 1.0.73 to 1.0.74 ( #4659 )
...
Signed-off-by: acatangiu <adrian@parity.io >
2022-01-05 15:09:21 +02:00
Kian Paimani
18532b671a
Fully enable bags-list pallet in polkadot runtime ( #4653 )
...
* Fully enable bags-list pallet in polkadot runtime
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
Co-authored-by: Parity Bot <admin@parity.io >
2022-01-05 12:27:29 +00:00
Bastian Köcher
48444ffdc0
sc-keystore: Improve weird error message ( #10584 )
...
The keystore would print "Invalid password" when a key was stored using an incorrect public key.
This pr improves the error message to communicate better to the user on what is wrong.
2022-01-05 12:09:01 +00:00
Bastian Köcher
75db7f7f7e
Fix transaction benchmark ( #886 )
...
We need to give the accounts more coins!!
2022-01-04 23:59:58 +01:00
Bastian Köcher
e444877d4b
Use storage transaction when running with proof recorder ( #10581 )
...
This will enable parachains to re-import a block without re-executing it.
2022-01-04 20:48:43 +01:00
Andronik
868556256e
lower debug level for testnet build ( #4658 )
2022-01-04 13:38:50 +00:00
dependabot[bot]
b9bc515506
Bump pin-project from 1.0.8 to 1.0.10 ( #10578 )
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.0.8 to 1.0.10.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.0.8...v1.0.10 )
---
updated-dependencies:
- dependency-name: pin-project
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-01-04 13:18:16 +00:00
Andronik
aff88a864a
collator-protocol: short-term fixes for connectivity ( #4640 )
...
* collator-protocol: add to reserved peers on every relay parent
* bump collator slots from 25 to 100
* collator-protocol: reduce inactivity timeout from 24s to 5s
* try to satisfy spellcheck
* add connection log
* fmt
* bring a warn back
* gather validators across all active leaves
2022-01-04 12:58:47 +01:00
Robert Klotzner
83c8afcbb9
Don't change rep on timeout in collator protocol. ( #4642 )
...
* Don't change rep on timeout in collator protocol.
* Fix tests.
* Fixes.
2022-01-04 11:40:20 +00:00
dependabot[bot]
4b9573ca38
Bump serde_json from 1.0.71 to 1.0.74 ( #10577 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.71 to 1.0.74.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.71...v1.0.74 )
---
updated-dependencies:
- dependency-name: serde_json
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-01-04 10:05:01 +01:00
Zeke Mostov
712b53f468
Update remote ext test default uri ( #4654 )
2022-01-04 09:08:22 +01:00
dependabot[bot]
4d064acd96
Bump ip_network from 0.4.0 to 0.4.1 ( #10525 )
...
Bumps [ip_network](https://github.com/JakubOnderka/ip_network ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/JakubOnderka/ip_network/releases )
- [Commits](https://github.com/JakubOnderka/ip_network/commits )
---
updated-dependencies:
- dependency-name: ip_network
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-01-03 23:07:02 +01:00
Sergei Shulepov
32fcd46454
Derive Clone for RelayStateSproofBuilder ( #884 )
2022-01-03 19:28:42 +00:00
Bastian Köcher
7fb70d7530
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
fe8e141ee5
Update Polkadot ( #883 )
...
I just ran `cargo update -p polkadot-primitives` in the hope that it
will fix [this]
[this]: https://gitlab.parity.io/parity/polkadot/-/jobs/1311542
2022-01-03 18:45:38 +01:00
Martin Pugh
2f7b042cc4
Update RELEASE.md to reflect reality ( #4570 )
...
There have been some subtle changes to the release process since this document was last updated. This PR updates the RELEASE.md to reflect these changes.
2022-01-03 16:40:48 +01:00
Bastian Köcher
424ddf33ee
Remove transaction-pool test-helpers feature ( #10571 )
...
* Remove transaction-pool `test-helpers` feature
`test-helpers` feature is a bad idea in general, because once the feature is enabled somewhere in
the workspace, it is enabled anywhere. While removing the feature, the tests were also rewritten to
get rid off other "only test" related code.
Contributes towards: https://github.com/paritytech/substrate/issues/9727
* Apply suggestions from code review
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Fix benches
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2022-01-03 15:08:42 +00:00
dependabot[bot]
cc70518629
Bump sha2 from 0.9.8 to 0.10.0 ( #10547 )
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.8 to 0.10.0.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.8...sha2-v0.10.0 )
---
updated-dependencies:
- dependency-name: sha2
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-01-03 08:46:53 +00:00
Bastian Köcher
f3662b4bba
Happy new year 2022 ( #10573 )
2022-01-03 09:22:14 +01:00
Keith Yeung
5047ef8eff
Set CurrentCodeHash before running some dispatchable benchmarks ( #4645 )
...
* Set CurrentCodeHash before running some dispatchable benchmarks
* Use insert instead of put
* Actually hash the ValidationCode
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_paras.rs
Co-authored-by: Parity Bot <admin@parity.io >
2022-01-03 02:05:37 +00:00
Sergei Shulepov
575775a19f
paras: split tests ( #4636 )
...
This is only a module structure change: the tests module was promoted to
have its own file.
2022-01-02 22:03:34 -04:00
dependabot[bot]
5f7726958d
Bump quote from 1.0.10 to 1.0.14 ( #4632 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.10 to 1.0.14.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.10...1.0.14 )
---
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-01-02 20:49:25 +01:00
dependabot[bot]
bab7c8d4f1
Bump pin-project from 1.0.8 to 1.0.9 ( #4606 )
...
* Bump pin-project from 1.0.8 to 1.0.9
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.0.8...v1.0.9 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update pin-project to fix compilation
* Also bump the old ones
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-01-02 18:25:56 +01:00
Sergei Shulepov
78b3dc214a
chore: fix copy&paste and tidy comments ( #4646 )
...
As was brought up in [here][og], we have some copy&paste comments. I
fixed them and also took liberty of fixing some other places.
Specifically, those that say "module" instead of contemporary "pallet".
[og]:
https://github.com/paritytech/polkadot/pull/4603#discussion_r776971291
2022-01-01 18:13:17 +01:00
Sergei Shulepov
49722d2846
derive Copy and Clone for Upgrade signals ( #4637 ) ( #4647 )
...
Motivation is to resolve [this
TODO](https://github.com/paritytech/cumulus/blob/b9ba74892ad6199128a45703b89ff06f429be7fa/test/relay-sproof-builder/src/lib.rs#L73 ) eventually
2022-01-01 16:49:46 +00:00
zqhxuyuan
d89dc7431b
minor dmq test ( #878 )
...
* minor dmq test
* fmt
2021-12-31 17:46:05 +01:00
Sergei Shulepov
5f6a03925a
paras: fix upgrade restriction signal ( #4603 )
...
Closes #3971
Read the linked issue.
Apart from that, this addresses the concern raised in this [comment] by
just adding a test. I couldn't find a clean way to reconcile a block
number delay with a PVF voting TTL, so I just resorted to rely on the
test. Should be fine for now.
[comment]: https://github.com/paritytech/polkadot/pull/4457#discussion_r770517562
2021-12-31 15:32:40 +00:00
green-jay
42468edd53
Expose Uniques helper functions and DestroyWitness fields ( #10529 )
2021-12-31 11:49:04 +01:00
Sergei Shulepov
6ed03bf0b8
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
Sergei Shulepov
72a92eaf9e
configuration: Rename validation_upgrade_{frequency -> cooldown} ( #4635 )
...
This just renames a member of `HostConfiguration` from
validation_upgrade_frequency to -//-_cooldown.
As was already pointed out in #4460 the existing name is a misnomer, the
member actually represents a minimum time period between upgrades, which
is neatly expressed by a word cooldown.
I've been planning this rename already for some time and the term is
already used in paras module:
https://github.com/paritytech/polkadot/blob/1394b70d493a3b4bea7a9ae14af094081bc84456/runtime/parachains/src/paras.rs#L1568-L1574
2021-12-30 20:24:47 +00:00
Alejandro Martinez Andres
8a4fb36563
node-template README persistent db ( #10558 )
2021-12-30 19:32:59 +01:00
dependabot[bot]
86a9658f7c
Bump lru from 0.7.1 to 0.7.2 ( #4633 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.1...0.7.2 )
---
updated-dependencies:
- dependency-name: lru
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>
2021-12-29 20:53:06 +01:00
Sergei Shulepov
4bf62d85a6
paras: add governance control dispatchables ( #4575 )
...
* paras: add governance control dispatchables
Adds a couple of functions for governance control for the paras module
in the anticipation of PVF pre-checking enabling.
Specifically, this commit adds a function for pre-registering a PVF that
governance trusts enough. This function will come in handy in case there
is a parachain that does not follow the GoAhead signal. That is, does
not include https://github.com/paritytech/cumulus/pull/517 .
This may be not an exhaustive list of the functions that may come in
handy. Any suggestions to add more are welcome.
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_paras.rs
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_paras.rs
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_paras.rs
* cargo run --quiet --release --features runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::paras --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_paras.rs
Co-authored-by: Parity Bot <admin@parity.io >
2021-12-29 15:42:10 +01:00
Andronik
a44349f652
custom cargo profiles for production ( #4627 )
...
* add custom profiles and specify MSVR as 1.57
* fix host-perf-check command
* use testnet profile for CI images
* do not do lto for testnet profile
* fix artifact path
* test with testnet profile to reuse build artifacts
* Revert "fix host-perf-check command"
This reverts commit f1d15492204b8251685a97636cbb5a5f394f21da.
* bump zombienet version
Co-authored-by: Javier Viola <javier@parity.io >
2021-12-29 14:10:40 +00:00
Sergei Shulepov
1394b70d49
pvf-precheck: update implementers' guide ( #4612 )
...
This commit incorporates the changes made to the runtime in the
following PRs:
- https://github.com/paritytech/polkadot/pull/4408
- https://github.com/paritytech/polkadot/pull/4457
- https://github.com/paritytech/polkadot/pull/4540
- https://github.com/paritytech/polkadot/pull/4542
- https://github.com/paritytech/polkadot/pull/4581
Note that this PR does not include the description of the PVF
pre-checker subsystem. This should be addressed within
https://github.com/paritytech/polkadot/issues/4611
Co-authored-by: sandreim <54316454+sandreim@users.noreply.github.com >
2021-12-29 14:32:08 +01:00
Keith Yeung
cf509bdb51
Use derive macro to generate XcmWeightInfo trait ( #4618 )
...
* Use derive macro to generate XcmWeightInfo trait
* Move the Weight type alias out of proc macro
2021-12-29 06:38:11 +00:00
dependabot[bot]
ebfe0b7168
Bump proc-macro2 from 1.0.34 to 1.0.36 ( #4619 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.34 to 1.0.36.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.34...1.0.36 )
---
updated-dependencies:
- dependency-name: proc-macro2
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>
2021-12-29 01:57:10 +00:00
Shawn Tabrizi
ea50ecac4a
Fix Places where AccountId Uses Default ( #10556 )
...
* fix places where accountid is default
* Update frame/system/src/lib.rs
* fmt
* add simple test
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-12-28 23:42:58 +00:00
Squirrel
409d810089
Tweak to pallet-nicks ( #10565 )
...
* Slightly easier for humans to parse
* cargo fmt
* Use the simpler format for construct_runtime.
2021-12-28 23:22:48 +00:00
Keith Yeung
cd32a971a1
Update proc-macro2 to 1.0.36 ( #879 )
2021-12-28 21:38:20 +01:00
sandreim
90d986121d
Add Parachain Grafana dashboards ( #4578 )
...
* Read me.
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add dashboards and readme
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update root readme
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add dashboard links in readme
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* updates
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Updates
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* bump zombienet version
Co-authored-by: Javier Viola <javier@parity.io >
2021-12-28 20:18:13 +00:00
Sergei Shulepov
87c753e35c
collation-gen: don't hash validation code ( #4628 )
...
* runtime-api: add validation_code_hash API
This is the first step to close
https://github.com/paritytech/polkadot/issues/4524
* collation-gen: don't hash validation code
Closes https://github.com/paritytech/polkadot/issues/4524
2021-12-28 20:16:28 +00:00
Sergei Shulepov
91aff5d341
runtime-api: add validation_code_hash API ( #4629 )
...
This is the first step to close
https://github.com/paritytech/polkadot/issues/4524
2021-12-28 20:16:03 +00:00
Sergei Shulepov
b49291dc76
configuration: validation_upgrade_delay consistency ( #4583 )
...
Closes #4248
Impose additional constraint on configuration consistency:
`validation_upgrade_delay` should not be less than or equal to 1.
See the original issue for more details.
2021-12-28 16:46:51 +01:00