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

Add transient storage slot support in StorageSlot.sol #4980

Merged
merged 17 commits into from
Apr 3, 2024

Conversation

Amxx
Copy link
Collaborator

@Amxx Amxx commented Mar 28, 2024

Replaces #4965
Fixes #4961

Blocked by the hardhat-exposed issue: see this

PR Checklist

  • Tests
  • Documentation
  • Changeset entry (run npx changeset add)

Copy link

changeset-bot bot commented Mar 28, 2024

🦋 Changeset detected

Latest commit: 1d43d23

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openzeppelin-solidity Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

socket-security bot commented Mar 28, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] filesystem 0 138 kB frangio
npm/[email protected] filesystem Transitive: environment, eval, network, shell, unsafe +178 45.9 MB cgewecke
npm/[email protected] Transitive: filesystem +15 3.77 MB frangio
npm/[email protected] environment, filesystem, network, shell Transitive: eval, unsafe +261 238 MB alcuadrado

🚮 Removed packages: npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

contracts/utils/StorageSlot.sol Outdated Show resolved Hide resolved
hardhat.config.js Outdated Show resolved Hide resolved
ernestognw
ernestognw previously approved these changes Apr 3, 2024
Copy link
Member

@ernestognw ernestognw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just added a quick example in the utilities page.

LGTM

@ernestognw ernestognw changed the title Add storage slot support in StorageSlot.sol Add transient storage slot support in StorageSlot.sol Apr 3, 2024
@Amxx
Copy link
Collaborator Author

Amxx commented Apr 3, 2024

Last changes look good to me

ernestognw
ernestognw previously approved these changes Apr 3, 2024
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 this pull request may close these issues.

Library for derivation of slots
2 participants