Skip to content

Conversation

@jcortejoso
Copy link
Member

@jcortejoso jcortejoso commented Jun 28, 2024

Fixes when L1 migration block is too old, and the migration block generated timestamp was also generated as a too old block and latter sequencer rejected to generate more blocks.

jcortejoso and others added 9 commits June 27, 2024 10:09
Fix issue with tags
* Revert to using time.Now() for migration block

Instead of simply adding 5 to the parent block time.

We really do need a deterministic time for the migration block so that
all parties that run the migration arrive at the same migration block
but the problem is that op-geth requires that the L2 migration block
(aka l2 origin) occurs after the l1 origin (I guess the point where you
deploy the bridge contracts to the l1). When we migrate a partially
synced datadir the block before the transition block will be very old,
up to 4 years old! So of course it occurs before the l1 origin. So a fix
just to get things working is to use time.Now(), but probably we should
make this a configurable parameter.

* add flag to specify timestamp

* Update op-chain-ops/cmd/celo-migrate/main.go

---------

Co-authored-by: alecps <[email protected]>
@jcortejoso
Copy link
Member Author

Changes already merged at #184 and #180

@jcortejoso jcortejoso closed this Jul 1, 2024
@jcortejoso jcortejoso deleted the piersy/migrate-script-full-alfajores-snap-sync branch July 1, 2024 08:10
karlb pushed a commit that referenced this pull request Aug 30, 2024
* contracts: Add gas input to precompile pre-images (#186)

Also update the cannon evm tests to use the new precompile preimage scheme.

---------

Co-authored-by: Adrian Sutton <[email protected]>

* op-challenger: Support uploading data in new format. (#188)

* op-program: Add required gas to precompile oracle key (#176)

* op-challenger: Support multiple versions of the preimage oracle contract

---------

Co-authored-by: Adrian Sutton <[email protected]>

---------

Co-authored-by: inphi <[email protected]>

---------

Co-authored-by: Adrian Sutton <[email protected]>
palango pushed a commit that referenced this pull request Jan 14, 2025
…#13626)

* feat: remove cross l2 inbox execute message (#185)

* feat: remove cross l2 inbox execute message

* feat: remove cross l2 inbox execute message

* feat: remove cross l2 inbox identifier checks (#186)

* feat: remove cross l2 inbox identifier checks

* fix: clear emit and validate naming

* fix: pre pr (#187)

---------

Co-authored-by: AgusDuha <[email protected]>
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