Alexander Gryaznov
e45d53552d
stabilize seal_contains_storage (seal0) and seal_set_storage (seal1) ( #11378 )
2022-05-10 08:07:13 +00:00
Alexander Samusev
2a89e5612b
[ci] change polkadot binary extra tag ( #5483 )
2022-05-09 17:40:18 +02:00
Alexander Theißen
f5c12a38bc
Companion for contracts dos vector fix ( #1242 )
...
* Companion for contracts dos vector fix
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-09 10:00:44 +00:00
Andrei Sandu
e29d8e91da
Improve dispute-coordinator message burstiness handling ( #5471 )
...
* Increase message channel size to 2048
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Use unbounded channel for reading data
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-05-09 10:00:05 +00:00
Alexander Theißen
4b64c9085a
contracts: Prevent PoV attack vector with minimal viable solution ( #11372 )
...
* Add ContractAccessWeight
* Apply suggestions from code review
Co-authored-by: Michael Müller <michi@parity.io >
Co-authored-by: Michael Müller <michi@parity.io >
2022-05-09 09:25:14 +00:00
dependabot[bot]
4a0dd31b8d
Bump clap from 3.1.15 to 3.1.17
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.15 to 3.1.17.
- [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.15...v3.1.17 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-09 07:32:48 +00:00
dependabot[bot]
992705d127
Bump log from 0.4.16 to 0.4.17
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.16 to 0.4.17.
- [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/0.4.17 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-08 22:32:57 +02:00
dependabot[bot]
fbfd292435
Bump enumn from 0.1.3 to 0.1.4 ( #5453 )
...
Bumps [enumn](https://github.com/dtolnay/enumn ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/dtolnay/enumn/releases )
- [Commits](https://github.com/dtolnay/enumn/compare/0.1.3...0.1.4 )
---
updated-dependencies:
- dependency-name: enumn
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-05-07 21:02:14 +00:00
dependabot[bot]
237df1943b
Bump proc-macro2 from 1.0.37 to 1.0.38 ( #1244 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.37...1.0.38 )
---
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>
2022-05-07 22:48:00 +02:00
Sergejs Kostjucenko
8ca70797aa
[ci] update review rules ( #1239 )
...
* update approval rules
* add comment
2022-05-06 16:37:55 +03:00
Kian Paimani
e30c18d61d
allow defensive operations to take a proof ( #11353 )
...
* allow defensive operations to take a proof
* Update frame/support/src/traits/misc.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update frame/bags-list/src/list/mod.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Update frame/support/src/traits/misc.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Update frame/support/src/traits/misc.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Fix build
* fix build again
* fmt
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-05-06 13:25:07 +00:00
cheme
fc568486fa
update parity-db version ( #5472 )
2022-05-06 15:24:16 +02:00
cheme
9d57a674d7
Parity-db Change missing implementation. ( #11049 )
...
* support for release as in kvdb (only if no rc).
* Start impl
* minimal implementation for paritydb rc
* Update client/db/src/parity_db.rs
Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com >
* Update client/db/src/parity_db.rs
Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com >
* Update client/db/src/parity_db.rs
Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com >
* Commit not panicking in DbAdapter
* errors from string
* update parity db version
Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com >
2022-05-06 15:22:39 +02:00
Kian Paimani
3965206730
Rename nomination pools pallet id ( #11361 )
2022-05-06 13:21:54 +00:00
Robert Klotzner
35a87e0fa3
Include log target for parachains-inherent. ( #5470 )
2022-05-06 13:20:56 +00:00
Tsvetomir Dimitrov
20e56a453c
Disputes which are unknown for the Runtime are sent with priority by the Provisioner when preparing inherent data ( #5336 )
...
* Implement MallocSizeOf for DisputeState
* Implementation of `Disputes` Runtime API message
* Modify on-chain dispute import
* Add feature flag for the new functionality
* Update node/core/provisioner/src/onchain_disputes.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Add target to log messages
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Use `staging-client` feature to enable the client code using the staging runtime api
* Remove TODO comment
* Don't filter out DisputeState
* Fix disputes selection logic
* spelling
* Tests
* Rename `Disputes` message to `StagingDisputes`
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Code review feedback
- Logging
- Separate error module
- Add additional fields for GetOnchainDisputesErr
- logging and impl MallocSizeOf
- fix impl MallocSizeOf for DisputeState
- fix tests
* Update node/core/provisioner/src/error.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Apply suggestions from code review
dummy metrics instance
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Revert "Apply suggestions from code review"
This reverts commit 6dc518cbf77e037ff4760d315938a68c806e662e.
* Code review feedback: #[cfg(test)] for new_dummy() in metrics
* Code review feedback: break the disputes generation logic in separate functions
* Code review feedback - align_eight
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-05-06 12:58:04 +00:00
Arkadiy Paronyan
faa089e7e1
Break the ref cycle ( #11371 )
2022-05-06 12:55:15 +00:00
Sergejs Kostjucenko
849300d173
update approval rules ( #11368 )
2022-05-06 15:39:03 +03:00
Vsevolod Stakhov
673a32d968
Use grid topology for bitfileds distribution messages ( #5389 )
...
* Move NewGossipTopology -> SessionGridTopology outside as this implementation is shared
* Add method to return peers difference between topologies
* Implement basic grid topology usage for the bitfield distribution
* Fix tests
* Oops, fix tests
* Add some tests for random routing
* Add a unit test for topology distribution
* Store the current and the previous topology to match sessions boundaries
* Update tests
* Update node/network/bitfield-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/protocol/src/grid_topology.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/bitfield-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Add some debug
* Fix tests as HashSet order is undefined
Co-authored-by: Andronik <write@reusable.software >
2022-05-06 12:24:11 +00:00
Roman Gafiyatullin
5051c2d920
A companion PR to the https://github.com/paritytech/substrate/pull/10995 ( #1162 )
...
* Substrate API change: https://github.com/paritytech/substrate/issues/8103
* fix fallout of https://github.com/paritytech/polkadot/pull/5454
* update lockfile for {"polkadot"}
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
Co-authored-by: parity-processbot <>
2022-05-06 12:09:41 +00:00
Sergejs Kostjucenko
53a1db59bc
[ci] update approval rules ( #5467 )
...
* update approval rules
* change approval count
* Apply suggestions from code review
Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com >
Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com >
2022-05-06 14:52:11 +03:00
Roman Gafiyatullin
d9f6c206a9
A companion PR to the https://github.com/paritytech/substrate/pull/10995 ( #5446 )
...
* Add BlockBackend::requires_full_sync() implementation
* do not specify --pruning explicitly
* update lockfile for {"substrate"}
* Please re-run the CI
* Please re-run the CI
Co-authored-by: Roman Gafiyatullin <rg@rgmbp-16-m1.lan >
Co-authored-by: parity-processbot <>
2022-05-06 11:33:06 +00:00
dependabot[bot]
fcfcb06ce6
Bump pretty_assertions from 1.0.0 to 1.2.1 ( #11360 )
...
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions ) from 1.0.0 to 1.2.1.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases )
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v1.0.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: pretty_assertions
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-05-06 12:47:50 +02:00
Roman Gafiyatullin
729cba9d9e
Remove the --unsafe-pruning CLI-argument (step 1) ( #10995 )
...
* sc-client-db: utils::open_database(...) — return OpenDbError so that the caller could tell the `OpenDbError::DoesNotExist` clearly
* sc-client-db: utils::open_database(..) — accept the `create: bool` argument
* sc-client-db: pruning — optional argument in the DatabaseSettings
* sc-state-db: Split `Error<E>` into separate `Error<E>` and `StateDbError`
* StateDb::open: choose the pruning-mode depending on the requested and stored values
* sc-state-db: test for different combinations of stored and requested pruning-modes
* CLI-argument: mark the unsafe-pruning as deprecated
* Fix tests
* tests: do not specify --pruning when running the substrate over the existing storage
* fix types for benches
* cargo fmt
* Check whether the pruning-mode and sync-mode are compatible
* cargo fmt
* parity-db: 0.3.11 -> 0.3.12
* sc-state-db: MetaDb::set_meta — a better doc-test
* cargo fmt
* make MetaDb read-only again!
* Remove the stray newline (and run the CI once again please)
* Last nitpicks
* A more comprehensive error message
2022-05-06 10:07:44 +00:00
Ross Bulat
994f8076b1
Add event tests to Nomination Pools ( #11349 )
...
* fix a few things with nomination pools
* fix typo
* fix build
* eventify tests
* Update frame/nomination-pools/src/tests.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* fmt
* comments
* split
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
2022-05-06 09:44:21 +00:00
Chevdor
db0f2cd32c
CI deps ugrade ( #1237 )
...
* Switch to actions/checkout v3
* Upgrade subwasm version
* Bump srtool-actions to v0.4
* Remove srtool runs from master
2022-05-06 09:24:55 +02:00
dependabot[bot]
48fb8bfb4e
Bump nix from 0.23.1 to 0.24.1
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.23.1 to 0.24.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.1...v0.24.1 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-06 02:26:47 +02:00
dependabot[bot]
bcee691ba2
Bump k256 from 0.10.2 to 0.10.4 ( #11249 )
...
Bumps [k256](https://github.com/RustCrypto/elliptic-curves ) from 0.10.2 to 0.10.4.
- [Release notes](https://github.com/RustCrypto/elliptic-curves/releases )
- [Commits](https://github.com/RustCrypto/elliptic-curves/compare/k256/v0.10.2...k256/v0.10.4 )
---
updated-dependencies:
- dependency-name: k256
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-05-06 01:21:56 +02:00
Chevdor
5ef032a1da
Upgrade gha ( #5462 )
...
* Bump actions/checkout to v3
* Fix naming
* Upgrade to GHA chevdor/srtool v0.4
2022-05-05 18:16:56 +02:00
Bernhard Schuster
abf882c591
dyn overseer channel capacity ( #5454 )
...
* allow runtime adjustment of signal channel size
Closes #5436
2022-05-05 17:22:17 +02:00
Shawn Tabrizi
46e20f3cc2
Companion for Force Batch ( #1236 )
...
* add force-batch weights
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-05-05 15:15:43 +00:00
Jun Jiang
2e1a3441f9
add force_batch weight entry to runtimes ( #5452 )
2022-05-05 14:39:30 +00:00
Shawn Tabrizi
a4bb42d85c
Backfill missing TOML features ( #11351 )
...
* only check std
* add default-features=false
* Revert "add default-features=false"
This reverts commit bc9453757a1df670f418a2d57ee4ce203425ab1b.
* missing features only to non-optional
2022-05-05 11:43:52 +00:00
Jun Jiang
f9e4e87efa
Add force_batch to utility pallet ( #11148 )
...
* Add batch_try to utility pallet
* lint
* rename utility.batch_try -> utility.force_batch
* Remove un-needed index field for utility.ItemFailed event
* Remove indexes of utility,BatchCompletedWithErrors
* Apply suggestions from code review
Co-authored-by: Louis Merlin <hello@louismerl.in >
Co-authored-by: Louis Merlin <hello@louismerl.in >
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-05-05 10:44:13 +00:00
dependabot[bot]
b24d1a2c23
Bump git2 from 0.13.25 to 0.14.2 ( #11341 )
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.25 to 0.14.2.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.25...0.14.2 )
---
updated-dependencies:
- dependency-name: git2
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-05-05 12:38:53 +02:00
dependabot[bot]
3a01f0697f
Bump trybuild from 1.0.60 to 1.0.61
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.60...1.0.61 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-05 12:36:10 +02:00
Alexander Samusev
52c4871897
[ci] fix cargo-check-nixos for nightly pipeline ( #11358 )
2022-05-05 11:50:14 +02:00
dependabot[bot]
0493fed686
Bump tokio from 1.17.0 to 1.18.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-05 01:19:55 +02:00
Robert Klotzner
1213a3a0b9
Make versi-staging match previous configs ( #5416 )
...
Also get rid of pointless versi chainspec.
2022-05-04 22:20:57 +02:00
André Silva
82cb3c0570
Companion for substrate#11113 ( #5406 )
...
* runtime: use ParentBlockRandomness instead of CurrentBlockRandomness
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-04 17:14:17 +00:00
André Silva
d6d4068ccc
babe: only process vrf on module finalization ( #11113 )
...
* babe: only process vrf on block execution finalization
* babe: rename CurrentBlockRandomness to PreviousBlockRandomness
* babe: add test for initialization ordering
* babe: rename PreviousBlockRandomness to ParentBlockRandomness
* babe: re-add CurrentBlockRandomness with deprecation notice
* babe: export CurrentBlockRandomness
* babe: silence deprecation warning when exporting CurrentBlockRandomness
* babe: suggestion from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* babe: flatten nested option
* babe: rustfmt
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-05-04 16:14:58 +00:00
João Paulo Silva de Souza
5246fc0195
customize check-dependent-* for release engineering ( #5425 )
2022-05-04 16:45:30 +02:00
João Paulo Silva de Souza
2dbdafb437
customize check-dependent-* for release engineering ( #11311 )
2022-05-04 16:45:23 +02:00
dependabot[bot]
bd5db20e7c
Bump thiserror from 1.0.30 to 1.0.31 ( #5439 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 )
---
updated-dependencies:
- dependency-name: thiserror
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-05-04 13:53:53 +00:00
Shawn Tabrizi
7d5202341b
Basic TOML Lint ( #11348 )
...
* basic lint
* lint ordering
2022-05-04 13:38:54 +00:00
Kian Paimani
19a9e56444
fix a few things with nomination pools ( #11343 )
...
* fix a few things with nomination pools
* fix typo
* fix build
* add missing try-runtime feat
2022-05-04 13:17:24 +00:00
Andronik
69af87a199
more verbose assignment cert errors ( #5433 )
...
* more verbose assignment cert errors
* rename a variant to InvalidAssignmentKey
2022-05-04 14:45:11 +02:00
Web3 Smith
9cdfbb4c8d
Update MMR Runtime API - add proof batching ( #4700 )
...
* update runtime apis
* rebase
* update apis
* update apis
* minor fix
* minor fix
* minro fixes
* update api
* style fix
* update lockfile for {"substrate"}
Co-authored-by: acatangiu <adrian@parity.io >
Co-authored-by: parity-processbot <>
2022-05-04 11:26:32 +00:00
Web3 Smith
fd45676d11
Update MMR Runtime API with functionality to generate MMR proof for a series of leaf indices ( #10635 )
...
* updated mmr rpc api with functions for batch generation of proof
* update code comments
* fix build errors
* added tests to mmr-rpc
* add tests to pallet-mmr
* update comments
* minor comment fix
* remove unused variables
* fix rust doc errors
* refactor mmr runtime api
* fix tests
* minor fix
* minor fix
* fix node-runtime
* revert to initial api
* impl from proof fot batchproof
* minor fix
* minor fix
* use explicit functions to convert btw batch proof and single proof
* minor fix
* add new variant to mmr error
* fmt
* update conversion to single leaf proof
* fix style nit
Co-authored-by: Adrian Catangiu <adrian@parity.io >
2022-05-04 10:40:11 +00:00
Bastian Köcher
82adb65f1b
sc-network: Do not return error on peer id only reserved nodes ( #11346 )
...
When passing reserved nodes only with a peer id it was failing with the `DuplicateBootnode` error.
Besides that there are some clean ups. We for example added the bootnodes twice to the `known_addresses`.
2022-05-04 12:15:11 +02:00