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

Support state sync #478

Closed
ethanfrey opened this issue Apr 1, 2021 · 5 comments
Closed

Support state sync #478

ethanfrey opened this issue Apr 1, 2021 · 5 comments
Milestone

Comments

@ethanfrey
Copy link
Member

State sync will copy over the iavl store, but it has no idea of the contracts stored under data/wasm. This leads to the following error when querying a contract on a node that was state synced:

Error: Error calling the VM: Cache error: Error opening Wasm file for reading: No such file or directory (os error 2): query wasm contract failed: invalid request

Requires a solution to cosmos/cosmos-sdk#7340 before we can address this.

@ethanfrey
Copy link
Member Author

Update - there seem to be a push from other chains as well and this is slated for a v0.43.x patch release

@ethanfrey
Copy link
Member Author

This depends on cosmos sdk feature which is not yet implemented.

Will need at least Cosmos SDK 0.44 (#501 planned for v2).

Help is appreciated if anyone wants to add support for this to the cosmos sdk

@ethanfrey ethanfrey modified the milestones: v2.0.0, v1.0.0 Jan 20, 2022
@ethanfrey ethanfrey modified the milestones: v1.0.0, v0.25.0 Mar 7, 2022
@alpe
Copy link
Contributor

alpe commented Apr 24, 2022

fyi: Secret hat an implementation

@assafmo
Copy link
Contributor

assafmo commented Apr 25, 2022

I'll send a PR soon

@ethanfrey
Copy link
Member Author

Closed by #823

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