-
Notifications
You must be signed in to change notification settings - Fork 721
Feature/add update available staking #1514
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
Automatically process queued redeem request after the adjustment happened.
…available-staking * origin/master: 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 move tests to individual files (#1518) bump version (#1516) Changed the way base withdraw fee is charged (#1512)
…available-staking * origin/master: Integration tests and homa lite fixes (#1524)
xlc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests to verify matching?
|
/bench runtime module module_homa_lite |
|
Error running benchmark: feature/add-update-available-staking stdoutfatal: failed to unpack tree object af526d69021215fbe8678083928e09641eeb772c error: Submodule 'ecosystem-modules/stable-asset' could not be updated. error: Submodule 'ecosystem-modules/stable-asset' cannot checkout new HEAD. fatal: Could not reset index file to revision 'origin/feature/add-update-available-staking'. |
Updated the new_available_staking_currency_can_handle_redeem_requests to test newly added available staking currency can match existing redeem requests. |
|
/bench runtime module module_homa_lite |
|
Finished benchmark for branch: feature/add-update-available-staking 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
|
Prevented TotalStakingCurrency from becoming zero
…multiple redeem requests
…ust_total_staking_currency`
|
/bench runtime karura module_homa_lite |
|
Finished benchmark for branch: feature/add-update-available-staking 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/ ResultsCompiling acala-cli v1.6.0 (/app/git/Acala/node/cli) |
|
/bench runtime module module_homa_lite |
|
Finished benchmark for branch: feature/add-update-available-staking 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
|
…available-staking
…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/add-update-available-staking 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/
…staking_balance adjust_available_staking_balance now takes how many redeem matches is allowed. Weight is calculated from this parameter Added unit test for the new behaviour
Minor update to the comments and documentation
…available-staking * 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) update ACA allocation and vesting schedule resources (#1550) polkadot-v0.9.12 (#1535) update collators (#1548) Enable integration tests for acala-runtime (#1521) fix release note action save output (#1547) # Conflicts: # runtime/acala/src/weights/module_homa_lite.rs # runtime/karura/src/weights/module_homa_lite.rs
|
I don't have anything else to add, looking good, will need a lot of testing :P |
rewrote another test to test dust handling for mint
…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
Added a new extrinsic to udpate the availalbe_staking_balances
Also automatically match any redeem requests after new Staking balances becomes available
closes #1509
fixes #1545