dependabot[bot]
476c3bf688
Bump scale-info from 2.0.1 to 2.1.0 ( #1165 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.0.1 to 2.1.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.1.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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 09:43:02 +02:00
dependabot[bot]
2fe7a2edba
Bump log from 0.4.14 to 0.4.16 ( #1107 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits )
---
updated-dependencies:
- dependency-name: log
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-03-23 00:17:49 +01:00
Squirrel
4322e064ea
collator-selection pallet tidy ( #1093 )
...
* One less collect + clippy suggestions.
* No need to index into collection
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-03-16 19:10:41 +00:00
Kai
ac074d7230
Fix panic in pallet-collator-selection benchmarking ( #1061 )
...
* register validators in set_invulnerables benchmarking
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-03-02 09:24:36 +00:00
wigy
6af1dd5f6f
Companion to "Updating scale to v3" ( #1013 )
...
* Updating dependencies
* Adapting code to scale v3
* cargo fmt
* Fix compilation
* Update Cargo.lock
* TIL exists
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-02-25 13:40:24 +00:00
Keith Yeung
e141b72ec7
Update rand to v0.8.5 ( #987 )
...
* Update rand to v0.8.5
* Enable std_rng feature on rand
* Enable std_rng only when std is enabled
* Revert "Enable std_rng only when std is enabled"
This reverts commit 8fb3b72dbd6dc18bc19868b999b5b07cea4b7392.
2022-02-14 23:14:05 +00:00
Bastian Köcher
1a7a452795
CI: Check that rustdocs can be generated ( #972 )
2022-02-09 13:24:42 +01:00
omadoyeabraham
b2f663475f
Ensure invulnerables have associated validator keys before they are set ( #812 )
...
* Added check to ensure invulnerables have associated validator keys before they are set
* Added check to ensure invulnerables have associated validator keys before they are set
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Added test for associated validators when setting invulnerables
* FMT
Co-authored-by: Omadoye Abraham <abraham.o@turing.com >
Co-authored-by: Ricardo Rius <9488369+riusricardo@users.noreply.github.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-02-07 16:42:37 +00:00
Oliver Tale-Yazdi
b5c8fcbae6
co #4746 : Require MaxEncodedLen per default ( #917 )
...
* Add `without_storage_info`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add `without_storage_info`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add `without_storage_info`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add `without_storage_info`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* update lockfile for {"polkadot"}
* Run `cargo update -p sp-io`
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
2022-01-20 13:51:37 +00:00
Squirrel
1aa820a483
Add collator selection tool tips ( #900 )
...
* First doc lines should show as tool tips
* Update pallets/collator-selection/src/lib.rs
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
* moving comment onto storage
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
2022-01-19 17:42:09 +01:00
Keith Yeung
1856c5df34
Update serde to 1.0.132 ( #871 )
2021-12-21 09:15:50 +01:00
Gavin Wood
ccf1811432
Companion for #10403 : Remove Default for AccountId ( #842 )
...
* author is Some
* Bump
* Lockfile
* Fixes
* Fixes
* Fixes
* Fixes
* Bump
* Update Cargo.lock
* bump substrate and polkadot
* fmt
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-14 09:07:51 +00:00
Keith Yeung
1a71d006a7
Update serde to 1.0.131 ( #853 )
2021-12-11 14:10:51 +01:00
Gavin Wood
a4b3b378eb
Companion for #10382 (Insufficient asset quotes and deposits) ( #804 )
...
* MaxConsumers
* Fixes
* Fixes
* Fixes
* Fixes
* Bump
* Fixes
* Fixes
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-09 17:24:32 +01:00
Kian Paimani
e70f7fd016
Integrate try-runtime into cumulus ( #793 )
...
* almost integrate
* revert branch changes
* remove extra deps
* some review comments'
* Fix a bunch of stuff
* Update parachain-template/node/Cargo.toml
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Fix
* Fix
* fix benchmark
* fmt
* Remove wrong bench test
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2021-12-02 14:00:54 +01:00
zjb0807
94988af02f
use double quotes instead of single quotes ( #815 )
2021-12-01 03:00:11 +00:00
Guillaume Thiolliere
6bcafd40ce
companion for pallet order fix ( #711 )
...
* companion
* Run cargo update
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2021-12-01 01:51:58 +00:00
zjb0807
d246858d17
Companion for #10324 - update frame-benchmarking/runtime-benchmarks ( #802 )
...
* update frame-benchmarking/runtime-benchmarks
* cargo update
* add more feature flags
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-11-30 21:47:09 +01:00
Dan Shields
ec401ce1d0
move to rust 2021 ( #759 )
...
* move to rust 2021
* fix formatting, more moves
2021-11-16 15:12:06 +01:00
Dan Shields
496fab27b5
Tweaks from template downstream review #80 ( #705 )
...
* tweaks from template downstream review #80
* more tweaks
* Update parachain-template/node/src/command.rs
* tweaks to template and other chainspecs
* fmt
* update more tweaks from downstream
* fix build
2021-11-11 19:20:39 +00:00
Alexander Popiak
e304662f04
Upstream Statemine Release v5 Changes to Master ( #720 )
...
* Update references
* update deps
* set substrate deps for pallet-asset-tx-payment
* add DisabledValidatorsThreshold to parachain template
* add DisabledValidatorsThreshold to statemint runtimes
* adjust imports
* update Cargo-lock
* add DisabledValidatorsThreshold to mock config
* cargo +nightly fmt
* adjust on_disabled type
* remove on_chain_votes function in ParachainHost impl
* remove ScrapedOnChainVotes
* bump polkadot-collator version
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* update Cargo.lock
* set spec_versions to 500
* Statemine cannot execute.
* disallow XCM execute on statemint
* cargo fmt
* remove unnecessary dep on node-primitives
* select parachains-common/std feature when building rococo-runtime with std
* adjust Statemint to the three digit spec_version format
* Add script to generate simple changelogs (#668 )
* Update weights from v4 for v5 comparison (#673 )
* updates weights
* pallet_unique benchmarks added + weights upstream from v4
* Fix benchmarks after Parachain Template (#677 )
* updates weights
* pallet_unique benchmarks added + weights upstream from v4
* benchmarks fix for parachain template
* Weights updates for Statemine v5 (#682 )
* updates weights
* pallet_unique benchmarks added + weights upstream from v4
* weights updates for statemine v5
* mention Storage in construct_runtime macro for pallet-xcm (#680 )
* Use pallet-xcm for version wrapping (#689 )
* use PolkadotXcm for XcmRouter WrapVersion
* use PolkadotXcm for version wrapping
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
* patch weight for batch_all from rerun
* Runtime version bump to v503 (#694 )
* adjust genesis value generation scripts to output entries array + add script to derive encoded call
* add script to generate shell spec from runtime wasm
* Ensure a bad datastream cannot cause problems (#701 )
* Ensure a bad datastream cannot cause problems
* Formatting
* Formatting
* update Polkadot (to 0.9.11 169bab55d)
* bump spec versions
* Allow Queries and Subscriptions
Fixes
Formatting
* fix build
* make fmt happy
* statemint imports
* slight naming changes in script
* add shell genesis data + wasm + chainspec
* adjust generated shell spec with production config values
* update Substrate and Polkadot to master
* fix deps
* swap out bootnodes for statemint shell
* add a script for verifying the shell chain spec
* add sha checksum for head data
* remove verification script
* remove hex wasm file
* update Substrate and Polkadot again and fix compilation
* update and fix lock file
* formatting
* remove redundant dispatch_as weight
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: Gav Wood <gavin@parity.io >
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
Co-authored-by: joepetrowski <joe@parity.io >
2021-11-08 15:52:47 +01:00
Alexander Popiak
a1a9e7e64d
remove session benchmark todo ( #665 )
2021-10-15 12:06:03 +02:00
Dan Shields
308c8f6fc3
move to substrate.io ( #658 )
...
Co-authored-by: Dan Shields <danwshields@gmail.com >
2021-10-14 09:56:03 +02:00
Alexander Popiak
eff56f60f3
Upstream Statemine v4 Changes ( #649 )
...
* bump runtime spec version
* remove applied runtime migrations
* bump transaction_version
necessary because of extrinsic API changes to pallet-xcm
https://github.com/paritytech/polkadot/pull/3693
* Fix Benchmarks for Statemine-V4 release (#639 )
* register validators
* register_as_candidate & leave_intent fixed
* new_session benchmark fixed
* intent_leave_modified
* clean up
* clean up
* benchmark script updated
* update cargo.lock
* done
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Version bump (#648 )
* Version bump
fix #646
* Revert "Version bump"
This reverts commit 07517e0e76a37a1dd67176fec0524d0211666635.
* Bump polkadot-collator version
* Update polkadot-parachains/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update deps
* Bump version to 4.0.0
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* cargo toml fix
* update deps and remove DisabledValidatorThreshold
* cargo +nightly fmt
* fix compile error
* fix client tests after Polkadot update
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-10-11 10:27:49 +02:00
Keith Yeung
1aab3349cc
Use DecodeLimit for decoding XCM messages ( #605 )
...
* Use DecodeLimit for decoding XCM messages
* Use decode_all_with_depth_limit in appropriate places
* Use decode_all while decoding byte vector
* cargo fmt
2021-09-19 15:29:34 +03:00
Chevdor
1dd000a011
ci: add quick-check with rustfmt ( #615 )
...
* ci: add quick-check with clippy and rustfmt
* chore: rustfmt round
* chore: set the same rustfmt config than substrate
* chore: fix formatting
* cI: remove clippy
* ci: switch to nightly for the checks
* ci: fix toolchains and naming
* ci: Limit the check to formatting
* chore: fix formatting
* Update .rustfmt.toml
* Update .rustfmt.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-09-16 16:57:52 +02:00
Andrew Jones
035a576008
Metadata v14 (companion to #3336 ) ( #564 )
...
* Remove event pallet::metadata attributes
* Add scale-info deps, TypeInfo derives, update call variants
* Update metadata runtime APIs
* Add missing scale_info dependency, update rococo runtime API
* Add missing scale_info dependency
* Remove pushed diener patches
* Cargo.lock
* Add missing scale-info dependencies
* Fixes
* Statemint runtime fixes
* Call struct variant empty matches
* Add missing scale-info dependency
* Fixes
* scale-info 1.0
* cargo update -p xcm
* update lock
* Update Cargo.lock
* update to latest polkadot
* remove rpc_http_threads
https://github.com/paritytech/substrate/pull/9737
* replace task executor with tokio handler
https://github.com/paritytech/substrate/pull/9737
* fix test compilation?
* Update Cargo.lock
* cargo update
* remove unused
* Update substrate and polkadot
* Update test/client/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-09-16 12:11:05 +02:00
Robert Habermeier
6c8f1f7b3c
bump deps, fix aura-ext pallet, and fill in stubs for XCM ( #600 )
...
* bump deps, fix aura-ext pallet, and fill in stubs for XCM
* response handler, asset trap, asset claims
* subscription_service
* update xcmp-queue mock
* fix tests
* Update polkadot deps
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-09-04 14:57:48 -05:00
Gavin Wood
b3c38f0926
Companion to #9514 (Remove Filter and use Contains instead) ( #566 )
...
* Remove Filter and use Contains instead
* Fixes
* Remove patch
* Bump Polkadot
* bump
2021-08-09 18:07:37 +02:00
Bastian Köcher
4f936689ef
Update Substrate & Polkadot ( #563 )
2021-08-05 20:53:32 +02:00
Bastian Köcher
594f2f4347
Update Substrate & Polkadot ( #540 )
2021-07-20 16:11:56 +02:00
zjb0807
0aa7880ffe
Fix CandidateRemoved event ( #503 )
2021-06-22 18:59:54 +02:00
JesseAbram
6c688ce9c2
min collator check ( #498 )
...
* min collator check
* change statemint/mine min candidates
* Ci pass
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Apply suggestions from code review
* build fixes
* add error messages to errors
* added validator register check
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-22 18:59:14 +02:00
Sergei Shulepov
fe21865d12
WIP: Update Substrate & Polkadot ( #496 )
...
* WIP: Update Substrate
* Update Substrate & Polkadot
* fixes
* more fixes
* few missing origins
* use spawn_essential_handle
* bump polkadot dep
* remove newlines
* fix test
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-17 09:37:03 +02:00
Xiliang Chen
33908c1414
update substrate & polkadot ( #472 )
...
* update substrate
* try again
2021-06-04 16:43:29 +02:00
Gavin Wood
9d9ed1bc84
Add Statemint ( #452 )
...
* Add Statemint
* Versioning.
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Benchmarking
* kick patch (paritytech/statemin#88 )
* Westmint Chain Spec (paritytech/statemint#90 )
* Tidy the common .toml
* Update weights
* add westmint sudo key comment
* Port consensus stuff
* fix typo
* fix typo ... again
* Recognise Westmint
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-06-01 21:31:03 +02:00