Skip to content

[Forge Test][Tracing] implement tracer for storage change recording. #329

@pkhry

Description

@pkhry

Implement RecordAccessTracer

required by record and startStateDiffRecording to correctly record storage reads and writes(note that write is also recorded as a read).

for startStateDiffRecording we need to record the AccountAccess during every CALL, CREATE or SELFDESTRUCT.

for the approximate impl take a look at pallet-revive's own CallTracer and foundry-zksync's crates::zksync::core::vm::storage_recorder.rs/storage_view.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions