- Aug 02, 2021
-
-
Arkadiy Paronyan authored
* Update for the new GrandpaAPI * Update substrate * Update substrate
-
Shawn Tabrizi authored
* cargo update -p sp-io * fix benchmarking * fix bridge benchmarks
-
- Jul 31, 2021
-
-
ferrell-code authored
* migration * migrate runtimes * storage visability * Remove unused Call part * Remove Call part import from parachain mock runtime * Remove Call part import from test-runtime Co-authored-by: Keith Yeung <[email protected]>
-
ferrell-code authored
* migration * storage visability * migrate runtimes * runtimes * Update runtime/parachains/src/session_info.rs * Remove Call part import from all runtimes for ParaSessionInfo * Remove Call part import from runtime/test-runtime/src/lib.rs * Remove Call part import from parachain mocks Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Keith Yeung <[email protected]>
-
- Jul 28, 2021
-
-
ferrell-code authored
* migration * genesis build correctly * migrate runtimes * add genesis builds * expose GenesisBuild * chainspec migration * fmt * check before insert * Reduce visibility of storage items to crate Co-authored-by: Keith Yeung <[email protected]>
-
- Jul 27, 2021
-
-
ferrell-code authored
* migrate * migrate runtimes
-
Bastian Köcher authored
* Companion for Substrate#9165 https://github.com/paritytech/substrate/pull/9165 * update Substrate Co-authored-by: parity-processbot <>
-
- Jul 23, 2021
-
-
Zeke Mostov authored
* Reduce staking miner reward * Add EOF * Fix stuff * remove import * Add tyoe * remove redundant stuff * update Substrate Co-authored-by: kianenigma <[email protected]> Co-authored-by: parity-processbot <>
-
- Jul 22, 2021
-
-
ferrell-code authored
* migrate * migrate runtimes * runtimes compile * ci * trigger ci
-
ferrell-code authored
* migration * fix warning * change runtimes * extra line * another double space lol * add dmp in test runtime * test runtime * Adjust visibility on storage items Co-authored-by: Keith Yeung <[email protected]>
-
ferrell-code authored
* frame v2 * migrate runtimes * migrate more * comments * docs * cleanup * Adjust visibility on storage items Co-authored-by: Keith Yeung <[email protected]>
-
- Jul 19, 2021
-
-
asynchronous rob authored
* disputes module skeleton and storage * implement dispute module initialization logic * implement disputes session change logic * provide dispute skeletons * deduplication & ancient check * fix a couple of warnings * begin provide_dispute_data impl * flesh out statement set import somewhat * move ApprovalVote to shared primitives * add a signing-payload API to explicit dispute statements * implement statement signature checking * some bitflags glue for observing changes in disputes * implement dispute vote import logic * flesh out everything except slashing * guide: tweaks * declare and use punishment trait * punish validators for inconclusive disputes * guide: tiny fix * guide: update docs * add disputes getter fn * guide: small change to spam slots handling * improve spam slots handling and fix some bugs * finish API of disputes runtime * define and deposit `RevertTo` log * begin integrating disputes into para_inherent * use precomputed slash_for/against * return candidate hash from process_bitfields * implement inclusion::collect_disputed * finish integration into rest of runtime * add Disputes to initializer * address suggestions * use pallet macro * fix typo * Update runtime/parachains/src/disputes.rs * add test: fix pruning * document specific behavior * deposit events on dispute changes * add an allow(unused) on fn disputes * add a dummy PunishValidators implementation * add disputes module to Rococo * add disputes module to westend runtime * add disputes module to test runtime * add disputes module to kusama runtime * guide: prepare for runtime API for checking frozenness * remove revert digests in favor of state variable * merge reversions * Update runtime/parachains/src/disputes.rs Co-authored-by: André Silva <[email protected]> * Update runtime/parachains/src/disputes.rs Co-authored-by: André Silva <[email protected]> * Update runtime/parachains/src/disputes.rs Co-authored-by: André Silva <[email protected]> * add byzantine_threshold and supermajority_threshold utilities to primitives * use primitive helpers * deposit revert event when freezing chain * deposit revert log when freezing chain * test revert event and log are generated when freezing * add trait to decouple disputes handling from paras inherent handling * runtime: fix compilation and setup dispute handler * disputes: add hook for filtering out dispute statements * disputes: add initializer hooks to DisputesHandler * runtime: remove disputes pallet from all runtimes * tag TODOs * don't import any dispute statements just yet... * address grumbles * fix spellcheck, hopefully * maybe now? * last spellcheck round * fix runtime tests * fix test-runtime Co-authored-by: thiolliere <[email protected]> Co-authored-by: André Silva <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- Jul 14, 2021
-
-
Denis_P authored
* CI: add spellcheck * revert me * CI: explicit command for spellchecker * spellcheck: edit misspells * CI: run spellcheck on diff * spellcheck: edits * spellcheck: edit misspells * spellcheck: add rules * spellcheck: mv configs * spellcheck: more edits * spellcheck: chore * spellcheck: one more thing * spellcheck: and another one * spellcheck: seems like it doesn't get to an end * spellcheck: new words after rebase * spellcheck: new words appearing out of nowhere * chore * review edits * more review edits * more edits * wonky behavior * wonky behavior 2 * wonky behavior 3 * change git behavior * spellcheck: another bunch of new edits * spellcheck: new words are koming out of nowhere * CI: finding the master * CI: fetching master implicitly * CI: undebug * new errors * a bunch of new edits * and some more * Update node/core/approval-voting/src/approval_db/v1/mod.rs Co-authored-by: Andronik Ordian <[email protected]> * Update xcm/xcm-executor/src/assets.rs Co-authored-by: Andronik Ordian <[email protected]> * Apply suggestions from code review Co-authored-by: Andronik Ordian <[email protected]> * Suggestions from the code review * CI: scan only changed files Co-authored-by: Andronik Ordian <[email protected]>
-
- Jul 09, 2021
-
-
Kian Paimani authored
* Fix weights * try something to unbreak companion * update Substrate Co-authored-by: Andronik Ordian <[email protected]> Co-authored-by: parity-processbot <>
-
- Jul 08, 2021
-
-
Lldenaurois authored
* node/approval-voting: Introduce Backend trait and Overlaybackend This commit introduces a Backend trait and attempts to move away from the Action model via an OverlayBackend as in the ChainSelection subsystem. * node/approval-voting: Add WriteOps for StoredBlockRange and BlocksAtHeight * node/approval-voting: Add load_all_blocks to overlay * node/approval-voting: Get all module tests to pass. This commit modifies all tests to ensure tests are passing. * node/approval-voting: Address oversights in the previous commit This commit addresses some oversights in the prior commit. 1. Inner errors in backend.write were swallowed 2. One-off write functions removed to avoid useless abstraction 3. Touch-ups in general * node/approval-voting: Move from TestDB to dyn KeyValueDB This commit removes the TestDB from tests.rs and replaces it with an in-memory kvdb. * node/approval-voting: Address feedback * node/approval-voting: Add license to ops.rs * node/approval-voting: Address second-pass feedback * Add TODO * node/approval-voting: Bump spec_version * node/approval-voting: Address final comments.
-
- Jul 07, 2021
-
-
Shawn Tabrizi authored
* update benchmark * add host function * update Substrate * fix unused Co-authored-by: parity-processbot <>
-
ferrell-code authored
* migrate to FrameV2 * kusama & westend change pallet name * keep item private Co-authored-by: Guillaume Thiolliere <[email protected]>
-
- Jul 06, 2021
-
-
Martin Pugh authored
* update all weights * add run_all_benches.sh
-
ferrell-code authored
* to v2 macro * line width * fix mock * actually compile moxk * compile tests * add hooks * origin back in mocks * assimilate_storage * add generic * maybe mock compiles now * origin between parachain and system causing problem * change origin * type alias as origin * keep origin * add aliases to tests * remove unnecessary imports * Parachain -> Paras * paras test * nvm * use genesis build in mock
-
- Jul 05, 2021
-
-
Igor Matuszewski authored
* Use MaxEncodedLen trait from new parity-scale-codec v2.2 * update Substrate Co-authored-by: parity-processbot <>
-
- Jul 01, 2021
-
-
Kian Paimani authored
Co-authored-by: Peter Goodspeed-Niklaus <[email protected]> Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
-
Bastian Köcher authored
* Companion * Update branch * Update to correspond to substrate fixes * Update cargo.lock * Remove patches * update Substrate Co-authored-by: parity-processbot <>
-
Martin Pugh authored
* bump version * bump substrate * bump spec_versions
-
- Jun 28, 2021
-
-
Shawn Tabrizi authored
* update name * update Substrate Co-authored-by: parity-processbot <>
-
Peter Goodspeed-Niklaus authored
* Companion for Decouple Staking and Election - Part 3: Signed Phase https://github.com/paritytech/substrate/pull/7910 * remove some config types * allow up to 5 signed submissions on polkadot and kusama * signed phase is equal induration to unsigned phase * use chain defaults for base and per-byte deposits; >= 16 SignedMaxSubmissions * use a small but non-trivial solution reward * reduce signed deposit per byte fee * reduce signed reward, adjust polkadot expected soln size * copy submit benchmark from substrate * demo calculating an appropriate fee for the signed reward Unfortunately, this doesn't work: it needs to be a constant function, and AFAIK there's no way to make a trait method constant. * SignedRewardBase is 1.5x the fee to submit a signed solution * all chains use deposit byte of base per 50k * update Substrate * cargo update -p pallet-election-provider-multi-phase Co-authored-by: parity-processbot <>
-
- Jun 25, 2021
-
-
Martin Pugh authored
* bump versions & spec_versions * bump Cargo.lock
-
Shawn Tabrizi authored
* add already leased Co-Authored-By: parity-processbot <> * add unit test Co-Authored-By: parity-processbot <> * add integration test and fix Co-Authored-By: parity-processbot <> * better doc Co-Authored-By: parity-processbot <> * Update runtime/common/src/slots.rs * Update runtime/common/src/slots.rs * Apply suggestions from code review Co-authored-by: André Silva <[email protected]> Co-authored-by: Kian Paimani <[email protected]> * Update runtime/common/src/integration_tests.rs * Update runtime/common/src/integration_tests.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_auctions.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_crowdloan.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_auctions.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_crowdloan.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_slots.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_slots.rs Co-authored-by: André Silva <[email protected]> Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Parity Bot <[email protected]>
-
- Jun 22, 2021
-
-
André Silva authored
* runtime: remove randomness collective flip pallet * add storage migration to remove key Co-Authored-By: parity-processbot <> Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Jun 21, 2021
-
-
Shawn Tabrizi authored
* use `configuration::config()` for max bytes * Update integration_tests.rs * Update paras_registrar.rs * remove consts * add asserts for non-zero * more const clean up * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_common_paras_registrar.rs * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_common_paras_registrar.rs * add checks to `MAX_CODE_SIZE` * re-pot MAX_POV_SIZE * check pov limit in runtime * POV_BOMB_LIMIT multiplier * fix compile * Update configuration.rs * Update node/primitives/src/lib.rs * fix test Co-authored-by: Parity Bot <[email protected]>
-
- Jun 20, 2021
-
-
ordian authored
* downgrade to debug * another thick log * bump spec versions in kusama, polkadot and westend again IV
-
- Jun 19, 2021
-
-
Andreas Doerr authored
-
Shawn Tabrizi authored
-
- Jun 18, 2021
-
-
Kian Paimani authored
* Set staking limits * Set westend limits as well * Update runtime/kusama/src/lib.rs Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
- Jun 16, 2021
-
-
Shawn Tabrizi authored
-
Shawn Tabrizi authored
* update weight apis * update Substrate Co-authored-by: parity-processbot <>
-
Keith Yeung authored
* Remove Call part imports of the offences and authority discovery pallets * Remove non-existent Call enum variants * Move ValidateUnsigned impl to be under #[pallet::validate_unsigned] in claims pallet * Remove unused imports * Remove Call part import for randomness collective flip pallet * update Substrate Co-authored-by: parity-processbot <>
-
- Jun 14, 2021
-
-
Martin Pugh authored
* bump spec_version and version * bump substrate * remove migrations * Revert "remove migrations" This reverts commit ceeab924d1cd5c2d3d05f24ab28315f0566f89d8. * remove stale migration for kusama + westend
-
Shawn Tabrizi authored
-
thiolliere authored
* companion * update Substrate Co-authored-by: parity-processbot <>
-
Qinxuan Chen authored
* migrate pallet-randomness-collective-flip to new pallet attr macro Signed-off-by: koushiro <[email protected]> * fix some nits Signed-off-by: koushiro <[email protected]> * fix Signed-off-by: koushiro <[email protected]> * some nits Signed-off-by: koushiro <[email protected]> * update Substrate Co-authored-by: parity-processbot <>
-