Robert Habermeier
ca358e1288
Fix currently-checking-cache ( #4410 )
...
* alter currently-checking-set to launch work only on new candidates
* fmt
* fix compilation
* address review
* Introduce approvals cache test that ensures approval work is only triggered once for each Candidate Hash
* Fix formatting
* Address Feedback
* Move final message await into handle function
Co-authored-by: Chris Sosnin <chris125_@live.com >
Co-authored-by: Lldenaurois <Ljdenaurois@gmail.com >
2021-12-21 16:21:18 -06:00
dependabot[bot]
23b8e3a694
Bump handlebars from 4.1.4 to 4.1.6 ( #10518 )
...
Bumps [handlebars](https://github.com/sunng87/handlebars-rust ) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/sunng87/handlebars-rust/releases )
- [Changelog](https://github.com/sunng87/handlebars-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sunng87/handlebars-rust/compare/v4.1.4...v4.1.6 )
---
updated-dependencies:
- dependency-name: handlebars
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-21 18:44:59 +01:00
Kian Paimani
cfac7d6832
add to ( #10524 )
2021-12-21 18:42:15 +01:00
Alexander Theißen
62ee43d822
Use exists host function ( #10531 )
2021-12-21 18:36:46 +01:00
Adrian Catangiu
30423f796b
Companion for Substrate#10445 ( #4506 )
...
* runtimes: use updated BeefyApi
* update lockfile for substrate
2021-12-21 18:08:49 +02:00
Sergei Shulepov
0e046a000f
pvf-precheck: update rustdoc for paras module ( #4459 )
...
Basically updates the docs for the paras module.
2021-12-21 17:04:34 +01:00
Andrew Jones
9c9ea8da85
Serialize CodeUploadReturnValue deposit correctly ( #10526 )
2021-12-21 15:09:37 +00:00
Adrian Catangiu
3d8ce67383
Beefy: Provide well-formed ValidatorSet ( #10445 )
...
* beefy: provide well-formed ValidatorSet
* pallet-beefy: use well-formed ValidatorSet
* pallet-beefy-mmr: use well-formed ValidatorSet
* beefy-gadget: fail votes early when ValidatorSet empty
* beefy: small efficiency improvements
* address review comments
Signed-off-by: acatangiu <adrian@parity.io >
2021-12-21 16:34:32 +02:00
Sergei Shulepov
3cb138d236
pvf-precheck: hook up runtime API ( #4542 )
...
This commit hooks up the API provided by #4457 to the runtime API
subsystem. In a following PR this API will be consumed by the PVF
pre-checking subsystem.
Co-authored-by: Chris Sosnin <chris125_@live.com >
Co-authored-by: Chris Sosnin <chris125_@live.com >
2021-12-21 15:15:30 +01:00
Sergei Shulepov
5a3ee43cda
parachains: Fix configuration module ( #4540 )
...
* parachains: Fix configuration module
Closes #4529
Closes #4533
I figured that trying to avoid updates does not really worth it to keep.
This is because we seem to not update the configuration often and when
we do we approach this carefully. Thus possibility of a redundant update
is really negligable. At the same time, if such a redundant update does
happen then the effects of that are really small: just some wasted
storage interactions.
On the other hand, making it work was a little bit annoying. With the
proper fix for the pending updates this would be even more annoying
since now we would have to add combinatorically more cases to test this.
So I figured that I will just scrap that and simplify the code.
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_configuration.rs
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_parachains_configuration.rs
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::configuration --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_configuration.rs
* review fixes
Co-authored-by: Parity Bot <admin@parity.io >
2021-12-21 13:28:56 +00:00
dependabot[bot]
2d347e68f2
Bump clap from 2.33.3 to 2.34.0 ( #10523 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.33.3 to 2.34.0.
- [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/v2.33.3...v2.34.0 )
---
updated-dependencies:
- dependency-name: clap
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>
2021-12-21 12:36:11 +00:00
dependabot[bot]
478ac9589b
Bump bounded-vec from 0.4.0 to 0.5.0 ( #4082 )
...
Bumps [bounded-vec](https://github.com/ergoplatform/bounded-vec ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/ergoplatform/bounded-vec/releases )
- [Changelog](https://github.com/ergoplatform/bounded-vec/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/ergoplatform/bounded-vec/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: bounded-vec
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>
2021-12-21 13:33:40 +01:00
dependabot[bot]
702f76e913
Bump git2 from 0.13.23 to 0.13.25 ( #10522 )
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.23 to 0.13.25.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.23...0.13.25 )
---
updated-dependencies:
- dependency-name: git2
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-21 12:41:45 +01:00
dependabot[bot]
3c975071c8
Bump frame-metadata from 14.0.0 to 14.2.0 ( #10519 )
...
Bumps [frame-metadata](https://github.com/paritytech/frame-metadata ) from 14.0.0 to 14.2.0.
- [Release notes](https://github.com/paritytech/frame-metadata/releases )
- [Changelog](https://github.com/paritytech/frame-metadata/blob/main/CHANGELOG.md )
- [Commits](https://github.com/paritytech/frame-metadata/commits )
---
updated-dependencies:
- dependency-name: frame-metadata
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>
2021-12-21 12:38:58 +01:00
dependabot[bot]
03d726aac3
Bump serde from 1.0.131 to 1.0.132 ( #10517 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132 )
---
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>
2021-12-21 11:17:06 +01:00
Keith Yeung
d78ea860ec
Update serde to 1.0.132 ( #871 )
2021-12-21 09:15:50 +01:00
Bastian Köcher
c342de58bb
Substrate companion for fetching slot duration ( #864 )
...
* Substrate companion for fetching slot duration
https://github.com/paritytech/substrate/pull/10509
* update lockfile for substrate
* Update
Co-authored-by: parity-processbot <>
2021-12-20 23:46:45 +00:00
Bastian Köcher
a805a1a045
Substrate companion for change slot duration fetching ( #4556 )
...
* Substrate companion for change slot duration fetching
https://github.com/paritytech/substrate/pull/10509
* Fix bridges
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2021-12-20 20:22:29 +00:00
Bastian Köcher
494dee7c7b
SlotDuration: Always fetch the slot duration from the runtime ( #10509 )
...
* SlotDuration: Always fetch the slot duration from the runtime
The slot duration should always be fetched from the runtime instead of being cached in the db. The
slot duration is only fetched on startup of the node, so the performance isn't that important. This
is especially helpful for the case when the slot duration of a chain should be changed through a
runtime upgrade (there be dragons, so take care).
* Fix docs
* Remove logging
* Fix warning
2021-12-20 19:49:18 +00:00
dependabot[bot]
a043ad3bc8
Bump hyper from 0.14.14 to 0.14.16 ( #10462 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.14 to 0.14.16.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.14...v0.14.16 )
---
updated-dependencies:
- dependency-name: hyper
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-20 15:27:14 +01:00
Tomasz Drwięga
daa41ea5cc
Alter BEEFY primitives to prepare for potential BLS integration ( #10466 )
...
* Generalize signature.
* Fix tests.
* Introduce VersionedFinalityProof.
* cargo +nightly fmt --all
* Rework packing a tad.
2021-12-20 14:57:32 +01:00
dependabot[bot]
6eb6fa32fc
Bump rustversion from 1.0.5 to 1.0.6 ( #10516 )
...
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.5...1.0.6 )
---
updated-dependencies:
- dependency-name: rustversion
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-20 14:10:21 +01:00
dependabot[bot]
b40f440c7e
Bump bytes from 1.0.1 to 1.1.0 ( #10223 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.0.1...v1.1.0 )
---
updated-dependencies:
- dependency-name: bytes
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>
2021-12-20 12:25:01 +00:00
dependabot[bot]
6aae3f1d49
Bump ss58-registry from 1.5.0 to 1.10.0 ( #10515 )
...
Bumps [ss58-registry](https://github.com/paritytech/ss58-registry ) from 1.5.0 to 1.10.0.
- [Release notes](https://github.com/paritytech/ss58-registry/releases )
- [Changelog](https://github.com/paritytech/ss58-registry/blob/main/CHANGELOG.md )
- [Commits](https://github.com/paritytech/ss58-registry/compare/v1.5.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: ss58-registry
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>
2021-12-20 13:08:23 +01:00
BenWhiteJam
4f8f4cfa3d
update Rococo readme intro ( #869 )
2021-12-20 13:07:15 +01:00
Chris Sosnin
42964d514a
dispute-coordinator: fix underflow panic ( #4557 )
2021-12-20 11:52:21 +01:00
dependabot[bot]
9df7dea61f
Bump futures from 0.3.18 to 0.3.19 ( #4567 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.18 to 0.3.19.
- [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.18...0.3.19 )
---
updated-dependencies:
- dependency-name: futures
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-20 11:43:46 +01:00
dependabot[bot]
6129dd8e49
Bump tokio from 1.13.0 to 1.15.0 ( #10512 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.13.0 to 1.15.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.13.0...tokio-1.15.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
2021-12-20 09:56:16 +00:00
dependabot[bot]
14a8f03cc8
Bump lru from 0.7.0 to 0.7.1 ( #4566 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.0 to 0.7.1.
- [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.0...0.7.1 )
---
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-20 10:54:45 +01:00
Doordashcon
f4cd958ef1
Update Polkadot ( #4561 )
...
* add existential deposit
* cargo +nightly fmt
* add EXISTENTIAL_DEPOSIT to runtimes
2021-12-20 10:44:23 +01:00
jmole
a5bbe0d0be
Suggest installing graphviz before book building ( #4565 )
2021-12-20 11:41:30 +02:00
dependabot[bot]
ba25029d0f
Bump syn from 1.0.81 to 1.0.82 ( #10505 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.81...1.0.82 )
---
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>
2021-12-19 11:26:37 +01:00
Javier Viola
78c3284ce7
[Zombienet] fix test creds ( #4562 )
...
* remove custom kube file in creds
* typo in image name echo
2021-12-18 20:56:02 +01:00
hamidra
94056a4da7
Add ClassAccount storage to unique pallet ( #9940 )
...
* add ClassAccount to uniques storage
* add tests for Class and ClassAccount storage
* fix format
* fix description
* add migration
* remove extra iteration
* Update frame/uniques/src/migration.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* fix format
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-18 15:41:05 +00:00
Chris Sosnin
5e80287475
chain-api: stop ancestors lookup at block #0 ( #4560 )
2021-12-18 15:50:08 +01:00
Javier Viola
686d82a437
use v1.0.2 of zombienet ( #4553 )
2021-12-18 14:12:54 +01:00
Bernhard Schuster
8c5a172701
remove invalid dispute subsystem replace ( #4559 )
2021-12-18 14:12:01 +01:00
dependabot[bot]
745f4fd5af
Bump hyper from 0.14.15 to 0.14.16 ( #4550 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.15 to 0.14.16.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.15...v0.14.16 )
---
updated-dependencies:
- dependency-name: hyper
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-18 13:13:46 +01:00
Keith Yeung
f873384852
Create a README for XCMv2 detailing notable changes ( #4059 )
...
* Create a README for XCMv2 detailing notable changes
* Typo
* Appease spellcheck and cargo fmt
* Add XCM pallet item to be aware of
* cargo fmt
* Remove all XCM README.md
2021-12-18 06:05:52 +00:00
Bernhard Schuster
2457c26a08
enable disputes for known chains, except for polkadot ( #4464 )
...
* enable disputes, for all known chains but polkadot
* chore: fmt
* don't propagate disputes either
* review
* remove disputes feature
* remove superfluous line
* Update node/service/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* fixup
* allow being a dummy
* rialto
* add an enum, to make things work better
* overseer
* fix test
* comments
* move condition out
* excess arg
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-12-17 17:50:48 +00:00
Bernhard Schuster
fad55b95fa
dispute statements node side limiting ( #4541 )
2021-12-17 15:50:26 +01:00
dependabot[bot]
b0a4f78edc
Bump serde from 1.0.131 to 1.0.132 ( #4551 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132 )
---
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>
2021-12-17 15:25:17 +01:00
dependabot[bot]
5ebe850075
Bump nix from 0.23.0 to 0.23.1 ( #4552 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.23.0...v0.23.1 )
---
updated-dependencies:
- dependency-name: nix
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-17 15:21:38 +01:00
Chris Sosnin
8b1514862d
Dispute coordinator: look for included candidates in non-finalized chain ( #4508 )
...
* Fetch ancestors of the activated leaf
* Replace param type
* Increase step size
* Request block numbers for ancestors
* Store activated leaves in lru cache
* Fix doc-comment
* Rework LRU usage
* Typos & formatting
* Handle errors better
* Introduce a size limit for the ancestry
* Return fatal error when fetching finalized block
* Update tests
* Add tests for ordering provider
* Better naming
* fix zombienet test, new version
* zombienet add debug
* debug zombienet
Co-authored-by: Javier Viola <javier@parity.io >
2021-12-17 12:07:28 +01:00
Tomasz Drwięga
8fa5c7608a
Remove offchain workers ownership. ( #10506 )
2021-12-17 10:52:16 +00:00
Liu-Cheng Xu
ac992ae18b
Derive TypeInfo for OpaqueExtrinsic ( #10504 )
2021-12-17 09:43:51 +00:00
dependabot[bot]
d2e9026444
Bump serde from 1.0.130 to 1.0.131 ( #10500 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.130 to 1.0.131.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.131 )
---
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>
2021-12-17 08:30:58 +00:00
Liu-Cheng Xu
472e29f843
Use intra doc in network-gossip ( #10501 )
...
* Use intra doc in network-gossip
So that we could jump to the definition easily.
* cargo +nightly fmt --all
2021-12-16 23:19:30 +00:00
Sergei Shulepov
1eefce2aa9
Fix fmt on master ( #4546 )
2021-12-16 18:10:46 +00:00
Javier Viola
2c0d7730d7
Support new version of zombienet ( #4528 )
...
* test new version of zombienet
* use default chain spec command
* use commit ref to get test files
* change test spec for zombienet new versionzombienet_tests/parachains/0001-parachains-smoke-test.toml
* changes for new version of zombienet
* use paritytech zombienet version
2021-12-16 18:23:21 +01:00