Mara Robin B
8ef2b701c1
update weights ( #5704 )
...
* westend: update weights
* kusama: update weights
* polkadot: update weights
* rococo: update weights
2022-06-21 12:58:01 +02:00
dependabot[bot]
72d8963e53
Bump proc-macro2 from 1.0.39 to 1.0.40
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.39...1.0.40 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-21 12:49:51 +02:00
Davide Galassi
c189bd15de
More robust grandpa revert procedure ( #11719 )
...
* More robust revert procedure
Return an error if revert is called in a node that is not actively
running grandpa, i.e. grandpa genesis data has not been initialized.
Previous implementation was just firing an `unreachable!` code exception.
Furthermore we skip revert hassle if there is nothing to revert.
* Nit
2022-06-21 09:50:51 +00:00
Chevdor
5c2da4e4d8
Let PR titles spread accross multiple lines in the release notes ( #5521 )
2022-06-21 10:46:41 +02:00
Sebastian Kunert
15e7db81d7
Strip 'Cargo.toml' from workspace path for patches ( #1391 )
2022-06-21 10:26:03 +02:00
Keith Yeung
939c31bfde
Implement Serialize/Deserialize on WeakBoundedVec ( #11713 )
...
* Implement Serialize/Deserialize on WeakBoundedVec
* cargo fmt
* Warn when there are too many elements while deserializing WeakBoundedVec
2022-06-21 06:49:43 +00:00
Koute
9cee3c699d
Pump the gossip engine while waiting for the BEEFY runtime pallet (memory leak fix) ( #11694 )
...
* Pump the gossip engine while waiting for the BEEFY runtime pallet
This fixes a memory leak when the BEEFY gadget is turned on, but
the runtime doesn't actually use BEEFY.
* Implement `FusedFuture` for `GossipEngine`
* Fuse futures outside of loops
2022-06-20 15:52:43 +00:00
girazoki
1579a8a3a4
Add event with XCM executor outcome, which includes weight fee ( #1286 )
...
* Add event with XCM executor outcome, which includes weight fee
* Show weight used in processed messages
* remove added event
* named events
* message_id for message_hash
* Update pallets/xcmp-queue/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2022-06-20 13:49:28 +00:00
João Paulo Silva de Souza
94a7e278fa
check-dependent-cumulus should only be executed for PRs ( #11693 )
...
the script executed by check-dependent-cumulus only works for PRs, as shown in https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1630771#L87 , which comes from https://github.com/paritytech/pipeline-scripts/blob/3ad10ddc0d985ef5326974a1143229c6429befab/check_dependent_project.sh#L443
2022-06-20 12:18:06 +00:00
Bastian Köcher
4e3ccd56e2
Companion: Bump syn ( #1388 )
...
* Companion: Bump syn
* Update Substrate & Polkadot
2022-06-20 11:55:31 +00:00
Bastian Köcher
afd8fc5dee
Companion: Bump syn ( #5701 )
...
* Companion: Bump syn
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-20 11:09:06 +00:00
Bastian Köcher
94976af3d5
Update syn and fix compilation ( #11707 )
...
* Update syn and fix compilation
* Bump pin-project
2022-06-20 09:53:41 +00:00
dependabot[bot]
19ce14c1ff
Bump twox-hash from 1.6.2 to 1.6.3 ( #11423 )
...
Bumps [twox-hash](https://github.com/shepmaster/twox-hash ) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/shepmaster/twox-hash/releases )
- [Commits](https://github.com/shepmaster/twox-hash/compare/v1.6.2...v1.6.3 )
---
updated-dependencies:
- dependency-name: twox-hash
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-19 21:01:38 +02:00
Bastian Köcher
ef56c17a5e
storage-alias: Check that prefix is not an underscore (#11704 )
...
Besides that it also adds some UI tests.
2022-06-19 19:56:36 +02:00
Zhenghao Lu
eba0396182
Simplified code using existing APIs ( #11702 )
...
Signed-off-by: Emison Lu <lzh1633856298@gmail.com >
2022-06-18 23:56:48 +00:00
yjh
440a6db939
chore: reduce uxt encode times ( #11698 )
...
* chore: reduce uxt encode times
* fmt
2022-06-19 00:43:11 +02:00
dependabot[bot]
1ce193e11b
Bump hyper from 0.14.18 to 0.14.19 ( #5607 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.18 to 0.14.19.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.18...v0.14.19 )
---
updated-dependencies:
- dependency-name: hyper
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-18 23:49:11 +02:00
Qinxuan Chen
1200ccefa3
Remove futures compat feature ( #1386 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-06-18 23:30:07 +02:00
Squirrel
39a5f24477
NonTransfer should be a superset of collator selection ( #1385 )
...
* This should ideally be set.
* Not convinced guard order is always guarenteed.
* assets / uniques should not be included.
* correction
2022-06-18 14:06:52 +00:00
Qinxuan Chen
6c1c27c1ff
Remove futures 0.1 ( #5699 )
...
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-06-18 14:01:33 +00:00
Qinxuan Chen
ad6fe6d191
Move ExportGenesisStateCommand and ExportGenesisWasmCommand to cumulus-client-cli ( #1325 )
...
* Move ExportGenesisStateCommand and ExportGenesisWasmCommand to cumulus-client-cli
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Remove useless
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Use shared_params.chain
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-06-18 15:33:52 +02:00
Mara Robin B
4d8fdf2e68
remove stale migrations ( #5694 )
...
* polkadot: remove stale migrations
* kusama: remove stale migrations
2022-06-17 22:19:01 +00:00
yjh
3f549bad6c
chore: reducing codec times ( #11688 )
2022-06-18 00:14:50 +02:00
Alexander Theißen
3e67ab361c
Remove redundant binary specification ( #1303 )
...
* Remove redundant binary specification
* Update polkadot-launch config
Co-authored-by: joepetrowski <joe@parity.io >
2022-06-17 19:32:39 +00:00
dependabot[bot]
aab44db13a
Bump indexmap from 1.8.1 to 1.9.0 ( #5689 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.8.1...1.9.0 )
---
updated-dependencies:
- dependency-name: indexmap
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-17 17:06:31 +02:00
dependabot[bot]
48b8b1734c
Bump clap from 3.1.18 to 3.2.2 ( #1370 )
...
* Bump clap from 3.1.18 to 3.2.2
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.18 to 3.2.2.
- [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.18...v3.2.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Bump clap to 3.2.5 and fix warnings
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
2022-06-17 15:05:44 +00:00
Squirrel
3b676154af
Split chain_spec to individual chain families ( #1347 )
...
* Split chain_spec to individual chain families.
* cargo fmt
* Replace ifs with match
* Runtime::Generic variant avoiding Option
2022-06-17 14:47:21 +00:00
Sebastian Kunert
6a6490a699
Disable beefy for inprocess relay chain node ( #1382 )
...
* Disable beefy for inprocess relay chain node
* Update client/relay-chain-inprocess-interface/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-06-17 14:27:01 +00:00
Roman
1988c4ac1d
Upgrade to libp2p 0.45.1 ( #11682 )
...
* Upgrade to libp2p 0.45.1
* Limit max_negotiating_inbound_streams to 512
* Upgrade prost-build to 0.10
* Set max_negotiating_inbound_streams to 2048
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
* Fix authority discovery protobuf
* Fix comments in authority-discovery schema
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
* Add a comment about transport initialization
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com >
2022-06-17 13:47:14 +00:00
dependabot[bot]
04b74f812b
Bump thread_local from 1.1.3 to 1.1.4 ( #1380 )
...
Bumps [thread_local](https://github.com/Amanieu/thread_local-rs ) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/Amanieu/thread_local-rs/releases )
- [Commits](https://github.com/Amanieu/thread_local-rs/compare/v1.1.3...1.1.4 )
---
updated-dependencies:
- dependency-name: thread_local
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-17 14:28:18 +02:00
Jun Jiang
e9bc703cae
Add upstream new args ( #1379 )
2022-06-17 11:40:23 +00:00
Boluwatife Bakre
0108d216d2
Remove multiply_by_rational ( #11598 )
...
* Removed multiply_by_rational
Replaced with multiply_by_rational_with_rounding
* fixes
* Test Fixes
* nightly fmt
* Test Fix
* Fixed fuzzer.
2022-06-17 03:57:29 +00:00
Robert Klotzner
1dc991374b
Get rid of unnecessary clone. ( #5685 )
2022-06-16 19:15:20 +00:00
joe petrowski
e58032e2e0
Remove Kusama Nomination Pools Init ( #5605 )
...
* remove kusama nomination pools init
* remove OnRuntimeUpgrade import
* remove stale migrations from westend
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-06-16 17:53:13 +00:00
Keith Yeung
d577099011
Companion for paritytech/substrate#11631 ( #1363 )
2022-06-16 17:36:19 +00:00
Keith Yeung
2c85668512
Companion for paritytech/substrate#11631 ( #5671 )
...
* Companion for paritytech/substrate#11631
* Fixes
* Update sp-runtime
* Fixes
* update lockfile for {"substrate"}
* remove unused
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-06-16 13:36:01 -04:00
Gavin Wood
c47431118b
MEL: Origin, Referenda, ConvictionVoting ( #11631 )
...
* Referenda & CV pallets ready
* Fix build
* Add mel_bound for Voting and Casting types
* Add mel_bound on Tally
* Add mel_bound on another Tally
* Add mel_bound for pallet_collective::RawOrigin
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-06-16 16:13:17 +00:00
Keith Yeung
2dfc7cec47
Allow relay chain council to send XCMs ( #5597 )
...
* Allow relay chain council to send XCMs
* Update runtime/kusama/src/xcm_config.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* spellcheck
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: joepetrowski <joe@parity.io >
2022-06-16 13:37:49 +00:00
Koute
849a6c35fd
Remove without_storage_info for the authorship pallet ( #11610 )
...
* Remove `without_storage_info` for the authorship pallet
* Tweak impl bounds style
* Use `defensive_proof` instead of `expect`
2022-06-16 11:48:05 +00:00
ZhiYong
7319a16ec8
Companion for substrate#11618 ( #1367 )
...
* Companion for substrate#11618
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2022-06-16 02:43:16 +00:00
ZhiYong
a3125b9f47
Companion for substrate#11618 ( #5677 )
...
* Companion for substrate#11618
* Fix
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-16 02:05:22 +00:00
ZhiYong
e252c274c1
Add Event to Pallet Transaction Payment ( #11618 )
...
* add Event to Pallet Transaction Payment
* Fix tests in Pallet Balance
* Fix tests in Pallet Balance/Executive/Asset-tx-payment.
* Fix
* fmt
* Fix
* Fix
* Update Cargo.lock
* Fix tests in executor
* Update frame/transaction-payment/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* update the name of the event and fmt.
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2022-06-16 01:30:49 +00:00
Georges
2ba1c54fc7
Companion to combine iteratons and tolerance in sp-npos-elections API #11498 ( #5581 )
...
* Fixing staking miner
* cargo update -p sp-io
* fix spell
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-06-15 20:57:26 -04:00
Georges
b71e180446
combine iteratons and tolerance in sp-npos-elections API ( #11498 )
...
* Initial implementation of mms
* Some more attempts at `mms`
* Functioning `MMS` algorithm implementation.
Adding some tests too
* More tests and typos fixed.
* Adding fuzzer for `mms`
(but could not test it on Mac M1)
* Missing imports
* Fixing rustdoc
* More accurate implementation of `mms`
* Removing the fuzzer `mms` implementation
* Implementing `NposSolver` for `MMS`
had to add the `Clone` trait, maybe I could see if I can get rid of it.
* Fixing rust docs by adding () to resolve ambiguity
* Amending `unwrap` to `expect`
removing unneeded `Clone` trait
* Removing redundant `mms3.rs`
* Implementing `BalancingConfig` and rustdoc changes
* Implementing `weight` for `MMS`
* Implementing `weight` for `MMS`
* Fixing post merge
* Initial implementation of mms
* Some more attempts at `mms`
* Functioning `MMS` algorithm implementation.
Adding some tests too
* More tests and typos fixed.
* Adding fuzzer for `mms`
(but could not test it on Mac M1)
* Missing imports
* Fixing rustdoc
* More accurate implementation of `mms`
* Removing the fuzzer `mms` implementation
* Implementing `NposSolver` for `MMS`
had to add the `Clone` trait, maybe I could see if I can get rid of it.
* Amending `unwrap` to `expect`
removing unneeded `Clone` trait
* Fixing rust docs by adding () to resolve ambiguity
* Removing redundant `mms3.rs`
* Implementing `BalancingConfig` and rustdoc changes
* Implementing `weight` for `MMS`
* Implementing `weight` for `MMS`
* Fixing post merge
* Removing left over from rebase
* Fixing tests
* Removing unneeded import
* Removing unneeded functions
* Removing useless imports
Co-authored-by: kianenigma <kian@parity.io >
2022-06-15 23:30:22 +00:00
Sebastian Kunert
2248d19163
Remove without_storage_info from pallet transaction-storage ( #11668 )
...
* Introduce BoundedVec
* Fix typos
* Add comments to the bounds
* Remove migration
* Improve bound value access syntax
2022-06-15 21:12:26 +00:00
Keith Yeung
dd71ee0334
Bounded ping pallet ( #1333 )
...
* Bounded ping pallet
* cargo fmt
2022-06-15 20:58:52 +00:00
Niklas Adolfsson
21b0d92d31
companion #11661 ( #1364 )
...
* bump jsonrpsee v0.14.0
* update Cargo.lock
2022-06-14 22:33:42 +00:00
Niklas Adolfsson
77f4cab60c
Companion for #11661 ( #5676 )
...
* bump jsonrpsee v0.14.0
* update Cargo.lock
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-14 23:48:31 +02:00
Bastian Köcher
c013f0d6c1
Include the chain specs instead of trying to open them by path ( #11625 )
...
This makes it possible to run the tests manually, without them expecting to be run in a special
folder etc.
2022-06-14 23:22:16 +02:00
dependabot[bot]
337223352b
Bump toml from 0.5.8 to 0.5.9 ( #1357 )
...
Bumps [toml](https://github.com/alexcrichton/toml-rs ) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases )
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.8...0.5.9 )
---
updated-dependencies:
- dependency-name: toml
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-14 23:21:28 +02:00