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

ZK Server Integration #254

Merged
merged 35 commits into from
Sep 4, 2024
Merged

Conversation

gianbelinche
Copy link

What ❔

This PR integrates with the zk server, making all test under zk test i server pass

Why ❔

Checklist

  • 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.

@@ -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>,

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!

@gianbelinche gianbelinche marked this pull request as ready for review September 4, 2024 19:39
@gianbelinche gianbelinche merged commit 81f61c8 into era_vm_integration_v2 Sep 4, 2024
8 of 50 checks passed
@gianbelinche gianbelinche deleted the era_vm_zk_server_v2 branch September 4, 2024 20:16
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.

3 participants