-
Notifications
You must be signed in to change notification settings - Fork 89
Slpx supports asset hub #1846
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
hqwangningbo
wants to merge
23
commits into
develop
Choose a base branch
from
slpx_supports_asset_hub
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
Slpx supports asset hub #1846
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
* Bifrost v0.20.0 * Support vdot teleport to assetHub (#1790) * Upgrade polkadot stable2412 (#1747) * 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 * Add vtoken issuance (#1783) * 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 (#1796) * fix: 🐛 inner_charge_hosting_fee * fix: 🐛 clippy * Support XcmV5 and Integration tests (#1797) * 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]> * fix: update vtoken issuance retrieval to use VtokenMintingInterface (#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 (#1795) * Refactor migration handling and update pallet dependencies * Update MultiBlockMigrator to use MultiBlockMigrations type * Remove linear upgrade checks from pre_upgrade function * Vtokenvoting with delegation (#1798) * 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]> * Add LocationToAccountApi * Add LocationToAccountApi --------- Co-authored-by: SunTiebing <[email protected]> Co-authored-by: SunTiebing <[email protected]> Co-authored-by: yooml <[email protected]> Co-authored-by: Edwin <[email protected]> Co-authored-by: MJLNSN <[email protected]>
# 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
# 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
* build(deps): update Rust toolchain and dependencies to stable2503 * refactor: add DecodeWithMemTracking to various structs and enums for memory optimization * feat: add BlockNumberProvider to various configurations for enhanced block number handling * clippy: Optimize the code * clippy: Optimize the code * feat: add Disabled trait to various configurations for enhanced alias handling * Need to review: update TRACKS_DATA to use str_array for track names * fix: update Ethereum transaction call to use contract directly * fix: update codec usage in EvmParams and tracks data * MUST BE REVIEWED: add authorization list support in transaction and contract calls * MUST BE REVIEWED:: add authorization list support in transaction and contract calls * MUST BE REVIEWED: add max_pov_percentage configuration to collator settings * fix: use saturated conversion for referendum block status * refactor: update BlockNumber type usage in ReferendumInfo * feat: add dev_accounts field to genesis and mock configurations * feat: add test configuration support for string conversion in tracks * Optimize ancient code: clean up unused variables and improve code readability in tests and mock files * fix: update wasm target from wasm32-unknown-unknown to wasm32v1-none across configuration files * feat: add migration support for pallet_session and cumulus_pallet_aura_ext to Unreleased type * Polkadot sdk 2503 fix clippy (#1832) * fix: simplify constant definitions and improve code readability * fix: add dev_accounts field to genesis configurations and simplify time constants * fix: address clippy warnings and improve code readability * fix: address clippy warnings and improve code readability * fix: simplify balance calculations and improve code readability * fix: standardize numeric literals with underscores for improved readability * fix: improve code readability by simplifying format usage and removing unnecessary references * fix: remove unnecessary clippy allow directives for too many arguments * fix: clean up Cargo.toml by removing unused dependencies for improved maintainability * fix: metatata corrected to metadata * Change the method name saturating_add_if_same_variant to saturating_add * Rollback irregular error return * fix tests --------- Co-authored-by: hqwangningbo <[email protected]> * Polkadot sdk 2503 code review (#1834) * Restore the logic of the partial_cmp method * Optimize test mod module * Set the new block number setting to relay chain * Refactor: Improve code readability in kusama mock file --------- Co-authored-by: hqwangningbo <[email protected]>
* Fix do_redeem * add more tests * add more tests
* fix: vtokenVoting unlock logic adapts to delegate function * refactor: rename poll_index to maybe_poll_index for clarity
* Update Cargo.lock with new dependency versions * Update yamux to 0.13.5
…slpx_supports_charge_fee
…-io/bifrost into slpx_supports_asset_hub
…-io/bifrost into slpx_supports_asset_hub
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.