Koute
faeb3d944d
Companion for substrate#11523 ( #5702 )
...
* Bump `parity-scale-codec` to 3.1.5
* Align tests to changes in substrate
* Apply rustfmt
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-07-29 09:07:11 +00:00
Koute
c4b607d4c9
Prevent double allocation of the payload when calling sp_io::storage::get ( #11523 )
...
* Expose allocation stats in `FreeingBumpHeapAllocator`
* Return allocation stats when calling into the runtime
* Bump `parity-scale-codec` to 3.1.3 (fork)
* Prevent double allocation of the payload when calling `sp_io::storage::get`
* Fix tests
* Remove unnecessary `mut`
* Enable the `bytes` feature for `parity-scale-codec` in `sp-runtime-interface`
* Update client/allocator/src/freeing_bump.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Bump `parity-scale-codec` to 3.1.3
* Fix some of the UI tests
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-07-29 07:46:15 +00:00
Amar Singh
db5fdc6eff
Add epoch index to RelayStateSproofBuilder (for testing) ( #1419 )
...
* insert zero epoch index into relay sproof
* fix
2022-07-29 00:41:23 +02: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
Mara Robin B
1a8b087129
update weights ( #5767 )
...
* polkadot: update weights
* kusama: update weights
* westend: update weights
* rococo: update weights
* Reduce testing constants (#5787 )
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-07-28 19:35:39 +00:00
dependabot[bot]
a01b884930
Bump nix from 0.24.1 to 0.24.2 ( #1453 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.24.1 to 0.24.2.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/v0.24.2/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.24.1...v0.24.2 )
---
updated-dependencies:
- dependency-name: nix
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>
2022-07-28 17:38:07 +02:00
Liu-Cheng Xu
f44e4b3d48
Enrich the sync log on handling the block request ( #11747 )
...
Add more info to the log to help debug the issue like
https://github.com/paritytech/substrate/issues/11732 .
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-07-28 17:31:47 +02:00
Chevdor
bfc9efc944
bump transcation_version for rococo ( #5760 ) ( #5830 )
...
* bump transcation_version
* revert back transaction version for kusama and plokadot as they were bumped in the previous release
Co-authored-by: Egor_P <egor@parity.io >
2022-07-28 11:57:41 +00:00
Kian Paimani
dc4ca1bb33
Fix slashing migration to v10 ( #11924 )
...
* Fix slashing migration to v10
* add some logs
* Fix default version
* fmt
* Move doc to struct
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
2022-07-28 10:44:02 +00:00
Chevdor
85dabbd850
Backport crate version bumps to 0.9.27 ( #5826 )
...
* Bump crate versions
* Update cargo.lock
2022-07-28 10:03:27 +00:00
Chevdor
f14cda36cc
Fix GHA ( #5825 )
2022-07-28 11:04:20 +02:00
Alexander Samusev
5552584dde
[ci] use nextest for tests ( #1477 )
...
* [do not merge] ci: try nextest
* uncomment jobs
2022-07-28 10:18:35 +02:00
Sebastian Kunert
c831138c0a
Remove retain_mut crate ( #11926 )
...
* Remove retain_mut crate
* Remove reain_mut crate from babe-consensus
2022-07-27 22:35:33 +00:00
Alexander Samusev
9e09a36ff5
[ci] Add timeout to benchmark job ( #1475 )
2022-07-27 15:31:35 +02:00
Alexander Samusev
2c5c37e8b2
[ci] Add timeout to benchmark jobs ( #5822 )
2022-07-27 15:31:25 +02:00
dependabot[bot]
6a1ed3b945
Bump proc-macro2 from 1.0.40 to 1.0.42 ( #1474 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.40 to 1.0.42.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.40...1.0.42 )
---
updated-dependencies:
- dependency-name: proc-macro2
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>
2022-07-27 15:30:31 +02:00
dependabot[bot]
342203d850
Bump clap from 3.2.13 to 3.2.15 ( #1468 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.13 to 3.2.15.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.15/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.13...v3.2.15 )
---
updated-dependencies:
- dependency-name: clap
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>
2022-07-27 12:22:11 +00:00
Andrei Sandu
5221fd667e
Parachains db column "migration" ( #5797 )
...
* Column migration for parityDB
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Remove columns
* warn
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* bump paritydb
* use clear_column
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* logs
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* paritydb 0.3.16
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update node/service/Cargo.toml
Co-authored-by: Andronik <write@reusable.software >
* ParityDB versioning
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo lock
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review + proper version constants
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Co-authored-by: Andronik <write@reusable.software >
2022-07-27 09:34:27 +00:00
Sergej Sakac
c2df8308d7
Companion for #11831 ( #5784 )
...
* Companion for #11831
* commti
* fix
* fix
* commit
* fix?
* added rpc extension
* fmt
* add dependency
* added NominationPools to runtimes
* implement np
* implement for kusama & westend
* remove np-rpc from rococco
* fmt
* add np-rpc to the client
* fix wrong dependency in client
* remove from client
* remove from rpc
* fix?
* switch back
* fix?
* .
* add rpc extension
* fmt
* fix dependency
* commit
* only implement the api in the runtimes
* update
* update runtimes
* update sp-io
* update
* Update Cargo.toml
* Update Cargo.toml
* Update Cargo.toml
* commit
* Revert "Merge branch 'rpc-pending-rewards' of github.com:Szegoo/polkadot into rpc-pending-rewards"
This reverts commit dd260820641060b6106b238081d674e902267f24, reversing
changes made to 8f3b58dbe28132a95c4d595700214f886da22e5e.
Co-authored-by: kianenigma <kian@parity.io >
2022-07-27 09:32:31 +00:00
Alexander Samusev
a9e41ed5b5
[ci] Return production image ( #5818 )
2022-07-27 10:13:36 +02:00
Kian Paimani
85b909a0b2
add migration for staking v10 ( #5817 )
2022-07-27 08:02:09 +00:00
Shawn Tabrizi
72522429a7
Make New Storage Layer Truly Default ( #11918 )
...
* with storage layer truly default
* fmt
Co-authored-by: parity-processbot <>
2022-07-26 17:49:11 +00:00
Alexander Samusev
7bdeb960c3
[ci] Return production image ( #11920 )
2022-07-26 18:03:50 +02:00
Kian Paimani
ff2c4ca02f
Properly defer slashes ( #11823 )
...
* initial draft of fixing slashing
* fix test
* Update frame/staking/src/tests.rs
Co-authored-by: Piotr Mikołajczyk <piomiko41@gmail.com >
* last touches
* add more detail about unbonding
* add migration
* fmt
Co-authored-by: Piotr Mikołajczyk <piomiko41@gmail.com >
Co-authored-by: parity-processbot <>
2022-07-26 12:44:48 +00:00
Sebastian Kunert
9f409dc0b8
Prepare for rust 1.62.1 ( #11903 )
...
* Update UI test output for rust 1.62.1
* switch ci to staging image to check that everything works
* fix artifacts node-bench-regression-guard
* Imeplement `scale_info::TypeInfo` manually to silence aggressive rust warning
* Fix more clippy lints
* Make clippy happy by relying on auto-deref were possible
* Add tracking issue to the comments
* pin ci image
Co-authored-by: alvicsam <alvicsam@gmail.com >
2022-07-26 14:37:05 +02:00
Sebastian Kunert
88d9aca202
Prepare for rust 1.62.1 ( #5811 )
...
* Update update-rust-stable script
* Update UI tests for rust-1.62.1
* Use staging CI image
* pin ci image
Co-authored-by: alvicsam <alvicsam@gmail.com >
2022-07-26 14:37:02 +02:00
Sebastian Kunert
9afc93cbd1
Bump strum to 0.24.1 ( #5816 )
2022-07-26 14:02:43 +02:00
Alexander Samusev
151c5d3fd9
[ci] remove cargo-check-nixos job ( #11873 )
...
* [ci] remove cargo-check-nixos job
* remove shell.nix
2022-07-26 11:37:54 +02:00
Sergej Sakac
cdfd2da02e
Rpc for pending rewards ( #11831 )
...
* rpc pending rewards
* commit
* remove unused imports
* fix
* fix
* fmt
* fix
* fmt
* fix
* docs
* docs & formatting
* better formatting
* temporary fix
* error handling
* fix?
* fmt
* use to_string
* fmt
* fixed error handling
* fix
* rpc added to client
* Update Cargo.toml
* Update Cargo.toml
* fix wrong reward counter
* expose function
* move implementation
* docs
* docs
* docs
* Update lib.rs
* Update lib.rs
* unexpose functions
* unused dependency
* update Cargo.lock
* Update frame/nomination-pools/src/lib.rs
* Update lib.rs
* Update lib.rs
* Update frame/nomination-pools/rpc/runtime-api/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* remove rpc
* remove rpc directory
* final fix
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-07-26 11:06:48 +02:00
Sacha Lansky
a37226d09e
Fix typos ( #11914 )
2022-07-26 00:09:50 +02:00
Alexander Theißen
cf18868afd
Bump substrate ( #5814 )
...
* Bump substrate
* Bump spec version
2022-07-25 16:59:37 +00:00
Qinxuan Chen
16ef0cee93
Pruned duplicated dependencies ( #11900 )
...
* Update comfy-table v5.0.1 => v6.0.0
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update strum v0.23.0 => v0.24.1
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update h2 v0.3.9 => v0.3.13
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update file-per-thread-logger v0.1.4 => v0.1.5
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update mio v0.8.0 => v0.8.4
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* revert twox-hash
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update secp256k1 v0.21.2 => v0.24.0
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-07-25 16:52:11 +00:00
Alexander Theißen
c470e9d11d
contracts: Allow ChainExtension::call() to access &mut self ( #11874 )
...
* Give chain extensions the ability to store some temporary values
* Update frame/contracts/src/wasm/runtime.rs
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
* Rename func_id -> id
* Replace `id` param by two functions on `env`
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com >
2022-07-25 15:48:01 +00:00
Kian Paimani
626140454d
remove FunctionOf ( #11897 )
...
* remove FunctionOf
* fix docs
Co-authored-by: parity-processbot <>
2022-07-25 15:20:19 +00:00
Falco Hirschenberger
3afa175a4c
Add era to Unbonded event ( #11770 )
...
* Add era to `Unbonded` event
fixes #11749
* Fix missing tests
* Add comment for `era` field in `Unbonded` struct.
Co-authored-by: parity-processbot <>
2022-07-25 14:53:12 +00:00
Chevdor
7b02a55a11
Add missing trigger wildcards for some CI workflows ( #5812 )
2022-07-25 16:42:47 +02:00
Davide Galassi
0b79a7a877
Remove unused leaves-set fields ( #11895 )
...
* Remove unused leaves-set fields
* Fix undo_import method
Old leaf sould be inserted using the displaced number
* Fix leaves count
* Apply code review suggestions
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-07-25 12:19:43 +02:00
Alexander Samusev
3753d70e45
[ci] fix node-bench-regression-guard job ( #11901 )
...
* [Do not merge] [ci] debug node-bench-regression-guard
* debug
* fix artifacts path
* add debug job
* debug
* debug
* fix job, return pipeline
2022-07-25 11:15:47 +02:00
dependabot[bot]
59a4c78d47
Bump serde from 1.0.139 to 1.0.140 ( #1457 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.139 to 1.0.140.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.139...v1.0.140 )
---
updated-dependencies:
- dependency-name: serde
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>
2022-07-25 07:17:03 +00:00
Ikko Ashimine
b4017a4509
Fix typo in limits.rs ( #11894 )
...
alway -> always
2022-07-24 22:42:49 +02:00
Bastian Köcher
5cbf7ab224
pallet-assets: Update docs ( #11877 )
2022-07-23 19:28:25 +00:00
Branislav Kontur
b3bd5cee54
Fix for 'note_applied_extrinsic' - consider also 'extract_actual_pays_fee' ( #11849 )
2022-07-23 18:01:57 +00:00
Andronik
f26f845ac7
companion for https://github.com/paritytech/polkadot/pull/5770 ( #1442 )
...
* companion for https://github.com/paritytech/polkadot/pull/5770
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2022-07-23 00:03:07 +00: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
Alexander Samusev
d6334447ae
[ci] publish parachain-implementers-guide ( #5806 )
...
* [Do not merge] [ci] publish parachain-implementers-guide
* fix .cancel-pipeline
* rename build-implementers-guide
* fix
* debig docs
* fix needs
* debug publish
* change image for impl guide job
* fix mdbook
* add folder
* remove mdbook-graphviz
* fix publish
* fix publish
* debug publish
* remove debug
* fix script order
* return pipeline
* remove test ref from publish
2022-07-22 15:22:15 +02:00
Dmitry Markin
afc723cc30
Clarify wrong bootnode peer ID error message ( #11872 )
2022-07-22 15:08:52 +03:00
Robert Hambrock
05c71381c0
pallet-mmr: fix batch proof failures ( #11840 )
...
* pallet-mmr: extend batch proof verification test
covers all possible 2-leaf combinations now, including current
verification failures that batch proof item count limit is too low
sometimes.
* raise upper bound on proof item number
as described in
https://github.com/paritytech/substrate/issues/11753#issuecomment-1179838174
* test for powerset of leaves
* refactor batch proof verification test
* test all batch proofs for mmr sizes up to n=13
* limit mmr size to reduce batch proof test duration
* use saturating integer addition for proof check
* extract common chain building in batch proof tests
note: right now, since not killing old chain, it keeps growing by 7
blocks for every leaf selection (added after proof generation), hence
heavier to compute.
* only add blocks after a proof generation once
* increase batch proof testing range
* register offchain extensions only once
* fmt & remove unused util
2022-07-21 18:09:21 +03:00
Alexander Samusev
c3812f409c
[ci] Generate rustdocs without dependencies ( #11885 )
2022-07-21 15:35:18 +02:00
Muharem Ismailov
7ad9cb90aa
westend xcm: collectives parachain is trusted teleporter ( #5798 )
2022-07-21 11:50:00 +00:00
Dmitry Markin
9aa75267aa
Cleanup light client leftovers ( #1456 )
...
* Cleanup light client leftovers
* Readme: make it clear that Collator is full node of parachain
* cargo update -p sp-io
* cargo update -p polkadot-primitives
2022-07-21 13:59:07 +03:00