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

Bifrost v0.18.0 #1684

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

Bifrost v0.18.0 #1684

wants to merge 9 commits into from

Conversation

SunTiebing
Copy link
Contributor

No description provided.

SunTiebing and others added 9 commits March 7, 2025 13:29
* Bifrost v0.17.0

* Phase3-Activate async backing (#1611)

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

* Add async migration code for pallet fee-share and system-staking (#1614)

* feat: 🎸 fee-share and system-staking

* fix: 🐛 clippy

* Delete gov1 (#1636)

* feat: 🎸 rm gov1

* refactor: 💡 rm Council

* refactor: 💡 rename

* refactor: 💡 format

* refactor: 💡 rm dep

---------

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

* [skip ci] set ubuntu version to 2204 (#1638)

* Migrate vesting (#1637)

* Migrate vesting

* Fix clippy

---------

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

* refactor: 💡 remove gov1 (#1645)

* Vtoken voting support fast unlock (#1617)

* vTokenVoting support fast unlock when vote result fail

* regenerate weights

* Supplement test code

* Change update_referendum_status call name to update_referendum_vote_status

* Supplement the weight code of `bifrost-paseo`. (#1647)

* Asynchronous block generation adaption (#1628)

* Modify the way current_block_number is obtained in the salp and vtokenvoting pallets.

* bifrost_parachain_staking: adapt MinBlocksPerRound

* bifrost_parachain_staking: Round storage migration

* bifrost_vtoken_voting: adapt ReferendumCheckInterval

* bifrost_vtoken_voting: VoteLockingPeriod and UndecidingTimeout storage migration

* fix clippy

* bifrost_vtoken_voting: ReferendumTimeoutV3 storage migration

* pallet_referenda: ReferendumInfoFor storage migration

---------

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

* build(deps): bump clap from 4.5.27 to 4.5.28 (#1646)

Bumps [clap](https://github.com/clap-rs/clap) from 4.5.27 to 4.5.28.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.5.27...clap_complete-v4.5.28)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* adjust fast unlock logic (#1648)

* SLP cross chain fee cause lack of vToken reserve (#1649)

* refactor: 💡 charge_host_fee_and_tune_vtoken_exchange_rate

* fix: 🐛 delegator value

* style: 💄 format

* Migrate runtime constants (#1652)

* refactor: 💡 mv const currency

* refactor: 💡 rm time const

* Slpx supports hyperbridge (#1655)

* Slpx supports hyperbridge

* Add comment

* Fix cli

* Fix ci

* remove: gov1 config in chain-spec (#1657)

* Vtoken voting automatic updates for vbnc (#1653)

* Implementation of on-chain automatic updates for vBNC referendum status.

* adjust mock file

* Synchronize the modification of the ReferendumInfoFor state, especially when the proposal ends.

* Improve the logic for the proposal state transitions.

* optimize auto_sync_native_referendum_state function

* adjust mock file

* Add test code for 'Synchronize the modification of the ReferendumInfoFor state'

* remove unused mock code

* Slpx supports hydration oracle (#1658)

* Slpx supports hyperbridge

* Slpx supports hydration

* Add comment

* Add comment

* Fix cli

* Fix ci

* Hyperbridge adaptation for DApp. (#1661)

* Modify the remove_vote restriction. (#1662)

* Bump Paseo runtime version

* fix: 🐛 add StorageVersion (#1670)

* fix: 🐛 add StorageVersion

* fix: 🐛 post_upgrade

* Fix a bit (#1669)

* fix referenda migration (#1671)

* Fix try-runtime (#1672)

* paseo: enable async backing (#1673)

* fix: 🐛 add BifrostKusamaFeeShareOnRuntimeUpgrade (#1674)

* fix: 🐛 add BifrostKusamaFeeShareOnRuntimeUpgrade

* fix referenda migration

---------

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

* Fix try runtime kusama (#1675)

* fix: 🐛 add BifrostKusamaFeeShareOnRuntimeUpgrade

* fix referenda migration

* Remove idempotent check restrictions

---------

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

* Sort rustflags alphabetically

* Remove unnecessary clone calls and update Clippy config

* Remove explicit_counter_loop

* Remove needless_lifetimes

* Move -Dclippy::correctness to the end

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: SunTiebing <[email protected]>
Co-authored-by: Edwin <[email protected]>
Co-authored-by: NingBo Wang <[email protected]>
Co-authored-by: yooml <[email protected]>
Co-authored-by: 战神西红柿 <[email protected]>
Co-authored-by: SunTiebing <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bifrost v0.17.0

* Phase3-Activate async backing (#1611)

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

* Add async migration code for pallet fee-share and system-staking (#1614)

* feat: 🎸 fee-share and system-staking

* fix: 🐛 clippy

* Delete gov1 (#1636)

* feat: 🎸 rm gov1

* refactor: 💡 rm Council

* refactor: 💡 rename

* refactor: 💡 format

* refactor: 💡 rm dep

---------

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

* [skip ci] set ubuntu version to 2204 (#1638)

* Migrate vesting (#1637)

* Migrate vesting

* Fix clippy

---------

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

* refactor: 💡 remove gov1 (#1645)

* Vtoken voting support fast unlock (#1617)

* vTokenVoting support fast unlock when vote result fail

* regenerate weights

* Supplement test code

* Change update_referendum_status call name to update_referendum_vote_status

* Supplement the weight code of `bifrost-paseo`. (#1647)

* Asynchronous block generation adaption (#1628)

* Modify the way current_block_number is obtained in the salp and vtokenvoting pallets.

* bifrost_parachain_staking: adapt MinBlocksPerRound

* bifrost_parachain_staking: Round storage migration

* bifrost_vtoken_voting: adapt ReferendumCheckInterval

* bifrost_vtoken_voting: VoteLockingPeriod and UndecidingTimeout storage migration

* fix clippy

* bifrost_vtoken_voting: ReferendumTimeoutV3 storage migration

* pallet_referenda: ReferendumInfoFor storage migration

---------

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

* build(deps): bump clap from 4.5.27 to 4.5.28 (#1646)

Bumps [clap](https://github.com/clap-rs/clap) from 4.5.27 to 4.5.28.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.5.27...clap_complete-v4.5.28)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* adjust fast unlock logic (#1648)

* SLP cross chain fee cause lack of vToken reserve (#1649)

* refactor: 💡 charge_host_fee_and_tune_vtoken_exchange_rate

* fix: 🐛 delegator value

* style: 💄 format

* Migrate runtime constants (#1652)

* refactor: 💡 mv const currency

* refactor: 💡 rm time const

* Slpx supports hyperbridge (#1655)

* Slpx supports hyperbridge

* Add comment

* Fix cli

* Fix ci

* remove: gov1 config in chain-spec (#1657)

* Vtoken voting automatic updates for vbnc (#1653)

* Implementation of on-chain automatic updates for vBNC referendum status.

* adjust mock file

* Synchronize the modification of the ReferendumInfoFor state, especially when the proposal ends.

* Improve the logic for the proposal state transitions.

* optimize auto_sync_native_referendum_state function

* adjust mock file

* Add test code for 'Synchronize the modification of the ReferendumInfoFor state'

* remove unused mock code

* Slpx supports hydration oracle (#1658)

* Slpx supports hyperbridge

* Slpx supports hydration

* Add comment

* Add comment

* Fix cli

* Fix ci

* support dispatching of calls in pallet-token-gateway

* fix redeeming erc20 assets

* Hyperbridge adaptation for DApp. (#1661)

* Modify the remove_vote restriction. (#1662)

* Bump Paseo runtime version

* fix: 🐛 add StorageVersion (#1670)

* fix: 🐛 add StorageVersion

* fix: 🐛 post_upgrade

* Fix a bit (#1669)

* fix referenda migration (#1671)

* Fix try-runtime (#1672)

* paseo: enable async backing (#1673)

* fix: 🐛 add BifrostKusamaFeeShareOnRuntimeUpgrade (#1674)

* fix: 🐛 add BifrostKusamaFeeShareOnRuntimeUpgrade

* fix referenda migration

---------

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

* Fix try runtime kusama (#1675)

* fix: 🐛 add BifrostKusamaFeeShareOnRuntimeUpgrade

* fix referenda migration

* Remove idempotent check restrictions

---------

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

* fix: 🐛 refresh (#1678)

* Merge v0.17.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: SunTiebing <[email protected]>
Co-authored-by: Edwin <[email protected]>
Co-authored-by: yooml <[email protected]>
Co-authored-by: 战神西红柿 <[email protected]>
Co-authored-by: SunTiebing <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bifrost v0.17.0

* Phase3-Activate async backing (#1611)

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

* Add async migration code for pallet fee-share and system-staking (#1614)

* feat: 🎸 fee-share and system-staking

* fix: 🐛 clippy

* Delete gov1 (#1636)

* feat: 🎸 rm gov1

* refactor: 💡 rm Council

* refactor: 💡 rename

* refactor: 💡 format

* refactor: 💡 rm dep

---------

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

* [skip ci] set ubuntu version to 2204 (#1638)

* Migrate vesting (#1637)

* Migrate vesting

* Fix clippy

---------

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

* refactor: 💡 remove gov1 (#1645)

* Vtoken voting support fast unlock (#1617)

* vTokenVoting support fast unlock when vote result fail

* regenerate weights

* Supplement test code

* Change update_referendum_status call name to update_referendum_vote_status

* Supplement the weight code of `bifrost-paseo`. (#1647)

* Asynchronous block generation adaption (#1628)

* Modify the way current_block_number is obtained in the salp and vtokenvoting pallets.

* bifrost_parachain_staking: adapt MinBlocksPerRound

* bifrost_parachain_staking: Round storage migration

* bifrost_vtoken_voting: adapt ReferendumCheckInterval

* bifrost_vtoken_voting: VoteLockingPeriod and UndecidingTimeout storage migration

* fix clippy

* bifrost_vtoken_voting: ReferendumTimeoutV3 storage migration

* pallet_referenda: ReferendumInfoFor storage migration

---------

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

* build(deps): bump clap from 4.5.27 to 4.5.28 (#1646)

Bumps [clap](https://github.com/clap-rs/clap) from 4.5.27 to 4.5.28.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.5.27...clap_complete-v4.5.28)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* adjust fast unlock logic (#1648)

* SLP cross chain fee cause lack of vToken reserve (#1649)

* refactor: 💡 charge_host_fee_and_tune_vtoken_exchange_rate

* fix: 🐛 delegator value

* style: 💄 format

* Migrate runtime constants (#1652)

* refactor: 💡 mv const currency

* refactor: 💡 rm time const

* Slpx supports hyperbridge (#1655)

* Slpx supports hyperbridge

* Add comment

* Fix cli

* Fix ci

* remove: gov1 config in chain-spec (#1657)

* Vtoken voting automatic updates for vbnc (#1653)

* Implementation of on-chain automatic updates for vBNC referendum status.

* adjust mock file

* Synchronize the modification of the ReferendumInfoFor state, especially when the proposal ends.

* Improve the logic for the proposal state transitions.

* optimize auto_sync_native_referendum_state function

* adjust mock file

* Add test code for 'Synchronize the modification of the ReferendumInfoFor state'

* remove unused mock code

* Slpx supports hydration oracle (#1658)

* Slpx supports hyperbridge

* Slpx supports hydration

* Add comment

* Add comment

* Fix cli

* Fix ci

* Hyperbridge adaptation for DApp. (#1661)

* Modify the remove_vote restriction. (#1662)

* Bump Paseo runtime version

* Upgrade polkadot-sdk to stable2409

* update Cargo.lock

* Fixed an issue where github could not update dependencies

* remove git-fetch-with-cli

* update Cargo.lock

* update Cargo.lock

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Edwin <[email protected]>
Co-authored-by: NingBo Wang <[email protected]>
Co-authored-by: yooml <[email protected]>
Co-authored-by: 战神西红柿 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bifrost v0.17.0

* Phase3-Activate async backing (#1611)

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

* Add async migration code for pallet fee-share and system-staking (#1614)

* feat: 🎸 fee-share and system-staking

* fix: 🐛 clippy

* Delete gov1 (#1636)

* feat: 🎸 rm gov1

* refactor: 💡 rm Council

* refactor: 💡 rename

* refactor: 💡 format

* refactor: 💡 rm dep

---------

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

* [skip ci] set ubuntu version to 2204 (#1638)

* Migrate vesting (#1637)

* Migrate vesting

* Fix clippy

---------

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

* refactor: 💡 remove gov1 (#1645)

* Vtoken voting support fast unlock (#1617)

* vTokenVoting support fast unlock when vote result fail

* regenerate weights

* Supplement test code

* Change update_referendum_status call name to update_referendum_vote_status

* Supplement the weight code of `bifrost-paseo`. (#1647)

* Asynchronous block generation adaption (#1628)

* Modify the way current_block_number is obtained in the salp and vtokenvoting pallets.

* bifrost_parachain_staking: adapt MinBlocksPerRound

* bifrost_parachain_staking: Round storage migration

* bifrost_vtoken_voting: adapt ReferendumCheckInterval

* bifrost_vtoken_voting: VoteLockingPeriod and UndecidingTimeout storage migration

* fix clippy

* bifrost_vtoken_voting: ReferendumTimeoutV3 storage migration

* pallet_referenda: ReferendumInfoFor storage migration

---------

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

* build(deps): bump clap from 4.5.27 to 4.5.28 (#1646)

Bumps [clap](https://github.com/clap-rs/clap) from 4.5.27 to 4.5.28.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.5.27...clap_complete-v4.5.28)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* adjust fast unlock logic (#1648)

* SLP cross chain fee cause lack of vToken reserve (#1649)

* refactor: 💡 charge_host_fee_and_tune_vtoken_exchange_rate

* fix: 🐛 delegator value

* style: 💄 format

* Migrate runtime constants (#1652)

* refactor: 💡 mv const currency

* refactor: 💡 rm time const

* Slpx supports hyperbridge (#1655)

* Slpx supports hyperbridge

* Add comment

* Fix cli

* Fix ci

* remove: gov1 config in chain-spec (#1657)

* Vtoken voting automatic updates for vbnc (#1653)

* Implementation of on-chain automatic updates for vBNC referendum status.

* adjust mock file

* Synchronize the modification of the ReferendumInfoFor state, especially when the proposal ends.

* Improve the logic for the proposal state transitions.

* optimize auto_sync_native_referendum_state function

* adjust mock file

* Add test code for 'Synchronize the modification of the ReferendumInfoFor state'

* remove unused mock code

* Slpx supports hydration oracle (#1658)

* Slpx supports hyperbridge

* Slpx supports hydration

* Add comment

* Add comment

* Fix cli

* Fix ci

* Hyperbridge adaptation for DApp. (#1661)

* Modify the remove_vote restriction. (#1662)

* Bump Paseo runtime version

* Set the Hyperbridge relayer fee to be paid in stablecoins.

* Set the Hyperbridge relayer fee to be paid in stablecoins.

* remove the unused code

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Edwin <[email protected]>
Co-authored-by: NingBo Wang <[email protected]>
Co-authored-by: yooml <[email protected]>
Co-authored-by: 战神西红柿 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

4 participants