-
Notifications
You must be signed in to change notification settings - Fork 721
Feature/homa lite periodic update #1538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…eriodic-update * origin/master: Integration tests and homa lite fixes (#1524) support BNC as fee token (#1528) Remove dex trading path check in predeploy-contracts (#1529) bump spec version update orml (#1533) use PolkadotXcm for wrap version (#1530) set xcm version to 2 upon upgrade (#1515) test on release branch increase trading path limit (#1522) bump spec version # Conflicts: # modules/homa-lite/src/tests.rs
|
/bench runtime module module_homa_lite |
|
Finished benchmark for branch: feature/homa-lite-periodic-update Benchmark: Benchmark Runtime Module cargo run --release --color=never --bin=acala --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/homa-lite/src/weights.rs --template=./templates/module-weight-template.hbs ResultsPallet: "module_homa_lite", Extrinsic: "on_idle", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
|
|
/bench runtime karura module_homa_lite |
…hmarks --features=with-mandala-runtime -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/homa-lite/src/weights.rs --template=./templates/module-weight-template.hbs
|
Finished benchmark for branch: feature/homa-lite-periodic-update Benchmark: Benchmark Runtime Module cargo run --release --color=never --bin=acala --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/homa-lite/src/weights.rs --template=./templates/module-weight-template.hbs ResultsPallet: "module_homa_lite", Extrinsic: "on_idle", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
|
|
Finished benchmark for branch: feature/homa-lite-periodic-update Benchmark: Benchmark Runtime Module cargo run --release --color=never --bin=acala --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/homa-lite/src/weights.rs --template=./templates/module-weight-template.hbs ResultsPallet: "module_homa_lite", Extrinsic: "on_idle", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
|
…hmarks --features=with-mandala-runtime -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/homa-lite/src/weights.rs --template=./templates/module-weight-template.hbs
…hmarks --features=with-mandala-runtime -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/homa-lite/src/weights.rs --template=./templates/module-weight-template.hbs
|
Finished benchmark for branch: feature/homa-lite-periodic-update Benchmark: Benchmark Runtime Karura Module cargo run --release --color=never --bin=acala --features=runtime-benchmarks --features=with-karura-runtime -- benchmark --chain=karura-dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/karura/src/weights/ ResultsPallet: "module_homa_lite", Extrinsic: "on_idle", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
|
…hmarks --features=with-karura-runtime -- benchmark --chain=karura-dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/karura/src/weights/
|
lgtm, other than small nit |
…ency is updated Update unit tests Changed StakingInterestRatePerUpdateSet from Config to storage, changeable via governance extrinsic calls.
|
/bench runtime module module_homa_lite |
|
Finished benchmark for branch: feature/homa-lite-periodic-update Benchmark: Benchmark Runtime Module cargo run --release --color=never --bin=acala --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/homa-lite/src/weights.rs --template=./templates/module-weight-template.hbs ResultsPallet: "module_homa_lite", Extrinsic: "on_idle", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
|
…hmarks --features=with-mandala-runtime -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./modules/homa-lite/src/weights.rs --template=./templates/module-weight-template.hbs
|
/bench runtime karura module_homa_lite |
|
Finished benchmark for branch: feature/homa-lite-periodic-update Benchmark: Benchmark Runtime Karura Module cargo run --release --color=never --bin=acala --features=runtime-benchmarks --features=with-karura-runtime -- benchmark --chain=karura-dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/karura/src/weights/ ResultsPallet: "module_homa_lite", Extrinsic: "on_idle", Lowest values: [], Highest values: [], Steps: 50, Repeat: 20
|
…hmarks --features=with-karura-runtime -- benchmark --chain=karura-dev --steps=50 --repeat=20 --pallet=module_homa_lite --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/karura/src/weights/
…eriodic-update * origin/master: add mandala publish script Improve release note action (#1568) Update acala (#1564) Bench karura runtime (#1565) bump version (#1563) stale migrations (#1559) xcm barrier (#1560) udate action (#1551) update acala genesis config (#1554) # Conflicts: # runtime/acala/src/weights/module_homa_lite.rs # runtime/karura/src/weights/module_homa_lite.rs
Fixed benchmarking for on_initialize. benchmarked the module and with all runtimes. Updated unit test to test the right weight is returned from on_initialize
…etwork/Acala into feature/homa-lite-periodic-update * 'feature/homa-lite-periodic-update' of github.com:AcalaNetwork/Acala: Update modules/homa-lite/src/lib.rs
…eriodic-update * origin/master: Feature/add update available staking (#1514) Clean Dependencies (#1577) Disable xcm method (#1558) # Conflicts: # modules/homa-lite/src/benchmarking.rs # modules/homa-lite/src/lib.rs # modules/homa-lite/src/tests.rs # modules/homa-lite/src/weights.rs # runtime/acala/src/weights/module_homa_lite.rs # runtime/karura/src/weights/module_homa_lite.rs # runtime/mandala/src/weights/module_homa_lite.rs
TotalStakingCurrency in the HomaLite module periodically updates to simulate staking rewards from the Relaychain.
Add Configuration for update frequency and interest rate.
closes #1497