-
Notifications
You must be signed in to change notification settings - Fork 87
Kusama switch parachain staking #1751
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
Open
SunTiebing
wants to merge
41
commits into
develop
Choose a base branch
from
kusama-switch-parachain-staking
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or 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
# Conflicts: # runtime/bifrost-kusama/src/lib.rs
…a-switch-parachain-staking # Conflicts: # runtime/bifrost-kusama/src/lib.rs
* refactor: 💡 modify event * feat: 🎸 add query_pending_rewards
* Removed state-trie-migration. * Removed state-trie-migration. * update
Co-authored-by: Edwin <[email protected]>
…a-switch-parachain-staking # Conflicts: # runtime/bifrost-kusama/src/lib.rs
# Conflicts: # Cargo.lock # node/cli/Cargo.toml # runtime/bifrost-kusama/src/lib.rs # runtime/bifrost-paseo/src/lib.rs # runtime/bifrost-polkadot/src/lib.rs
* Bifrost v0.19.0 * upgrade polkadot-sdk to stable2412 * adjust test code * feat: add migration logic for asset registry to version 2 * chore: upgrade Rust toolchain to 1.82.0 and update related configurations * chore: update Rust toolchain to nightly-2025-05-09 and adjust related configurations * fix: standardize ExistenceRequirement usage and update weight functions in XCM benchmarks * chore: update Rust toolchain from nightly to version 1.82.0 across build configurations * fix: update return type in dispatch_benchmark and enforce clippy warnings as errors * fix: standardize ExistenceRequirement usage and improve asset transfer handling * fix: optimize dependence upgrade code * fix: update ExistenceRequirement and improve Ethereum transaction handling * fix: update Ethereum transaction action type to use ethabi types
…a-switch-parachain-staking # Conflicts: # Cargo.lock # Cargo.toml # node/cli/Cargo.toml # pallets/buy-back/src/migration.rs # pallets/buy-back/src/tests.rs # runtime/bifrost-kusama/src/lib.rs # runtime/bifrost-kusama/src/migration.rs # runtime/bifrost-paseo/src/lib.rs # runtime/bifrost-polkadot/Cargo.toml # runtime/bifrost-polkadot/src/lib.rs
* feat: 🎸 add VtokenIssuance * fix: 🐛 clippy * fix: 🐛 test * fix: 🐛 set_vtoken_issuance * fix: 🐛 test-all * fix: 🐛 fmt * fix: 🐛 correct_vtoken_reserves * feat: 🎸 add get_v_currency_issuance * fix: 🐛 format * feat: 🎸 get_v_currency_issuance * fix: 🐛 get_v_currency_issuance * fix: 🐛 bench * fix: 🐛 fmt * fix: 🐛 rm update_vtoken_issuance * fix: 🐛 fmt * fix: 🐛 fmt
* fix: 🐛 inner_charge_hosting_fee * fix: 🐛 clippy
* Bifrost v0.19.0 * upgrade polkadot-sdk to stable2412 * adjust test code * feat: add migration logic for asset registry to version 2 * Add integration tests * chore: upgrade Rust toolchain to 1.82.0 and update related configurations * chore: update Rust toolchain to nightly-2025-05-09 and adjust related configurations * fix: standardize ExistenceRequirement usage and update weight functions in XCM benchmarks * chore: update Rust toolchain from nightly to version 1.82.0 across build configurations * fix: update return type in dispatch_benchmark and enforce clippy warnings as errors * fix: standardize ExistenceRequirement usage and improve asset transfer handling * fix: optimize dependence upgrade code * Use latest code from Polkadot-sdk integration-tests * Add integration tests * Merge code * Fix ci --------- Co-authored-by: SunTiebing <[email protected]>
…chain-staking # Conflicts: # runtime/bifrost-kusama/src/lib.rs # runtime/bifrost-kusama/src/xcm_config.rs
…1799) * fix: update vtoken issuance retrieval to use VtokenMintingInterface * feat: implement SimpleVTokenSupplyProvider for vtoken minting and redemption * fix: format code and improve readability in mock.rs
* Refactor migration handling and update pallet dependencies * Update MultiBlockMigrator to use MultiBlockMigrations type * Remove linear upgrade checks from pre_upgrade function
* Bifrost v0.19.0 * Fix bb bnc (#1735) * refactor: 💡 modify event * feat: 🎸 add query_pending_rewards * Removed pallet merkle_distributor (#1737) * Removed state-trie-migration (#1738) * Removed state-trie-migration. * Removed state-trie-migration. * update * fix: 🐛 get_target_block (#1739) Co-authored-by: Edwin <[email protected]> * fix: 🐛 balance_of & redeem_commission (#1749) * fix: 🐛 balance_of & redeem_commission * fix: 🐛 test * adapt relayer on paseo network (#1752) * Support native eth to be evm fee (#1754) * Migrate token storage to version 3 and remove deprecated fields (#1750) * Migrate token storage to version 3 and remove deprecated fields * Add migration to version 3 for bifrost_system_staking * Fix migration module reference from v3 to v2 in storage upgrade logic * Slp2.0 token gateway (#1753) * add set_whitelist_addresses call * adapte token-gateway on_accept hook * add benchmarking and weight * fix: handle missing gateway addresses in whitelist check * Add Vec import to lib.rs for runtime API usage (#1756) * Add Vec import for try-runtime feature (#1757) * Add Vec import to lib.rs for runtime API usage * Add Vec import to v3.rs for try-runtime feature * Async mint (#1744) * feat: 🎸 async-mint * fix: 🐛 test * feat: 🎸 add correct_vtoken_reserves * fix: 🐛 weight * fix: 🐛 format * feat: 🎸 benchmark * style: 💄 format * style: 💄 format * feat: 🎸 async-mint * fix: 🐛 test-all * fix: 🐛 format * fix: 🐛 v_currency_id * style: 💄 format * fix: 🐛 benchmark * fix: 🐛 modify to FiveYears (#1755) * fix: 🐛 modify to FiveYears * fix: 🐛 test-all * fix: 🐛 bbbnc mock * fix: 🐛 test * fix: 🐛 test * fix: 🐛 test-all * Handle hyperbridge oracle (#1758) * Add Vec import to lib.rs for runtime API usage * Add Vec import to v3.rs for try-runtime feature * Implement SlpxOperator trait for hyperbridge handling in Bifrost * Refactor SlpxOperator implementation for improved readability * fix clippy * Follow EIP-191 when verifying ethereum messages (#1760) * Add xcm weight (#1759) * Add xcm weight * Fix ci * feat: 🎸 add EthUnlockNextId (#1763) * remove logging restriction from on-chain release build configuration (#1764) * feat: 🎸 add delegation and undelegation functionality for voting * feat: 🎸 add DelegatedVoting track and origin for proxy-based voting * feat: 🎸 refactor delegation voting logic and introduce do_vote function * feat: 🎸 update voting functions to use vtoken_balance for delegation logic * feat: 🎸 implement compute_token_balance function and update delegation logic for token handling * feat: 🎸 add benchmarking for delegate and undelegate functions with vote locking period * feat: 🎸 update referendum status handling and reintroduce delegation logic in benchmarking * feat: 🎸 update delegate and undelegate functions to include vote weight calculations * feat: 🎸 implement delegated voting functionality and update related origins and pallet IDs * fix: remove duplicate ETHEREUM_MESSAGE_PREFIX declaration * feat: add delegated voting configuration and limits --------- Co-authored-by: Edwin <[email protected]> Co-authored-by: yooml <[email protected]> Co-authored-by: MJLNSN <[email protected]> Co-authored-by: NingBo Wang <[email protected]>
…a-switch-parachain-staking # Conflicts: # runtime/bifrost-kusama/src/lib.rs
…ost upgrade checks
* fix: update voting origin to use DelegatedVotingTrackOrigin * fix: update delegation handling to use computed token balances
* feat: add migration to storage version 4 and implement related logic * refactor: simplify migration logic for AccountToOuterMultilocation * refactor: remove redundant decoding of state parameter in migration logic * refactor: specify Vec<u8> type in pre_upgrade and post_upgrade functions
…chain-staking # Conflicts: # runtime/bifrost-kusama/src/lib.rs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.