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

feat: 6s block time #982

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open

feat: 6s block time #982

wants to merge 34 commits into from

Conversation

vgantchev
Copy link
Contributor

@vgantchev vgantchev commented Jan 7, 2025

This PR introduces async backing (6s block time)

The changes have been prepared following this guide: https://wiki.polkadot.network/docs/maintain-guides-async-backing and galacticcouncil/Basilisk-node#672

TODO:

  • Activate async backing in the runtime and in the node
  • dca + migration
  • oracles update
  • check governance locks
  • staking
  • scheduler
  • asset fees decay

Migrations (remove from Executive after the upgrade):

  • pallet_dca::migrations::MultiplySchedulesPeriodBy2
  • pallet_staking::migrations::SetSixSecBlocksSince
  • migrations::MigrateSchedulerTo6sBlocks

Copy link

github-actions bot commented Jan 7, 2025

New crates:

  • pallet-conviction-voting: v28.0.0

Crate versions that have been updated:

  • hydra-dx-math: v9.0.0 -> v9.0.1
  • hydradx: v14.0.2 -> v14.1.0
  • pallet-dca: v1.8.3 -> v1.8.4
  • pallet-ema-oracle: v1.4.1 -> v1.4.2
  • pallet-staking: v4.1.1 -> v4.2.0
  • primitives: v6.1.0 -> v6.1.1
  • hydradx-runtime: v287.0.0 -> v288.0.0

Runtime version has been increased.

@vgantchev vgantchev changed the title feat: Async backing feat: 6s block time Jan 8, 2025
@vgantchev vgantchev marked this pull request as ready for review February 6, 2025 13:31
@vgantchev vgantchev requested review from mrq1911 and dmoka February 6, 2025 15:22
@jak-pan
Copy link
Contributor

jak-pan commented Feb 7, 2025

calculate_new_by_integrating_incoming oracles need to be updated here

@vgantchev
Copy link
Contributor Author

calculate_new_by_integrating_incoming oracles need to be updated here

The oracles were updated in d8442f1

The only change needed was reducing SHORT 20 -> 10 blocks

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.

3 participants