-
Notifications
You must be signed in to change notification settings - Fork 9
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
fix!: Remove EVM emulator gas stipend #82
base: master
Are you sure you want to change the base?
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.
Good apart from a few little things.
Removing the test is fine because the system replacing stipends isn't nearly as dangerous.
@@ -86,7 +86,7 @@ fn vm2_frame_to_zk_evm_frames<T, W>( | |||
heap_bound: frame.heap_size, | |||
aux_heap_bound: frame.aux_heap_size, | |||
total_pubdata_spent: PubdataCost(0), | |||
stipend: frame.stipend, |
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.
They forgot to remove the field? Or does the zk_evm dependency need updating?
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.
I've postponed updating the zk_evm
dependency until it's released, yes.
c168fdb
to
194763b
Compare
What ❔
Removes the EVM emulator gas stipend and replaces it with a memory stipend.
Why ❔
Aligns with the changes in the legacy VM.
Checklist
cargo fmt
andcargo clippy
.