This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 682
Custom Provider with #parity_listStorageKeys #96
Labels
Comments
Hey @Latrasis! This does sound like an interesting feature, but I think you could use We don't have any plans to implement this unfortunately. Thanks for the suggestion however! |
This was referenced Nov 23, 2023
This was referenced Apr 16, 2024
This was referenced Oct 13, 2024
This was referenced Oct 20, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Context
When debugging or accessing storage within an account, it is valuable to see all the storage keys used within an account's state tree. Currently this is solved with injecting logs into a contract, this however makes development cumbersome and is not possible with already compiled contracts.
Expected Behavior
The Parity JSONRPC Api includes #parity_liststorageKeys which lists all used storage keys of an account.
This is incredibly useful for debugging purposes and can be opt-in with a flag.
--fat-db
Current Behavior
Ganache-core currently does not provide any way to list account storage keys when debugging
Possible Solution
Include a custom provider which exposes a subset of parity json-abi calls for debugging, starting from:
#parity_liststorageKeys
.Environment
The text was updated successfully, but these errors were encountered: