Commit Graph

476 Commits

Author SHA1 Message Date
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
Chevdor 030ea4cc0c Fix secret used to send announcements (#821)
* Fix secret used to send announcements

* Fix matrix secret
2021-12-01 16:35:50 +01:00
Chevdor c53b2bb461 Allow manual start (#818) 2021-12-01 16:05:27 +01:00
zjb0807 b51a6fa4cc use double quotes instead of single quotes (#815) 2021-12-01 03:00:11 +00:00
Guillaume Thiolliere 9a76627938 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 71ac3005ae 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
Andronik Ordian 5442e7a928 cargo update -p polkadot-primitives (#809) 2021-11-29 18:12:59 +01:00
Bastian Köcher a093ee03c9 Update Substrate & Polkadot (#803) 2021-11-28 07:43:50 +01:00
Chevdor 0e48d6c504 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 dcd65eabda Bump (#792) 2021-11-24 16:14:04 +01:00
Gavin Wood e8669aeff8 Fix use of weight limit errors (#791) 2021-11-24 13:26:45 +01:00
Bastian Köcher 485b16984f Update Substrate & Polkadot (#789) 2021-11-24 09:25:53 +01:00
Chevdor 916890ddac Fix rococo naming (#785) (#786) 2021-11-22 17:52:47 +01:00
Sergejs Kostjucenko d527b60240 Fix CODEOWNERS syntax (#783) 2021-11-22 17:13:49 +02:00
Chevdor 4f4e17975f Add srtool check in master and release branches (#780) 2021-11-22 15:39:57 +01:00
Sergejs Kostjucenko d34784ff68 Add entry in CODEOWNERS (#779) 2021-11-22 15:49:46 +02:00
Chevdor f71f75dd10 Fix CI for runtimes and rococo (#774)
* Specify the ref to checkout

* Fix default ref2

* Fix naming
2021-11-22 14:48:59 +01:00
Sergejs Kostjucenko 2147095120 Add CODEOWNERS file (#778) 2021-11-22 15:04:50 +02:00
Chevdor de05e7fa04 Fix rococo naming for master (#776)
* package naming conflict fixed (#753)

* Fix rococo naming

Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>
2021-11-22 13:58:15 +01:00
Bastian Köcher 801c1bef0a Update Substrate & Polkadot (#770)
* Update Substrate & Polkadot

* Disable tests without debug assertions
2021-11-19 23:46:14 +01:00
Robert Klotzner 72a373411a Remove dead dep. (#765)
* Remove dead dep.

* cargo update -p polkadot-primitives

* Revert "cargo update -p polkadot-primitives"

This reverts commit 4e48e1dabe44fc1fb99c0d074281998e82584ba8.

* cargo update -p polkadot-primitives

Co-authored-by: Andronik Ordian <write@reusable.software>
2021-11-19 17:41:11 +00:00
Chevdor e4e8d4fb83 Add changelog generation (#761)
* WIP Release notes generation and templates

* WIP Add new sections to the template

* WIP renaming and wip

* Fix runtime template

* Add doc, NO_CACHE and tweaking of the templates

* Renaming cl into cumulus to make room for the polkadot and substrate

* Fetch data from Substrate and Polkadot

* WIP convert bash script to ruby

* Convert to Ruby

* Fix host function delection

* Extract priority to a macro

* Fix misc changes

* Draft release workflow

* Fix runtime dir

* Add ENV to ignore runtimes

* Install tooling separately

* WIP troubleshooting - remove sudo

* Minor formatting fixes

* Fix workflow

* Add missing dep

* Linting

* Fix changelog script

* Add missing tera install

* Use absolute paths

* Fix path + cleanup

* Fix changelog generation

* Add missing pre-release ENV

* Fix rust version ENV

* Fix release notes path

* Fix output

* Fix runtime_dir for cumulus

* Fix ENV substitutions

* Fix styling

* Debugging

* Styling

* Fix call to fetch the runtime version

* Cleanup and doc

* Delete sample .env

* Update scripts/changelog/templates/change.md.tera

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* Change XCM emoji marker for a ✉️

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
2021-11-19 17:30:05 +01:00
Georges 69f030f81c Moving pallet-asset-tx-payment from cumulus to substrate (#712)
* Moving `pallet-asset-tx-payment` to substrate

* Pointing `substrate` to my branch to fix the CI

* Fixing cargo.lock

Memmlock2 was in double

* Duplicate Prost-build

* cargo update

* Fixing cargo.lock post merge

* Changes to `Cargo.toml` after substrate merge
2021-11-19 14:06:38 +01:00
Bastian Köcher 29aaa00086 Update Substrate & Polkadot (#766) 2021-11-17 15:39:40 +01:00
Liu-Cheng Xu 986372bb68 Specify edition 2021 in .rustfmt.yml (#760)
This PR is mainly to fix the error `[E0670]: async fn is not permitted in the 2015 edition` when
using Vim along with rust-analyzer, it also removes an unused dependency from parachain-template.

Ref: https://github.com/rust-analyzer/rust-analyzer/issues/1959
2021-11-16 15:12:50 +01:00
Dan Shields 70923da617 move to rust 2021 (#759)
* move to rust 2021

* fix formatting, more moves
2021-11-16 15:12:06 +01:00
David Salami 8d4f82a1f0 Update field event variants (#749)
* update field events

* update polkadot and substrate

Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
2021-11-16 03:31:36 +00:00
Shawn Tabrizi b6786e69bf Update Cargo.lock (#763) 2021-11-15 21:00:53 +00:00
Arkadiy Paronyan b2d9102b0d Update for latests substrate & polkadot (#756)
* Update for latests substrate & polkadot

* fmt
2021-11-12 16:45:09 +01:00
sandreim 5f5190625d Companion to substrate #10196 - Add group name in task metrics (#732)
* Use blank task group name

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

* cargo fmt

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

* Update

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

* update Cargo.lock and switch from 0.9.12 to master

* format with LATEST nightly

Co-authored-by: Andronik Ordian <write@reusable.software>
2021-11-11 19:41:36 +00:00
Dan Shields 3284976a1b 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
Denis Pisarev ab2c9cd020 polkadot collator builder (#740)
* dockerfiles: polkadot-collator_builder.Containerfile and docs

* dockerfiles: optimize test dockerfile
2021-11-11 13:57:57 +01:00