Skip to content

feat: add shared lockbox invariants#15

Merged
agusduha merged 6 commits intosc-feat/add-shared-lockboxfrom
feat/add-shared-lockbox-invariants
Dec 17, 2024
Merged

feat: add shared lockbox invariants#15
agusduha merged 6 commits intosc-feat/add-shared-lockboxfrom
feat/add-shared-lockbox-invariants

Conversation

@agusduha
Copy link
Copy Markdown
Member

No description provided.

@agusduha agusduha self-assigned this Dec 13, 2024
Comment thread specs/interop/shared-lockbox-upgrade.md Outdated
the on-chain chains list is simplified by assuming that joining the Shared Lockbox is
equivalent to joining the op-governed dependency set.
Based on the assumption that a chain joining the op-governed dependency set is an irreversible process,
it is assume that joining the Shared Lockbox is equivalent to it.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
it is assume that joining the Shared Lockbox is equivalent to it.
it is assumed that joining the Shared Lockbox is equivalent to it.

Comment thread specs/interop/shared-lockbox-upgrade.md Outdated
Comment on lines +20 to +21
Based on the assumption that a chain joining the op-governed dependency set is an irreversible process,
it is assume that joining the Shared Lockbox is equivalent to it.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this a business decision or a protocol specification. Should we mention this here 🤔?
In which way is it helpful to explain that when talking about the upgrade process?

### Integrating `SharedLockbox`

The integration with the `SharedLockbox` involves adding extra steps when executing deposit transactions
The integration with the `SharedLockbox` involves extra steps when executing deposit transactions
Copy link
Copy Markdown

@0xDiscotech 0xDiscotech Dec 13, 2024

Choose a reason for hiding this comment

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

I feel this comment ethereum-optimism#465 (comment) is not 100% addressed like this.

What I understand he's asking is to say sthing like:

The extra steps are:
* Locking ETH on a deposit transactions
* unlocking ETH on finalized withdrawals

The integration with the `SharedLockbox` involves extra steps when executing deposit transactions
or finalizing withdrawal transactions.
These steps are locking and unlocking ETH without altering other aspects of the current `OptimismPortal` implementation.
The integration with the `SharedLockbox` locking ETH when executing deposit transactions and unlocking ETH
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
The integration with the `SharedLockbox` locking ETH when executing deposit transactions and unlocking ETH
The integration with the `SharedLockbox` involves locking ETH when executing deposit transactions and unlocking ETH

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

+1

@agusduha agusduha merged commit b25ed80 into sc-feat/add-shared-lockbox Dec 17, 2024
@agusduha agusduha deleted the feat/add-shared-lockbox-invariants branch December 17, 2024 19:55
agusduha added a commit that referenced this pull request Mar 4, 2025
* feat: add shared lockbox spec (#7)

* feat: add shared lockbox spec

* feat: update shared lockbox spec

* fix: specs

* feat: add mermaid diagram

* fix: prs comments

* fix: nits

* fix: remove dependency manager

* feat: refactor lockbox specs

* fix: nit

* fix: misspellings

* fix: verb tense

* fix: prs comments

* fix: small changes

* fix: lint

* feat: add shared lockbox invariants (#15)

* feat: add shared lockbox invariants

* fix: remove immutable variable

* feat: add upgrader role

* feat: add authorized invariants to the portal

* fix: pr

* fix: add upgrader role and remove new portal invariants

* feat: dependency set refactor (#19)

* feat: dependency set refactor

* fix: pr

* feat: add new shared lockbox specs

* fix: remove interop naming

* fix: extension

* fix: summary

* fix: dependency manager descope (#22)

* feat: ETH lockbox redesign

* fix: add proxy admin owner check

* fix: pr fixes

* fix: authorize portal fixes

* fix: authorize lockbox fix

* fix: add unlockETH invariant and adminOwner getter

* fix: add migrate liquidity invariant

* fix: pr fixes

* fix: invariant rewording
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.

3 participants