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

Fix the instance storage update logic. #1090

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

dmkozh
Copy link
Contributor

@dmkozh dmkozh commented Oct 3, 2023

What

Instead of fetching the current executable and overwriting the entry, only the relevant field has to be updated. I've changed the interface to make sure we have the correct logic everywhere.

Why

Bug fix: #1089

Known limitations

N/A

Instead of fetching the current executable and overwriting the entry, only the relevant field has to be updated. I've changed the interface to make sure we have the correct logic everywhere.
@dmkozh dmkozh requested review from graydon, sisuresh and a team as code owners October 3, 2023 20:40
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question otherwise lgtm.

soroban-env-host/src/host/frame.rs Show resolved Hide resolved
@dmkozh dmkozh added this pull request to the merge queue Oct 5, 2023
Merged via the queue into stellar:main with commit f4a44c1 Oct 5, 2023
9 checks passed
@dmkozh dmkozh deleted the instance_storage_fix branch October 5, 2023 16:54
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 this pull request may close these issues.

Calling update_current_contract_wasm from contract in test doesn't work
2 participants