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

ElectionProviderMultiPhase.SignedSubmissionsMap fails to decode on block 6348646 #1

Open
jsdw opened this issue Sep 27, 2024 · 0 comments

Comments

@jsdw
Copy link
Collaborator

jsdw commented Sep 27, 2024

Not enough data to fill buffer.

Using https://github.com/jsdw/polkadot-historic-decoding-example with the following command hits this:

cargo run --release -- decode-storage-items --types ../frame-decode/types/polkadot_types.yaml --spec-versions polkadot_old_spec_changes.json --connections 3 --starting-number 754 --starting-entry ElectionProviderMultiPhase.SignedSubmissionsMap

We can run the JS version of the command (ie in the /js folder in that repo) with:

./index.js decode-storage-items --block 6348646 --entry ElectionProviderMultiPhase.SignedSubmissionsMap

Curiously, offhand it looks like both get to the same decode result, and perhaps both run out of bytes and don't finish in the same way.

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

No branches or pull requests

1 participant