Sergejs Kostjucenko
f4336fafb7
Add GHA for custom PR review ( #10951 )
...
* Add GHA for custom PR review
* Change FILES rule settings
* Update rules according to feedback
* Update .github/pr-custom-review.yml
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
* CI: PRCR new 🔒 team is locks-review
* CI: rename a confusing step
* Update .github/workflows/pr-custom-review.yml
Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com >
* CI: use a proper new team for
as per discussion with @drahnr it was decided to create a dedicated team for reviewing runtime files
* Update pr-custom-review.yml
* Update .github/workflows/pr-custom-review.yml
Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com >
* Update .github/workflows/pr-custom-review.yml
Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com >
Co-authored-by: Denis Pisarev <17856421+TriplEight@users.noreply.github.com >
Co-authored-by: TriplEight <denis@parity.io >
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com >
2022-04-08 17:39:10 +02:00
Mara Robin B
11fc94176d
[ci] fix pallet benchmark script ( #5247 ) ( #5292 )
2022-04-08 14:50:10 +02:00
Mara Robin B
2cc30515d8
bump spec_version to 9190 ( #5291 )
2022-04-08 11:48:52 +00:00
Mara Robin B
7ed275bff8
bump version to 0.9.19 ( #5290 )
2022-04-08 11:48:43 +00:00
Koute
1411e028aa
Catch panics on the FFI boundary between the runtime and the host for wasmtime ( #11189 )
...
* Catch panics on the FFI boundary between the runtime and the host for `wasmtime`
* Use an already existing test runtime function
* Merge the tests together
2022-04-08 11:26:47 +00:00
Robert Klotzner
243c855f03
Session is actually ancient not unknown. ( #5286 )
2022-04-08 13:04:59 +02:00
dependabot[bot]
2a5c11e2cc
Bump lru from 0.7.3 to 0.7.5 ( #11190 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.3 to 0.7.5.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.3...0.7.5 )
---
updated-dependencies:
- dependency-name: lru
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-04-08 10:18:25 +00:00
Mara Robin B
6608975861
[ci] point benchmark script to sub-commands ( #5247 ) ( #5289 )
2022-04-08 12:13:58 +02:00
Sergejs Kostjucenko
d56c5f86ef
Remove Travis CI ( #5287 )
2022-04-08 12:41:56 +03:00
dependabot[bot]
34ddda6101
Bump impl-trait-for-tuples from 0.2.1 to 0.2.2 ( #11171 )
...
Bumps [impl-trait-for-tuples](https://github.com/bkchr/impl-trait-for-tuples ) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/bkchr/impl-trait-for-tuples/releases )
- [Commits](https://github.com/bkchr/impl-trait-for-tuples/compare/v0.2.1...v0.2.2 )
---
updated-dependencies:
- dependency-name: impl-trait-for-tuples
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-04-08 10:41:21 +02:00
Koute
ef4e64c641
Improve error handling in approval voting block import ( #5283 )
...
* Print out original the runtime API error
* Improved error handling in approval voting block import
* Fix test
* Update comment
2022-04-08 10:26:38 +02:00
João Paulo Silva de Souza
ecd42d5408
fix .github/pr-custom-review.yml ( #5279 )
2022-04-08 10:52:00 +03:00
João Paulo Silva de Souza
04bd1b9bba
fix .github/pr-custom-review.yml ( #11187 )
2022-04-08 10:38:51 +03:00
dependabot[bot]
04bcb89133
Bump proc-macro2 from 1.0.36 to 1.0.37 ( #1150 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.36 to 1.0.37.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.36...1.0.37 )
---
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-04-08 09:05:23 +02:00
Oliver Tale-Yazdi
7ec0963e3b
Co #11164 : Sub-commands for benchmark ( #1156 )
...
* para-template: Add bench commands
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* collator: Add bench commands
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Test benchmark commands
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove comments
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"polkadot"}
* Remove benchmark block test as the collator cannot produce blocks on its own
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-04-08 00:02:22 +00:00
Oliver Tale-Yazdi
08163de073
Co #11164 : Sub-commands for benchmark ( #5247 )
...
* Restructure benchmark commands
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add benchmark storage test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p sp-io
* Revert "cargo update -p sp-io"
This reverts commit c321b570cef806934acfb7e1a18f543a681b9927.
* cargo update -p sp-io
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"substrate"}
* remove `useless_attribute`
* Remove rococo-native cfg
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make cumulus build
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix benchmark commands for the CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make cumulus build
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make cumulus build
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Disable new bench commands for rococo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Make cumulus build
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-04-07 22:29:16 +00:00
dependabot[bot]
6713b2505d
Bump syn from 1.0.90 to 1.0.91 ( #1149 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.90...1.0.91 )
---
updated-dependencies:
- dependency-name: syn
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-04-07 20:45:11 +00:00
dependabot[bot]
7b58f85a2b
Bump clap from 3.1.6 to 3.1.8 ( #5240 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.6...v3.1.8 )
---
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-04-07 22:06:30 +02:00
Oliver Tale-Yazdi
a7261180ee
Sub-commands for benchmark ( #11164 )
...
* Restructure benchmark commands
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add benchmark block test
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fixup imports
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* CI
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Extend error message
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Apply suggestions from code review
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
* Review fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add commands to node-template
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Zeke Mostov <z.mostov@gmail.com >
2022-04-07 19:33:11 +00:00
Bastian Köcher
804328c913
Remove old caching stuff from CI ( #1154 )
2022-04-07 21:15:43 +02:00
João Paulo Silva de Souza
943733298c
fix pr-custom-review.yml ( #1155 )
2022-04-07 20:11:57 +03:00
Shawn Tabrizi
4d837bac88
Custom Slots Migration for Fund Index Change ( #5227 )
...
* new migration
* use new migration in runtime
2022-04-07 10:51:37 -04:00
João Paulo Silva de Souza
ef5c4b7fc3
update pr-custom-review.yml ( #11169 )
...
syntax in accordance to https://github.com/paritytech/pr-custom-review/tree/5814820aa0e5d35412f31dc02f9d130a8b138cae#configuration-syntax
rules in accordance to https://github.com/paritytech/pr-custom-review/blob/da1d81b9fd39705cc8b37f59235283801c818708/rules.md
2022-04-07 16:23:33 +02:00
João Paulo Silva de Souza
95544bab2d
create .github/pr-custom-review.yml ( #1142 )
...
syntax in accordance to https://github.com/paritytech/pr-custom-review/tree/5814820aa0e5d35412f31dc02f9d130a8b138cae#configuration-syntax
rules in accordance to https://github.com/paritytech/pr-custom-review/blob/da1d81b9fd39705cc8b37f59235283801c818708/rules.md
2022-04-07 16:23:23 +02:00
João Paulo Silva de Souza
8db1b341e5
create pr-custom-review.yml ( #5253 )
...
syntax in accordance to https://github.com/paritytech/pr-custom-review/tree/5814820aa0e5d35412f31dc02f9d130a8b138cae#configuration-syntax
rules in accordance to https://github.com/paritytech/pr-custom-review/blob/da1d81b9fd39705cc8b37f59235283801c818708/rules.md
2022-04-07 16:23:08 +02:00
Stephen Shelton
6b7b4a011d
Add LengthToFee to runtimes ( #1152 )
...
* Add LengthToFee to runtimes
* update lockfile for {"polkadot"}
* fmt
* Update Cargo.lock
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-04-07 14:05:27 +00:00
Stephen Shelton
2433de588a
Replace TransactionByteFee with LengthToFee ( #5028 )
...
* Replace TransactionByteFee with LengthToFee
* s/ConstantModifierFee/ConstantMultiplier/
* fmt
* Remove duplicate import
* fmt
* Update runtime/test-runtime/src/lib.rs
* update lockfile for {"substrate"}
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-04-07 13:13:32 +00:00
Bastian Köcher
ec6a4db6f6
Improve docs of remove_all and remove_prefix ( #11182 )
...
These docs didn't mention how the removal works internally. This is important for the user to know
that calling such a method multiple times in the same block leads always to the same result.
2022-04-07 15:00:30 +02:00
dependabot[bot]
cccf59d742
Bump lru from 0.7.4 to 0.7.5 ( #5251 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.4...0.7.5 )
---
updated-dependencies:
- dependency-name: lru
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-04-07 14:22:25 +02:00
Stephen Shelton
ca1261ee21
Apply WeightToFeePolynomials to pallet_transaction_payment's length fee ( #10785 )
...
* Apply WeightToFeePolynomials to length fee
* Remove TransactionByteFee
* Add test cases for ConstantModifierFee
* Restore import
* Use pallet::constant_name
* Remove irrelevant TODO comment
* Update frame/support/src/weights.rs
* Update frame/transaction-payment/src/lib.rs
* Update frame/transaction-payment/src/lib.rs
* Update frame/transaction-payment/src/lib.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* s/ConstantModifierFee/ConstantMultiplier/
* Impl LengthToFee for test configs
* fmt
* Remove unused import
* Impl WeightToFeePolynomial for byte fee in ExtBuilder
* Remove unused import
* fix doc
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-04-07 11:24:59 +00:00
Sergejs Kostjucenko
be085c253d
CI Fix paths to vault secrets ( #5272 )
...
* Fix paths to vault secrets
* Fix paths
2022-04-07 12:24:29 +03:00
Niklas Adolfsson
e682424034
companion for #11173 ( #5264 )
...
* staking miner: update jsonrpsee v0.10.1
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-04-07 10:01:31 +02:00
Kian Paimani
b438b47f1a
relax input conditions of fixed::checked_from_integer ( #11159 )
...
* relax input conditions of fixed::checked_from_integer
* Fix build
2022-04-07 07:46:51 +00:00
Niklas Adolfsson
1df943cd6d
chore: update jsonrpsee to v0.10.1 ( #11173 )
...
* fix(bin/node): remove unsed dep jsonrpsee
* chore(remote ext): update jsonrpsee v0.10.1
* chore(try runtime): update jsonrpsee v0.10.1
* Update utils/frame/try-runtime/cli/src/commands/follow_chain.rs
* cargo fmt
2022-04-07 06:47:36 +00:00
Amar Singh
1297d77c51
Add epoch index to well known keys ( #5259 )
...
* add epoch index to well known keys
* fmt
2022-04-06 18:22:07 +02:00
Alexander Samusev
fc4bd3c4fd
[ci] Remove vault ( #11179 )
...
* [ci] Remove vault
* remove anchors
2022-04-06 18:20:15 +02:00
Davide Galassi
2bdebbcb00
Grandpa revert procedure ( #11162 )
...
* Grandpa revert procedure
* Trigger ci pipeline
* Test rename
* Update client/finality-grandpa/src/authorities.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2022-04-06 16:23:57 +02:00
dependabot[bot]
a6120e4655
Bump femme from 2.1.1 to 2.2.0 ( #5260 )
...
Bumps [femme](https://github.com/lrlna/femme ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/lrlna/femme/releases )
- [Commits](https://github.com/lrlna/femme/compare/2.1.1...2.2.0 )
---
updated-dependencies:
- dependency-name: femme
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 11:59:10 +02:00
Davide Galassi
845e37609b
Fix fork-tree descendent check ( #11150 )
...
* Fix fork-tree descendent check
* Add test assertions for the fix
* Improve documentation
* Nitpicks
2022-04-06 10:19:14 +02:00
Mara Robin B
d50b5bdb06
rococo: update weights ( #5242 )
2022-04-06 10:15:11 +02:00
Bastian Köcher
b3dc304fd0
Change default execution strategies to Wasm ( #11170 )
...
This pr changes all default execution strategies to `Wasm`. This is basically a deprecation of the
native runtime. While the native runtime isn't removed and can still be used, it will not be used
anymore by default.
This will also improve the usage for people who want to run random commits, which most often forget
to run with `--execution wasm`. Otherwise they often run into storage root mismatches because of
using the native runtime.
2022-04-06 09:55:55 +02:00
dependabot[bot]
7efac8c844
Bump enumflags2 from 0.6.4 to 0.7.4 ( #11108 )
...
* Bump enumflags2 from 0.6.4 to 0.7.4
Bumps [enumflags2](https://github.com/NieDzejkob/enumflags2 ) from 0.6.4 to 0.7.4.
- [Release notes](https://github.com/NieDzejkob/enumflags2/releases )
- [Commits](https://github.com/NieDzejkob/enumflags2/compare/v0.6.4...v0.7.4 )
---
updated-dependencies:
- dependency-name: enumflags2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* use `#[bitflags]` attribute macro
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-04-05 21:14:49 +00:00
Alexander Theißen
14333e3074
Upgrade to wasmer 2.2 ( #11168 )
2022-04-05 17:01:45 +00:00
Zhenghao Lu
7a4d5b5ec6
Correct a spelling mistake ( #11167 )
2022-04-05 08:39:46 +00:00
Bastian Köcher
9090c01ee7
transactional: Fix some nitpicks ( #11163 )
...
* transactional: Fix some nitpicks
This fixes some nitpicks related to the transactional storage stuff from me. As everything was
merged too fast, here are some nitpicks from me. First, the entire functionality is moved into its
own file to have a clear separation. Secondly I changed the `set_transactional_level` to not take
`Layer` by reference. Besides that I have added some docs etc.
* Add some comment
* Move tests
* 🤦
2022-04-04 22:28:57 +02:00
Squirrel
e7d8a0803c
Bump collator version to 5.4 ( #1131 )
2022-04-04 18:05:32 +01:00
Squirrel
146f00ce0e
bump tx version due to substrate 10896 ( #1133 )
2022-04-04 18:05:19 +01:00
Robert Klotzner
4ca9691dcf
Better metrics for availability-recovery ( #5249 )
...
* Better metrics.
- Fix time metric
- Add counters
* Typo
* Better docs.
2022-04-04 14:31:08 +00:00
Davide Galassi
d3d3df5bfb
Remove not required DigestItem conversion ( #11165 )
2022-04-04 14:29:29 +00:00
Pierre Besson
fc041426db
Update Rococo chainspec to v2_1 ( #5113 )
...
* update rococo sudo in chain specification
* update rococo chainspec JSON to v2.1
* Update node/service/src/chain_spec.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2022-04-04 13:34:52 +00:00