Skip to content

Add isHistoric flags to RPC with hash params #2535

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

Merged
merged 7 commits into from
Aug 30, 2020
Merged

Add isHistoric flags to RPC with hash params #2535

merged 7 commits into from
Aug 30, 2020

Conversation

jacogr
Copy link
Member

@jacogr jacogr commented Aug 30, 2020

Transparently handle registry swaps for historic queries where block hashes has been specified.

This basically means that rpc.chain.getBlock(<hash>) & query.system.events.at(<hash>) just works out of the box. (It does have extra overhead on these historic queries since it needs to determine the hashes and versions)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
jacogr added 5 commits August 30, 2020 10:05

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@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 Jun 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants