Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arbitrary storage slot read/write library #241

Open
2 of 3 tasks
ItsNickBarry opened this issue May 13, 2024 · 0 comments · May be fixed by #244
Open
2 of 3 tasks

Arbitrary storage slot read/write library #241

ItsNickBarry opened this issue May 13, 2024 · 0 comments · May be fixed by #244

Comments

@ItsNickBarry
Copy link
Member

ItsNickBarry commented May 13, 2024

It would be useful to have some functions to read from and write to arbitrary storage slots. This could help with debugging and correction of corrupted data, especially where assembly or other low-level techniques have been used.

  • read(uint256) returns (bytes32)
  • write(uint256, bytes32)
  • additional functions for working with mappings, arrays, and structs
@ItsNickBarry ItsNickBarry linked a pull request May 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant