Skip to content

[Bug]: Properly Reset Even Custom Set Storage Slots #112

@0xNeshi

Description

@0xNeshi

What happened?

If a custom storage slot is written to before a transaction revert occurs, the storage slot is not properly reset (e.g. fails for Erc1967Utils::upgrade_beacon_to_and_call > Erc1967Utils::set_beacon when the beacon returns an implementation without any code).

platform

  • linux
  • windows
  • macos

Expected behavior

Custom set storage slots should also be reset on transaction reversal.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions