EgorPopelyaev
261e4397a0
Update polkadot dependencies
2023-03-22 15:07:14 +01:00
Vivek Pandya
bf223aa340
Remove use of trait Store ( #2286 )
...
* Remove use of Store trait from xcmp-queue pallet
* Remove Store trait usage from dmp-queue pallet
* Remove Store trait usage from parachain-system pallet
* Remove use of Store trait from cumulus
* Run cargo fmt
2023-03-13 22:30:20 +01:00
Oliver Tale-Yazdi
558502345f
Migrate to Weight::from_parts ( #2245 )
...
* Migrate to from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix remaining files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
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 >
* Use Master Cargo.lock
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-primitives
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 >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-03 12:47:23 +00:00
Oliver Tale-Yazdi
2e58b5fd60
Co #13301 : Rename pallet-random-collective-flip ( #2159 )
...
* Rename pallet random-collective-flip
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo update -p polkadot-runtime-common
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 >
* cargo update -p polkadot-runtime-common
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 >
* Try to fix features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-02-07 17:41:19 +00:00
Gavin Wood
3aae882437
XCM v3 Companion ( #697 )
...
* Fixes
* Undiener
* Undiener
* Undiener
* Lockfile
* Changes for send returning hash
* Include message ID as params to execute_xcm
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Companion fixes
* Formatting
* Fixes
* Formatting
* Bump
* Bump
* Fixes
* Formatting
* Make the price of UMP/XCMP message sending configurable
* cargo fmt
* Remove InvertLocation
* Formatting
* Use ConstantPrice from polkadot-runtime-common
* Fix naming
* cargo fmt
* Fixes
* Fixes
* Fixes
* Add CallDispatcher
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Remove unused import
* Remove unused import
* XCMv3 fixes (#1710 )
* Fixes XCMv3 related
Fixes XCMv3 (removed query_holding)
Fixes XCMv3 - should use _depositable_count?
Fixes XCMv3 - removed TrustedReserve
Fixes - missing weights for statemine/statemint/westmint
[DO-NOT-CHERRY-PICK] tmp return query_holding to aviod conficts to master
Fixes - missing functions for pallet_xcm_benchmarks::generic::Config
Fixes for XCMv3 benchmarking
Fix xcm - removed query_holding
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* Fix imports
* Avoid consuming XCM message for NotApplicable scenario (#1787 )
* Avoid consuming message for NotApplicable scenario
* Avoid consuming message for NotApplicable scenario tests
* Add 10 message processing limit to DMP queue
* Add 10 message limit to XCMP queue
* Always increment the message_processed count whenever a message is processed
* Fix formatting
* Set an upper limit to the overweight message DMP queue
* Add upper limit to XCMP overweight message queue
* Fix for missing weight for `fn unpaid_execution()`
* Fix - usage of `messages_processed`
* Fixes
* Fixes
* Fixes
* cargo fmt
* Fixes
* Fixes
* Fixes
* Fixes
* Remove unused import
* Fixes for gav-xcm-v3 (#1835 )
* Fix for FungiblesAdapter - trait changes: Contains -> AssetChecking
* Fix for missing weight for `fn unpaid_execution()`
* Used NonLocalMint for all NonZeroIssuance
* Fix
* Fixes
* Fixes
* Fixes
* Fixes
* Fixes
* Fix tests
* Fixes
* Add SafeCallFilter
* Add missing config items
* Add TODO
* Use () as the PriceForParentDelivery
* Fixes
* Fixes
* Fixes
* Fixes
* Update transact_origin to transact_origin_and_runtime_call
* Add ReachableDest config item to XCM pallet
* Update SafeCallFilter to allow remark_with_event in runtime benchmarks
* cargo fmt
* Update substrate
* Fix worst_case_holding
* Fix DMQ queue unit tests
* Remove unused label
* cargo fmt
* Actually process incoming XCMs
* Fixes
* Fixes
* Fixes
* Fixes - return back Weightless
* Added measured benchmarks for `pallet_xcm` (#1968 )
* Fix
Fix
Fix
* Fix
* Fixes for transact benchmark
* Fixes add pallet_xcm to benchmarks
* Revert remark_with_event
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* Fixes
* TMP
* Fix for reserve_asset_deposited
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm
* Fix
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm
* Fix
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm
* Fix westmint
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* Fix
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm
* Fix for collectives
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm
* Fixes for bridge-hubs
* Fixes - return back Weightless
* Fix - removed MigrateToTrackInactive for contracts-rococo
Co-authored-by: command-bot <>
* cargo fmt
* Fix benchmarks
* Bko gav xcm v3 (#1993 )
* Fix
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm
Co-authored-by: command-bot <>
* Change AllowUnpaidExecutionFrom to be explicit
* xcm-v3 benchmarks, weights, fixes for bridge-hubs (#2035 )
* Dumy weights to get compile
* Change UniversalLocation according to https://github.com/paritytech/polkadot/pull/4097 (Location Inversion Removed)
* Fix bridge-hubs weights
* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet collectives-polkadot collectives pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_xcm
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-kusama bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" pallet bridge-hub-rococo bridge-hubs pallet_xcm
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::fungible
* ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic
* Change NetworkId to Option<NetworkId>
Co-authored-by: command-bot <>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
* Add event for showing the hash of an UMP sent message (#1228 )
* Add UpwardMessageSent event in parachain-system
* additional fixes
* Message Id
* Fix errors from merge
* fmt
* more fmt
* Remove todo
* more formatting
* Fixes
* Fixes
* Fixes
* Fixes
* Allow explicit unpaid executions from the relay chains for system parachains (#2060 )
* Allow explicit unpaid executions from the relay chains for system parachains
* Put origin-filtering barriers into WithComputedOrigin
* Use ConstU32<8>
* Small nits
* formatting
* cargo fmt
* Allow receiving XCMs from any relay chain plurality
* Fixes
* update lockfile for {"polkadot", "substrate"}
* Update polkadot
* Add runtime-benchmarks feature
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: girazoki <gorka.irazoki@gmail.com >
Co-authored-by: parity-processbot <>
2023-01-17 09:26:34 +00:00
Squirrel
29175bb984
Expect less chaos: use explicit call indices ( #1984 )
...
* Expect less chaos: set call index explicitly.
* mark test pallet as dev mode so explicit call indicies are not required.
* Fix 'dev_mode' syntax
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-12-20 12:04:56 +00:00
dependabot[bot]
8cec35ccc8
Bump scale-info from 2.3.0 to 2.3.1 ( #1978 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.3.0 to 2.3.1.
- [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/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: scale-info
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-12-16 09:50:50 +01:00
Keith Yeung
f3847ead3c
Companion for paritytech/substrate#12868 ( #1970 )
...
* Replace WEIGHT_PER_* with WEIGHT_REF_TIME_PER_*
* Fixes
* Fixes
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-12-08 17:36:30 +00:00
dependabot[bot]
4b869cac55
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
Keith Yeung
b566f3b303
Fix a few migration issues with 2D weights ( #1755 )
...
* Give a max proof size to DMP individual weight processing during migration
* Fix a few migration issues with 2D weights
* Update substrate
* Fixes
* cargo fmt
* Re-add v1 migration
* Set DEFAULT_POV_SIZE to 64 KB
* Use Weight::from_parts
* Update Polkadot
* Fixes
2022-10-24 15:03:02 +00:00
Keith Yeung
882a892b60
Migrate Weights properly to v2 ( #1722 )
...
* Migrate Weights properly to v2
* Add missing on_runtime_upgrade implementation
* Fix benchmarks
* Apply suggestions from code review
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo fmt
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-10-11 16:36:03 +00:00
Sergej Sakac
14186393b2
Rename Origin ( #1628 )
...
* Rename Origin
* more renaming
* fixes
* fix errors
* last fix?
* rename
* Update mock.rs
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-09-20 23:17:31 +00:00
dependabot[bot]
1df48c70db
Bump scale-info from 2.1.2 to 2.2.0 ( #1627 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.2 to 2.2.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 )
---
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-09-16 22:52:51 +02:00
Sergej Sakac
b43bc58cb6
Companion for #11981 ( #1563 )
...
* Companion for #11981
* rename
* Event to RuntimeEvent in imports
* missed rename
* undo
* revert
* rename type Call & Event
* commit
* ...
* fix
* fix errors
* fixes
* fmt
* fix imports
* final fix?
* fmt
* fix?
* fixes after merge
* small fix
* cargo update -p polkadot-runtime-common
* cargo +nightly fmt
* update lockfile for {"polkadot", "substrate"}
* fix
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-09-12 23:55:33 +00:00
Keith Yeung
6c27ce26f1
Companion for paritytech/substrate#12183 ( #1601 )
...
* Companion for paritytech/substrate#12183
* Fixes
* Update pallets/xcmp-queue/src/lib.rs
* Update pallets/xcmp-queue/src/lib.rs
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-09-08 05:29:53 +00:00
Keith Yeung
4a7a2a85b2
Companion for paritytech/substrate#12157 ( #1590 )
...
* Remove RefTimeWeight
* [ci] Apply cargo-fmt
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: parity-processbot <>
2022-09-02 19:36:55 +00:00
Shawn Tabrizi
9faf9b1e4f
Companion for Weight v1.5 Follow Up ( #1584 )
...
* fixes
* oopsie
* [ci] Apply cargo-fmt
* fixes
* [ci] Apply cargo-fmt
* fixes
* fix cumulus template
* fix merge
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: paritytech-ci <paritytech-ci@parity.io >
Co-authored-by: parity-processbot <>
2022-09-01 19:25:05 +00:00
Muharem Ismailov
8679e42068
Update Cumulus to Latest Substrate and Polkadot Master ( #1551 )
...
* proposal provider impl for proposals func
* rustfmt
* impl proposals_count fn
* update lockfile for {"substrate", "polkadot"}
* cargo update pallet-alliance
* cargo update deps
* fix for https://github.com/paritytech/substrate/commit/324a18e3c5cbf333672c54f9367f530ea976928d
* update lockfile for {"substrate", "polkadot"}
* fix try runtime feature flags
* update log target
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-09-01 17:20:08 +00:00
Shawn Tabrizi
3fb9c8a7be
Companion for Weight v1.5 ( #1581 )
...
* cargo test -p cumulus-primitives-utility
* cargo test -p cumulus-pallet-xcmp-queue
* cargo test -p cumulus-pallet-xcm
* cargo test -p cumulus-pallet-dmp-queue
* cargo test -p pallet-template
* cargo test -p cumulus-test-runtime
* fix weights
* fix more weights
* cargo test -p parachains-common
* cargo test -p parachain-template-runtime
* fix weights import
* cargo test -p collectives-polkadot-runtime
* cargo test -p contracts-rococo-runtime
* more
* unused
* fixes
* Update benchmarking.rs
* Update lib.rs
* Update lib.rs
* fix
* fix bug in conversion
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2022-08-31 12:24:42 +00:00
girazoki
17ca448df5
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
Bastian Köcher
8befd605b6
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]
7decc59334
Bump log from 0.4.16 to 0.4.17 ( #1235 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.16 to 0.4.17.
- [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/0.4.17 )
---
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-05-04 02:19:08 +02:00
dependabot[bot]
3b0f145934
Bump scale-info from 2.1.0 to 2.1.1 ( #1171 )
...
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.0 to 2.1.1.
- [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/compare/v2.1.0...v2.1.1 )
---
updated-dependencies:
- dependency-name: scale-info
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-14 10:21:04 +02:00
Doordashcon
e1963ef070
Log XCMP Queue Errors ( #1147 )
...
* test invalid xcmp data
* proper messaging
* cargo fmt
* Use `error` instead of `info`
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-04-12 22:39:17 +02:00
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
3cbd4279fa
xcmp-queue / less indexing ( #1100 )
...
* less indexing
* removed unneeded clone
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
2022-03-22 20:56:58 +00:00
Squirrel
2db0a69f66
express intent better ( #1099 )
2022-03-21 14:47:47 +00:00
Robert Habermeier
8eee3c37c4
Companion for primitives consolidation into v2 ( #1071 )
...
* branches
* update all primitives references
* fmt
* Update Polkadot & Substrate
* Again
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-03-10 09:33:05 +00:00
Doordashcon
c543f9d980
Add benchmarks for Xcmp QueueConfigData setters ( #982 )
...
* add benchmarks for xcmp queue config data setters
* add new benchmarks
* cargo fmt
* added newline
* Additional weights for dmp queue for westmint
* include new weights
* Adding WeightInfo trait and friends
* WeightInfo should be on xcmp rather than dmp pallet
* cargo fmt
* update scripts
* mock weightinfo
* cargo fmt
* canvas kusama is substrate weight
* weights from bm2
* expanding to other similar config functions
* updated weights from bm2
* Revert "updated weights from bm2"
This reverts commit b1702780982c278b44f572c2089b1d7ddc564d76.
* Consolidation to one benchmark
* reran weights
* Update pallets/xcmp-queue/src/lib.rs
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
* integrating review feedback
* rerun weights
* Add DispatchClass::Operational
Co-authored-by: Squirrel <gilescope@gmail.com >
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
2022-03-07 11:47:24 +00:00
Dan Shields
65454fbf96
Update Cumulus to common Cargo formmating scheme ( #1050 )
...
* Update throughout with common Cargo formating scheme
2022-03-02 00:07:29 -07: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
Doordashcon
7d48c42b56
Add Setter for XCMP QueueConfigData ( #931 )
...
* add QueueConfigData setter
* update weights
* syntax change
* add test case
* fix Result error
* cargo fmt
* Apply suggestions from code review
Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com >
* update
* one call per set
* cargo fmt
* cargo fmt
* mutate method
* cargo fmt
Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com >
2022-02-05 11:47:31 +00:00
Keith Yeung
77491879cd
Add the ability to suspend or resume XCM execution on the XCMP queue ( #896 )
...
* Add the ability to suspend or resume XCM execution on the XCMP queue
* Rename QueueActive to QueueSuspended
* Add the ability to suspend the DMP queue
* Rename XCMP to DMP in comments where appropriate
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Add a bypass for XCMP queue suspension
* Revert "Add the ability to suspend the DMP queue"
This reverts commit 363ca09b41e40fce3f2740e7ab78f5c54781ca5c.
* Change controller origin to either root or council-issued origin
* Rename to ControllerOriginConverter
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2022-01-31 12:12:09 +00:00
Keith Yeung
9c977d66a3
Companion for paritytech/polkadot#4712 ( #901 )
...
* Rename ParentIsDefault to ParentIsAllZeroes
* Fixes
* Create ParentAccounts for respective networks
* Fixes
* Use b"Parent" as the basis for generating parent AccountId
* Fixes
* Use preset parent account ID
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
2022-01-21 11:40:27 +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
Bastian Köcher
4cc1223622
xcmp-queue: Fix handling of encoded blobs ( #889 )
...
* xcmp-queue: Fix handling of encoded blobs
With #701 we tried to fix some infinite loop related to encoded blobs, however that lead actually to
not being able to process encoded blobs at all. The reason for this is that `decode_all` doesn't
consume the given input. The point of this function is that it returns an error if the data couldn't
be decoded or there is still data left. However, this means that the check
`remaining_fragments.len() < last_remaining_fragments.len()` would always fail.
We remove the while loop, because we decode the entire fragment anyway or it fails. Aka, we don't
need to loop here. Next we remove the broken check and we directly reset the
`remaining_fragments` (because `decode_all` doesn't consume anything).
* Restore correct behavior
We need to use a while loop, because there can be multiple `Vec<u8>`s. We also need to use `decode`,
because `decode_all` would otherwise return an error if the input is not empty afterwards.
* Remove unused import
2022-01-19 16:57:03 +01:00
Ignacio Palacios
60c3ccfd62
Add set custom header to Seedling Runtime ( #846 )
...
* before adding seedling client side
* seedling runtime compiles
* create seedling spec script added
* seedling node & BaseCallFilter fixes
* update AllPalets
* formatting
* CallFilter + SignedExtra + AccountData fix
* XCM removed
* cleanup
* solo-to-para pallet added & before testing
* fix runtime upgrade method
* soloToPara pallet + set header
* clean up
* clean up 2
* signed extension check sudo added
* fmt + cleanup
* Refac code and fixes
* fmt
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* small fixes
* OnValidationData used
* small changes
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update pallets/solo-to-para/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* OnValidationData replaced by OnSystemEvent
* fmt + cargo fix
* disable-default-bootnodes for seedling script
Co-authored-by: Ricardo Rius <ricardo@parity.io >
Co-authored-by: Ricardo Rius <9488369+riusricardo@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-01-14 14:21:10 +01:00
Bastian Köcher
2a8c07bf0b
Update to latest Polkadot & Substrate ( #850 )
...
* Update to latest Polkadot & Substrate
* More fixes
2021-12-10 12:08:41 +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
Keith Yeung
b5a7ab4d12
Support overweight messages in XCMP queue ( #799 )
...
* Support overweight messages in XCMP queue
* Add storage migration logic to XCMP queue pallet
* Check whether required weight is larger than max individual weight first
* cargo fmt
* Add some unit tests
* Remove review question comment
2021-12-08 18:07:08 -08:00
Keith Yeung
ca81203b83
Refactor some types in XCMP queue ( #813 )
...
* Rename InboundXcmpStatus and its related types
* Rename OutboundXcmpStatus and its relevant types
* Add documentation to the newly created types
* Ensure storage prefixes are kept the same
* Add code comments
* Revert storage name changes
* typo fix
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2021-12-02 00:24:04 +00:00
zjb0807
94988af02f
use double quotes instead of single quotes ( #815 )
2021-12-01 03:00:11 +00:00
Chevdor
8cc008b6a9
CI: Release start ( #788 )
...
* Initial version
* Fix branch pattern
* Fix template
* Update .github/ISSUE_TEMPLATE/release.md
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update .github/ISSUE_TEMPLATE/release.md
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Rebase master and fmt
* Swap out Polkadot JS section for integration tests + remove tags
* remove tags
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
2021-11-24 18:15:43 +01:00
Gavin Wood
5df273eea8
Fix use of weight limit errors ( #791 )
2021-11-24 13:26:45 +01:00
Bastian Köcher
d85a3a937f
Update Substrate & Polkadot ( #770 )
...
* Update Substrate & Polkadot
* Disable tests without debug assertions
2021-11-19 23:46:14 +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
Gavin Wood
0793aa8937
Ensure a bad datastream cannot cause problems ( #701 )
...
* Ensure a bad datastream cannot cause problems
* Formatting
* Formatting
2021-10-27 13:40:24 +02:00
Bastian Köcher
0fad3ae44c
Same procedure as not every day ( #636 )
...
* Same procedure as not every day
* Remove warning
* Update
2021-10-01 13:23:56 +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