Skip to content

add CREATE2/CREATE destination address to vmlogs #28375

Description

@winsvega

Rationale

would be nice to have result address of create/create2 (especially) be printed out in vmlog
many times we try to create smth and then rever/oog
but we need to know the code address to check that it is not present in the state
so currently we do it manually.

Implementation

Calculate the hash of create instruction code and print the address in vmlog
even if it end up not being deployed to the post state or removed from it
it would be still possible to see at what address the code was expected to be created

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions