Guillaume Thiolliere
|
86498a1a0c
|
move some pallet test to use construct_runtime (#8049)
* migrate some more pallets
* revert example-offcahin-worker as not straightforward
* fix mmr
|
2021-02-04 15:57:59 +00:00 |
|
Guillaume Thiolliere
|
f48296e9ad
|
Update parity-scale-codec to 2.0 (#7994)
* update cargo.toml
* use 2.0 in mmmr
|
2021-01-29 12:22:45 +00:00 |
|
Guillaume Thiolliere
|
014e6f03c6
|
bumpd minor version (#7873)
|
2021-01-12 09:25:47 +01:00 |
|
Bastian Köcher
|
452244514a
|
Fix master build (#7837)
* Fix master build
* Use correct copyright year
|
2021-01-06 09:45:56 +00:00 |
|
Shawn Tabrizi
|
92f596829d
|
Participation Lottery Pallet (#7221)
* Basic design
* start adding tests
* finish tests
* clean up crates
* use call index for match
* finish benchmarks
* add to runtime
* fix
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_lottery --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/lottery/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* more efficient storage
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_lottery --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/lottery/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Update lib.rs
* Update bin/node/runtime/src/lib.rs
* trait -> config
* add repeating lottery
* new benchmarks
* fix build
* move trait for warning
* feedback from @xlc
* add stop_repeat
* fix
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_lottery --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/lottery/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Support static calls
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_lottery --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/lottery/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* fix test
* add loop to mitigate modulo bias
* Update weights for worst case scenario loop
* Initialize pot with ED
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_lottery --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/lottery/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
|
2021-01-05 13:58:04 +00:00 |
|