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

[AJUN-495] Runtime Upgrade for Async Backing #64

Merged
merged 3 commits into from
Jun 12, 2024
Merged

Conversation

DidacSF
Copy link
Contributor

@DidacSF DidacSF commented Jun 11, 2024

Description

Updates runtime to enabled 6s blocks through async-backing

Type of changes

  • build: Changes that affect the build system or external dependencies (eg, Cargo, Docker)
  • ci: Changes to CI configuration
  • docs: Changes to documentation only
  • feat: Changes to add a new feature
  • fix: Changes to fix a bug
  • refactor: Changes that do not alter functionality
  • style: Changes to format the code
  • test: Changes to add missing tests or correct existing tests

Checklist

  • Tests for the changes have been added
  • Necessary documentation is added (if appropriate)
  • Formatted with cargo fmt --all
  • Linted with cargo clippy --all-features --all-targets
  • Tested with cargo test --workspace --all-features --all-targets

@DidacSF DidacSF requested a review from clangenb June 11, 2024 14:34
Copy link
Contributor

@clangenb clangenb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, except for one comment I think this looks good.

I reviewed that:

type MinimumPeriod = ConstU64<0>;
type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is wrong IMO, it should stay at 0 if I read this correctly: https://wiki.polkadot.network/docs/maintain-guides-async-backing#phase-3---activate-async-backing

(But maybe it was wrong that it was 0 before XD)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, you are right about that!

Copy link
Contributor

@clangenb clangenb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful. Looks good to me now!

@DidacSF DidacSF merged commit 353ca73 into develop Jun 12, 2024
12 checks passed
@DidacSF DidacSF deleted the ds/AJUN-495 branch June 12, 2024 08:24
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.

2 participants