Chevdor
07ad234b98
Add client checklist + doc ( #1297 )
...
* Add client checklist + doc
* Add versionning doc
* Update release.md
* Update release.md
* Update .github/ISSUE_TEMPLATE/release-client.md
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
* Fix grumbles
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
2022-06-09 13:17:32 +01:00
dependabot[bot]
b86f670dfd
Bump tokio from 1.19.0 to 1.19.2 ( #1339 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.19.0 to 1.19.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.19.0...tokio-1.19.2 )
---
updated-dependencies:
- dependency-name: tokio
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-06-08 11:58:03 +00:00
dependabot[bot]
bfacc164ad
Bump async-trait from 0.1.54 to 0.1.56 ( #1338 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.54 to 0.1.56.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.54...0.1.56 )
---
updated-dependencies:
- dependency-name: async-trait
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-06-08 10:52:34 +02:00
Nazar Mokrynskyi
9765f200cb
Improve docs on --keep-blocks CLI parameter and related data structures ( #11611 )
...
* Improve docs on `--keep-blocks` CLI parameter and related data structures
* Update client/db/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-06-08 10:48:46 +02:00
Sebastian Kunert
b1cc31027f
Remove without_storage_info for membership pallet ( #11591 )
2022-06-07 19:49:36 +02:00
Dominique
215ae1f134
Changed Bonding & SlashDefer Duration in Westend ( #5634 )
2022-06-07 16:05:58 +00:00
Keith Yeung
0e3918d9fe
Implement more IntoIter traits for bounded types ( #11616 )
2022-06-07 14:32:30 +00:00
dependabot[bot]
96926d16c3
Bump tokio from 1.18.2 to 1.19.0 ( #1330 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.2 to 1.19.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.2...tokio-1.19.0 )
---
updated-dependencies:
- dependency-name: tokio
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-06-07 14:50:30 +02:00
dependabot[bot]
a7b227fb8c
Bump crossbeam-utils from 0.8.5 to 0.8.8 ( #1334 )
...
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam ) from 0.8.5 to 0.8.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.5...crossbeam-utils-0.8.8 )
---
updated-dependencies:
- dependency-name: crossbeam-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 14:47:25 +02:00
yjh
c294dc2826
chore: rm unused sc-service ( #1331 )
...
* chore: rm unused sc-service
* fmt
2022-06-07 14:25:43 +02:00
Bernhard Schuster
bd7383db5b
add missing absolute path specifier ( #5646 )
2022-06-07 12:24:27 +01:00
dependabot[bot]
45fb4baa21
Bump crossbeam-utils from 0.8.5 to 0.8.8 ( #5644 )
...
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam ) from 0.8.5 to 0.8.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.5...crossbeam-utils-0.8.8 )
---
updated-dependencies:
- dependency-name: crossbeam-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 10:23:00 +00:00
Jegor Sidorenko
7b712fa4ff
Remove a max supply record on collection's destruction ( #11593 )
...
* Remove a max supply record on collection's destruction
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_utility --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/utility/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2022-06-07 10:08:58 +00:00
Bernhard Schuster
753d6f29e0
[orchestra] extract graph logic and enhance with cycle detection + coloring ( #5614 )
...
* extract graph
* move into scope
* remove dead code
* add special nodes
* avoid some clones
* better doc
* maybe better to use ✨
* print all cycles, or an error
Currently kosaraju_scc returns invalid cycles, which is yet to be investigated.
* don't print tiny cycles, if there is nothing to unvisited anymore, there is a cycle
* make print better
* fmt ffs
* correct: cycle -> scc
A strongly connected cluster contains at least one cycl, but could include more.
So this should be distringuished in the implementation to avoid some confusion.
* fix loop exit condition
* add a test for kosaraju behavior
* unify on 'component'
* disable graph by default
https://github.com/paritytech/ci_cd/issues/433
* chore: fmt
* move graph only to graph_helpers
2022-06-06 16:35:31 +00:00
Koute
a8c1d430ef
Fix one-by-off in BoundedSlice::try_from ( #11600 )
2022-06-06 16:17:41 +00:00
Shawn Tabrizi
946c45a7dd
MEL for Ranked Collective ( #11602 )
2022-06-06 14:47:37 +00:00
zqhxuyuan
776692c016
make era public ( #11575 )
2022-06-06 13:38:31 +00:00
Bastian Köcher
2ddfe5edc4
Ensure relay chain block number strictly increases ( #1280 )
...
* Ensure relay chain block number strictly increases
This is a safeguard for when async backing is enabled on the relay chain and multiple parachain
blocks per relay chain block are legal. We will need to later change this to support then multiple
parachain blocks per relay chain block.
* Make the check configurable
* Fix compilation
* Update pallets/parachain-system/src/lib.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Update pallets/parachain-system/src/lib.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Fix test
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2022-06-05 09:21:03 -05:00
dependabot[bot]
e6781f0841
Bump async-trait from 0.1.53 to 0.1.54 ( #1328 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.53 to 0.1.54.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.53...0.1.54 )
---
updated-dependencies:
- dependency-name: async-trait
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-06-05 13:00:38 +02:00
dependabot[bot]
694cbd0af6
Bump syn from 1.0.95 to 1.0.96 ( #1329 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.95 to 1.0.96.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.95...1.0.96 )
---
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-06-05 10:15:21 +00:00
Oliver Tale-Yazdi
eb4be02155
Expose Benchmarking Component Ranges ( #11545 )
...
* Add component ranges to benchmarking
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Adding component ranges to templates
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* tweak script to reduce diff
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_identity --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/identity/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-06-03 20:43:54 +00:00
Oliver Tale-Yazdi
a2afadb123
Add host info to weight templates ( #11583 )
...
* Add host info to weight templates
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Bot <admin@parity.io >
2022-06-03 19:46:14 +00:00
Keith Yeung
038e52f5e0
Remove #[pallet::without_storage_info] for pallet-remark ( #11590 )
2022-06-03 17:30:12 +00:00
Sergej Sakac
d09e835753
Tracable defensive errors ( #11532 )
...
* Tracable defensive errors
* small fixes
* fix
* refactored
* switched to defensive_ok_or
* Remove unnecessary type annotations and conversions
* cargo fmt
* Fixes
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-06-03 14:25:55 +00:00
Liu-Cheng Xu
6b1e871137
Expose ValidatedTransaction from transaction pool ( #11588 )
...
This is required to make a tx pool wrapper for some custom transaction validation, specificially
required to make a wrapper around the `LocalTransactionPool` implementation (https://github.com/subspace/subspace/blob/f54881a9b5/crates/subspace-service/src/pool.rs#L232-L269 ).
Related: https://github.com/paritytech/substrate/discussions/11520
2022-06-03 14:33:59 +02:00
Alexander Samusev
98f6d8e96c
[ci] use cargo nextest instead cargo test in test-linux-stable ( #11576 )
...
* [DO NOT MERGE] Experimenting with nextest
* enable jobs
* enable stages
* add comment
* create test-frame-support job
2022-06-02 21:18:59 +02:00
Alexander Samusev
059d992e03
[ci] Add build docker test-parachain for zombienet ( #1327 )
...
* [ci] Add build docker test-parachain for zombienet
* debug ci
* disable cancel pipeline
* fix wrong rename
* enable jobs
* uncomment needs
* fixes
2022-06-02 19:20:22 +02:00
Bastian Köcher
3935f6a987
wasm-builder: Rerun the build if the generated file changed ( #11582 )
2022-06-02 18:48:48 +02:00
João Paulo Silva de Souza
3977de095b
reactivate check-dependent-cumulus ( #11506 )
...
* re-enable check-dependent-cumulus
* temporary: use handle-extra-dependencies
* temporary: trim CI
* CI: include build stage
* CI: include test stage
* CI: include test stage
* Revert "temporary: trim CI"
This reverts commit dcf4ae8d842bc445a065c7ccdc3b6a603034faa4.
* CI: fix weird revert
* Revert "temporary: use handle-extra-dependencies"
This reverts commit bc0dc0f21f10284a23f66fdd8509ca6df89f2586.
* CI undebug
Co-authored-by: TriplEight <denis.pisarev@parity.io >
2022-06-02 16:15:32 +02:00
Chevdor
51e31c9004
Run the release branch check on the cumulus code releases as well ( #1326 )
2022-06-02 13:53:38 +02:00
Chevdor
425b277273
Add release branch check and refactoring ( #5622 )
...
* Add release branch chheck and refactoring
* Fix trigger patterns
2022-06-02 13:53:20 +02:00
Gavin Wood
58d23ef97b
Reduce call size of Referenda pallet ( #11578 )
...
* Reduce call size of Referenda pallet
* Fixes
* Fixes
* Fixes
* Docs
2022-06-02 12:41:05 +01:00
yjh
ba96e8a8f4
aura: export change_authorities and initialize_authorities ( #11468 )
...
* aura: export change_authorities and initialize_authorities
* add docs
* fix docs
2022-06-02 11:03:49 +02:00
Vlad
a084dd684f
CI: fix build-subkey-macos build job ( #11573 )
...
* CI: fix `build-subkey-macos` build job
* CI: use full path for the `CARGO_TARGET_DIR` default value
2022-06-02 11:48:12 +03:00
Chevdor
d57352b74f
Replace problematic unicode chars ( #5621 )
2022-06-01 22:50:05 +02:00
Chevdor
de2727d93b
Fix problematic char ( #1323 )
2022-06-01 22:49:12 +02:00
Vlad
7d8477b48d
rusty-cachier pipeline impovements and fixes (#11572 )
2022-06-01 19:48:53 +03:00
Gavin Wood
838dbcbe91
Helper macro for Morph impls ( #11570 )
...
* Helper macro for Morph impls
* No need to deprecate for now
* Improved macro
* Doc tests
* Grumbles
2022-06-01 17:27:47 +01:00
Alexander Samusev
2e514ad005
Publish polkadot-parachain docker images on PRs ( #1311 )
...
* [WIP] Dockerize polkadot-parachain
* fix build job
* disable test job for debug
* disable all tests for debug
* add publish docker
* fix docker publish
* uncomment tests; add dag
* fix docker naming
* add DAG to build job
* small fixes
* combine test and build
* fix typo
* divide test and build back
* Update .gitlab-ci.yml
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
* rename docker image
* add needs publish-s3
* remove collect artifacts from test
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
2022-06-01 15:07:19 +02:00
Bastian Köcher
bb6bbab687
Fix all warnings when building for wasm ( #11569 )
...
* Fix all warnings when building for wasm
Besides that it also enables warnings as errors for wasm builds in the CI.
* FMT
* Make clippy happy
2022-06-01 13:03:21 +00:00
Chevdor
5d53e5293f
Add release branch checks ( #1319 )
2022-06-01 14:23:00 +02:00
Vlad
a4fdcb9a06
Don't limit test-linux-stable-int job output ( #11560 )
2022-06-01 14:28:24 +03:00
joe petrowski
e3a2a10e45
Statemint Should Not Recognise DOT Reserves ( #1318 )
...
* recognise no reserves
* adjust should_execute
* docs and pass should_execute
* typo
2022-06-01 11:11:31 +00:00
Gavin Wood
1c59b81690
Introduce SubmitOrigin to Referenda pallet config ( #11567 )
2022-06-01 11:46:06 +01: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
Gavin Wood
d6ea0e4205
Introduce set function into storage maps ( #11564 )
2022-06-01 10:48:42 +01:00
Gavin Wood
5595f10245
Ranked Collective pallet ( #11548 )
...
* Ranked Collective pallet
* Fixes
* benchmarks
* Weights
* Allow class voting in rank
Use bare ayes for calculating support.
Allow only promotion/demotion by one rank only.
Allow removal of member with rank zero only.
Use new Tally API
* Index by rank, still O(1).
* Custom vote weights
* Formatting
* Update frame/ranked-collective/src/lib.rs
* Broken :(
* origin guard; cleanup uses new API
* Formatting
* Promote/demote by rank
* Formatting
* Use new API
* Remove code in another PR
* Remove code in another PR
* Formatting
* Remove code in another PR
* Docs
* Docs
* Bump
* Fixes
* Formatting
* Fixes
2022-06-01 10:23:47 +01:00
MOZGIII
8e9639d2ff
Do not require Ord for pallet_offences::Config::IdentificationTuple ( #11563 )
2022-06-01 09:13:24 +00:00
Squirrel
39f79659a8
Fixup benches after dir re-org ( #1300 )
...
* Fixup after dir re-org
* Update scripts/benchmarks-ci.sh
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/benchmarks-ci.sh
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Update scripts/benchmarks-ci.sh
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* fix typo
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
2022-06-01 07:40:03 +00:00
Oliver Tale-Yazdi
f81e306cf5
Short circuit Treasury::Spend benchmark for NeverEnsureOrigin ( #11562 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-06-01 00:14:23 +01:00