Gavin Wood
c1ca5df9e4
Update docs ( #7230 )
2023-05-15 16:47:44 +01:00
Tsvetomir Dimitrov
761368cd32
Bump parity-db to 0.4.8 ( #7231 )
...
* Bump parity-db to 0.4.8
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-15 15:34:17 +00:00
Ross Bulat
fbcb6caf8c
Merge branch 'master' of https://github.com/paritytech/polkadot ( #7224 )
2023-05-15 13:58:39 +00:00
asynchronous rob
33432fa020
Relax the watermark rule in the runtime ( #7188 )
...
* Relax the watermark rule in the runtime
* make comment more clear
* add hrmp test
* remove TODO now comment
2023-05-13 18:24:03 -05:00
dependabot[bot]
339d4a5624
Bump reqwest from 0.11.11 to 0.11.17 ( #7152 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.11 to 0.11.17.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.11...v0.11.17 )
---
updated-dependencies:
- dependency-name: reqwest
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>
2023-05-12 15:56:00 +00:00
Anton
147a823558
[Substrate Companion] Upgrade to libp2p 0.51.3 ( #7000 )
...
* upgrade js-sys to 0.3.61
* update wasm-bindgen-futures
* update once_cell
* update either
* update futures
* update pyroscope to 0.5.3
* use the new pyroscope API
* add missing imports
* readme is incorrect
* add shutdown
* fix shutdown
* remove mut
* remove mut 2
* redo updates
* update zeroize
* update lockfile for {"substrate"}
* update lockfile for {"substrate", "cumulus"}
* redo updates
* restart CI
---------
Co-authored-by: parity-processbot <>
2023-05-12 14:52:21 +00:00
Tsvetomir Dimitrov
12dd927798
Replace RollingSessionWindow in approval-voting with RuntimeInfo ( #7123 )
...
* Replace `RollingSessionWindow` with `RuntimeInfo` - initial commit
* Fix tests in import
* Fix the rest of the tests
* Remove dead code
* Fix todos
* Simplify session caching
* Comments for `SessionInfoProvider`
* Separate `SessionInfoProvider` from `State`
* `cache_session_info_for_head` becomes freestanding function
* Remove unneeded `mut` usage
* fn session_info -> fn get_session_info() to avoid name clashes. The function also tries to initialize `SessionInfoProvider`
* Fix SessionInfo retrieval
* Code cleanup
* Don't wrap `SessionInfoProvider` in an `Option`
* Remove `earliest_session()`
* Remove pre-caching -> wip
* Fix some tests and code cleanup
* Fix all tests
* Fixes in tests
* Fix comments, variable names and small style changes
* Fix a warning
* impl From<SessionWindowSize> for NonZeroUsize
* Fix logging for `get_session_info` - remove redundant logs and decrease log level to DEBUG
* Code review feedback
2023-05-12 15:11:10 +02:00
Arkadiy Paronyan
3b91d77847
Bump parity-db ( #7209 )
2023-05-12 10:44:30 +02:00
Oliver Tale-Yazdi
7d8ecced0e
Add erasure-coding/fuzzer to workspace ( #7210 )
...
* Add to workspace
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove dumb clones
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update Cargo.lock
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: parity-processbot <>
2023-05-11 22:55:45 +00:00
Falco Hirschenberger
7f391adf44
companion PR for https://github.com/paritytech/substrate/pull/13373 ( #7060 )
...
* companion PR for https://github.com/paritytech/substrate/pull/13373
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-11 17:49:34 +00:00
Doordashcon
df7c5b3ecc
Substrate Companion ( #7118 )
...
* sudo benchmarks
* cargo fmt
* sub weights
* Update Cargo.lock
* NC.l
* undo
* cargo fmt
* update sudo weights
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-11 16:13:29 +00:00
Aaro Altonen
f86c9fcc44
Companion for paritytech/substrate#14080 ( #7184 )
...
* Companion for paritytech/substrate#14080
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-11 11:08:04 +00:00
Tsvetomir Dimitrov
c1952fcc62
Bump kvdb-rocksdb ( #7212 )
...
* Bump `kvdb-rocksdb`
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-10 14:55:10 +00:00
Francisco Aguirre
8219cb1ccd
Stop weighing XCM execution on pallet-xcm's send extrinsic ( #7201 )
...
* Stop weighing XCM execution on pallet-xcm's send extrinsic
* Add missing instruction to transfer extrinsics' weight in pallet-xcm
2023-05-09 16:18:29 -03:00
Mira Ressel
5f256d118f
Move back to ci-linux:production image after upgrade ( #7207 )
...
There are still a bunch of open questions on how to handle image
pinning; in the meantime, let's keep using the production tag.
2023-05-09 17:33:48 +02:00
Przemek Rzad
34b92b75c5
Update Staking Miner Readme ( #6926 )
...
* Update Staking Miner readme
* Update README.md
* Update utils/staking-miner/README.md
* Update utils/staking-miner/README.md
* Update utils/staking-miner/README.md
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2023-05-09 16:06:47 +02:00
Chris Sosnin
9c08536d5f
paras: dismiss pvf_checking_enabled configuration ( #7138 )
...
* paras: unconditionally precheck pvfs
* Update integration tests
* paras_registrar tests
* runtime benchmark tests
* fix bench
* bypass prechecking in test node
* adjust bench
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::paras
* ".git/.scripts/commands/bench/bench.sh" runtime kusama runtime_parachains::paras
* ".git/.scripts/commands/bench/bench.sh" runtime rococo runtime_parachains::paras
* ".git/.scripts/commands/bench/bench.sh" runtime westend runtime_parachains::paras
* use test helper
* fix new test
---------
Co-authored-by: command-bot <>
2023-05-08 18:58:55 +00:00
Oliver Tale-Yazdi
580111dd98
Tests can use dbg macro ( #7197 )
...
There is a deny(clippy::dbg_macro) in the crate root, so newer
Clippy fails here since tests use dbg.
But dbg in tests are fine IMHO.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-05-08 16:48:04 +00:00
Chevdor
4809bb0305
Add a new template to show the list of host functions ( #7158 )
...
* Add a new template to show the list of host functions
* Fix release notes template for host functions
---------
Co-authored-by: parity-processbot <>
2023-05-08 10:18:25 +00:00
Niklas Adolfsson
3d32afa608
companion for #14088 ( #7192 )
...
* companion for #14088
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-07 20:16:03 +00:00
Javier Viola
0e5974f55b
bump zombienet version. ( #7180 )
...
* bump zombienet version
* enable upgrade node test
* changes to fix test
* typo in pipeline
2023-05-07 21:23:36 +02:00
Tsvetomir Dimitrov
d3852d718a
Bump sc-service ( #7185 )
2023-05-05 17:28:20 +00:00
Muharem Ismailov
245305be4e
XCM remote lock consumers ( #6947 )
...
* xcm remote lock consumers
* update xcm pallet config setups
* fix import
* update xcm pallet config setups
* rename consumers to users
* rename
* rename users to consumers, more docs
* correct doc
---------
Co-authored-by: parity-processbot <>
2023-05-05 14:11:35 +00:00
Mira Ressel
9e50f18250
Pin ci-linux image for rust 1.69 ( #7166 )
2023-05-05 16:01:04 +02:00
Andrei Sandu
2ca3750f0f
Prefer fetching small PoVs from backing group ( #7173 )
...
* impl QueryChunkSize
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* QueryChunkSize message
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* enable fetching from backing group for small pov
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Refactor `bypass_availability_store`
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
---------
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2023-05-05 09:56:54 +00:00
Stakeworld
4c88b30ee4
Add stakeworld bootnodes for polkadot, kusama and westend ( #7148 )
2023-05-04 21:07:46 +00:00
Davide Galassi
f6a743dadc
Companion for substrate #14036 ( #7145 )
...
* Companion for substrate #14036
* Rollback of some trivial renamings
* update lockfile
2023-05-04 16:46:43 +02:00
Robert Hambrock
71aa0b0931
BEEFY & MMR zombienet tests ( #7068 )
...
* test that successfully verify self-generated proof
* verify proof result on all unpaused nodes
* tighten interface: reuse connection
* generate the proof on arbitrary node
* s/stub-name/validator
seems this doesn't pass some regex
* rename script
* add basic mmr-leaves test
* documentation formatting
* check lower bound on mmr leaves
* test beefy rpc: finalized heads match
* test mmr api: stateless proofs
* set lower bound on number of leaves
* change leaves in proof generation
* remove TODOs
* cleanup: consistently ignore zndsl name arg
* refactor: simplify returns
Co-authored-by: Serban Iorga <serban@parity.io >
* lax finalized head test
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* fixup! refactor: simplify returns
* refactor out getApis
Co-authored-by: Serban Iorga <serban@parity.io >
* split out paused validator from group
* refactor: don't ignore node arg
don't randomize selection of proof generating / finalized head
retrieving node, but use the node arg for this.
* only check min block height, not relative
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* verify finalized heads share same canonical chain
picks the node with the highest finalized head, gets its blockchain
headers since genesis, and verifies that all other nodes' finalized
heads are in said blockchain.
* fixup! split out paused validator from group
Co-authored-by: Serban Iorga <serban@parity.io >
---------
Co-authored-by: Serban Iorga <serban@parity.io >
Co-authored-by: Adrian Catangiu <adrian@parity.io >
2023-05-04 16:36:50 +03:00
Bulat Saifullin
87159f8a73
Update wococo chainspec ( #7018 )
2023-05-04 12:15:45 +00:00
Arkadiy Paronyan
cf0af0424e
[companion for #13701 ] Statement-store ( #6995 )
...
* Set data_path
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-04 11:03:30 +00:00
Kshitij Rajgude
97717e83dc
docs: update style link ( #7178 )
2023-05-04 12:44:54 +02:00
Niklas Adolfsson
dcbf8b70f7
companion for #13384 ( #6987 )
...
* companion for #13384
* adjust parsing RPC address from process output
* update rpc cli
* update lockfile for {"substrate"}
* bump zombienet v1.3.48
* bump zombienet version
* allow zombienet-tests-misc-upgrade-node to fail
* add comment and issue link to allowed_failure
* grumbles: disable failed job
* disabled the correct test
---------
Co-authored-by: parity-processbot <>
Co-authored-by: Javier Viola <javier@parity.io >
2023-05-04 11:48:08 +02:00
Oliver Tale-Yazdi
615366dba7
Sort migrations by release ( #7168 )
...
* Sort migrations by release
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Inline 'SinceV0940'
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Mention order
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Extend comment
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-05-03 15:37:12 +00:00
ordian
8b91d909a3
runtime/polkadot: enable disputes rewards and slashing ( #6960 )
...
* runtime/polkadot: enable disputes rewards and slashing
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot runtime_parachains::disputes::slashing
---------
Co-authored-by: command-bot <>
2023-05-03 13:48:54 +00:00
Bruno Galvao
0353b37331
add swapped event to registrar ( #5990 )
...
* add swapped event to registrar
* check swapped event on integration test
* check for swapped event in paras_registrar swap tests
* cargo +nightly fmt --all
* add test for para to para swap
* make paraId event consistent
* cargo +nightly fmt
2023-05-03 13:13:42 +00:00
Mira Ressel
494cba5cdc
Bump clap to 4.2.5 ( #7160 )
2023-05-02 19:55:26 +02:00
Just van Stam
e22e449c4a
fix log targets for nonfungibles-adapter ( #7154 )
...
* fix log targets for nonfungibles-adapter
* change target
* make const for LOG_TARGET and fmt
2023-05-02 14:22:34 +00:00
Mara Robin B
d50ff483f8
update weights (sync with 0.9.42) ( #7149 )
...
* polkadot: update weights
* westend: update weights
* kusama: update weights
* rococo: update weights
2023-05-02 13:12:47 +00:00
Sebastian Kunert
0ae0393042
Add option to skip av-store requests in availability-recovery-subsystem ( #7131 )
...
* Allow to skip availability-store
* Update node/network/availability-recovery/src/lib.rs
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
---------
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
2023-04-28 10:13:04 +00:00
dependabot[bot]
2044ae17b7
Bump wasmtime from 6.0.1 to 6.0.2 ( #7144 )
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 6.0.1 to 6.0.2.
- [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/v6.0.1...v6.0.2 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-28 06:49:49 +02:00
Liam Aharon
1fbf37f991
ci: update check-runtime-migration fixme issues ( #7141 )
...
* update configs for check-runtime-migration tasks
* update fixme issues
* fix indentation
2023-04-28 00:59:04 +10:00
Keith Yeung
d20e3c1145
XCM: Implement a blocking barrier ( #7098 )
...
* Move XCM matcher to xcm-builder
* Use ProcessMessageError as the error type in MatchXcm and ShouldExecute
* Implement a blocking barrier
* Fixes
* Add benchmarking for force_suspension
* ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime kusama pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime polkadot pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime westend pallet_xcm
* ".git/.scripts/commands/bench/bench.sh" runtime rococo pallet_xcm
---------
Co-authored-by: command-bot <>
2023-04-27 10:22:39 +00:00
dependabot[bot]
1125655024
Bump chevdor/srtool-actions from 0.6.0 to 0.7.0 ( #7135 )
...
Bumps [chevdor/srtool-actions](https://github.com/chevdor/srtool-actions ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/chevdor/srtool-actions/releases )
- [Commits](https://github.com/chevdor/srtool-actions/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: chevdor/srtool-actions
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>
2023-04-27 09:55:20 +03:00
gupnik
9ed28d07a0
Clears Old Storage for Session pallet ( #7132 )
...
* Fixes migration for Session pallet
* Moves migration to polkadot
* Minor change
* Fixes test
* ".git/.scripts/commands/fmt/fmt.sh"
* Allow dead_code for test
* removes test
* Minor change
* Fixes build
* Import vec for try-runtime
* Addresses review comment
* ".git/.scripts/commands/fmt/fmt.sh"
* Addresses review comment
---------
Co-authored-by: command-bot <>
2023-04-27 04:32:15 +00:00
ordian
703009fb39
malus: dont panic on missing validation data ( #6952 )
...
* malus: don't panic if can't fetch validation data
* malus: add fast-runtime feature
2023-04-26 14:03:26 +00:00
gupnik
d8723a080c
Offences Migration v1: Removes ReportsByKindIndex ( #7114 )
...
* Companion for substrate
* Adds kusama migration
* update lockfile for {"substrate"}
* Temp allow try-runtime to fail
... until https://github.com/paritytech/substrate/issues/14006 is done.
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: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-04-26 04:08:08 +00:00
eskimor
33dd2584df
Fix stalling dispute coordinator. ( #7125 )
...
* Fix stalling dispute coordinator.
* Initialization.
---------
Co-authored-by: eskimor <eskimor@no-such-url.com >
2023-04-25 16:42:45 +02:00
Andrei Sandu
634b2f6ad2
Fix rolling session window ( #7126 )
...
* Use stored sessions 🤦
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove redundant
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
---------
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2023-04-24 18:14:36 +00:00
Alexander Samusev
25d557f930
[ci] Update buildah command and version ( #7128 )
2023-04-24 17:33:07 +02:00
Alejandro Martinez Andres
63d354aea0
Bump assigned_slots params ( #6991 )
2023-04-24 14:31:37 +00:00