-
Notifications
You must be signed in to change notification settings - Fork 1
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
ZK Server Integration #254
Conversation
This is to allow any tracer to stop execution
having the result handling in a tracer made the everything very obfuscating
@@ -59,6 +62,7 @@ pub struct Vm<S: ReadStorage> { | |||
pub(crate) inner: EraVM, | |||
pub suspended_at: u16, | |||
pub gas_for_account_validation: u32, | |||
pub world: World<S>, |
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.
It might be a good idea to remove the storage and program_cache fields from the Vm since we already have them in world. I know this refactor might be a little bit tricky since it would require changing all the current tests and many other parts of the code. Anyway, I'm leaving this comment in case you'd like to add it here; otherwise, we could open a new issue!
What ❔
This PR integrates with the zk server, making all test under
zk test i server
passWhy ❔
Checklist
zk fmt
andzk lint
.