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
chore(validium): fix validium init and server #1796
Conversation
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.
The PR looks good in general. Left some comments with suggestions, nits, and spotted some errors, and questions.
I'm trying to run this locally like this
zk && zk clean --all && zk env dev_validium && zk init --validium mode
and I'm having these errors:
zk init
- While running the server in genesis (the same errors is in the CI)
Error: Failed to save SetChainId upgrade transaction Caused by: Expected a single set_chain_id event, got these 0: []
- Error: TypeError: diamondProxy.setValidiumMode is not a function
server
We can't operate after tx fail
-> revert_reason: "revert: pl"
I think that the server error is due to the error 2 I'm having during the init
core/lib/l1_contract_interface/src/i_executor/structures/commit_batch_info.rs
Outdated
Show resolved
Hide resolved
Update:
|
…rator-layer chore(node): remove is_validium flag and make it more extensible
…oss_check fix(Validium): `getPubdataPricingMode` contract call
## What ❔ <!-- What are the changes this PR brings about? --> <!-- Example: This PR adds a PR template to the repo. --> <!-- (For bigger PRs adding more context is appreciated) --> ## Why ❔ <!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? --> <!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. --> ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zk fmt` and `zk lint`. - [ ] Spellcheck has been run via `zk spellcheck`. - [ ] Linkcheck has been run via `zk linkcheck`. --------- Co-authored-by: ilitteri <ilitteri@fi.uba.ar>
What ❔
Why ❔
Checklist
zk fmt
andzk lint
.zk spellcheck
.zk linkcheck
.