You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome if anvil supported parity's trace_replayBlockTransactionsendpoint.
Additional context
I am attempting to write some developer tooling for programmatically producing genesis filealloc fields for their pre-deployed contracts. I want to enable developers to simply write a forge script that deploys their system contracts, then programmatically transform the results of that script into alloc JSON.
I am using heimdall dumpmodule pointed at anvil to discover all storage slot values for a deployed contract. heimdall dump relies on the trace_replayBlockTransactions endpoint to produce the state diffs (1, 2), but this endpoint isn't currently supported in anvil.
cast storage isn't perfect for this because it doesn't work well with proxies or immutable variables (#5437), nor does it show values stored in mappings, nor values manually sstore'd at hashed storage slots.
The text was updated successfully, but these errors were encountered:
Component
Anvil
Describe the feature you would like
It would be awesome if anvil supported parity's
trace_replayBlockTransactions
endpoint.Additional context
I am attempting to write some developer tooling for programmatically producing genesis file
alloc
fields for their pre-deployed contracts. I want to enable developers to simply write aforge script
that deploys their system contracts, then programmatically transform the results of that script intoalloc
JSON.I am using
heimdall dump
module pointed at anvil to discover all storage slot values for a deployed contract.heimdall dump
relies on thetrace_replayBlockTransactions
endpoint to produce the state diffs (1, 2), but this endpoint isn't currently supported in anvil.cast storage
isn't perfect for this because it doesn't work well with proxies or immutable variables (#5437), nor does it show values stored in mappings, nor values manually sstore'd at hashed storage slots.The text was updated successfully, but these errors were encountered: