-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: gateway preparation #3006
base: main
Are you sure you want to change the base?
Conversation
core/lib/multivm/src/versions/vm_latest/types/internals/pubdata.rs
Outdated
Show resolved
Hide resolved
core/lib/multivm/src/versions/vm_latest/types/internals/pubdata.rs
Outdated
Show resolved
Hide resolved
core/lib/multivm/src/versions/vm_latest/bootloader_state/utils.rs
Outdated
Show resolved
Hide resolved
core/lib/multivm/src/versions/vm_latest/types/internals/pubdata.rs
Outdated
Show resolved
Hide resolved
core/lib/multivm/src/versions/vm_latest/types/internals/pubdata.rs
Outdated
Show resolved
Hide resolved
core/node/node_framework/src/implementations/layers/state_keeper/output_handler.rs
Outdated
Show resolved
Hide resolved
core/node/node_framework/src/implementations/layers/state_keeper/output_handler.rs
Outdated
Show resolved
Hide resolved
core/lib/multivm/src/versions/vm_latest/types/internals/pubdata.rs
Outdated
Show resolved
Hide resolved
core/lib/multivm/src/versions/vm_latest/types/internals/pubdata.rs
Outdated
Show resolved
Hide resolved
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.
Not a full review, just some quick feedback. Will try to look at the PR more exhaustively tomorrow.
Not going to lie, the current PubdataBuilder
design looks overly complicated, and in some aspects worse than the ad-hoc design during the last review. I think it could be salvaged though; see line comments.
I agree but the previous version was rather naive. I'm trying to find some spot between "keep it as simple as possible and delay dealing with complexity till we need first custom builder" and "implement complex solution that fully allows custom pubdata" |
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.
Sorry for merging #3109 which requires to fix edit conflicts in multivm unit tests (seems quite straightforward – you should move the changes to the test logic in versions::testonly
submodules.
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.
Can't say I've looked thoroughly at 100% of the code, but it looks good in general.
No performance difference detected (anymore) |
What ❔
Why ❔
prepare for gateway, reduce sync-layer-stable diff
Checklist
zk_supervisor fmt
andzk_supervisor lint
.