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

Properly set up ModuleCache and use cached instantiation model #1374

Closed
jayz22 opened this issue Mar 27, 2024 · 1 comment
Closed

Properly set up ModuleCache and use cached instantiation model #1374

jayz22 opened this issue Mar 27, 2024 · 1 comment

Comments

@jayz22
Copy link
Contributor

jayz22 commented Mar 27, 2024

#1359 introduced ModuleCache which instantiates all contracts in the storage and caches their VM. However there are no code path exercising it yet.
This issue tracks the followup work needed to

  • properly initialize the cache
  • calibrate the cached instantiation cost
  • charge the cost VmCachedInstantiation for the cache hit path
  • add tests
@graydon
Copy link
Contributor

graydon commented May 13, 2024

This is all done

@graydon graydon closed this as completed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@graydon @jayz22 and others