Chevdor
9fc4e16eff
Version bump to v0.9.26/9260 ( #5755 )
...
* Bump spec_version to 9260
* Version bump to v0.9.26
2022-07-06 10:31:45 +00:00
Mara Robin B
97f9b840e4
bump versions to 0.9.25 ( #5684 )
...
* kusama: bump spec_version to 9250
* polkadot: bump spec_version to 9250
* rococo: bump spec_version to 9250
* westend: bump spec_version to 9250
* bump version to 0.9.25
* bump transaction version (polkadot & kusama) (#5690 )
* kusama: bump transaction_version to 12
* polkadot: bump transaction_version to 13
2022-06-21 13:02:04 +00:00
Oliver Tale-Yazdi
4206f8f45a
Cleanup macro magic ( #5270 )
...
* Cleanup macro magic
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make sign_call infallible
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix build
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 >
Co-authored-by: parity-processbot <>
2022-06-01 10:28:14 +00:00
Mara Robin B
7eba8f2162
bump to 0.9.23 ( #5593 )
...
* bump version to 0.9.23
* bump spec_version to 9230
2022-05-27 10:18:23 +02:00
Mara Robin B
3b685fbf91
version bumps (0.9.22) ( #5495 )
...
* bump versions to 0.9.22
* bump spec_version to 9220
2022-05-16 13:24:24 +02:00
Roman Gafiyatullin
d9f6c206a9
A companion PR to the https://github.com/paritytech/substrate/pull/10995 ( #5446 )
...
* Add BlockBackend::requires_full_sync() implementation
* do not specify --pruning explicitly
* update lockfile for {"substrate"}
* Please re-run the CI
* Please re-run the CI
Co-authored-by: Roman Gafiyatullin <rg@rgmbp-16-m1.lan >
Co-authored-by: parity-processbot <>
2022-05-06 11:33:06 +00: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
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
Mara Robin B
7ed275bff8
bump version to 0.9.19 ( #5290 )
2022-04-08 11:48:43 +00:00
Oliver Tale-Yazdi
c8cdf9fc03
Integrate benchmark-overhead command ( #5137 )
...
* Integrate benchmark-overhead command
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Beauty fix test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Spellcheck on
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove constants:: module
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update block+extrinsic weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Revert "Update block+extrinsic weights"
This reverts commit d77bf977f6bca0b1ded35daa2fd54b97e18a67db.
* Revert "Remove constants:: module"
This reverts commit 2d3bcd0212c438f6b96755900a01762592d90265.
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-04-01 10:34:40 +00:00
Dan Shields
6fc2da146f
Bump all spec version to 9180 and versions to 0.9.18 ( #5083 )
...
* bump all spec version to 9180 and versions to 0.9.18
* all to 0.9.18
* lock update
2022-03-11 10:19:47 +01:00
Robert Habermeier
49f7e5cce4
Finish migration to v2 primitives ( #5037 )
...
* remove v0 primitives from polkadot-primitives
* first pass: remove v0
* fix fallout in erasure-coding
* remove v1 primitives, consolidate to v2
* the great import update
* update runtime_api_impl_v1 to v2 as well
* guide: add `Version` request for runtime API
* add version query to runtime API
* reintroduce OldV1SessionInfo in a limited way
2022-03-09 14:01:13 -06:00
Bastian Köcher
d9d53c17a1
Switch to edition 2021 ( #4976 )
...
* Switch to edition 2021
* Reset bridges
* Fix compilation
* Fix test-runtime
* Fix malus
2022-02-24 10:20:58 +00:00
Mara Robin B
167df32561
Bump version ( #4904 )
...
* Bump spec_version
* Bump version to 0.9.17
2022-02-11 20:43:39 +01:00
Chevdor
7e9a58fc99
Version bumps to v0.9.16 and 9160 ( #4767 )
...
* Bump spec_version
* Bump version to 0.9.16
2022-02-02 15:22:32 +01:00
Andronik Ordian
b342ae11d3
session-info: add new fields + migration ( #4545 )
...
* session_info: v2 + migration
* use primitives::v2
* use polkadot_primitives::v2
* impl primitives::v2
* fix approval-voting tests
* fix other tests
* hook storage migration up
* backwards compat (1)
* backwards compat (2)
* fmt
* fix tests
* FMT
* do not reexport v1 in v2
* fmt
* set storage version to 1
Co-authored-by: Javier Viola <javier@parity.io >
2021-12-27 08:01:30 +00:00
sandreim
e75ad88ae8
Add support for wasm runtime metrics try #2 ( #4483 )
...
* Add runtime metrics provider
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Runner changes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Some sample metrics in paras_inherent
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update cargo toml
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* bug
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* more fmt after merge
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Refactor metric prefix override
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove bug comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add runtime metric primitives
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Impl trace event parsing
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update metrics
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo lock
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix target check
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Runtime metrics primitives
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Runtime metrics crate
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Node side runtime metric changes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* use runtime CounterVec instead of macro
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt nice
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove dead code
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* base58 decoding
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* base58 encoding
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix warn
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* typo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Finish label support
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* please compile
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add feature gate
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Comment cargo toml
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix cargo toml description
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update doc.
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* switch to `runtime-metrics` feature
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo toml
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* better ux
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* from_utf8_unchecked is safe
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add Counter and refactor
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* more fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add integration test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* dev deps
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* gitlab script update
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix merge damage
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Run tests twice
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* small fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* typo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo lock
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* spellcheck happy ?
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* more fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Guard tracing init
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* missing copyright
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2021-12-16 11:56:25 +00:00
Martin Pugh
08b8929c32
bump versions ( #4285 )
2021-11-15 14:05:12 +01:00
Arkadiy Paronyan
4354b6482e
Remove light client companion ( #4191 )
...
* Remove light client companion
* Update substrate
* cargo fmt
* Fixed benches
* fmt
2021-11-12 15:07:33 +01:00
Martin Pugh
5f00ecbff2
Bump version to v0.9.12 ( #4089 )
...
* bump version
* update Cargo.lock
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-10-15 16:28:20 +02:00
Martin Pugh
72eab56e88
Bump version, tx_version and spec_version in prep for v0.9.11 ( #3970 )
...
* bump version and spec_version
* bump transaction version
* Bump of the default value in CI
* bump tx version for westend and kusama
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
2021-09-30 14:44:19 +02:00
Andreas Doerr
53ec86769e
Remove BEEFY repo dependency ( #3923 )
2021-09-24 17:51:12 +02:00
Andronik Ordian
33d7f9dd7b
make polkadot-runtime optional feature ( #3820 )
...
* make polkadot-runtime optional feature
* sprinkle some cfg statements
* ok
* ok, ok
* add CI check
* set -e
* chmod +x
* fixes
* fmt
* nicer compile errors
* Update outdated comments
2021-09-13 10:28:33 +00:00
Squirrel
80f8c5106e
Removed unneeded deps ( #3658 )
...
* Removed unneeded deps (except under bridge)
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-08-30 18:18:33 +01:00
Ashley
d88dec65fb
Companion PR for 'Make choosing an executor an explicit part of service construction' ( #9525 ) ( #3615 )
...
* Companion PR
* Update a few files
* Run cargo fmt
* Do better at renaming things
* More renamings
* More fixes
* oops
* Fix simnet problems
* fix compilation
* Update substrate
Co-authored-by: thiolliere <gui.thiolliere@gmail.com >
2021-08-18 13:26:30 +00:00
Ashley
5b54c8cae9
Companion PR for 'Simplify NativeExecutionDispatch and remove the native_executor_instance!' (9562) ( #3643 )
...
* Companion PR
* Add test executors
* Change comment to doc comment
* Update node/test/service/src/lib.rs
* Improve comments
* update Substrate
Co-authored-by: parity-processbot <>
2021-08-16 15:44:56 +00:00
Martin Pugh
49a46f78d3
Bump versions, substrate and beefy in prep for v0.9.9 ( #3567 )
...
* bump versions, substrate and beefy
* bump substrate
2021-08-05 15:12:18 +02:00
Shawn Tabrizi
ff5d56fb76
cargo +nightly fmt ( #3540 )
...
* cargo +nightly fmt
* add cargo-fmt check to ci
* update ci
* fmt
* fmt
* skip macro
* ignore bridges
2021-08-02 10:47:33 +00:00
Squirrel
4c5b73097c
Companion for substrate #9319 ( #3456 )
...
* move client consensus code out of primitives
* merging crates
* import tweak
* Fixing build: ServiceFactory is a word...
* updating lock file
* Fixed typo in error message
(to bump build)
* update Substrate
Co-authored-by: parity-processbot <>
2021-07-30 14:02:43 +00:00
cheme
b71ec24815
Companion for #9100 (Paged keys rpc for child storage.) ( #3258 )
...
* patch branch
* patch bis
* Add missing client method.
* unpatch
* update Substrate
Co-authored-by: parity-processbot <>
2021-07-07 07:53:33 +00:00
Martin Pugh
cfbfefc972
Bump version, specs & substrate in prep for v0.9.8 ( #3387 )
...
* bump version
* bump substrate
* bump spec_versions
2021-07-01 12:09:41 +02:00
Andreas Doerr
be2d1ce01b
Bump BEEFY ( #3302 )
2021-06-19 17:46:06 +02:00
Bastian Köcher
f6cbe8e8d8
polkadot-service: Make native runtime configurable ( #3189 )
...
* polkadot-service: Make native runtime configurable
This pull requests adds support for configuring the native runtimes used
by polkadot-service. While this whole pr doesn't change that much for
polkadot, besides not having the light-node enabled for the default
polkadot binary. However, downstream projects (parachains) will have a
much better compile time. In cumulus for example the `cargo test --all
--release` is about 4m faster to compile.
* Fixes
* Fix
* Enable rococo-native
* Fix light client
* 🤦
* Fixes
2021-06-08 22:05:20 +02:00