Skip to content

Conversation

jsdw
Copy link
Collaborator

@jsdw jsdw commented Apr 15, 2024

Smoldot returns the provided start_key when fetching storage items (see smol-dot/smoldot#1692), whereas we don't expect this back from Substrate (it's badly named really; start_key does imply it will be handed back to me).

In Subxt we remove such an entry if we find it when iterating over storage entries, to avoid duplicate entries being returned.

Closes #1453, closes #1525

@jsdw jsdw requested a review from a team as a code owner April 15, 2024 10:10
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.

Light Client: Iteration on map storage will never stop. LightClient storage iterator returns duplicates
2 participants