- Apr 04, 2021
-
-
Shawn Tabrizi authored
* implement auto refund * add back retiring @jacogr * bump substrate dep * trying to get to work * fix tests * fix benchmarks * Update runtime/common/src/crowdloan.rs * fix docs * remove unused traits * remove unused * unused * Update runtime/common/src/crowdloan.rs Co-authored-by: Kian Paimani <[email protected]> * Update runtime/common/src/crowdloan.rs * Update crowdloan.rs * Update runtime/common/src/crowdloan.rs * Update runtime/common/src/crowdloan.rs Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Gavin Wood <[email protected]>
-
Shawn Tabrizi authored
* Macro for generating `SlotRange` * remove test code * refactor slots into crate * add no_std flag * finish macro * make compile * fix copyright date * don't assume lease periods per slot * Update runtime/common/Cargo.toml * Apply suggestions from code review Co-authored-by: Guillaume Thiolliere <[email protected]> * fixes * Update lib.rs * tests * Move consts into struct * docs * fix compile * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * Update Cargo.lock * Update runtime/common/src/slot_range.rs Co-authored-by: Bastian Köcher <[email protected]> * Apply suggestions from code review Co-authored-by: Bastian Köcher <[email protected]> * fixes Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 02, 2021
-
-
asynchronous rob authored
* add disputes members to `HostConfiguration` * revert bad rename
-
- Apr 01, 2021
-
-
thiolliere authored
* code stored in para + modify CandidateDescriptor. * WIP: digest + some more impl * validation_code_hash in payload + check in inclusion * check in client + refator * tests * fix encoding indices * remove old todos * fix test * fix test * add test * fetch validation code inside collation-generation from the relay-chain * HashMismatch -> PoVHashMismatch + miscompilation * refactor, store hash when needed * storage rename: more specific but slightly too verbose * do not hash on candidate validation, fetch hash instead * better test * fix test * guide updates * don't panic in runtime Co-authored-by: Robert Habermeier <[email protected]>
-
asynchronous rob authored
-
asynchronous rob authored
* dispute types * add Debug to dispute primitives in std and InherentData * use ParachainsInherentData on node-side * change inclusion_inherent to paras_inherent * RuntimeDebug * add type parameter to PersistedValidationData users * fix test client * spaces * fix collation-generation test * fix provisioner tests * remove references to inclusion inherent
-
Gavin Wood authored
* Make build with OnSetCode * Fixes * update Substrate Co-authored-by: parity-processbot <>
-
Tomasz Drwięga authored
* Switch branch. * Implement basic MMR leaf. * Revert "Switch branch." This reverts commit 7f4d41c67f27ca560c53fc63fd3bd06ac182403c. * Bump substrate. * Integrate BEEFY. Bump all. Fix missing imports. * Use beefy pallet to get authorities. * Bump BEEFY repo. * Use next authority set instead of the current one. * Start BEEFY service. * Fix BEEFY start up. * Cache BEEFY authority set. * Add BEEFY ValidatorSetId to MMR * Fix code. * Apply suggestions from code review Co-authored-by: André Silva <[email protected]> Co-authored-by: Hernando Castano <[email protected]> * Review grumbles. * Update beefy repo. * Work-around missing protocol. * Revert "Work-around missing protocol." This reverts commit 0a6257a8bccc1c67e966898cdedc408c6469ffd6. * Add beefy peers set config. * Expose storage of BEEFY. * Uncompress BEEFY keys for merkle tree. * Update ordering. * Switch to branch. * Bump deps. * Switch to custom beefy. * Add MMR RuntimeApi and custom rpc. * Add set length details. * Fix compilation. * Expose MmrLeaf storage. * Expose MmrLeaf storage. * Don't use session handler, and rather compute & cache beefy details on call. * Don't use session handler, and rather compute & cache beefy details on call. * Fixes. * Update Cargo.lock. * Switch back to master. * Update lockfile. * Fix xcm print issue. * Cargo.lock. * Use master branch. * Remove extra dep. * Fix tests. * Update Cargo.lock * Add BEEFY & MMR to westend. * Implement session keys migration. * Update testnet script. * start BEEFY for all node types * Update Cargo.lock * fix Cargo.toml * resolve another merge conflict * add Westend BEEFY keys * Apply suggestions from code review Co-authored-by: Hernando Castano <[email protected]> * Update BEEFY. * Add Rococo BEEFY keys * resolve merge issue * fix pallet indices * fix Westend OldSessionKey * remove unused imports in Westend runtime * Fix compilation for Westend. * address review * start BEEFY gadget conditionally * address review again * fix typo * remove duplicate * remove another duplicate * well * add missing stuff * cleanup Cargo.toml files - revert unnecessary changes - add missing /std dependencies - remove unused dependencies * runtime: remove unused structs from rococo runtime * node: cleanup service Co-authored-by: André Silva <[email protected]> Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: adoerr <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- Mar 31, 2021
-
-
Gavin Wood authored
Co-authored-by: Shawn Tabrizi <[email protected]>
-
Kian Paimani authored
* Add some tests to demonstrate an estimate of the nominator limit * Update runtime/kusama/src/lib.rs * Update runtime/polkadot/src/lib.rs Co-authored-by: Shawn Tabrizi <[email protected]> * Fix build * remove max Co-authored-by: Shawn Tabrizi <[email protected]>
-
- Mar 30, 2021
-
-
Shawn Tabrizi authored
* Add Root functions to Paras * note past code * fix build * fix test build * compile fix and force_queue_action
-
- Mar 29, 2021
-
-
Shawn Tabrizi authored
* Add many sanity checks to Crowdloans * fix tests * test contribution block in integration test * fix rococo build * remove leaser from crowdloans * fix docs and terms * fix compile
-
Shawn Tabrizi authored
* Update auctions.rs * Add integration test * check that bid to another para requires new funds
-
Robert Klotzner authored
* Remove stuff out of the runtime that does not belong there. There might be more, but it is a start. * White space fixes. * Fix tests. * Leave whitespace in ui tests alone. * Add back zstd for no reason. * Fix browser wasm (hopefully)
-
- Mar 28, 2021
-
-
Shawn Tabrizi authored
* Update auctions.rs * Update auctions.rs
-
Peter Goodspeed-Niklaus authored
* use named generic types in generate_solution_type * "Update Substrate" Co-authored-by: parity-processbot <>
-
asynchronous rob authored
* add consensus log type * origin and issue force_approve * add origin in runtimes * ref API * scrape force_approve digest from header * add parent_hash to BlockEntry * add block_number to block entry and force_approve skeleton * implement and plug in force-approve * test force_approve * test force_approve extraction * westend runtime * Update node/core/approval-voting/src/approval_db/v1/mod.rs Co-authored-by: Bastian Köcher <[email protected]> * rename * Update runtime/parachains/src/initializer.rs Co-authored-by: André Silva <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: André Silva <[email protected]>
-
- Mar 27, 2021
-
-
Shawn Tabrizi authored
* Lease out current period and trigger onboard * Add test for trigger_onboard * patch and add benchmark * finish benchmarks * Use result instead of panic for test_registrar * nits
-
RRTTI authored
* Cancel treasury burn and increase rotation period What this PR changes: - Kusama treasury burn to be transferred to the Saociety pot: cancelled temporarily - Increase the rotation period for candidates to show PoI FROM 3,3 days to 7 days. * Update runtime/kusama/src/lib.rs * Update lib.rs Co-authored-by: Gavin Wood <[email protected]>
-
Shawn Tabrizi authored
* Add memo, but don't use it yet * add_memo * add weights * Update lib.rs * Update crowdloan.rs * add event
-
Shawn Tabrizi authored
* prevent crowdloan withdraw from being griefed * Update crowdloan.rs * Update runtime/common/src/crowdloan.rs * Update runtime/common/src/crowdloan.rs
-
- Mar 26, 2021
-
-
Shawn Tabrizi authored
* clear_lease * schedule upgrade and downgrade * fix compile * comments
-
- Mar 25, 2021
-
-
Shawn Tabrizi authored
* Check that para is registered before accepting a bid * Update lib.rs * Update lib.rs * remove println * fix benchmarks * Update runtime/common/src/auctions.rs Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: Kian Paimani <[email protected]>
-
Martin Pugh authored
* bump version and substrate * bump old forgotten versions * update weights * bump substrate * Revert "bump substrate" This reverts commit 8b5004b6fe9ce9ccdf143d3fe878802931ea4f2f. Co-authored-by: André Silva <[email protected]>
-
Kian Paimani authored
* Companion for https://github.com/paritytech/substrate/pull/8368 * "Update Substrate" Co-authored-by: parity-processbot <>
-
André Silva authored
-
- Mar 24, 2021
-
-
Kian Paimani authored
* Companion for substrate/pull/8445 * cargo update -p sp-io Co-authored-by: Shawn Tabrizi <[email protected]>
-
Shawn Tabrizi authored
* Remove Parachains Stuff from Westend * remove unused weights * clean up genesis
-
Shawn Tabrizi authored
* initial * add test * Update lib.rs * Update lib.rs
-
Shawn Tabrizi authored
* Allow Root to Edit a Crowdloan Configuration * Update crowdloan.rs * add test * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ Co-authored-by: Parity Benchmarking Bot <[email protected]>
-
Shawn Tabrizi authored
* Check fund depositor calls dissolve * add auction cancel too * use drain api rather than `iter` + `take` * add test and benchmarks * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=auctions --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ Co-authored-by: Parity Benchmarking Bot <[email protected]>
-
- Mar 23, 2021
-
-
thiolliere authored
Co-authored-by: Bastian Köcher <[email protected]>
-
Shawn Tabrizi authored
* Tweak Rococo Settings * rococo: use CurrentBlockRandomness wrapper in auctions Co-authored-by: André Silva <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Shawn Tabrizi authored
* Add Parachain Onboarding Pallets to Rococo * remove propose_parachain * add back para sudo wrapper * Revert "remove propose_parachain" This reverts commit 38b7c33c817964c9f8ad48531a72aede83670291. * turn propose_parachains into validator_manager * Update runtime/rococo/src/lib.rs Co-authored-by: Bastian Köcher <[email protected]> * update origin Co-authored-by: Bastian Köcher <[email protected]>
-
Kian Paimani authored
* inc * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ * Add test Co-authored-by: Parity Benchmarking Bot <[email protected]>
-
- Mar 20, 2021
-
-
Kian Paimani authored
* Almost make it work. * Make the runtimes build * Some fixes * Make the whole thing compile * Apply suggestions from code review * Fix review comments * remove unused. * nit * Fix * "Update Substrate" * bump tx-version Co-authored-by: parity-processbot <>
-
- Mar 18, 2021
-
-
Shaun Wang authored
* Replace 'Module' with 'Pallet'. * "Update Substrate" * fix babe usage * fix benchmark Co-authored-by: parity-processbot <> Co-authored-by: thiolliere <[email protected]>
-
- Mar 17, 2021
-
-
Jon Häggblad authored
* service: update for substrate PR #7640 * update substrate * Add Pallet Babe to Integration Tests Runtime Co-authored-by: André Silva <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
-
Kian Paimani authored
* Change something * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ Co-authored-by: Parity Benchmarking Bot <[email protected]>
-
Kian Paimani authored
* Fix wrong deposit amount in council voters. * Fix some build * make it all compile.. so far. * Fix * break build * Okay fix it again
-