Skip to content

Prepare pallets for async backing#468

Closed
dastansam wants to merge 1 commit intomainfrom
03-14-use_type
Closed

Prepare pallets for async backing#468
dastansam wants to merge 1 commit intomainfrom
03-14-use_type

Conversation

@dastansam
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor 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
Copy Markdown
Contributor 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