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

Add support for historical BlockNumber rpc methods #4574

Merged
merged 3 commits into from
Feb 20, 2022

Conversation

stwiname
Copy link
Contributor

Hopefully this is right this time.

I'm not sure if there's any need to cache the result of getting block hash from block number.

Copy link
Member

@jacogr jacogr left a comment

Choose a reason for hiding this comment

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

Thank you! Looks great, some tiny comments.

packages/rpc-core/src/bundle.ts Outdated Show resolved Hide resolved
packages/rpc-core/src/bundle.ts Outdated Show resolved Hide resolved
packages/rpc-core/src/bundle.ts Outdated Show resolved Hide resolved
@jacogr jacogr merged commit 5da8f21 into polkadot-js:master Feb 20, 2022
@stwiname stwiname deleted the patch-2 branch February 20, 2022 19:57
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants