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

Use transient storage in Outbox and Bridge #260

Draft
wants to merge 30 commits into
base: bold-merge
Choose a base branch
from
Draft

Conversation

gvladika
Copy link
Contributor

@gvladika gvladika commented Oct 11, 2024

Integrate transient storage for:

  • L2 to L1 context in Outbox
  • active outbox ref in Bridge when call is executed

Some plugins are temporary disabled as they're not working with the Solidity 0.8.28 due to 'transient' keyword

@cla-bot cla-bot bot added the s label Oct 11, 2024
src/bridge/AbsBridge.sol Fixed Show fixed Hide fixed
@gvladika gvladika changed the base branch from develop to bold-merge October 16, 2024 09:44
src/bridge/AbsBridge.sol Outdated Show resolved Hide resolved
src/bridge/AbsBridge.sol Outdated Show resolved Hide resolved
src/bridge/AbsBridge.sol Outdated Show resolved Hide resolved
src/bridge/AbsOutbox.sol Outdated Show resolved Hide resolved
src/bridge/AbsBridge.sol Outdated Show resolved Hide resolved
src/bridge/AbsBridge.sol Fixed Show fixed Hide fixed
Comment on lines 49 to 51
/// @dev Due to how arb governance works, it is not possible to wipe out the content of these
/// 4 storage slots during the upgrade. So after deprecation values in these slots will
/// stay "dirty" with default values, but slots will not be used or accessible in any way.
Copy link
Member

Choose a reason for hiding this comment

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

let's remove these, keeping them dirty is simply a design choice

@gzeoneth gzeoneth self-requested a review October 31, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants