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
Gavin Wood
432384cdea
Make submission deposit reasonable ( #6402 )
2022-12-06 13:03:03 +00:00
João Paulo Silva de Souza
067b2ab926
Companion of Substrate PR 12837 ( #6385 )
...
* rename some crates for publishing to crates.io
* s/remote-ext/frame-remote-externalities
* cargo update
2022-12-06 12:30:49 +00:00
Bastian Köcher
a119c79a97
crowdloan: Fix migration. ( #6397 )
...
The migration would not have been run because of the `current_version ==
1` check.
2022-12-06 11:43:05 +01:00
Gavin Wood
04766f3af8
Bump Substrate ( #6394 )
2022-12-05 21:24:11 +00:00
joe petrowski
8571bc645c
allow root with gov2 origins ( #6390 )
2022-12-05 20:46:14 +00:00
Gavin Wood
1dba1dca03
Tweak some NIS params ( #6393 )
...
* Reduce base period, increase queue count
* Reduce base period, increase queue count
2022-12-05 18:15:41 +00:00
Gavin Wood
053b24ebe5
OpenGov improvements for Kusama ( #6372 )
...
* Tweaks to optimise gov2
* Use new inactive funds
* Introduce migrations
* Fixes
* Fixes
* Fixes
* Some constant updates for Fellowship
* Further tweaks
* Lower floor for whitelisted
2022-12-05 16:40:25 +00:00
Gavin Wood
e79977e694
Introduce NIS functionality into Kusama/Rococo ( #6352 )
...
* Integrate NIS into Kusama/Rococo
* Missing files
* Fix
* Fix
* Formatting
* Add Kusama weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add Rococo weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bump
* Bump
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_nis
* ".git/.scripts/bench-bot.sh" runtime rococo-dev pallet_nis
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: command-bot <>
2022-12-05 16:34:34 +00:00
Squirrel
be403051dc
Set polkadot version in one place ( #6095 )
...
* rust 1.64 enables workspace properties
* add edition, repository and authors.
* of course, update the version in one place.
Co-authored-by: Andronik <write@reusable.software >
2022-12-05 11:36:16 +00:00
Dmitry Markin
f2f5345ac2
Upgrade tokio to 1.22.0 ( #6262 )
...
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
2022-12-05 13:15:06 +03:00
amab8901
8bf11e1d05
update deprecated alias --all ( #6383 )
...
`--all` is a deprecated alias for `--workspace` (https://doc.rust-lang.org/cargo/commands/cargo-test.html )
2022-12-03 21:10:10 +01:00