Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

BlockId removal: refactor: Backend::state_at #12488

Merged
merged 3 commits into from
Oct 14, 2022

Conversation

michalkucharczyk
Copy link
Contributor

@michalkucharczyk michalkucharczyk commented Oct 13, 2022

It changes the argument of Backend::state_at from:
block: BlockId<Block> to: hash: &Block::Hash

This PR is part of BlockId::Number refactoring analysis (paritytech/polkadot-sdk#53) .

HeaderBackend::expect_block_hash_from_id was used to convert BlockId to Block::Hash.

polkadot companion: paritytech/polkadot#6149
cumulus companion: paritytech/cumulus#1760

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Oct 13, 2022
@michalkucharczyk michalkucharczyk added B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Oct 13, 2022
@michalkucharczyk michalkucharczyk requested a review from a team October 13, 2022 10:57
@michalkucharczyk
Copy link
Contributor Author

bot merge

@paritytech-processbot
Copy link

Error: "Check reviews" status is not passing for paritytech/polkadot#6149

@koute
Copy link
Contributor

koute commented Oct 14, 2022

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot paritytech-processbot bot merged commit f313987 into master Oct 14, 2022
@paritytech-processbot paritytech-processbot bot deleted the mku-blockid-backend-state_at branch October 14, 2022 09:27
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
* Minor naming improved

* BlockId removal refactor: Backend::state_at

* formatting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
Status: done
Development

Successfully merging this pull request may close these issues.

4 participants