Commit Graph

507 Commits

Author SHA1 Message Date
Sacha Lansky 8da32cfbfc Fix broken links in README (#899)
* Fix broken links

* Update README.md

* Update README.md
2022-01-17 22:15:02 +01:00
Jun Jiang 0346f89e9f companion for polkadot/4078 (#907) 2022-01-17 09:14:54 +01:00
Ignacio Palacios 6f763b5e71 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
Doordashcon 60f5e0cf2d Use Polkadot Constants instead of Hardcoding (#868)
* added Polkadot constants

* remove hardcoded constants

* cargo +nightly fmt

* add const existential deposit

* update

* cargo +nightly fmt

* not pulling

* readd constants.rs modules

* update

* Cargo.lock

* update

* add balance constants

* Update polkadot-parachains/statemine/src/constants.rs

Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>

* cargo fmt

Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>
2022-01-13 11:54:59 +00:00
joe petrowski 66e536f773 Remove Sudo from Westmint (#897)
* remove sudo from westmint
2022-01-13 11:32:19 +00:00
Xiliang Chen 167d363087 Companion for substrate#10620 (#894)
* fix tests

* update lockfile for substrate

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
2022-01-12 12:42:23 +01:00
sandreim 599da09a40 Companion for #4639 (Remove sleep from tests ) (#890)
* fix tests

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* update lockfile for polkadot

Co-authored-by: parity-processbot <>
2022-01-10 11:33:10 +00:00
Adrian Catangiu 76fdc9d11a Cumulus companion for substrate #10463 (#870)
* Companion for substrate #10463

* update lockfile for substrate

* update lockfile for polkadot

Co-authored-by: parity-processbot <>
2022-01-05 20:33:23 +00:00
Sebastian Kunert 57d04e0fc8 Add missing features in rococo Cargo.toml (#887) 2022-01-05 13:30:47 +00:00
Bastian Köcher 75db7f7f7e Fix transaction benchmark (#886)
We need to give the accounts more coins!!
2022-01-04 23:59:58 +01:00
Sergei Shulepov 32fcd46454 Derive Clone for RelayStateSproofBuilder (#884) 2022-01-03 19:28:42 +00:00
Bastian Köcher 7fb70d7530 Fix solo to para custom header return (#882)
* Adds an integration test for testing the migration

* Fix the custom validation header use case
2022-01-03 20:14:14 +01:00
Sergei Shulepov fe8e141ee5 Update Polkadot (#883)
I just ran `cargo update -p polkadot-primitives` in the hope that it
will fix [this]

[this]: https://gitlab.parity.io/parity/polkadot/-/jobs/1311542
2022-01-03 18:45:38 +01:00
zqhxuyuan d89dc7431b minor dmq test (#878)
* minor dmq test

* fmt
2021-12-31 17:46:05 +01:00
Sergei Shulepov 6ed03bf0b8 companion for polkadot#4635 (config rename frequency->cooldown) (#880)
* companion for polkadot#4635 (config rename frequency->cooldown)

* update lockfile for polkadot

Co-authored-by: parity-processbot <>
2021-12-30 20:58:10 +00:00
Keith Yeung cd32a971a1 Update proc-macro2 to 1.0.36 (#879) 2021-12-28 21:38:20 +01:00
Andronik Ordian 3ae4f0a176 update polkadot (#877) 2021-12-28 08:07:38 +01:00
Andronik Ordian 09b8d7435e companion for polkadot#4545 (session-info v2) (#875)
* companion for https://github.com/paritytech/polkadot/pull/4545

* update lockfile for polkadot

Co-authored-by: parity-processbot <>
2021-12-27 08:34:08 +00:00
Bastian Köcher 229000c5fc Mock XCM (#876)
* sketch downward messages

* bring in attempt to mock mqc-head from moonbeam

* just patch individual crates

* fing comma

* add some logs

* Holy shit, we actually imported a block!

* Actually mock the message queue chain

* use relay parent number for `sent_at`

* finish moving MQC to primitives

* more complete mock and better config type

* change name

* fix export

* better map types

* fix dependencies after rebase

* try-rejigging branches because this is an override

* try to re-jig for hrmp mcqs

* fix branches

* actually fix branches better

* even better

* Removestray log lines

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Nicer handling of default `ParachainSystem` name

* better docs

* Default MockXcm for people who only who don't care to mock xcm.

* cargo fmt

* trailing commas

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* use the variable for hrmp to

* fix deref

* deduplicate MessageQueueChain

* better docs for MessageQueueChain

* Use `Vec<u8>` instead of `&'static [u8]`

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* cargo fmt

* associated changes for using Vec<u8>

* Unused import

* Fix compilation

Co-authored-by: Joshy Orndorff <admin@joshyorndorff.com>
Co-authored-by: Joshy Orndorff <JoshOrndorff@users.noreply.github.com>
2021-12-24 18:06:36 +01:00
cheme 0256fe73c0 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
Sebastian Kunert 876e594f59 Introduce interface for relay chain interaction (#835) 2021-12-22 19:02:11 +01:00
Andronik Ordian 7acfd4f80a companion for polkadot#4542 (#873)
* new ParachainHost methods

* update polkadot
2021-12-22 13:58:53 +01:00
Keith Yeung d78ea860ec Update serde to 1.0.132 (#871) 2021-12-21 09:15:50 +01:00
Bastian Köcher c342de58bb Substrate companion for fetching slot duration (#864)
* Substrate companion for fetching slot duration

https://github.com/paritytech/substrate/pull/10509

* update lockfile for substrate

* Update

Co-authored-by: parity-processbot <>
2021-12-20 23:46:45 +00:00
BenWhiteJam 4f8f4cfa3d update Rococo readme intro (#869) 2021-12-20 13:07:15 +01:00
sandreim 34f605004d Companion for #10440 (Add logger configuration hook) (#856)
* update `DefaultConfigurationValues` impl

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* update lockfile for substrate

Co-authored-by: parity-processbot <>
2021-12-16 11:57:17 +00:00
Keith Yeung 7aa1727bbd Disable asset transfers on Statemint (against master branch) (#838)
* Disable asset transfers on Statemint

* Fixup
2021-12-16 01:05:16 +00:00
Bastian Köcher 81867735ee Update Substrate & Polkadot (#861) 2021-12-15 03:10:12 +00:00
Gavin Wood 0f10bb0aea 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 8a2a86655f Update XCM MultiLocation prefixes for assets (#831) 2021-12-13 23:52:38 +00:00
Gavin Wood 8747626daa Bump Polkadot and fix (#855)
* Minor build fix

* Remove diener

* Update lock
2021-12-13 19:15:36 +01:00
Bastian Köcher f68c46ef2e Test-runtime: Support changing the ParaId. (#858)
Adds support for changing the para id relative easily. While this is currently not needed, we may
need it at some later point.
2021-12-13 14:46:40 +01:00
Bastian Köcher f175a25793 Fix benchmarks and ensure CI tests them (#854)
* Fix benchmarks and ensure CI tests them

* FMT
2021-12-12 23:17:15 +01:00
Keith Yeung 308cb3e76b Update serde to 1.0.131 (#853) 2021-12-11 14:10:51 +01:00
Doordashcon 108ddfa600 Update Substrate & Polkadot (#849)
* ERCSC

* update

* Update Substrate & Polkadot

Co-authored-by: doordashcon <jesse.chejieh@gmai.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
2021-12-11 09:33:21 +00:00
Bastian Köcher 5f4f3beb44 Update again (#852) 2021-12-10 16:38:01 +01:00
Bastian Köcher 6c6802b67c Update to latest Polkadot & Substrate (#850)
* Update to latest Polkadot & Substrate

* More fixes
2021-12-10 12:08:41 +01:00
Gavin Wood 90a7d1146a 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 9e9ff9e5d0 Add CheckNonZeroSender to runtime configs (#847)
* Add CheckNonZeroSender to runtime configs

* cargo update -p polkadot-primitives

* Fixes

* Fixes
2021-12-09 14:53:51 +01:00
Keith Yeung b5135277f4 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
Chevdor fc1f3fd954 Release notes fixes (#839)
* Format runtime version

ref #787

* Remove the counter in the misc changes

* Add pre-release information

* Save context as artifact

* Rococo naming and minor fixes

* WIP

* Show the list of high prio issues

* Minor fixes

* Fix workflow title

* Attempt to fix Element rendering issue

* Code block fix
2021-12-08 13:54:50 +01:00
Ignacio Palacios fff94ff24c Seedling Runtime + Node (#824)
* 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
2021-12-08 12:54:59 +01:00
Ricardo Rius 58a425667e Fix Statemine ss58 prefixes. (#829)
* Fix Statemine prefix

* Add prefix to chain spec
2021-12-08 11:56:50 +01:00
Chevdor f42092d23e Add CI to build docker images on releases (#836)
* Fix the url of the fetched file

* Fix binary in the GPG check

* Add docker build

* Import GPG pub keys

* Copy missing binaries

* Checkout first

* Add missing mkdir

* Set bin as executable

* Fix exec flag earlier

* Fix docker calls

* Fix version parsing

* Fix image names

* Cleanup

* Fix ENV issue

* Only allow user keys on pre-releases

* Add Docker Hub token and enable pushing

* Make Docker owner configurable via secrets

* Fix owner

* Remove duplicate secret
2021-12-07 14:50:16 +01:00
Chevdor 782e40b177 Add check_labels script and workflow (#782) 2021-12-06 15:30:42 +01:00
Bastian Köcher 32a86d8ef4 Adds support for returning a custom header from validate_block (#825)
* Adds support for returning a custom header from `validate_block`

This adds support for returning a custom header from `validate_block`. Before this, we always
returned the header of the block that was validated (and still do it by default). However, after
this pr it is possible to set a custom header or better custom head data that will be returned
instead from `validate_block`. This can be for example when a chain wants to fork.

* FMT
2021-12-03 12:49:13 +01:00
Kian Paimani 70ea98995a 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
Keith Yeung ad8fa5fc07 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
Shawn Tabrizi a3798775d8 Companion for #10379 (EnsureOneOf) (#810)
* new ensure one of

* Update Cargo.lock

* Update SUbstrate & Polkadot

Co-authored-by: Bastian Köcher <info@kchr.de>
2021-12-01 23:06:50 +00:00
Ignacio Palacios 6b3ac7e1a2 Increase statemine balance (#808)
* increase statemine balance

* Fix formatting

Co-authored-by: Wilfried Kopp <wilfried@parity.io>
2021-12-01 22:13:59 +01:00