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
Branislav Kontur
9f09698a07
Removed unused deps with cargo machete ( #1680 )
...
* Removed unused deps with `cargo machete`
* Removed unused deps with `cargo machete` for parachain-template
2022-09-29 13:44:08 +02: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
Keith Yeung
1f2b85c87b
Companion for paritytech/substrate#12219 ( #1610 )
...
* Remove CanAuthorWith trait
CanAuthotWith trait removed. Also all dependencies, parameters, type
paramers were removed. This is related to removal of native runtime.
* Companion for paritytech/substrate#12219
* Fixes
* polkadot-runtime-common updated
cargo update -p polkadot-runtime-common
* warning fixed
* Update cid
* update lockfile for {"polkadot", "substrate"}
* Update substrate
* update lockfile for {"polkadot", "substrate"}
* Update polkadot
* Fix tests
* 🤦
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-09-14 07:59:03 +00: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
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
Squirrel
f9bc77c3c8
Use named events in cumulus pallets ( #1260 )
...
* Use named events
* For now standardise on message_id
* cargo fmt
* reverting xcm changes
* remove superfluous comments
* renaming
* updating benches
2022-05-23 08:23:27 +00: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
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
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
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
cheme
b9ba74892a
Companion for substrate#9732 ( #678 )
...
* state-update4 branch
* new ref
* Update to latest.
* update deps
* switch to host state version
* update
* fmt
* up
* remove trie patch
* remove patch
* fmt
* update
* set state_versions in runtimes
* state version from storage
* state version from storage
* seedling compat
* restore lock
* update lockfile for substrate
* update lockfile for polkadot
Co-authored-by: parity-processbot <>
2021-12-24 11:28:43 +00: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
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
Guillaume Thiolliere
faedf76da2
Udpate polkadot substrate ( #713 )
...
* udpate polkadot substrate
* fmt with latest nightly
2021-10-31 13:45:54 +00:00
Bastian Köcher
f66be04c30
Update Substrate & Polkadot ( #709 )
...
* Update Substrate & Polkadot
* FMT
2021-10-30 01:17:48 +02:00
Keith Yeung
ad517067da
Bump syn to 1.0.81 ( #707 )
...
* Bump syn to 1.0.81
* Make formatting check happy
2021-10-27 19:26:49 +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
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
Squirrel
a0532634e1
less deps ( #606 )
2021-09-12 23:22:14 +02:00
Gavin Wood
276e5bdd38
Companion for #3629 (XCM v2) ( #571 )
...
* Update .gitignore and bring into line with XCM v2's SendError
* type
* Some work
* Weighed responses
* extra fields to xcm pallet
* Fixes
* Bump
2021-08-28 15:51:49 +02:00
Keith Yeung
906bf97321
Use new MultiLocation syntax everywhere ( #570 )
...
* Use new MultiLocation syntax everywhere
* Make tests compile
2021-08-12 11:26:49 +02: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
Gavin Wood
6283c1fce9
Support XCM v1 (Companion to #2815 ) ( #561 )
...
* support for XCM v1
* Fixes
* Fix.
* Use `xcm::latest`
* Bump Polkadot
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-08-06 19:13:33 +00:00
Bastian Köcher
594f2f4347
Update Substrate & Polkadot ( #540 )
2021-07-20 16:11:56 +02:00
Gavin Wood
63231bc3eb
Companion #2995 : Dispatchable for teleporting assets ( #431 )
...
* Companion #2995 : Dispatchable for teleporting assets
* Fixes
* Fixes
* Fixes
* Fixes
* Bump Substrate
* Bump Polkadot
* Fixes
2021-05-11 15:41:52 +02:00
Gavin Wood
3f687171c2
DMP Queue pallet ( #416 )
...
* Introduce the converter into the hub
* Parachain recognises Rococo governance body as admin
* Whitespace
* Use UsingComponents for fee payment in XCM
* Fixes
* Fixes for XCM permissions
* Remove encode_call test
* Fixes
* Rococo Collator supports Shell runtime
* Fixes
* Fixes
* Initial draft of DMP Queue pallet
* DMP Queue builds.
* Companion for Polkadot gav-allow-xcm-exec
* Bump
* Fix std
* Fixes
* fix and improve docs
* fix compile errors in tests
* add test for try_service_message
* update cargo.lock
* Fixes
* Make test name read well
* Fixes
* Add a couple of simple tests
* Tests
* Tests
* Update pallets/dmp-queue/src/lib.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update pallets/dmp-queue/src/lib.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update pallets/dmp-queue/src/lib.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update pallets/dmp-queue/src/lib.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update pallets/dmp-queue/src/lib.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update pallets/dmp-queue/src/lib.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Update pallets/dmp-queue/src/lib.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Chain ID and ParaID don't collide
* Fixes
* Update pallets/dmp-queue/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update pallets/dmp-queue/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Fixes
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-05-02 16:11:58 +02:00