Shawn Tabrizi
28e94d97dd
Companion for Weight v1.5 ( #5943 )
...
* fix to latest substrate pr
* update weights
* cargo build -p polkadot-runtime-parachains
* fix xcm-builder
* fix import
* fix a bunch
* fix a bunch of weight stuff
* kusama compile
* unused
* builds
* maybe fix
* cargo test -p polkadot-runtime-parachains
* xcm simulator example
* fix tests
* xcm sim fuzz
* fix runtime tests
* remove unused
* fix integration tests
* scalar div
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-31 11:59:39 +00:00
Andronik
138aae0a22
fix cargo check -p polkadot-node-core-provisioner --all-features ( #5942 )
2022-08-30 20:42:34 +00:00
Dmitry Markin
13ea167bd7
Change validation & collation protocol names to include genesis hash & fork id ( #5876 )
2022-08-30 19:50:22 +03:00
Tsvetomir Dimitrov
6e04112b93
Fix some typos in dispute-coordinator ( #5941 )
2022-08-29 23:20:07 +02:00
Mara Robin B
fc97080cb2
version bumps (0.9.28) ( #5933 )
...
* Bump crate versions
* Bump spec_version to 9280 for kusama
* Bump spec_version to 9280 for polkadot
* Bump spec_version to 9280 for rococo
* Bump spec_version to 9280 for westend
* update Cargo.lock
Co-authored-by: parity-processbot <>
2022-08-29 18:01:58 +02:00
dependabot[bot]
80fae17118
Bump futures-util from 0.3.21 to 0.3.23 ( #5922 )
...
* Bump futures-util from 0.3.21 to 0.3.23
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.21 to 0.3.23.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.21...0.3.23 )
---
updated-dependencies:
- dependency-name: futures-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix deprecated warning
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-29 08:03:29 +00:00
Kian Paimani
2d8177cf70
Companion for 12095 ( #5924 )
...
* Companion for 12095
* fix
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-28 13:41:43 +00:00
Shawn Tabrizi
5595c96d03
use generated preimage weight ( #5904 )
...
* use generated preimage weight
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-28 12:58:01 +00:00
Bastian Köcher
b81578a429
Update Substrate to make companion check happy ( #5934 )
...
I merged some prs that require one manual update.
2022-08-26 08:27:57 +00:00
Robert Klotzner
979483fd80
Fix wrong logic. ( #5931 )
2022-08-25 16:32:31 +02:00
Mara Robin B
83217b3e04
update weights ( #5911 )
...
* rococo: update weigths
* polkadot: update weigths
* kusama: update weigths
* westend: update weights
Co-authored-by: parity-processbot <>
2022-08-25 10:11:40 +00:00
Mara Robin B
09e91acb86
Clean up MigrateToV10 ( #5921 )
...
* Clean up MigrateToV10
* fixup
2022-08-25 09:13:44 +00:00
dependabot[bot]
427e7c1ab3
Bump async-trait from 0.1.56 to 0.1.57 ( #5919 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 21:13:45 +00:00
Robert Klotzner
c83eaa2475
Send back empty votes + log in approval-voting in case candidate entry is missing. ( #5925 )
...
* Send back empty votes + log.
* Update node/core/approval-voting/src/lib.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-08-24 15:44:13 +00:00
Javier Viola
126758429b
chore: bump zombienet version ( #5914 )
2022-08-23 20:24:17 +02:00
dependabot[bot]
1f1d979dcc
Bump indexmap from 1.9.0 to 1.9.1 ( #5918 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.9.0...1.9.1 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 14:03:11 +02:00
dependabot[bot]
0b6619c1e7
Bump proc-macro2 from 1.0.40 to 1.0.43 ( #5878 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.40 to 1.0.43.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.40...1.0.43 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 09:04:01 +00:00
dependabot[bot]
35769feebb
Bump hyper from 0.14.19 to 0.14.20 ( #5901 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.19 to 0.14.20.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.20/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.19...v0.14.20 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 09:02:57 +00:00
Mak
bbe228a12f
Fix output file for updating weights in run_benches_for_runtime.sh ( #5906 )
2022-08-22 18:38:38 +00:00
Nazar Mokrynskyi
872c87e8e6
Companion to Substrate PR 12006 ( #5913 )
...
* Fix import to make it compatible with https://github.com/paritytech/substrate/pull/12006
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-22 16:45:54 +00:00
Sergejs Kostjucenko
315f2f469e
pin gha versions ( #5916 )
2022-08-22 19:07:03 +03:00
Bastian Köcher
c3404d109d
Companion for new Trie cache ( #5897 )
...
* Switch to Substrate branch
* Make everything compile
* Revert "Switch to Substrate branch"
This reverts commit cbbab7431a07cfd645428a9f4c130362a8e7588b.
* Remove stuff
* More fixes
* Fix branch
* Update Substrate
* FMT
2022-08-18 21:35:56 +00:00
Alexander Samusev
2e72ae46ec
[ci] Add check-runtime-migration job ( #5891 )
...
* [WIP] Playground for check-runtime-migration
* add condition
* fix syntax
* enable pipeline
* uncomment needs
* change label name to code label
2022-08-17 12:35:44 +02:00
Shawn Tabrizi
1f0a1cc0e5
Governance 2 (Part 1, Non-Controversial Changes) ( #5892 )
...
* initial stuff
* make copy data from kusama
* Update runtime/kusama/src/governance/old.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update runtime/kusama/src/governance/mod.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-08-16 20:33:09 +00:00
Joakim Nyman
25ddec27fa
Added Dwellir bootnodes for Kusama and Polkadot ( #5772 )
2022-08-16 19:02:45 +00:00
Robert Klotzner
16a356524b
Break cycle collator-procol - backing ( #5883 )
2022-08-16 15:31:12 +00:00
Robert Klotzner
05a7966505
Don't request votes if there is nothing to request. ( #5888 )
...
* Don't request votes if there is nothing to request.
* Add trace log
2022-08-16 14:49:25 +00:00
Robert Klotzner
ca6297c853
Reduce dispute coordinator load ( #5785 )
...
* Don't import backing statements directly
into the dispute coordinator. This also gets rid of a redundant
signature check. Both should have some impact on backing performance.
In general this PR should make us scale better in the number of parachains.
Reasoning (aka why this is fine):
For the signature check: As mentioned, it is a redundant check. The
signature has already been checked at this point. This is even made
obvious by the used types. The smart constructor is not perfect as
discussed [here](https://github.com/paritytech/polkadot/issues/3455 ),
but is still a reasonable security.
For not importing to the dispute-coordinator: This should be good as the
dispute coordinator does scrape backing votes from chain. This suffices
in practice as a super majority of validators must have seen a backing
fork in order for a candidate to get included and only included
candidates pose a threat to our system. The import from chain is
preferable over direct import of backing votes for two reasons:
1. The import is batched, greatly improving import performance. All
backing votes for a candidate are imported with a single import.
And indeed we were able to see in metrics that importing votes
from chain is fast.
2. We do less work in general as not every candidate for which
statements are gossiped might actually make it on a chain. The
dispute coordinator as with the current implementation would still
import and keep those votes around for six sessions.
While redundancy is good for reliability in the event of bugs, this also
comes at a non negligible cost. The dispute-coordinator right now is the
subsystem with the highest load, despite the fact that it should not be
doing much during mormal operation and it is only getting worse
with more parachains as the load is a direct function of the number of statements.
We'll see on Versi how much of a performance improvement this PR
* Get rid of dead code.
* Dont send approval vote
* Make it pass CI
* Bring back tests for fixing them later.
* Explicit signature check.
* Resurrect approval-voting tests (not fixed yet)
* Send out approval votes in dispute-distribution.
Use BTreeMap for ordered dispute votes.
* Bring back an important warning.
* Fix approval voting tests.
* Don't send out dispute message on import + test
+ Some cleanup.
* Guide changes.
Note that the introduced complexity is actually redundant.
* WIP: guide changes.
* Finish guide changes about dispute-coordinator
conceputally. Requires more proof read still.
Also removed obsolete implementation details, where the code is better
suited as the source of truth.
* Finish guide changes for now.
* Remove own approval vote import logic.
* Implement logic for retrieving approval-votes
into approval-voting and approval-distribution subsystems.
* Update roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md
Co-authored-by: asynchronous rob <rphmeier@gmail.com >
* Review feedback.
In particular: Add note about disputes of non included candidates.
* Incorporate Review Remarks
* Get rid of superfluous space.
* Tidy up import logic a bit.
Logical vote import is now separated, making the code more readable and
maintainable.
Also: Accept import if there is at least one invalid signer that has not
exceeded its spam slots, instead of requiring all of them to not exceed
their limits. This is more correct and a preparation for vote batching.
* We don't need/have empty imports.
* Fix tests and bugs.
* Remove error prone redundancy.
* Import approval votes on dispute initiated/concluded.
* Add test for approval vote import.
* Make guide checker happy (hopefully)
* Another sanity check + better logs.
* Reasoning about boundedness.
* Use `CandidateIndex` as opposed to `CoreIndex`.
* Remove redundant import.
* Review remarks.
* Add metric for calls to request signatures
* More review remarks.
* Add metric on imported approval votes.
* Include candidate hash in logs.
* More trace log
* Break cycle.
* Add some tracing.
* Cleanup allowed messages.
* fmt
* Tracing + timeout for get inherent data.
* Better error.
* Break cycle in all places.
* Clarified comment some more.
* Typo.
* Break cycle approval-distribution - approval-voting.
Co-authored-by: asynchronous rob <rphmeier@gmail.com >
2022-08-16 08:16:30 +02:00
Muharem Ismailov
219fd5a3ed
Transaction payment runtime apis: query call info and fee details ( #5871 )
2022-08-15 14:39:01 +02:00
Alexander Samusev
fae75b9382
[ci] Improve cancel-pipeline job ( #5874 )
...
* [ci] test-linux-stable and cancel-pipelines improvements
* fail check-try-runtime
* import changes from master
* fix needs
* fix check-try-runtime
* remove cancel pipeline from check-try-runtime
* return before_script to check-try-runtime
2022-08-15 13:59:54 +02:00
dependabot[bot]
6f0722169e
Bump wasmtime from 0.38.1 to 0.38.3 ( #5802 )
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 0.38.1 to 0.38.3.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v0.38.1...v0.38.3 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 07:58:21 +00:00
Sudip Ghimire
6fce9240ac
Incorporate changes from substrate PR #11908 ( #5815 )
...
* Incorporate changes in kusama runtime
* Incorporate changes in polkdot runtime
* cargo update -p sp-io
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-08-14 19:53:31 +01:00
Kian Paimani
47de4b3738
Add nomination pools to Polkadot runtime ( #5582 )
...
* Add nomination poools to Polkadot runtime
* fmt + spellcheck
* cargo run --quiet --profile=production --features runtime-benchmarks -- benchmark pallet --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --header=./file_header.txt --output=./runtime/polkadot/src/weights/
* fiux
* ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_nomination_pools
* ".git/.scripts/fmt.sh" 1
* Update runtime/polkadot/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fix
* fmt
* Update runtime/polkadot/src/lib.rs
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-14 17:00:09 +00:00
Dmitry Markin
4def0da0dc
Change request-response protocol names to include genesis hash & fork id ( #5870 )
2022-08-12 15:07:13 +03:00
Alexander Samusev
596b5df747
[ci] Run check-runtime only for PRs ( #5858 )
...
* [ci] Run check-runtime only for PRs
* fix refs
* remove pr ref from check-runtime
* adjust dependent jobs
* fix dependency
2022-08-11 15:23:43 +02:00
dependabot[bot]
6aef4711dc
Bump tokio from 1.18.2 to 1.19.2 ( #5678 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.2 to 1.19.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.2...tokio-1.19.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 13:12:03 +02:00
Andrei Sandu
4db5bbc49a
Zombienet: test disputes with malus garbage candidates ( #5857 )
...
* 1/3 validators suggest garbage candidates,
but paras should make progress
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* scale down test a bit
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Use docker paths and more paras
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* dispute finality lag < 2
* scale down
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* scale down more
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* attempt fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* one malus node
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update zombienet_tests/functional/0003-parachains-garbage-candidate.toml
Co-authored-by: Andronik <write@reusable.software >
* Update zombienet_tests/functional/0003-parachains-garbage-candidate.toml
Co-authored-by: Andronik <write@reusable.software >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Co-authored-by: Andronik <write@reusable.software >
2022-08-11 10:31:01 +00:00
Kian Paimani
1ad7de583f
add unit tests to run runtime migrations ( #5865 )
...
* add unit tests to run runtime migrations
* Update runtime/westend/src/lib.rs
Co-authored-by: Mara Robin B. <mara@broda.me >
* fix
* fmt
* Update runtime/westend/src/lib.rs
Co-authored-by: Mara Robin B. <mara@broda.me >
2022-08-11 06:24:11 +00:00
Nazar Mokrynskyi
f1dce2f548
Trivial networking changes for Substrate PR #11940 ( #5841 )
...
* Trivial networking changes for Substrate PR https://github.com/paritytech/substrate/pull/11940
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-09 19:37:31 +00:00
Nikos Kontakis
8a947d4c5d
Renaming CLI prunning and keep-blocks flags ( #5863 )
...
* Renaming CLI prunning and keep-blocks flags
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-08 10:15:08 +00:00
Bastian Köcher
a196b1618b
Update yamux to fix a potential crash ( #5861 )
2022-08-05 20:05:40 +02:00
Dmitry Markin
43107b5391
Update RequestResponseConfig interface to match substrate ( #5849 )
...
* Update RequestResponseConfig interface
* minor: Bump CI
* update lockfile for {"substrate"}
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-05 10:37:19 +00:00
Javier Viola
023c70badd
[Zombienet] update the image to the version 1.2.51 globally ( #5856 )
...
* rollback global version and use new version for beefy test
* move zombienet to v1.2.51
* use global version in all tests
* add image value to tests
2022-08-04 12:42:04 +00:00
ZhiYong
27747b4d1a
Companion for substrate#11962 ( #5852 )
...
* Companion for substrate#11962
* update lockfile
Co-authored-by: acatangiu <adrian@parity.io >
2022-08-04 13:24:34 +03:00
Adrian Catangiu
8d1bba18af
zombienet: BEEFY and MMR test ( #5840 )
...
Signed-off-by: acatangiu <adrian@parity.io >
2022-08-04 10:27:17 +03:00
Oliver Tale-Yazdi
b065b4364c
Run benchmarks with --steps=2 ( #5853 )
...
The benchmarks have been run internally with at least two values
even when called with --steps=1. substrate/#11890 changed this
to explicitly require at least --steps=2.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-03 21:00:35 +00:00
Alexandru Vasile
d84433bd7f
Companion for #11939 ( #5846 )
...
* Bump jsonrpsee to v0.15.1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Minimal update to Cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update substrate
* update lockfile for {"substrate"}
* update substrate master
* Allow benchmark checks to fail
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-03 12:23:16 +02:00
dependabot[bot]
fcb938873f
Bump tracing from 0.1.34 to 0.1.35 ( #5737 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.34 to 0.1.35.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.34...tracing-0.1.35 )
---
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-08-01 22:19:33 +00:00
Oliver Tale-Yazdi
5c89040f67
Co #11952 : Remove remove_member_wrong_refund from phragmen weights ( #5848 )
...
* Remove 'remove_member_wrong_refund' from phragmen weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-01 19:52:59 +00:00
Alexander Samusev
c65c0d64fc
Add release-v* rule to common-refs ( #5847 )
2022-08-01 15:26:50 +02:00