-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds cap_limit, end_block and update_vault (#1039)
* adds cap_limit, end_block and update_vault * updates cap and fixes relay block check * updates benchmarking * Update benchmarking.rs * fixes benchmarking * add missing commas * adds UpdateVaultOrigin to all runtimes * adds RelayChainBlockNumberProvider to runtimes * add BlockNumberProvider to runtime imports * add BlockNumberProvider to heiko runtime * remove unneeded conversion * clippy fix * Fix lint & cap Signed-off-by: Cheng JIANG <[email protected]> * updates launch to include new vault args * update benchmarks and launch for trie_index * refactor and fix new vault args * refactor benchmarking * refactor benchmarking and tests * update cap type and add hash trait * add missing trie_index * create vault before update in bench * add missing vault check on create * remove try-runtime ci Signed-off-by: Cheng JIANG <[email protected]> * Fix build Signed-off-by: Cheng JIANG <[email protected]> * remove unecessary clippy allow Signed-off-by: Cheng JIANG <[email protected]> * Fix benchs Signed-off-by: Cheng JIANG <[email protected]> * /home/alex_cj96/.cargo/bin/cargo run --release --features=runtime-benchmarks --bin parallel -- benchmark --chain=vanilla-dev --steps=50 --repeat=20 --pallet=pallet_crowdloans --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./pallets/crowdloans/src/weights.rs --template=./.maintain/frame-weight-template.hbs * /home/alex_cj96/.cargo/bin/cargo run --release --features=runtime-benchmarks --bin parallel -- benchmark --chain=vanilla-dev --steps=50 --repeat=20 --pallet=pallet_crowdloans --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./pallets/crowdloans/src/weights.rs --template=./.maintain/frame-weight-template.hbs Co-authored-by: Cheng JIANG <[email protected]>
- Loading branch information
Showing
11 changed files
with
366 additions
and
173 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.