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

feat: Validium mode #14

Closed

Conversation

ilitteri
Copy link
Collaborator

No description provided.

@ilitteri ilitteri changed the base branch from validium_mode to zksync-era-contracts-commit January 31, 2024 21:17
require(logSender == L2_TO_L1_MESSENGER_SYSTEM_CONTRACT_ADDR, "ln");
require(providedL2ToL1PubdataHash == logValue, "wp");
// #endif
Copy link

Choose a reason for hiding this comment

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

Given we made it a "real" Solidity constant, maybe we can use a regular if instead of solpp here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point, I'll try it

Copy link

Choose a reason for hiding this comment

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

In fact, I'm not 100% sure the special case is even necessary. Shouldn't we just not expect the key to be present, and thus this case be dead code for validium?

…nto update_validium_mode_contracts"

This reverts commit 8e020fa, reversing
changes made to 5723284.
@mationorato mationorato changed the title feat: Validium mode + new fee model feat: Validium mode with new fee model Feb 6, 2024
@ilitteri ilitteri changed the title feat: Validium mode with new fee model feat: Validium mode Feb 6, 2024
@ilitteri ilitteri closed this Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants