Skip to content

Read contract bytecode from latest even when execution block is mined-past #2577

Description

@carneiro-cw

Need to think a bit about the design of this, if naively implemented this means that a contract could be executed in a point in time before it was deployed, but I don't think that's so bad at all. If it is bad, then we'd need to track the deployment block of bytecodes in the cache, which might be hard in the current storage layout.

Worth noting that the contract code is immutable, so there is no risk of reading code in the wrong version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions