Andrei Sandu
ecb6523b5c
approval distribution: trigger assignment/votes resend based on approval checking lag (#7038 )
...
* Send lag update message
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Process ApprovalCheckingLagUpdate
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Comput min age based on lag
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix test build
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Make the spawnhandle optional
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove unused
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
---------
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2023-04-13 10:10:53 +00:00
s0me0ne-unkn0wn
64660ee8d2
Remove years from copyright notes ( #7034 )
...
* Happy New Year!
* Remove year entierly
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove years from copyright notice in the entire repo
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-04-08 20:38:35 +00:00
Davide Galassi
e0b8b30288
[Companion #13634 ] keystore overhaul (iter2) ( #6913 )
...
* removed 'remote_keystore' parameter
* Keystore can't be None
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-03-20 19:33:54 +00:00
Davide Galassi
46c36e5a4f
[Companion #13615 ] Keystore overhaul ( #6892 )
...
* Remove not required async calls
* Fixed missing renaming
* make_keystore can be sync
* More fixes
* Trivial nitpicks
* Cherry pick test fix from master
* Fixes after master merge
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-03-17 12:09:15 +00:00
Aaro Altonen
0e1c932c42
Companion for paritytech/substrate#13592 ( #6869 )
...
* Move configs
* Start using `NetworkService` traits from `sc-network`
* Fix stuff
* Remove `sc-network-common` as dependency
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-03-14 12:52:15 +00:00
Aaro Altonen
ce9fbe73d9
Companion for paritytech/substrate#12828 ( #6380 )
...
* Companion for paritytech/substrate#12828
* Pass sync service
* Fix test
* Fix tests again
* update lockfile for {"substrate"}
* cargo fmt
---------
Co-authored-by: parity-processbot <>
2023-03-06 17:46:27 +00:00
Tsvetomir Dimitrov
ed6fa5499c
Don't send ActiveLeaves from leaves in db on startup in Overseer ( #6727 )
...
* Don't send `ActiveLeaves` from leaves in db on startup in Overseer. Wait for fresh leaves instead.
* Don't pass initial set of leaves to Overseer
* Fix compilation error in subsystem-test-helpers
2023-03-06 15:02:16 +00:00
Davide Galassi
0b00e6d5b8
[Companion] BEEFY crates renaming ( #6799 )
...
* Temporary commit to make the Substrate CI happy
* Revert "Temporary commit to make the Substrate CI happy"
This reverts commit 9eb2fd223c3e36312242d4fda4ebacf3dd732547.
* Align to substrate master
* Update lock
* Adjust some naming according to the new substrate crates
2023-02-28 17:09:43 +01:00
Oliver Tale-Yazdi
35a0d69af8
Fix auction bench ( #6747 )
...
* Adjust command
* Move imports
* Chain-specific blocktime
* update lockfile for {"substrate"}
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix bench
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Export constants from node service
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use constants in CLI
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: Piotr Mikołajczyk <piomiko41@gmail.com >
Co-authored-by: parity-processbot <>
2023-02-20 17:02:07 +00:00
Adrian Catangiu
686f6972ce
Companion for substrate #12910 : BEEFY metrics ( #6706 )
...
* service: provide prometheus registry for beefy metrics
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-02-16 13:34:39 +00:00
Sam Elamin
7f6b8e6df9
add warp sync params to enable parachain warp sync ( #6334 )
...
* add warp sync params to enable parachain warp sync
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-02-14 18:31:50 +00:00
Bastian Köcher
6dbf1cb443
Disable hostperfcheck by default ( #6640 )
...
This feature should only be activated by the polkadot binary. Otherwise
parachains may accidentally activate this feature.
2023-02-07 14:31:04 +01:00
Sergej Sakac
db726cf7bb
Warn validators with slow hardware ( #6269 )
...
* Warn validators with slow hardware
* update
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix printing logic
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fix
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* add deps
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* fmt
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-21 17:36:47 +00:00
s0me0ne-unkn0wn
1cb1d03c08
Re-export current primitives in crate root ( #6487 )
...
* Re-export current primitives in crate root
* Add missing exports
* restart CI
2023-01-11 11:28:12 +00: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
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
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
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
eskimor
c606deb32d
Revert special casing of Kusama for grandpa rounds. ( #6217 )
...
Co-authored-by: eskimor <eskimor@no-such-url.com >
2022-11-15 10:04:24 +01:00
Andrei Sandu
c261353380
Make rolling session more resilient in case of long finality stalls ( #6106 )
...
* Impl dynamic window size. Keep sessions for unfinalized chain
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Stretch also in contructor plus tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix approval-voting tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* grunting: dispute coordinator tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add session window column
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* integrate approval vote and fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix rolling session tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Small refactor
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* WIP, tests failing
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix approval voting tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix dispute-coordinator tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove uneeded param
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix loose ends
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* allow failure and tests for it
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* comment fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* style fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* new col doesn't need to be ordered
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt and spellcheck
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* db persist tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add v2 config and cols
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* DB upgrade WIP
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix comments
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add todo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update to parity-db to "0.4.2"
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* migration complete
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* One session window size
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix merge damage
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix build errors
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* comment fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix build
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* make error more explicit
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* refactor conflict merge
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* rename col_data
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add doc comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix build
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* migration: move all cols to v2
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-11-08 18:16:31 +01:00
Adrian Catangiu
8d1c16dc0d
service: use MmrRootProvider as custom BEEFY payload provider (companion for 12428) ( #6112 )
...
* service: use MmrRootProvider as custom BEEFY payload provider
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-10-06 09:58:39 +00:00
Adrian Catangiu
32ccf86a43
Companion for substrate#12124: add BEEFY request response protocol ( #6035 )
...
* service: add BEEFY request response proto
* update lockfile for {"substrate"}
* update lockfile for substrate
2022-10-03 17:32:27 +03:00
Aaro Altonen
2a9800f20a
Companion for paritytech/substrate#12264 ( #5973 )
...
* Companion for paritytech/substrate#12198
* Use `ProtocolName` from sc-network-common
* Update node service
* Revert Cargo.lock changes
* Fix node service test
* cargo-fmt
* disable cancel-pipeline-test-linux-stable to check companion
* update lockfile for {"substrate"}
Co-authored-by: alvicsam <alvicsam@gmail.com >
Co-authored-by: parity-processbot <>
2022-09-26 13:15:41 +00:00
Davide Galassi
fa2a7d1efa
Companion - Independence of Slot-based algorithms from Timestamp ( #5997 )
...
* Companion for substrate #12224
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-09-23 18:32:04 +00:00
Sebastian Kunert
9b669edf22
Change visibility of open_database for use in cumulus ( #6034 )
...
* Make some helper methods public
* Make availability config const.
2022-09-22 08:45:58 +00:00
Michal Kucharczyk
85f9ad25fe
Remove CanAuthorWith trait ( #5986 )
...
* Remove CanAuthorWith trait
CanAuthotWith trait removed. Also all dependencies, parameters, type
paramers were removed. This is related to removal of native runtime.
* update lockfile for {"substrate"}
* Ensure we use unique directories after the recent change to `new_temp_dir`
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-09-13 13:38:29 +00:00
Chris Sosnin
ec26fbdb85
pvf-checker: enable subsystem on all chains ( #5977 )
...
* Enable pvf checker on all chains
* Disable pvf checker for non-authorities
2022-09-08 13:33:03 +02:00
Davide Galassi
293ff64fd0
Companion - Read babe config parameters from runtime ( #5842 )
...
* Read babe config parameters from runtime
* Trigger pipeline
* Trigger pipeline (after PR title change)
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-09-06 06:23:13 +00:00
Dmitry Markin
13ea167bd7
Change validation & collation protocol names to include genesis hash & fork id ( #5876 )
2022-08-30 19:50:22 +03:00
Dmitry Markin
4def0da0dc
Change request-response protocol names to include genesis hash & fork id ( #5870 )
2022-08-12 15:07:13 +03:00
Nazar Mokrynskyi
f1dce2f548
Trivial networking changes for Substrate PR #11940 ( #5841 )
...
* Trivial networking changes for Substrate PR https://github.com/paritytech/substrate/pull/11940
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-08-09 19:37:31 +00:00
ZhiYong
27747b4d1a
Companion for substrate#11962 ( #5852 )
...
* Companion for substrate#11962
* update lockfile
Co-authored-by: acatangiu <adrian@parity.io >
2022-08-04 13:24:34 +03:00
Adrian Catangiu
302c337861
companion for #11821 : node/service: add BEEFY to block import ( #5796 )
...
* node/service: add BEEFY to block import
BEEFY block import implementation is basically noop for runtimes
with dummy `BeefyApi`, therefore we can safely add it to all chains.
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-07-29 16:38:08 +00:00
Xavier Lau
88cee48d1e
Remove Useless Inherent Data Provider ( #5750 )
...
* Remove Useless Inherent Data Provider
* Remove Unused Deps
2022-07-29 00:27:26 +02:00
Andronik
b1f8445d62
malus: add finality_delay cli flag ( #5770 )
...
* add malus_finality_delay flag
* cargo update -p sp-io
* no warnings when malus is disabled
* subpar workaround for feature unification problem
* remove malus_finality_delay from regular cli
* document finality_delay param, rename cli arg
2022-07-22 23:24:33 +00:00
Vsevolod Stakhov
c11c1f38f4
Implement prune only stagnant check mode ( #5761 )
...
* Limit number of elements loaded from the stagnant key
This will likely be required if we enable stagnant prunning as currently database has way
too many entries to be prunned in a single iteration
* Fmt run
* Slightly improve logging
* Some more debug nits
* Fmt pass
* Add stagnant prunning delay
* Enable stagnant check worker
* Implement stagnant pruning without stagnant checks
* Update node/core/chain-selection/src/tree.rs
Co-authored-by: Andronik <write@reusable.software >
* Apply suggestions from code review
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Andronik <write@reusable.software >
2022-07-09 08:36:33 +00:00
Bastian Köcher
31bff68f94
Require signed authority discovery records ( #5591 )
...
Nodes are already publishing signed records since 0.9.17, but now we
also enable the validation of the signature.
2022-05-31 14:43:49 +02:00
Bernhard Schuster
450ca2baca
overseer becomes orchestra ( #5542 )
...
* rename overseer-gen to orchestra
Also drop `gum` and use `tracing`.
* make orchestra compile as standalone
* introduce Spawner trait to split from sp_core
Finalizes the independence of orchestra from polkadot-overseer
* slip of the pen
* other fixins
* remove unused import
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* orchestra everywhere
* leaky data
* Bump scale-info from 2.1.1 to 2.1.2 (#5552 )
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.1.1...v2.1.2 )
---
updated-dependencies:
- dependency-name: scale-info
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>
* Add missing markdown code block delimiter (#5555 )
* bitfield-signing: remove util::jobs usage (#5523 )
* Switch to pooling copy-on-write instantiation strategy for WASM (companion for Substrate#11232) (#5337 )
* Switch to pooling copy-on-write instantiation strategy for WASM
* Fix compilation of `polkadot-test-service`
* Update comments
* Move `max_memory_size` to `Semantics`
* Rename `WasmInstantiationStrategy` to `WasmtimeInstantiationStrategy`
* Update a safety comment
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
* Fix build
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Malte Kliemann <mail@maltekliemann.com >
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
Co-authored-by: Koute <koute@users.noreply.github.com >
2022-05-19 13:42:02 +01:00
Bernhard Schuster
d437a33e0b
polkadot-node-subsystem package rename mish mash cleanup ( #5502 )
...
* unify to polkadot-node-subsystem{,-test-helpers}
* chore: fmt
2022-05-11 15:32:38 +00:00
Davide Galassi
8837dc7e6f
Revert approval voting ( #5438 )
...
* Revert approval-voting subsystem
* Approval voting revert encapsulated within 'ops' module
* use 'get_stored_blocks' to get lower block height
* Fix error message
* Optionally shrink/delete stored blocks range
* range end number is last block number plus 1
* Apply code review suggestions
* Use tristate enum for block range in backend overlay
* Add clarification comment
* Add comments to private struct
2022-05-11 10:28:16 +02:00
Robert Klotzner
7a602c47ab
Double grandpa gossip duration for Kusama and test networks ( #5448 )
...
* Double grandpa gossip duration.
* Make resend period slightly larger.
So it won't get triggered by additional grandpa delay.
* Bump other values as well.
* Don't change gossip duration on Polkadot.
(and Westend as it is meant to be a testbed for Polkadot)
2022-05-10 12:48:18 +00:00
Niklas Adolfsson
804d0f38a5
companion for #8783 - jsonrpsee ( #4344 )
...
* add jsonrpsee glue code
* diener --substrate dp-jsonrpsee-integration-2
* cargo fmt
* update substrate
* fix build
* update substrate
* fix tests
* update substrate
* update substrate
* revert Cargo.toml
* revert changes in Cargo.toml
* jsonrpsee v0.11
* fix staking miner
* chore: update jsonrpsee v0.12
* update companion
* update companion
* fix changes in substrate
* revert requires_full_sync removal
* fix: read WS address from polkadot output
* fit nits
* fix more nits
* update lockfile for {"substrate"}
* cargo fmt
Co-authored-by: parity-processbot <>
2022-05-10 12:13:38 +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
Davide Galassi
bbdfc3d9c6
Chain-selection subsystem data revert ( #5350 )
...
* Chain-selection subsystem data revert
* Cargo fmt
* Better code comments
* Remove unwraps
* Document public method
* Remove duplicated 'ChainSelectionSubsystem' impl block
* Fix typos
* Nitpicks
* Revert returns a service Error
* Removed superflous error handling
* Apply suggestions from code review
* Rename tree 'revert' to 'revert_to'
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
2022-04-28 17:44:14 +02:00
Adrian Catangiu
8e7663ba3d
service: use deny-list instead of allow-list for BEEFY ( #5331 )
...
* use deny-list instead of allow-list for BEEFY
Instead of allowing BEEFY to run on specific test nets,
inverse the condition to explicitly disallow BEEFY on
production chains that we don't want it to run on yet.
This allows other test chains (other than Rococo/Wococo)
that use the polkadot service file to enable and test BEEFY.
Signed-off-by: Adrian Catangiu <adrian@parity.io >
* address review comments
* throw error if BEEFY enabled on production networks
Signed-off-by: acatangiu <adrian@parity.io >
2022-04-26 13:24:09 +00:00
Koute
b049d4f1c9
Add hardware benchmark telemetry (Companion for Substrate#11062) ( #5206 )
...
* Align to changes in Substrate
* Align to the newest changes in substrate
* Rename `--disable-hardware-benchmarks` to `--no-hardware-benchmarks`
* Fix `polkadot-test-service` compilation
* Fix compilation of test parachains
2022-04-26 09:16:31 +00:00
Adrian Catangiu
a46237cebb
Add mmr_root() to pallet-mmr API to expose root from state (companion for substrate#11183) ( #5276 )
...
* Add mmr_root() to pallet-mmr API to expose root from state
* use the right MmrApi primitives
* bridges: use correct mmr primitives
* rococo: beefy-mmr deposit mmr root digest
* fix lockfile
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-04-13 10:55:18 +00:00
Tsvetomir Dimitrov
fd020c07e5
Add staging runtime api ( #5048 )
...
* Move `trait ParachainHost` to a separate version independent module
`trait ParachainHost` is no longer part of a specific primitives
version. Instead there is a single trait for stable and staging api
versions. The trait contains stable AND staging methods. The latter are
explicitly marked as unstable.
* Fix `use` primitives
`polkadot_primitives::v2` becomes `polkadot_primitives::runtime_api`
* Staging API declaration and stubs
Introduces the concept for 'staging functions' in runtime API. These
functions are still in testing and they are meant to be used only
within test networks (Westend).
They coexist with the stable calls for technical reasons - maintaining
different runtime APIs for different networks is hard to implement.
Check the doc comments in source files for more details how the staging
API should be used.
* Add new staging method - get_session_disputes()
Add `staging_get_session_disputes` to `ParachainHost` as the first
method of the staging API.
* Hide vstaging runtime api implementations behind feature flag
* Fix test runtime
* fn staging_get_session_disputes() is renamed to fn staging_get_disputes()
2022-04-12 15:47:46 +00:00
cheme
8f784d592a
Trie State migration rpc ( #5180 )
...
* update
* unsafe
* switch remote
* update rpc usage
* update cargo.lock
* lock from master
* updated lock
2022-04-04 09:33:35 +02:00
asynchronous rob
7a1a3886ee
enable disputes on all chains ( #5182 )
...
* enable disputes on all chains
* fmt
2022-03-23 12:42:10 -05:00