Skip to content
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

Improve vtoken-voting #1101

Merged
merged 34 commits into from
Dec 13, 2023
Merged

Improve vtoken-voting #1101

merged 34 commits into from
Dec 13, 2023

Conversation

ark930
Copy link
Member

@ark930 ark930 commented Dec 12, 2023

No description provided.

@ark930 ark930 changed the base branch from develop to v0.9.90 December 13, 2023 09:20
@ark930 ark930 merged commit 9cd2ca6 into v0.9.90 Dec 13, 2023
1 check passed
@ark930 ark930 deleted the improve-vtoken-voting branch December 13, 2023 12:48
ark930 added a commit that referenced this pull request Dec 29, 2023
* Bifrost v0.9.90

* Slp add XCM weight parameters (#1098)

* Slp optimises XCM weight parameters

* Optimising code

* Add construct xcm test

* Slpx add ethereum call (#1097)

* Slpx add ethereum call

* Optimising code

* Improve vtoken-voting (#1101)

* Fix tests compile errors

* Add method Utility::BatchAll

* Add function set_vote_cap_ratio

* Add function vote_cap

* Add function vote_to_capital

* Add function compute_delegator_total_vote

* Fix import

* Add function allocate_delegator_votes

* Fix function ensure_referendum_expired

* Fix test `notify_remove_delegator_vote_fail_works`

* Remove tests `split_voting_works` and `abstain_voting_works`

* Remove delegator_vote_roles in GenesisConfig

* Remove `set_delegator_role` and add `add_delegator`

* Fix `ensure_referendum_expired`

* Fix integration-tests vtoken_voting::vote_works

* Fix compiles

* Add function account_vote

* Optimize compute_delegator_total_vote

* Optimize allocate_delegator_votes

* Remove try_select_derivative_index, try_add_delegator_vote, try_sub_delegator_vote

* Minor fix

* Allow vote by any conviction

* Test `add_delegator_works`

* Fix test `successful_but_zero_conviction_vote_balance_can_be_unlocked`

* Fix integration-tests/bifrost-kusama/src/vtoken_voting.rs

* Allow vote by any conviction

* Fix

* Fix tests

* Fix copyright

* Fix benchmarking, clippy and copyright

* Fix

* fix try-runtime:skip pre-post && weight check (#1111)

Co-authored-by: TomatoAres <[email protected]>

* vtoken-voting migration v2 (#1113)

* vtoken-voting migration v2

* Fix clippy

* fix: 🐛 vesting weight (#1112)

* fix: 🐛 vesting weight

* fix: 🐛 weight

* Fix leverage staking (#1110)

* fix: 🐛 leverage-staking

* fix: 🐛 fix

* feat: 🎸 add flash_loan_deposit_inner

* fix: 🐛 format

* refactor: 💡 add Lend && rm currency_id

* fix: 🐛 clippy

* fix: 🐛 FlashLoanDeposited

* fix: 🐛 test-all

* fix: 🐛 rm discriminant

* fix manta (#1115)

* fix manta

* remove println

* fix: 🐛 increase_leverage (#1116)

* fix: 🐛 reduce_amount (#1118)

---------

Co-authored-by: NingBo Wang <[email protected]>
Co-authored-by: 战神西红柿 <[email protected]>
Co-authored-by: TomatoAres <[email protected]>
Co-authored-by: yooml <[email protected]>
Co-authored-by: Herry Ho <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant