-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
draft: ban-deposits-interop first RFC draft #11362
Conversation
There is currently some discrepancies between using |
should we also modify: optimism/op-node/rollup/types.go Line 492 in 0d78e5a
maybe on another PR. for now I'll use |
return nil, fmt.Errorf("failed to marshal Isthmus l1 block info: %w", err) | ||
} | ||
return out, nil | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: no newline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tynes not sure what you mean. do you want a new-line? the other set of 3 unmarshal...
are all clumped together
* fix: contracts compiler errors * feat: create some set l1 block values ithmus test * refactor: not cross l2 inbox error * chore: checkpoint debugging test * fix: contracts compiler errors * feat: create some set l1 block values ithmus test * refactor: not cross l2 inbox error * chore: checkpoint debugging test * refactor: call public function * fix: update is deposit var storage slot * chore: update l2 cross inbox tests with the new is deposit check * feat: add is deposit test * refactor: set is deposit as an unstructured storage slot var * feat: add missing natspec * feat: update semver * fix: stick to natspec standards * chore: enhance natspec * chore: underscore slot constant name * Revert "chore: underscore slot constant name" This reverts commit e162361. * chore: enhance l1 block test * refactor: move the new isthmus logic to the l1 block interop contract * refactor: move the isthmus test logic to the l1 block test contract * refactor: functions order * chore: remove unused imports
* fix: contracts compiler errors * feat: create some set l1 block values ithmus test * refactor: not cross l2 inbox error * chore: checkpoint debugging test * fix: contracts compiler errors * feat: create some set l1 block values ithmus test * refactor: not cross l2 inbox error * chore: checkpoint debugging test * refactor: call public function * fix: update is deposit var storage slot * chore: update l2 cross inbox tests with the new is deposit check * feat: add is deposit test * refactor: set is deposit as an unstructured storage slot var * feat: add missing natspec * feat: update semver * fix: stick to natspec standards * chore: enhance natspec * chore: underscore slot constant name * Revert "chore: underscore slot constant name" This reverts commit e162361. * chore: enhance l1 block test * refactor: move the new isthmus logic to the l1 block interop contract * refactor: move the isthmus test logic to the l1 block test contract * refactor: functions order * chore: remove unused imports * feat: benchmark set values ecotone and isthmus functions
} | ||
else if (syscall_no == sys.SYS_GET_AFFINITY) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why has the linter modified these lines?
} | ||
else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same linting weird behavior
* fix: contracts compiler errors * feat: create some set l1 block values ithmus test * refactor: not cross l2 inbox error * chore: checkpoint debugging test * fix: contracts compiler errors * feat: create some set l1 block values ithmus test * refactor: not cross l2 inbox error * chore: checkpoint debugging test * refactor: call public function * fix: update is deposit var storage slot * chore: update l2 cross inbox tests with the new is deposit check * feat: add is deposit test * refactor: set is deposit as an unstructured storage slot var * feat: add missing natspec * feat: update semver * fix: stick to natspec standards * chore: enhance natspec * chore: underscore slot constant name * Revert "chore: underscore slot constant name" This reverts commit e162361. * chore: enhance l1 block test * refactor: move the new isthmus logic to the l1 block interop contract * refactor: move the isthmus test logic to the l1 block test contract * refactor: functions order * chore: remove unused imports * feat: benchmark set values ecotone and isthmus functions * refactor: rename from l1 block interop to isthmus * feat: add benchmark test for deposits complete function * chore: update gas snapshot * feat: add warm and non warm benchmarks * chore: delete unused pkg
* feat: first pass at some tests * fix: removed check * feat: added a few more tests * feat: added final tests on spec * fix: missguiding name * fix: move gas limit comment to the constant definition * feat: added qol hardfork config * fix: remove return and revamped tests * fix: missing test qol revamp
Description
To get ready for Interop, we need to make sure to disable
ExecutingMessages
to be referenced by Deposit transactions.This PR touches both the client and the relevant pre-deploy contracts.
more context: ticket & spec
Tests
Tests will NOT be added to this PR, as it only serves as a collaborative draft.
Additional context
Missing features:
!ba.rollupCfg.IsInteropActivationBlock
legacy deposit handlingmarshall
andunmarshall
functionality forDepositsCompleteTx
l1InfoTx
SetL1BlockValues
function on.go
filesMetadata