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

Prepare pallets for async backing #468

Closed
wants to merge 1 commit into from
Closed

Prepare pallets for async backing #468

wants to merge 1 commit into from

Conversation

dastansam
Copy link

@dastansam dastansam commented Mar 14, 2025

What?

Introduces BlockNumberProvider type for pallets

Why?

So that we can use a more reliable, consistent notion of block number, since with async backing system block number becomes nondeterministic

How?

Relay chain's block number is used where possible, i.e funding, linear-release, and we rely on system block number in other cases

Testing?

Changes were made to Instantiator so that it works for both integration and unit tests, since now integration tests Runtime uses relay chain's block number instead of chain's

Screenshots (optional)

Anything Else?

#469

Copy link
Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@dastansam dastansam changed the title Use type Prepare pallets for async backing Mar 14, 2025
@dastansam dastansam force-pushed the 03-14-use_type branch 3 times, most recently from 5d5cb33 to 52283eb Compare March 14, 2025 07:15
@dastansam dastansam self-assigned this Mar 14, 2025
@dastansam dastansam requested a review from lrazovic March 14, 2025 07:16
@dastansam dastansam marked this pull request as ready for review March 14, 2025 07:16
@dastansam
Copy link
Author

closed in favor of #471

@dastansam dastansam closed this Mar 14, 2025
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.

1 participant