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

Upgradable Wasm bytecode #1754

Closed
xgreenx opened this issue Mar 13, 2024 · 0 comments · Fixed by #1822
Closed

Upgradable Wasm bytecode #1754

xgreenx opened this issue Mar 13, 2024 · 0 comments · Fixed by #1822
Assignees

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Mar 13, 2024

No description provided.

@xgreenx xgreenx self-assigned this Mar 13, 2024
xgreenx added a commit that referenced this issue Mar 19, 2024
…e `ApplicationHeader` (#1767)

It is a preparation of the public types for the next changes:

#1754
#1753
xgreenx added a commit that referenced this issue Apr 15, 2024
Related issue #1754

Updated the upgradable executor to fetch the state transition bytecode
from the database when the version doesn't match a native one. This
change enables the WASM executor in the "production" build and requires
a `wasm32-unknown-unknown` target.

The executor has a `VERSION` constant that must be updated when the
behavior of the state transition function is changed. That constant is
used to decide what executor to use(WASM or native).

## Checklist
- [x] New behavior is reflected in tests

### Before requesting review
- [x] I have reviewed the code myself
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants