Commit Graph

1293 Commits

Author SHA1 Message Date
Sergejs Kostjucenko 146a0a6360 Add entry in CODEOWNERS (#779) 2021-11-22 15:49:46 +02:00
Chevdor 3c8df319c5 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 d9fed3d3f8 Add CODEOWNERS file (#778) 2021-11-22 15:04:50 +02:00
Chevdor 5d91815914 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 d85a3a937f Update Substrate & Polkadot (#770)
* Update Substrate & Polkadot

* Disable tests without debug assertions
2021-11-19 23:46:14 +01:00
Robert Klotzner 6b603201c5 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 ce2403808b 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 4a559a5872 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 c308c01b62 Update Substrate & Polkadot (#766) 2021-11-17 15:39:40 +01:00
Liu-Cheng Xu 9b6db48a42 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 ec401ce1d0 move to rust 2021 (#759)
* move to rust 2021

* fix formatting, more moves
2021-11-16 15:12:06 +01:00
David Salami 6efe0d4338 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 821b5eb6d3 Update Cargo.lock (#763) 2021-11-15 21:00:53 +00:00
Arkadiy Paronyan 473af71987 Update for latests substrate & polkadot (#756)
* Update for latests substrate & polkadot

* fmt
2021-11-12 16:45:09 +01:00
sandreim b968e54fe5 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 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
Denis Pisarev 7100363a35 polkadot collator builder (#740)
* dockerfiles: polkadot-collator_builder.Containerfile and docs

* dockerfiles: optimize test dockerfile
2021-11-11 13:57:57 +01:00
Sebastian Kunert d4045c85e7 Port transaction pool benchmark (#738)
Adds a benchmark to measure transaction throughput.
2021-11-11 10:30:54 +01:00
Benjamin Kampmann 8a1201273b Update to latest substrate and polkadot dependencies (#745) 2021-11-10 19:08:50 +01:00
Alexander Popiak dea011282c Align the Statemint Runtimes (#736)
* align the different Statemint runtimes so they are more similar in structure

* align Unpaid Execution filter

* revert changes to Unpaid execution filter for Westmint
2021-11-10 12:00:17 +01:00
Bastian Köcher 520012619e Remove parachain-id cli command (#739)
This was never planned to be a permanent feature. This was mainly added for testing purposes, but
now was copied by everybody. The users should be more specific about the para id and set this
properly in the chain spec.
2021-11-10 08:56:00 +01:00
Alexander Popiak e65ee55d80 bump spec_version (#733) 2021-11-09 18:11:51 +01:00
Alexander Popiak 6146bd182c Align Call Indices between Westmint and Statemint (#731)
* align construct_runtime calls between statemint runtimes

* bump westmint transaction_version
2021-11-09 17:39:50 +01:00
Alexander Popiak 8301e17f88 adjust XCM unit weights to 1B (#735) 2021-11-09 17:14:16 +01:00
Ignacio Palacios 66310bd6ce Remove randomness collective flip new (#726)
* randomess collective flip removed

* cargo.lock + fix

* remove migration for statemint

* fmt fix

* update cargo.lock

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
2021-11-09 17:01:44 +01:00
Bastian Köcher 6b4fd91ad5 Rework the runtime upgrade test (#727)
* Rework the runtime upgrade test

* Update test/service/tests/runtime_upgrade.rs

* Update test/service/tests/runtime_upgrade.rs

* Update Cargo.lock

* FMT

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2021-11-09 15:02:34 +01: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
Shawn Tabrizi d21c7fd2b3 Companion for dispatch_as (#715)
* dispatch as companion

* oops, forgot to save file

* Update Cargo.lock
2021-11-04 16:44:18 +00:00
Chevdor caa13478a7 Bump subwasm version (#716) 2021-11-03 10:10:35 +01: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
Gavin Wood 41c597faa7 Allow Queries and Subscriptions (#700)
* Allow Queries and Subscriptions

* Fixes

* Formatting
2021-10-27 18:14:27 +02: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
Chris Sosnin 8159c2c5f9 Companion for polkadot#3728 (#693)
* Update mock runtime API

* update Polkadot packages

Co-authored-by: joao-paulo-parity <joao-paulo@parity.io>
2021-10-22 16:31:58 +02:00
Alexander Popiak 95a453eac4 disable permissionless asset creation for Statemint (#669)
* disable permissionless asset creation for Statemint

* cargo fmt

* fix import and call format
2021-10-20 14:55:42 +02:00
Alexander Popiak 2ff5f7c443 fix runtime import formatting (#679) 2021-10-19 18:13:27 +02:00
Alexander Popiak a6ad40f86b Clean up the asset-tx-payment Pallet (#657)
* move dev-deps into correct section

* generate Readme.md

* Update pallets/asset-tx-payment/README.md

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
2021-10-19 10:48:11 +02:00
Gavin Wood 561e8eb349 Make sure comments and code for local origins match (#671)
* Make sure comments and code for local origins match

* Fixes
2021-10-17 22:37:01 +02:00
Martin Pugh 31aada1fc6 bump polkadot deps (#670) 2021-10-15 21:35:10 +02:00
Alexander Popiak 1ea5856f04 add minimal mention of Statemint in the readme (#656)
* add minimal mention of Statemint in the readme

* use unicode coin
2021-10-15 17:36:20 +02:00
Alexander Popiak 42107abc82 adjust Statemint to the three digit spec_version format (#667) 2021-10-15 14:57:37 +02:00
Alexander Popiak 4de36d5776 fix feature selection (#666)
* select parachains-common/std feature when building rococo-runtime with std

* remove unnecessary dep on node-primitives
2021-10-15 12:45:12 +02:00
Alexander Popiak a1a9e7e64d remove session benchmark todo (#665) 2021-10-15 12:06:03 +02:00
Andronik Ordian 902ae0d7ab update polkadot (#664) 2021-10-15 10:03:31 +02:00
Alexander Popiak 1669c4ed4e disallow XCM execute on statemint (#663) 2021-10-14 14:25:48 +02:00
Gavin Wood abcf2086e7 Statemine cannot execute. (#662)
* Statemine cannot execute.

* FMT

Co-authored-by: Bastian Köcher <info@kchr.de>
2021-10-14 11:15:57 +00:00
Bastian Köcher fbf418a000 Update Substrate & Polkadot (#660) 2021-10-14 11:03:36 +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
Sergei Shulepov 9379cd6c18 Look at the upgrade go-ahead and restriction signals (#517)
* Look at the upgrade go-ahead and restriction signals

* Update Cargo.toml

* Drop old docs for validation code

* Update tests

* Fix typo

* Add doc-comments for read_optional_entry

* Add a note about ValidationData

* Introduce migration for removing unused storage entry

* Fix indentation

* Use intra-doc link syntax

* Double-check that GoAhead signal is not spurious

* fmt

* Drop commented code

* Fix typos

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

* Add a weight for StorageVersion write

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

Co-authored-by: Chris Sosnin <chris125_@live.com>
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com>
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2021-10-12 18:08:23 +02:00