ordian
45acf6e402
av-store: write meta for unknown finalized blocks ( #6452 )
...
* av-store: write meta for unknown finalized blocks
* fix test
2023-01-05 18:25:21 +01:00
Marcin S
f0106b30fa
Log PVF retries ( #6504 )
2023-01-04 22:18:41 +00:00
Bradley Olson
6ba23078c9
Issue 6274: keeping all backing votes in provisioner vote set ( #6494 )
...
* Fixing filter to keep all backing votes
* Comment and implementers guide edit
* Formatting
* Using fallthrough
* Fmt
2023-01-04 21:35:58 +00:00
Serban Iorga
a6ee76a769
Fix polkadot-runtime-constants std build ( #6503 )
...
* Fix polkadot-runtime-constants std build
* Fix kusama, rococo and westend constants std build
* Code review fixes
2023-01-04 21:27:25 +00:00
Tsvetomir Dimitrov
87ef83684b
Add try-runtime to Rococo runtime ( #6501 )
...
* Add `try-runtime` to Rococo runtime
* Enable try-runtime in all pallets
* Update runtime/rococo/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add dev-dependencies for the try-runtime test
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-01-04 14:41:56 +00:00
Oliver Tale-Yazdi
1a25f8125f
Co #13045 : Selectable on-runtime-upgrade checks ( #6498 )
...
* Use UpgradeCheckSelector
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2023-01-04 13:25:49 +00:00
Ankan
49a8704f55
Migrate Staking pallet to v13 ( #6365 )
...
* add staking v13 migration
* add migration to polkadot
* only migrate staking
* un-remove other migrations
* fmt
* retrigger ci
* 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: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-01-03 23:17:10 +01:00
Oliver Tale-Yazdi
06dae877ed
Deploy scheduler agenda cleanup migration ( #6465 )
...
* Add migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add comments
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* 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 >
2023-01-03 21:08:27 +00:00
Michal Kucharczyk
01fcc27465
BlockId removal: refactor: BlockBackend::block|block_status ( #6477 )
...
* BlockId removal: refactor: BlockBackend::block|block_status
It changes the arguments of:
- `BlockBackend::block`
- `BlockBackend::block_status`
method from: `BlockId<Block>` to: `Block::Hash`
This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292 )
* update lockfile for {"substrate"}
* ".git/.scripts/fmt.sh"
Co-authored-by: parity-processbot <>
2023-01-02 11:56:26 +00:00
Bradley Olson
539a9a9158
Update dispute participation on active leaves update ( #6303 )
...
* Passed candidate events from scraper to participation
* First draft PR 5875
* Added support for timestamp in changes
* Some necessary refactoring
* Removed SessionIndex from unconfirmed_disputes key
* Removed duplicate logic in import statements
* Replaced queue_participation call with re-prio
* Simplifying refactor. Backed were already handled
* Removed unneeded spam slots logic
* Implementers guide edits
* Undid the spam slots refactor
* Added comments and implementers guide edit
* Added test for participation upon backing
* Round of fixes + ran fmt
* Round of changes + fmt
* Error handling draft
* Changed errors to bubble up from reprioritization
* Starting to construct new test
* Clarifying participation function rename
* Reprio test draft
* Very rough bump to priority queue test draft
* Improving logging
* Most concise reproduction of error on third import
* Add `handle_approval_vote_request`
* Removing reprioritization on included event test
* Removing unneeded test config
* cargo fmt
* Test works
* Fixing final nits
* Tweaks to test Tsveto figured out
Co-authored-by: eskimor <eskimor@no-such-url.com >
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
2022-12-30 12:55:20 +01:00
eskimor
b0c7a1571d
Update disputes subsytems section. ( #6329 )
...
* Update disputes subsytems section.
* Update roadmap/implementers-guide/src/node/disputes/README.md
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Update roadmap/implementers-guide/src/node/disputes/README.md
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Update roadmap/implementers-guide/src/node/disputes/README.md
Co-authored-by: ordian <write@reusable.software >
* Update roadmap/implementers-guide/src/node/disputes/README.md
Co-authored-by: ordian <write@reusable.software >
* Review feedback.
Co-authored-by: eskimor <eskimor@no-such-url.com >
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: ordian <write@reusable.software >
2022-12-27 12:27:55 +01:00
Dmitry Markin
bcfaf286bf
Runtime diagnostics for leaked messages in unbounded channels (part 2) ( #6481 )
...
* Bump `backtrace` to v0.3.67
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-12-27 10:44:50 +00:00
Bradley Olson
b95a5c9c40
Added comment describing satisfied invariant ( #6460 )
2022-12-26 19:50:18 +00:00
Ankan
96bce58a91
[Companion] Allow StakingAdmin to set min_commission ( #6444 )
...
* rename staking origin
* fix comments
* rename origin
* give fake weight before re-benchmarking
* ".git/.scripts/bench-bot.sh" runtime westend-dev pallet_staking
* ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_staking
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_staking
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-12-26 17:53:22 +01:00
dependabot[bot]
3c89f88ec7
Bump secp256k1 from 0.24.0 to 0.24.2 ( #6411 )
...
Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1 ) from 0.24.0 to 0.24.2.
- [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases )
- [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/secp256k1-0.24.2/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-secp256k1/compare/secp256k1-0.24.0...secp256k1-0.24.2 )
---
updated-dependencies:
- dependency-name: secp256k1
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>
Co-authored-by: parity-processbot <>
2022-12-23 01:16:19 +01:00
Oliver Tale-Yazdi
b6420cf6ec
Fix runtime-migration label detection ( #6469 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-12-22 14:21:16 +01:00
Sergejs Kostjucenko
e961e36250
fix dependabot labels ( #6468 )
2022-12-22 12:26:24 +01:00
ordian
d72775d37c
cargo update -p libp2p-yamux ( #6464 )
2022-12-22 12:23:44 +01:00
Michal Kucharczyk
ade78c2cf2
BlockId removal: refactor: HeaderBackend::status ( #6459 )
...
* BlockId removal: refactor: HeaderBackend::status
It changes the arguments of `HeaderBackend::status` method from: `BlockId<Block>` to: `Block::Hash`
This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292 )
* Update node/core/chain-api/src/tests.rs
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* unused import removed
* update lockfile for {"substrate"}
Co-authored-by: Adrian Catangiu <adrian@parity.io >
Co-authored-by: parity-processbot <>
2022-12-21 11:15:59 +00:00
Muharem Ismailov
dd46523f82
Kusama origins as xcm multi_location ( #6273 )
...
* Kusamsa origins as xcm multilocation
* Fellows origin index
* origins to xcm plurality body
* cleanup
* fix cargo spellcheck
* Apply suggestions from code review
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* include Fellows into scope
* include Fellows into scope
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Gavin Wood <gavin@parity.io >
2022-12-21 08:33:01 +00:00
Alexander Samusev
87f9e4e140
[ci] New try-runtime command ( #6445 )
...
* [ci] New try-runtime command
* restart pipeline
* build features
* fix --features flag
* rm --execution flag
* remove --no-spec-check-panic flag
* change target dir
* debug ccargo target dir
* return target
* try different location for runtime wasm
* build only the runtime crate
* check all generated .wasm files
* adjust paths again
* remove debug command
Co-authored-by: joao-paulo-parity <joao-paulo@parity.io >
2022-12-20 17:08:19 +01:00
Marcin S
e0a0475a05
PVF preparation: do not conflate errors ( #6384 )
...
* PVF preparation: do not conflate errors
+ Adds some more granularity to the prepare errors.
+ Better distinguish whether errors occur on the host side or the worker.
+ Do not kill the worker if the error happened on the host side.
+ Do not retry preparation if the error was `Panic`.
+ Removes unnecessary indirection with `Selected` type.
* Add missing docs, resolve TODOs
* Address review comments and remove TODOs
* Fix error in CI
* Undo unnecessary change
* Update couple of comments
* Don't return error for stream shutdown
* Update node/core/pvf/src/worker_common.rs
2022-12-20 08:32:12 -05:00
Michal Kucharczyk
fcc26d42e4
BlockId removal: refactor: HeaderBackend::header ( #6418 )
...
* BlockId removal: refactor: HeaderBackend::header
It changes the arguments of:
- `HeaderBackend::header`,
- `Client::header`
methods from: `BlockId<Block>` to: `Block::Hash`
This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292 )
* missed fixes
* BlockId removal: refactor: HeaderBackend::expect_header
It changes the arguments of `HeaderBackend::expect_header` method from: `BlockId<Block>` to: `Block::Hash`
* update lockfile for {"substrate"}
* misspell fixed
Co-authored-by: parity-processbot <>
2022-12-20 11:00:13 +00:00
Bastian Köcher
f687ab005a
Update Substrate ( #6457 )
2022-12-20 08:11:20 +00:00
Oliver Tale-Yazdi
d387338fb0
Use explicit call indices ( #6449 )
...
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use explicit call indices
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-12-19 23:13:34 +01:00
Bernhard Schuster
b9a55985bd
[bump] orchestra v0.0.4 ( #6413 )
...
* update orchestra to v0.0.3
* fix locks
* update orchestra to v0.0.4
* update lock
2022-12-19 08:51:57 +00:00
Bastian Köcher
b5e44b7075
Adding some more logs ( #6455 )
...
* Adding some more logs
More logs are always better! Joke aside, these logs help to debug
certain issues.
* Apply suggestions from code review
2022-12-17 18:51:39 +01:00
eskimor
5c787f1512
Make sure errors get logged ( #6451 )
...
instead of silently dropped.
Co-authored-by: eskimor <eskimor@no-such-url.com >
2022-12-16 21:37:57 +01:00
eskimor
3c1a28276d
Fix wrong rate limit + add a few logs. ( #6440 )
...
* Add trace log
* More tracing.
* Fix redundant rate limit.
* Add trace log.
* Improve logging.
Co-authored-by: eskimor <eskimor@no-such-url.com >
2022-12-15 09:47:06 +00:00
Kian Paimani
a3c81fe2a9
companion for try-runtime revamp ( #6187 )
...
* update to reflect latest try-runtime stuff
* update to latest version
* fix
* fix miner
* update
* update
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-12-15 09:10:16 +00:00
Alexander Samusev
193c8de9db
[ci] add job switcher ( #6433 )
...
* [ci] add job switcher
* add before_script to docker and k8s runners
* upd runners
* sccache :(
2022-12-14 13:49:56 +01:00
tugy
1aeee7cc1b
add westend bootnode ( #6434 )
2022-12-14 11:07:19 +00:00
Andrei Sandu
7f020eb527
approval-distribution: batched approval/assignment sending ( #6401 )
...
* Imple batched send
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add batch tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* pub MAX_NOTIFICATION_SIZE
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* spell check
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* spellcheck ...
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* o.O
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* 2 constants
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Ensure batch size is at least 1 element
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* feedback impl
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-12-13 14:06:05 +02:00
Alexander Samusev
da0b0224c5
[ci] fix check-transaction-versions ( #6425 )
...
* [ci] fix check-transaction-versions
* allow fail the job
2022-12-13 11:22:32 +01:00
joe petrowski
6931a9ab75
swap error responses ( #6421 )
2022-12-13 08:32:27 +00:00
Kian Paimani
01e43131ac
companion slash chilling update ( #6424 )
...
* update weights
* goddamit
* update weights
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-12-12 20:07:13 +00:00
Vlad
fa05b5eb3a
CI: Remove the excessive variable declaration ( #6426 )
2022-12-12 20:25:53 +03:00
Niklas Adolfsson
8db9bb5dfd
companion for #12663 jsonrpsee v0.16 ( #6339 )
...
* companion for #12663 jsonrpsee v0.16.1
* update substrate
* merge master
* Update rpc/Cargo.toml
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com >
* Update utils/staking-miner/Cargo.toml
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com >
* update lockfile for {"substrate"}
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2022-12-12 12:40:37 +01:00
Gavin Wood
c6de7e2806
OpenGov: Tweak parameters further ( #6416 )
...
* Tweak parameters further
* Further tweaks to deposits
2022-12-11 12:44:10 +00:00
Keith Yeung
6f666a07b4
Companion for paritytech/substrate#12868 ( #6406 )
...
* Replace WEIGHT_PER_* with WEIGHT_REF_TIME_PER_*
* cargo fmt
* Update substrate
2022-12-08 16:56:37 +00:00
Oliver Tale-Yazdi
e17130cd13
Feature gate test benchmark_storage_works ( #6376 )
...
* Feature gate storage bench test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* typo
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 <>
2022-12-08 14:12:04 +00:00
Mara Robin B
0185170137
update weights (sync with 0.9.33) ( #6362 )
...
* update weights (0.9.33) (#6299 )
* kusama: update weights
* polkadot: update weights
* rococo: update weights
* westend: update weights
* fix deps
* Resolve merge
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Reset Kusama whitelist weights
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-12-08 13:23:24 +00:00
Alexander Samusev
896d1c2c3b
[ci] Adjust check-runtime-migration job ( #6107 )
...
* [WIP][ci] Add node to check-runtime-migration job
* add image
* remove sscache from before_script
* add nodes
* restart pipeline
* restart pipeline2
* disable other jobs
* debug
* remove debug
* add ports
* restart pipeline
* restart pipeline
* restart pipeline
* try kusama first
* run polkadot 1st
* disable some jobs
* try command from command bot
* cargo run
* test passing variables
* run without condition
* adjust kusama and westend
* fix
* return jobs
* fix small nits
* split check-runtime-migration
Co-authored-by: parity-processbot <>
2022-12-08 13:26:18 +01:00
Bradley Olson
ff935b806c
Refactoring to condense disputes tests ( #6395 )
...
* Refactoring to condense disputes tests
* Removing unhelpful comment lines
* Addressing Tsveto's suggestions
* Fixing formatting nit
2022-12-07 17:55:30 +00:00
eskimor
c748250748
Make sure to preserve backing votes ( #6382 )
...
* Guide updates
* Consider more dead forks.
* Ensure backing votes don't get overridden.
* Fix spelling.
* Fix comments.
* Update node/primitives/src/lib.rs
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
Co-authored-by: eskimor <eskimor@no-such-url.com >
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
2022-12-07 17:14:13 +00:00
Muharem Ismailov
1b9f62cd73
Companion for paritytech/substrate#12788 ( #6360 )
...
* Companion for paritytech/substrate#12788
* migrations
* rustfmt
* update lockfile for {"substrate"}
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-12-07 14:48:43 +00:00
Marcin S
ab090ab7d5
Let the PVF host kill the worker on timeout ( #6381 )
...
* Let the PVF host kill the worker on timeout
* Fix comment
* Fix inaccurate comments; add missing return statement
* Fix a comment
* Fix comment
2022-12-06 13:03:18 -05:00
Marcin S
3f951cce16
Companion for paritytech/substrate#12795 ( #6374 )
...
* Begin removing `parity-util-mem`; remove `collect_memory_stats`
* Update some dependencies that were using `parity-util-mem`
* Remove `trie-memory-tracker` feature
* Update Cargo.lock
* Update `kvdb-shared-tests`
* Add back jemalloc
* Add missing license header
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
Co-authored-by: Andronik <write@reusable.software >
2022-12-06 16:41:00 +00:00
Gavin Wood
800a928ab0
Bump ( #6404 )
2022-12-06 15:03:08 +00:00
Muharem Ismailov
aebe87ee30
kusama whitelist pallet preimage dep upgrade ( #6392 )
2022-12-06 14:51:16 +00:00