Skip to content

LZ Init Lib Implementation#1

Draft
oldchili wants to merge 7 commits intomasterfrom
dev
Draft

LZ Init Lib Implementation#1
oldchili wants to merge 7 commits intomasterfrom
dev

Conversation

@oldchili
Copy link
Copy Markdown
Contributor

No description provided.

@oldchili oldchili changed the title Early implementation LZ Init Lib Implementation Mar 23, 2026
Comment thread deploy/LZInit.sol
Comment on lines +252 to +254
// ==================================
// Relay functions (L1 → L2)
// ==================================
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Did you consider moving the relay functions to its own file library? It seems that would be cleaner for L2 where the relay functions do not apply but would also separate better the concerns in L1.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

After a quick try it seems the split is pretty straight forward. Anyway not a real strong opinion but feels better to separate.

Comment thread deploy/LZInit.sol
@@ -0,0 +1,410 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.22;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

should be >=0.8.0

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.

2 participants