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

Use explicit protocol version for test Wasms. #1439

Merged
merged 12 commits into from
Aug 7, 2024

Conversation

dmkozh
Copy link
Contributor

@dmkozh dmkozh commented Jul 29, 2024

What

Also modified the makefile to regenerate Wasms in the directory corresponding to the necessary protocol version.

I'm not sure yet if we need to maintain several versions of every Wasm, so I'm only leaving the v20 Wasms checked-in for now (I did try to generate v21 though just for a sanity check). Going forward I think we could keep explicitly versioned Wasms around for tests that need them, but otherwise have just a single version.

Why

Preparing for adding p22 tests that need different versions of Wasm (specifically, constructor tests).

Known limitations

N/A

Also modified the makefile to regenerate Wasms in the directory corresponding to the necessary protocol version.

I'm not sure yet if we need to maintain several versions of every Wasm, so I'm only leaving the v20 Wasms checked-in for now (I did try to generate v21 though just for a sanity check). Going forward I think we could keep explicitly versioned Wasms around for tests that need them, but otherwise have just a single version.
@dmkozh dmkozh requested a review from a team as a code owner July 29, 2024 23:15
@dmkozh dmkozh requested a review from graydon as a code owner August 6, 2024 20:31
@dmkozh dmkozh enabled auto-merge August 6, 2024 21:18
@dmkozh dmkozh added this pull request to the merge queue Aug 7, 2024
Merged via the queue into stellar:main with commit 96832b6 Aug 7, 2024
16 checks passed
@dmkozh dmkozh deleted the wasm_versions branch August 7, 2024 21:17
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.

2 participants