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

Cache Modules #25

Closed
ethanfrey opened this issue Oct 21, 2019 · 0 comments · Fixed by #36
Closed

Cache Modules #25

ethanfrey opened this issue Oct 21, 2019 · 0 comments · Fixed by #36

Comments

@ethanfrey
Copy link
Member

ethanfrey commented Oct 21, 2019

Building on #22 and #24

When creating a new contract, don't just store wasm, but also store the precompiled module in a filesystem-backed cache (if supported by the backend). Since we need to compile anyway to ensure correctness, we can keep the result for later to only compile to native one time.

Ensure we use these cached modules when calling instantiate

@ethanfrey ethanfrey added this to To do in CosmWasm development via automation Oct 21, 2019
This was referenced Oct 21, 2019
@ethanfrey ethanfrey moved this from To do to In progress in CosmWasm development Oct 21, 2019
CosmWasm development automation moved this from In progress to Done Oct 22, 2019
@ethanfrey ethanfrey removed this from Done in CosmWasm development Mar 10, 2020
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

Successfully merging a pull request may close this issue.

1 participant