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

Please support parity_listStorageKeys #47

Open
ytrezq opened this issue Jun 15, 2022 · 3 comments
Open

Please support parity_listStorageKeys #47

ytrezq opened this issue Jun 15, 2022 · 3 comments

Comments

@ytrezq
Copy link

ytrezq commented Jun 15, 2022

Rationale

This api still OpenEthereum only, allows to list all storage/blockchain on past blocks and is required to build a token rich list on past blocks as well required by many security analysis tools.

Implementation

No idea on how to implement it though it looks like https://github.com/ledgerwatch/erigon failed to find a way to implement it without breaking database compatibility and thus is unwilling to implement it. Please notice OpenEthereum required the database to be fatdb enabled in addition to tracing enabled (full archive node instead of just archive node).

@AusIV
Copy link
Contributor

AusIV commented Jun 17, 2022

@philip-morlier - I believe we could massage debug_storageRangeAt into this syntax. I'm not sure we could match the sort order parity used, but we should be able to get the result set.

@philip-morlier
Copy link
Contributor

philip-morlier commented Jun 17, 2022

@AusIV @ytrezq I have added this into our internal development cycle and will begin investigating in the near future. @ytrezq do you have access to a fully synced OpenEthereum archive node?

@ytrezq
Copy link
Author

ytrezq commented Jul 8, 2022

@philip-morlier sorry for the delay. I was looking for someone who could fix openethereum/openethereum@98873fc? I mean openethereum code has it s difficulty bomb which was planned in June not delayed.

Because of this, I crashed the RocksDb Index/MANIFEST file. The data inside sst files itself is Ok. The underlying problem is the Facebook tool used to rebuild Manifest comes from the ldb erra and doesn’t support multiple columns. I ve no idea on how to repair this.

Though there are examples on https://openethereum.github.io/JSONRPC-parity-module#parity_liststoragekeys.

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

3 participants