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

Library for derivation of slots #4961

Closed
Amxx opened this issue Mar 17, 2024 · 0 comments · Fixed by #4980
Closed

Library for derivation of slots #4961

Amxx opened this issue Mar 17, 2024 · 0 comments · Fixed by #4980
Labels

Comments

@Amxx
Copy link
Collaborator

Amxx commented Mar 17, 2024

Solidity does the derivation of slot under the hood when trying to access a value in an array or a mapping.
Users may want to do te same to compute slots for transient storage, which solidity does not support yet.

This library does exactly that.

See it used here

@Amxx Amxx added the idea label Mar 17, 2024
@Amxx Amxx changed the title Library for derivation slot locations Library for derivation of slots Mar 17, 2024
@Amxx Amxx added this to the 5.1 milestone Mar 17, 2024
@Amxx Amxx closed this as completed in #4980 Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment