Bastian Köcher
81f123b72e
Make --db case insensitive again ( #12630 )
...
This was broken in the switch to Clap v4.
2022-11-07 14:01:23 +01:00
Squirrel
786cfa4045
rename package to avoid name clash ( #1716 )
...
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-11-07 11:49:40 +00:00
Xiliang Chen
e3054b6149
cleanup deps ( #6242 )
2022-11-07 12:09:33 +01:00
cheme
e7c6a83502
Statemine state migration runtime changes. ( #1743 )
...
* init, using polkadot master
* version update
* weights copy pasted from substrate
* feature gate migration
* changes from reviews
* Change controller addresses.
* fix
* rename feature to state-trie-version-1
2022-11-07 11:09:32 +00:00
cheme
b7b75ff054
Add trie migration rpc to polkadot-parachain ( #1424 )
...
* add trie migration rpc to polkadot-parachain
* pass backend
* fix
2022-11-07 10:41:45 +00:00
dependabot[bot]
826553c443
Bump Swatinem/rust-cache from 2.0.0 to 2.0.1 ( #1767 )
...
* Bump Swatinem/rust-cache from 2.0.0 to 2.0.1
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/Swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Swatinem/rust-cache/compare/6720f05bc48b77f96918929a9019fb2203ff71f8...22c9328bcba27aa81a32b1bef27c7e3c78052531 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* match hash with version
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergejs Kostjucenko <sergejs@parity.io >
2022-11-07 10:18:13 +00:00
dependabot[bot]
be6f51895b
Bump regex from 1.5.5 to 1.6.0 ( #12117 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.5 to 1.6.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.5...1.6.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
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-11-07 10:17:53 +00:00
dependabot[bot]
5d32a955f8
Bump ruby/setup-ruby from 1.118.0 to 1.120.0 ( #1804 )
...
* Bump ruby/setup-ruby from 1.118.0 to 1.120.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.118.0 to 1.120.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](https://github.com/ruby/setup-ruby/compare/eae47962baca661befdfd24e4d6c34ade04858f7...ece82769428359c077b5a5eaff268902a303c101 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update .github/workflows/release-30_create-draft.yml
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update .github/workflows/release-30_create-draft.yml
Co-authored-by: Chevdor <chevdor@users.noreply.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: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-11-07 10:17:11 +00:00
dependabot[bot]
4681f57304
Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 ( #1801 )
...
* Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/068dc23d9710f1ba62e86896f84735d869951305...de7ea6f8efb354206b205ef54722213d99067935 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* match hash with version
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com >
2022-11-07 10:15:56 +00:00
cheme
d5677cde48
Guard some invalid node for proof decoding. ( #12417 )
...
* Guard some invalid node for proof decoding.
* only forbid bitmap with no children.
* change format
* scale error.
* small test
Co-authored-by: parity-processbot <>
2022-11-05 22:26:12 +00:00
Oliver Tale-Yazdi
f8c3a658b2
Co #12085 : Update k256 ( #6238 )
...
* Typo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update Cargo.lock
* update lockfile for {"substrate"}
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: parity-processbot <>
2022-11-05 12:25:55 +00:00
shekohex
e66339d667
Bump k256 from 0.10.4 to 0.11.4 ( #12085 )
...
* Bump `k256` from `0.10.4` to `0.11.4`
* Update Cargo.lock
* Update
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-11-05 11:39:29 +00:00
Mara Robin B
bf597d69e0
clean up executed runtime migrations ( #6206 )
...
* kusama: clean up executed migrations
* polkadot: clean up executed migrations
* westend: clean up executed migrations
2022-11-04 23:15:29 +00:00
Sergej Sakac
65b285e632
Move Throughput into sc-sysinfo ( #12368 )
...
* move Throughput to sc-sysinfo
* replace u64
* fix in tests
* change Throughput
* refactored Throughput
* fixes
* moved tests & fixes
* custom serializer
* note
* fix serializer
* forgot to remove
* deserialize
* functioning deserialization :)
* try to make clipply happy
* Serialize as function
* test HwBench
* rename
* fix serialization
* deserialize as function
* unused import
* move serialize/deserialize
* don't serialize none
* remove nonsense
* remove nonsense comment :P
* fixes
* remove all the todos
* return enum
* fixes
* fix nit
* improve docs & readability
* Update client/sysinfo/src/sysinfo.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fix all the nits
* rename
* fix
* Update client/sysinfo/src/sysinfo.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* remove unit from serialization
* Update utils/frame/benchmarking-cli/src/machine/hardware.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-11-04 17:13:57 +00:00
Tom
ebe04eecf2
Add stake.plus bootnodes for westend, kusama, polkadot ( #6224 )
...
* add stake.plus bootnodes
* add stake.plus bootnodes for westend, kusama and polkadot
Co-authored-by: senseless <tom@stake.plus >
Co-authored-by: parity-processbot <>
2022-11-04 08:07:23 +01:00
Qinxuan Chen
6ba635fcff
pallet-sudo: add CheckOnlySudoAccount signed extension ( #12496 )
...
* pallet-sudo: add `CheckSudoKey` signed extension
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Rename CheckSudoKey => CheckOnlySudo
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Rename extension name and Add some docs
* Apply review suggestions
* Update frame/sudo/src/extension.rs
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
* Update frame/sudo/src/extension.rs
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com >
2022-11-03 23:08:24 +00:00
Sergej Sakac
63d7ce61ab
Xcm-Simulator Docs ( #6178 )
...
* Xcm-Simulator Docs
* spelling
* examples
* better docs
Co-authored-by: parity-processbot <>
2022-11-03 23:49:04 +01:00
dharjeezy
a2e98a943a
Introduce DefensiveMin and DefensiveMax ( #12554 )
...
* traits for defensive min and defensive max
* defensive min and strict min with tests
* defensive max and strict max with tests
* include docs
* implement partial ord on defensive min and max
* Update frame/support/src/traits/misc.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* wrap lines
* Fix traits
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update frame/support/src/traits/misc.rs
* Update frame/support/src/traits/misc.rs
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: parity-processbot <>
2022-11-03 19:51:18 +00:00
Michal Kucharczyk
a87b2e5241
BlockId removal: refactor: Backend::block_indexed_body ( #6233 )
...
* BlockId removal: refactor: Backend::block_indexed_body
It changes the arguments of `Backend::block_indexed_body` method from: `BlockId<Block>` to: `&Block::Hash`
This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292 )
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-11-03 19:32:32 +00:00
Michal Kucharczyk
11b6409c12
BlockId removal: refactor: Backend::block_indexed_body ( #12609 )
...
* BlockId removal: refactor: Backend::block_indexed_body
It changes the arguments of `Backend::block_indexed_body` method from: `BlockId<Block>` to: `&Block::Hash`
This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292 )
* trigger CI job
2022-11-03 16:57:10 +00:00
Muharem Ismailov
153399431b
Collective benchmark respects DefaultVote configuration ( #12612 )
...
* Collective benchmark respects DefaultVote configuration
* ".git/.scripts/bench-bot.sh" pallet dev pallet_collective
Co-authored-by: command-bot <>
2022-11-03 16:52:57 +00:00
Sasha Gryaznov
5e1d421125
stabilize 4 storage host funcs ( #12611 )
2022-11-03 16:23:05 +00:00
benluelo
7bae412283
Add map and try_map methods ( #12581 )
...
Co-authored-by: parity-processbot <>
2022-11-03 11:20:13 +00:00
benluelo
34915840f3
use associated iterator types for InspectEnumerable ( #12389 )
...
* use associated iterator types for InspectEnumerable
* Update frame/uniques/src/impl_nonfungibles.rs
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <git@kchr.de >
2022-11-02 23:31:04 +00:00
Michal Kucharczyk
a4a5fa8523
BlockId removal: refactor: Backend::justifications ( #6229 )
...
* BlockId removal: refactor: Backend::justifications
It changes the arguments of `Backend::justifications` method from: `BlockId<Block>` to: `&Block::Hash`
This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292 )
* formatting
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-11-02 22:59:27 +00:00
Michal Kucharczyk
84167bd7d4
BlockId removal: refactor: Backend::justifications ( #12602 )
...
* BlockId removal: refactor: Backend::justifications
It changes the arguments of `Backend::justifications` method from: `BlockId<Block>` to: `&Block::Hash`
This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292 )
* trigger CI job
* trigger CI job
* bug fix
* match -> if
Co-authored-by: Adrian Catangiu <adrian@parity.io >
Co-authored-by: Adrian Catangiu <adrian@parity.io >
2022-11-02 22:15:33 +00:00
Alexander Samusev
8b8675df23
[ci] allow fail skip-if-draft job ( #12604 )
2022-11-02 14:39:28 +01:00
zjb0807
a5d876f79a
Fix fungible unbalanced trait ( #12569 )
...
* Fix fungible unbalanced trait
* Add simple decrease_balance test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix decrease_balance_at_most
* Fix decrease_balance_at_most in fungibles
* Rename free_balanceto balance_on_free
* Use reducible_balance instead of balance_on_free
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-11-02 09:56:48 +00:00
Daniel Shiposha
73a65711e8
fix: construct_runtime multiple features ( #12594 )
...
* fix: construct_runtime multiple features
* Update frame/support/procedural/src/construct_runtime/mod.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
2022-11-02 00:10:43 +01:00
dependabot[bot]
195eb07639
Bump syn from 1.0.102 to 1.0.103 ( #1796 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.102...1.0.103 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
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>
2022-11-02 00:09:52 +01:00
alexgparity
6d83525b50
Replace parachain/parathread boolean by enum ( #6198 )
...
* Replace parachain/parathread boolean by enum
* Address PR comments
* Update dependencies
* ParaType -> ParaKind
* Swap enum field order to avoid migration
* Rename paratype field to parakind
* Manual en-/decocing of Parakind
* Manual TypeInfo for ParaKind
* rename field back to parachain
* minor
* Update runtime/parachains/src/paras/mod.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Manual serde Serialize and Deserialize for ParaKind
* cargo fmt
* Update runtime/parachains/src/paras/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Add test for serde_json encoding/decoding
* Move serde_json dep to dev-deps
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andronik <write@reusable.software >
2022-11-01 18:34:16 +01:00
Michal Kucharczyk
be70e4456c
BlockId removal: refactor: BlockBackend::block_body ( #6223 )
...
* BlockId removal: refactor: BlockBackend::block_body
It changes the arguments of `BlockBackend::block_body` method from: `BlockId<Block>` to: `&Block::Hash`
This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292 )
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-11-01 17:22:46 +00:00
Michal Kucharczyk
76bcbd09a5
BlockId removal: refactor: Backend::body ( #12587 )
...
It changes the arguments of `Backend::body` method from: `BlockId<Block>` to: `&Block::Hash`
This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292 )
Co-authored-by: parity-processbot <>
2022-11-01 16:24:09 +00:00
Marcin S
1f8219767e
PVF timeouts follow-up ( #6151 )
...
* Rename timeout consts and timeout parameter; bump leniency
* Update implementor's guide with info about PVFs
* Make glossary a bit easier to read
* Add a note to LENIENT_PREPARATION_TIMEOUT
* Remove PVF-specific section from glossary
* Fix some typos
2022-11-01 10:59:53 -04:00
dependabot[bot]
8dbab74430
Bump scale-info from 2.2.0 to 2.3.0 ( #1809 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.2.0 to 2.3.0.
- [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/commits/v2.3.0 )
---
updated-dependencies:
- dependency-name: scale-info
dependency-type: direct:production
update-type: version-update:semver-minor
...
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>
2022-11-01 13:18:24 +01:00
Andrei Sandu
351d37e324
Check if approval voting db is empty on startup ( #6219 )
...
* Add approval voting db sanity check
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add newline back
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* no need for overlay to read
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-10-31 20:57:50 +01:00
Sebastian Kunert
b32fcdc96d
Add RPC nodes to pov-recovery test ( #1807 )
2022-10-31 19:45:20 +01:00
Javier Viola
d02d58de40
fix upgrade node test, use latest as base image ( #6215 )
2022-10-31 16:17:06 +00:00
Adrian Catangiu
c68bd397d8
client/beefy: fix incorrect BEEFY justifications import test ( #12593 )
...
Signed-off-by: Adrian Catangiu <adrian@parity.io >
2022-10-31 17:41:01 +02:00
Michal Kucharczyk
a1a3b923ab
Added test for Client::block ( #12590 )
2022-10-31 12:43:36 +01:00
joe petrowski
cb20ae7de1
fix some typos ( #12584 )
2022-10-31 11:20:29 +00:00
Michal Kucharczyk
0ef7e261a3
BlockId removal: refactor: Backend::append_justification ( #12551 )
...
* BlockId removal: refactor: Backend::append_justification
It changes the arguments of `Backend::append_justification`
from: block: `BlockId<Block>` to: hash: `&Block::Hash`
This PR is part of `BlockId::Number` refactoring analysis (paritytech/substrate#11292 )
* Error message improved
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* single error message in beefy::finalize
* println removed
Co-authored-by: Adrian Catangiu <adrian@parity.io >
2022-10-30 17:58:29 +00:00
eskimor
bae4f0d3c2
Make ValidateUnsigned available on all chains for paras. ( #6214 )
...
Co-authored-by: eskimor <eskimor@no-such-url.com >
2022-10-30 17:15:42 +01:00
Oliver Tale-Yazdi
9bc59da6b3
Use minimum_nominator_bond instead of nominator_bond ( #12585 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-10-30 16:00:26 +00:00
Alexander Theißen
5470f3e249
Companion for update wasm-opt ( #1806 )
...
* Update cc
* Update regex
2022-10-30 15:51:45 +00:00
Alexander Theißen
e8299e5d7d
Companion for update wasm-opt ( #6209 )
...
* Update cc
* Update regex
* Update thiserror
* Update anyhow
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-10-30 16:50:30 +01:00
Alexander Theißen
9c748c74de
WIP: Replace wasm-gc with wasm-opt ( #12280 )
...
* Use wasm-opt on runtime
* Optimize for size
* Simplify fn compact_wasm_file
* Run a lighter pass for non production builds
* Disable optimizations and keep name section
* Update wasm-opt
* Remove dward sections
* Update wasm-opt
* Update wasm-opt
2022-10-30 10:09:47 +00:00
Doordashcon
a29624ab83
nomination-pools: allow pool-ids to be reused ( #12407 )
...
* initial
* logic check
* do_create
* cargo fmt
* fixes
* ensure_signed
* update
* cargo fmt
* remove unused import
2022-10-29 14:57:16 +00:00
Roman Useinov
b394af891f
[Companion] StakingInterface adjustments ( #6199 )
...
* [Companion] StakingInterface adjustments
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-10-29 16:02:33 +02:00
Roman Useinov
4bc091f4a9
[Enhancement] Convert fast-unstake to use StakingInterface, decouplin… ( #12424 )
...
* [Enhancement] Convert fast-unstake to use StakingInterface, decoupling it from Staking
* Update primitives/staking/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Update primitives/staking/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* fix validator comment
* remove todo
* ideas from Kian (#12474 )
Co-authored-by: kianenigma <kian@parity.io >
* Rename StakingInterface -> Staking for nomination-pools
* Staking fixes
* StakingInterface changes
* fix fast-unstake
* fix nomination-pools
* Fix fast-unstake tests
* Fix benches for fast-unstake
* fix is_unbonding
* fix nomination pools
* fix node code
* add mock comments
* fix imports
* remove todo
* more fixes
* more fixes
* bench fixes
* more fixes
* more fixes
* import fix
* more fixes
* more bench fix
* refix
* refix
* Update primitives/staking/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* is_unbonding returns a result
* fix
* review fixes
* more review fixes
* more fixes
* more fixes
* Update frame/fast-unstake/src/benchmarking.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
* remove redundant CurrencyBalance from nom-pools
* remove CB
* rephrase
* Apply suggestions from code review
* Update frame/nomination-pools/src/tests.rs
* finish damn renamed
* clippy fix
* fix
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: Squirrel <gilescope@gmail.com >
2022-10-29 09:22:58 +00:00