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
alexgparity
a7eee7dd86
Reduce provisioner work ( #6328 )
...
* Store values needed to create inherent data when needed instead of creating them early on
* Point deps to substrate branch
* Arc the client
* Cargo update
* Fix main cargo files
* Undo cargo file changes
* Add overseer dep to inherents
* Update deps
* Simplify code
* Update benchmark
* Update node/client/src/benchmarking.rs
Co-authored-by: Bastian Köcher <info@kchr.de >
* Update node/core/parachains-inherent/src/lib.rs
Co-authored-by: Bastian Köcher <info@kchr.de >
* Update node/core/parachains-inherent/src/lib.rs
Co-authored-by: Bastian Köcher <info@kchr.de >
* Revert "Update node/core/parachains-inherent/src/lib.rs"
This reverts commit 8b9555dc2451acfabab173d259e00da2728b7aa2.
* Revert "Update node/core/parachains-inherent/src/lib.rs"
This reverts commit 816c92d0e001e71f677d0acbcf22bdc3f511bc56.
* cargo update -p sp-io
* fmt
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-12-02 22:46:49 +00:00
Mattia L.V. Bradascio
7341dbb20d
Add buckets on lower end of distribution to network bridge latency metrics ( #6359 )
...
* Add two more buckets on lower end of distribution
* add even smaller buckets
* cargo fmt
2022-12-02 18:28:24 +02:00
Muharem Ismailov
11aabd352c
Kusama: approve/reject treasury prop by treasurer ( #6354 )
2022-12-01 12:22:37 +00:00
ordian
063aab236f
guide: remove refences to outdated secondary checkers ( #6309 )
...
* guide: remove refences to outdated secondary checkers
* Update roadmap/implementers-guide/src/glossary.md
* guide: remove refences to Fisherman
* revert changes to roadmap/parachains.md
2022-11-30 13:28:35 +01:00
Marcin S
28a4e90912
Use CPU clock timeout for PVF jobs ( #6282 )
...
* Put in skeleton logic for CPU-time-preparation
Still needed:
- Flesh out logic
- Refactor some spots
- Tests
* Continue filling in logic for prepare worker CPU time changes
* Fix compiler errors
* Update lenience factor
* Fix some clippy lints for PVF module
* Fix compilation errors
* Address some review comments
* Add logging
* Add another log
* Address some review comments; change Mutex to AtomicBool
* Refactor handling response bytes
* Add CPU clock timeout logic for execute jobs
* Properly handle AtomicBool flag
* Use `Ordering::Relaxed`
* Refactor thread coordination logic
* Fix bug
* Add some timing information to execute tests
* Add section about the mitigation to the IG
* minor: Change more `Ordering`s to `Relaxed`
* candidate-validation: Fix build errors
2022-11-30 13:17:31 +01:00
joe petrowski
c61860e9be
support opengov calls in proxy definitions ( #6366 )
2022-11-30 12:17:09 +00:00
Adrian Catangiu
3edaf1dac3
Companion for: MMR: move RPC code from frame/ to client/ ( #6369 )
...
* rpc: mmr rpc crate name change
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-11-30 11:28:48 +02:00
alexgparity
9ea14e66c8
Clippyfy ( #6341 )
...
* Add clippy config and remove .cargo from gitignore
* first fixes
* Clippyfied
* Add clippy CI job
* comment out rusty-cachier
* minor
* fix ci
* remove DAG from check-dependent-project
* add DAG to clippy
Co-authored-by: alvicsam <alvicsam@gmail.com >
2022-11-30 08:34:06 +00:00
Mara Robin B
b76086c617
sync versions with current release (0.9.33) ( #6363 )
...
* westend: update transaction version
* polkadot: update transaction version
* kusama: update transaction version
* Bump spec_version to 9330
* bump versions to 0.9.33
2022-11-30 10:32:20 +02:00
joe petrowski
8042b1cb2a
Add Collectives as Trusted Teleporter ( #6326 )
...
* add collectives as trusted teleporter
* fix statemint-specific doc
2022-11-29 16:14:47 +00:00
Marcin S
b5d5a7ee4f
Remove parity-util-mem from runtime-api cache ( #6367 )
2022-11-29 15:28:44 +00:00
Serban Iorga
4cc40bf08f
Companion for: pallet-mmr: move offchain logic to client-side gadget ( #6321 )
...
* Spawn MMR gadget when offchain indexing is enabled
* companion PR code review changes: 1st iteration
* Code review changes: 2nd iteration
* update lockfile for {"substrate"}
Co-authored-by: acatangiu <adrian@parity.io >
Co-authored-by: parity-processbot <>
2022-11-29 15:23:34 +00:00
Mara Robin B
97bcb6dfe4
remove executed migrations (0.9.33) ( #6364 )
2022-11-29 14:33:24 +00:00
Andrei Sandu
eb00a21ef7
dispute-coordinator: fix earliest session checks for pruning and import ( #6358 )
...
* RollingSession: add fn contains
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* handle_import_statements fix ancient dispute check
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* work with earliest session instead of latest
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-11-28 17:43:13 +01:00
Alexander Samusev
b108fd854b
[ci] fix implementer guide job ( #6357 )
...
* [DNM] debug implementer guide job
* remove git depth
* change git strategy
* add git depth
* try k8s runner
* fix k8s template
* test job
* fix test
* fix
* return pipeline back
* enable disabled deploy-parity-testnet
2022-11-28 16:31:49 +01:00
Marcin S
186a572907
Provide some more granular metrics for polkadot_pvf_execution_time ( #6346 )
2022-11-28 10:26:17 -05:00
Mattia L.V. Bradascio
893a3ad784
Add more granularity to prometheus histogram buckets ( #6348 )
...
* Add buckets below 5ms
* Add more specific histogram buckets
* Add more specific buckets
* cargo fmt
2022-11-28 11:30:27 +00:00
ordian
5311911a39
cargo update -p sp-io ( #6351 )
2022-11-27 14:33:59 +00:00
Sebastian Kunert
53d9a50c06
Add support for outbound only configs on request/response protocols ( #6343 )
...
* Add option ot add outbound_only configurations
* Improve comment
2022-11-26 10:22:09 +01:00
Marcin S
01f8154110
ig: Fix description of execution retry delay ( #6342 )
...
The delay is 3s and not 1s. I removed the reference to a specific number of
seconds as it may be too specific for a high-level description.
2022-11-24 08:06:56 -05:00
tugy
7a6460e132
Added Amforc bootnodes for Polkadot and Kusama ( #6077 )
...
* add wss and update dns
* fix wrong node id
2022-11-24 14:06:48 +01:00
Alexander Samusev
bc25c41aaf
[ci] fix build-implementers-guide ( #6335 )
...
* [ci] fix build-implementers-guide
* fix user
2022-11-24 10:06:07 +01:00
eskimor
7ba0847349
Rate limit improvements ( #6315 )
...
* We actually don't need to rate limit redundant requests.
Those redundant requests should not actually happen, but still.
* Add some logging.
* Also log message when the receiving side hit the rate limit.
* Update node/network/dispute-distribution/src/sender/mod.rs
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com >
Co-authored-by: eskimor <eskimor@no-such-url.com >
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com >
2022-11-23 16:43:30 +01:00
Marcin S
1dec2433ae
Add PVF module documentation ( #6293 )
...
* Add PVF module documentation
TODO (once the PRs land):
- [ ] Document executor parametrization.
- [ ] Document CPU time measurement of timeouts.
* Update node/core/pvf/src/lib.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Clarify meaning of PVF acronym
* Move PVF doc to implementer's guide
* Clean up implementer's guide a bit
* Add page for PVF types
* pvf: Better separation between crate docs and implementer's guide
* ci: Add "prevalidating" to the dictionary
* ig: Remove types/chain.md
The types contained therein did not exist and the file was not referenced
anywhere.
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-11-23 08:20:25 -05:00
Aaro Altonen
17ad9f5694
Update async-trait version to v0.1.58 ( #6319 )
...
* Update async-trait version
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-11-22 09:04:18 +00:00
Koute
9040eb303c
Extend lower bound of manage_lease_period_start from runtime_common::slots ( #6318 )
2022-11-21 11:40:47 +00:00