This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
RPC: query historical storage entries #537
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gavofyork
approved these changes
Aug 14, 2018
Member
|
this doesn't touch runtime and only runtime failed in CI (spuriously); looks safe. |
dvdplm
added a commit
that referenced
this pull request
Aug 14, 2018
lamafab
pushed a commit
to lamafab/substrate
that referenced
this pull request
Jun 16, 2020
* Update to latest sub * Revert branch update * Update. * Update tests. * Ignore warnings in tests.
lamafab
pushed a commit
to lamafab/substrate
that referenced
this pull request
Jun 16, 2020
* Bump Substrate and versions (paritytech#531) * Bump versions * Build fix. * Enable governance (paritytech#536) * Enable governance * Tweak a few parameters * Bump substrate, versions. (paritytech#538) * Bump substrate, versions. * Build fix * Bump rpc deps (paritytech#537) * Update to latest sub * Revert branch update * Update. * Update tests. * Ignore warnings in tests. * Revert substrate (paritytech#540) * Version bump * Bump Substrate, versions. (paritytech#542) * Bump Substrate, versions. Also revert the enabling of democracy * Build fix * Bump Substrate (paritytech#544) * Bump Substrate * Fix * A few tidyups * Bump Substrate (paritytech#547) * Bump Substrate * Another bump * Fixed build for new block_import API * Enable grandpa migration. (paritytech#549) * Enable grandpa migration. * Bump runtime version
liuchengxu
added a commit
to chainx-org/substrate
that referenced
this pull request
Aug 23, 2021
* Rename OrderDirection to Side * Rename OrderType to Type * Rename OrderStatus * Also log error for std * Clarify the range for quotations Nit * Remove useless import * Revert OrderType * Revert OrderStatus
helin6
pushed a commit
to boolnetwork/substrate
that referenced
this pull request
Jul 25, 2023
* Update polkadot.rs Signed-off-by: Alexandru Vasile <[email protected]> * Update artifacts Signed-off-by: Alexandru Vasile <[email protected]> * Change CLI default to bytes Signed-off-by: Alexandru Vasile <[email protected]> * subxt: Storage query example Signed-off-by: Alexandru Vasile <[email protected]> * Update storage_query example with different alternatives Signed-off-by: Alexandru Vasile <[email protected]> * rpc: Make calls with StorageKey instead of the prefix Signed-off-by: Alexandru Vasile <[email protected]> * Examples: Add double map storage iteration Signed-off-by: Alexandru Vasile <[email protected]> * examples: Use tracing_subscriber for logs Signed-off-by: Alexandru Vasile <[email protected]> * Fix clippy Signed-off-by: Alexandru Vasile <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Instead of re-executing blocks we are just figuring out the diffs for given set of keys.
We first try to find a path starting at the end block up to the start block, by using hashes. Then we query the storage for all those blocks and return the results as diffs (StorageChangeSets).
I suppose it will not work well if the state is pruned, but should work fine on archive nodes.
Related: #135