- Sep 18, 2020
-
-
Peter Goodspeed-Niklaus authored
This reverts commit d531ba56.
-
Peter Goodspeed-Niklaus authored
* import rococo into chain-spec * make a few stabs at moving forward * wip: rococo readme * remove /service crate - Move the chain-spec files to node-service - update sufficient cargo files that polkadot-service-new builds - not everything else builds yet * wip: chase down some build errors in polkadot-cli There's a lot more to go, but some progress has happened. * make more progress getting polkadot-cli to build * don't ignore polkadot.json within the res directory * don't recreate pathbufs * Prepare Polkadot to be used by Cumulus This begins to make Polkadot usable from Cumulus. * Remove old test * migrate new_chain_ops fix from /service * partially remove node/test-service * Reset some changes * Revert "partially remove node/test-service" This reverts commit 7b8f9ba5bfc286a309df89853ae11facf3277ffb. * WIP: replace v0 ParachainHost impl with v1 for test runtime This is necessary because one of the current errors when building the test service boils down to: the trait bound `polkadot_test_runtime::RuntimeApiImpl<...>`: `polkadot_primitives::v1::ParachainHost<...>` is not satisfied This is WIP because it appears to be causing some std leakage into the wasm environment, or something; the compiler is currently complaining about duplicate definitions of `panic_handler` and `oom`. Presumably I have to identify all std types (Vec etc) and replace them with sp_std equivalents. * fix test runtime build it wasn't std leakage, after all * bump westend spec version * use service-new as service within cli * to revert: demo that forwarding the test runtime to the real impl blows up * Revert "to revert: demo that forwarding the test runtime to the real impl blows up" This reverts commit 68d2f385f378721c7433e3e39133434610cd2a51. * Revert "Revert "to revert: demo that forwarding the test runtime to the real impl blows up"" This reverts commit 04cb1cbf8873b4429cb9c9fdccb7f4bb137dc720. Might have just forgotten to disable default features * More reverts * MOARE * plug in the runtime as the generic instantiation This feels closer to a solution, but it still has problems: in particular, it's assumed that Runtime implements all appropriate Trait traits, which this one apparently does not. * implement necessary traits to get the test runtime compiling This is almost certainly not correct in some way; it really looks like I need to mess with the construct_runtime! macro somehow, to inject the inclusion trait's event type as a Event variant. Still, better lock down this changeset while it all compiles. * add inclusion::Event as variant into Event enum * implement unimplemented bits in kusama * implement unimplemented bits in polkadot runtime * implement unimplemented bits in westend runtime * migrate client upgrades from master * update test service with new node changes * package metadata--that wasn't intended to be removed * add parachains v1 modules to each runtime It's not clear what precisely this does, but it's probably the right thing to do. * enable cli to opt out of full node features * adjust rococo chainspec per example https://github.com/paritytech/polkadot/blob/26f1fa47f7836ab4bee5d4aad127ebce748320dd/service/src/chain_spec.rs#L362 * try to fix Cargo.lock Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Andronik Ordian <[email protected]>
-
- Sep 16, 2020
-
-
Shawn Tabrizi authored
* Add weights and new trait * update more trait instances * Use () for tests * update for new type * "Update Substrate" * bump spec version * bump more spec Co-authored-by: parity-processbot <>
-
- Aug 13, 2020
-
-
asynchronous rob authored
* remove v0 parachains modules and switch to v1 primitives * get tests compiling for runtime-common * remove registrar module * Add a dummy module * remove runtime-parachains * mostly remove old parachains code from polkadot-runtime * remove slots::Trait implementation * remove sp_std prelude import * add a ZeroSizedTypeDifferentiator to dummy * finish porting over polkadot runtime * ZeroSizedTypeDifferentiator was actually unnecessary * westend * kusama * test-runtime (no dummy modules) * fix warning * fix chain-specs * fix test-service * test-client * remove dead import * remove unused needed_extrinsics parameter * runtimes compile * remove rococo-v0 * remove remaining references to Rococo * bump versions
-
- Aug 04, 2020
-
-
Shawn Tabrizi authored
* cargo.toml updates * session and system * more * more * more * more * more * fix * compiles * fix tests * fix more tests * fix mock * fix deleted space * Update validation/Cargo.toml Co-authored-by: Bastian Köcher <[email protected]> * Update Cargo.lock * update rococo * remove unused warning * update add benchmarks * rename weight file * forgot a file * Update chain_spec.rs * Revert "remove unused warning" This reverts commit 4227cd0d1525286fb466dccb817564c9b37f8645. * fix merge Co-authored-by: Bastian Köcher <[email protected]>
-
- Aug 03, 2020
-
-
Kian Paimani authored
* Fix test-runtime * Remove duplicate tests
-
Bastian Köcher authored
* Fix transaction payment runtime api companion Companion for Substrate pr: https://github.com/paritytech/substrate/pull/6792 * 'Update substrate' Co-authored-by: parity-processbot <>
-
- Jul 24, 2020
-
-
André Silva authored
* update substrate to latest master * runtime: bump spec versions
-
Wei Tang authored
* Update wasm-builder version to 2.0.0 * Fix all crate compile * Update cargo lock * Bump runtime impl_version
-
- Jul 23, 2020
-
-
asynchronous rob authored
* rename GlobalValidationSchedule to GlobalValidationData * guide: update candidate descriptor to contain validation data hash * guide: add note in inclusion module about checking validation data hash * primitives: update CandidateDescriptor to contain new hash * fix payload computation * add helpers for computing validation data to runtime modules * guide: note routines * inclusion: check validation data hash and fix local_validation_data bug * add a case to candidate_checks and improve that test substantially * bump versions * address review comments * add a test for including code upgrade * bump kusama version * bump westend & polkadot versions
-
- Jul 17, 2020
-
-
André Silva authored
* runtime: update grandpa equivocation reporting api * Bump Co-authored-by: Gav Wood <[email protected]>
-
- Jul 10, 2020
-
-
asynchronous rob authored
* create a v1 primitives module * Improve guide on availability types * punctuate * new parachains runtime uses new primitives * tests of new runtime now use new primitives * add ErasureChunk to guide * export erasure chunk from v1 primitives * subsystem crate uses v1 primitives * node-primitives uses new v1 primitives * port overseer to new primitives * new-proposer uses v1 primitives (no ParachainHost anymore) * fix no-std compilation for primitives * service-new uses v1 primitives * network-bridge uses new primitives * statement distribution uses v1 primitives * PoV distribution uses v1 primitives; add PoV::hash fn * move parachain to v0 * remove inclusion_inherent module and place into v1 * remove everything from primitives crate root * remove some unused old types from v0 primitives * point everything else at primitives::v0 * squanch some warns up * add RuntimeDebug import to no-std as well * port over statement-table and validation * fix final errors in validation and node-primitives * add dummy Ord impl to committed candidate receipt * guide: update CandidateValidationMessage * add primitive for validationoutputs * expand CandidateValidationMessage further * bikeshed * add some impls to omitted-validation-data and available-data * expand CandidateValidationMessage * make erasure-coding generic over v1/v0 * update usages of erasure-coding * implement commitments.hash() * use Arc<Pov> for CandidateValidation * improve new erasure-coding method names * fix up candidate backing * update docs a bit * fix most tests and add short-circuiting to make_pov_available * fix remainder of candidate backing tests * squanching warns * squanch it up * some fallout * overseer fallout * free from polkadot-test-service hell
-
- Jul 09, 2020
-
-
Cecile Tonglet authored
Fixes #833
-
- Jul 08, 2020
-
-
Shawn Tabrizi authored
* Add `WeightInfo` * fix test * fix tests * fix more tests
-
- Jul 06, 2020
-
-
Bastian Köcher authored
* Companion for #6576 * 'Update substrate' Co-authored-by: parity-processbot <>
-
- Jul 04, 2020
-
-
André Silva authored
* enable BABE equivocation reporting on all runtimes * runtime: fix parachains mock test runtime * cargo update -p sp-io Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jul 01, 2020
-
-
Bastian Köcher authored
* Downward messages, the front-end. * Move types around to make them accessible from Parachains * Fix compilation * Fix branch * Make it compile for Cumulus * Update the branch names * Add default generic parameter * Implement `Partialeq` * Move upward messages into the `ValidationResult` * Support disabling of the runtime api * Update branch * Adds support for handling downward messages * Implement sending XCMP messages as up/downward messages * service: update to latest ServiceBuilder changes * Make it compile * Initial commit Forked at: ef2aa428 Parent branch: origin/master * Update substrate branch to cecton-update-polkadot-substrate * Update substrate & polkadot to cumulus-branch * Reset branch * Update primitives/src/parachain.rs Co-authored-by: Robert Habermeier <[email protected]> * Update runtime/common/src/parachains.rs Co-authored-by: Robert Habermeier <[email protected]> * Update runtime/common/src/parachains.rs Co-authored-by: Robert Habermeier <[email protected]> * Minor fixes * Fix wasm build Co-authored-by: Gav Wood <[email protected]> Co-authored-by: André Silva <[email protected]> Co-authored-by: Cecile Tonglet <[email protected]> Co-authored-by: Robert Habermeier <[email protected]>
-
- Jun 24, 2020
-
-
Tomasz Drwięga authored
* CheckEra -> CheckMortality * Update substrate.
-
- Jun 18, 2020
-
-
Kian Paimani authored
* fix all runtimes and add test' * Fix build * Undo changes to lock file? * Fix runtime test * Remove unused imports * cargo update -p sp-io * Update Cargo.lock * bump spec version Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 16, 2020
-
-
thiolliere authored
* remove IsCallable make use of in-origin filter * update lock * bump version for runtimes as spec as changed * trigger CI * Revert "trigger CI" This reverts commit 5ac58fd42ac50dfb2fcd41ca866c7f6a605c5112.
-
- Jun 09, 2020
-
-
Gavin Wood authored
-
- Jun 02, 2020
-
-
Kian Paimani authored
* Make it work * Upsub
-
- May 27, 2020
-
-
Kian Paimani authored
* companion for https://github.com/paritytech/substrate/pull/6132 * Fix more tests * upsub * Bump * Update runtime/common/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * remove cleanup * Update runtime/westend/src/lib.rs * Apply suggestions from code review * Fix build Co-authored-by: Bastian Köcher <[email protected]>
-
- May 21, 2020
-
-
Shawn Tabrizi authored
* Add new trait to offences * companion for substrate#6069 * update to latest changes * Update Cargo.lock Co-authored-by: André Silva <[email protected]> Co-authored-by: Gav Wood <[email protected]>
-
- May 20, 2020
-
-
Tomasz Drwięga authored
* Companion to #6067 * Fix tests? * Use AvailableBlockLimit instead of hardcoding the value. * Bump substrate.
-
- May 14, 2020
-
-
Demi Obenour authored
This allows hardware wallets to know which transactions they can safely sign.
-
- May 06, 2020
-
-
André Silva authored
* grandpa: report equivocations on all runtimes * runtime: fix test-runtime compilation * runtime: enable historical session manager on all runtimes * runtime: fix indentation * runtime: use strong key types in KeyOwnerProofSystem definitions * update substrate * bump spec_version of runtimes
-
- May 05, 2020
-
-
Shawn Tabrizi authored
* Update Runtime Weights and Fee Calculation * bump spec * Order of operations avoids saturation * Update runtime/polkadot/src/constants.rs * Use frame consts * Update Cargo.lock * Update Cargo.lock * Update Cargo.lock Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 27, 2020
-
-
Kian Paimani authored
* update polkadot * Fix build * Bump Substrate Co-authored-by: Gav Wood <[email protected]>
-
- Apr 25, 2020
-
-
Shawn Tabrizi authored
* Update to changes in Substrate * Fix trait * Remove `TransactionBaseFee` * add temporary values for extrinsic base weight and block execution weight * Update Cargo.lock
-
- Apr 24, 2020
-
-
Wei Tang authored
* Companion PR for #5501 * Bump runtime versions * add MaxRegistrars config * Pull substrate master in PR-5501 * Attempt to fix pin commit again * update to substrate master Co-authored-by: Alexander Popiak <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- Apr 21, 2020
-
-
Rakan Alhneiti authored
* Implement offchain::SendTransactionTypes * Fix test-runtime * Fix Kusama * Add SendTransactiontypes to Kusama * impl SendTransactiontypes for parachains and registrar * Fix typos * Provided extrinsic type * Implement AppCrypto for signing transactions * Add signing capabilities to runtime * Fix test runtimes * Implement CreateSignedtransaction for Test * Implement signing types for test runtimes * Fix test runtime create transaction impl * Fix build * Bump kusama's spec version * Update substrate * Use all_accounts
-
Ashley authored
* Switch from using the substrate_test_runtime Extrinsic to the polkadot_test_runtime one * Copy genesismap into test-runtime * Add UncheckedExtrinsics * Fix tests :^) * Remove unused functions from genesismap * DRY, clean up * Clean up * Update service/src/grandpa_support.rs Co-Authored-By: Bastian Köcher <[email protected]> * Fix indentation * Update runtime/test-runtime/src/genesismap.rs Co-authored-by: Bastian Köcher <[email protected]>
-
cheme authored
-
- Apr 17, 2020
-
-
Gavin Wood authored
* Companion for Runtime Semver * Fix
-
- Apr 16, 2020
-
-
Fedor Sakharov authored
* Adds an offchain call to submit double vote reports * Some tweaks * Remove unnecessary IdentifyAccount impls * Adds ValidateDoubleVoteReports to test runtime * sp-application-crypto is only a dev dependency
-
Shawn Tabrizi authored
-
- Apr 13, 2020
-
-
asynchronous rob authored
* use stronger types for HeadData and ValidationCode in runtime * fix weird debug compile error * fix runtime build * update invocations invalidation.rs * fix tests
-
- Apr 08, 2020
-
-
Pierre Krieger authored
* Companion PR to #5560 * Set priorities. * Update substrate. * Fix tests. * Update Substrate * Companion of SignedExtension refactor (#5540) Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Alexander Theißen <[email protected]>
-
- Apr 06, 2020
-
-
Kian Paimani authored
-