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

F/stock optimizer #76

Merged
merged 3 commits into from
Sep 29, 2024
Merged

F/stock optimizer #76

merged 3 commits into from
Sep 29, 2024

Conversation

maurolacy
Copy link
Contributor

@maurolacy maurolacy commented Sep 29, 2024

Replace building the optimiser by directly running the pre-built / stock optimiser.

This is using the latest tag of the optimiser image. It can be easily modified to use a fixed / manually defined version tag instead, for reproducibility / determinism. Also, we can force using the Intel (amd64) arch for the same goal / reason, instead of automatically switching to arm64 / amd64 images depending on the host's arch.

@maurolacy
Copy link
Contributor Author

maurolacy commented Sep 29, 2024

Please notice that it still takes ~5 minutes to build the optimised binaries...

Running the checks, in which we need to build the cosmwasm-check tool from source first, takes even more. I think there's a way to use prebuilt binaries in Rust. Will take a look and eventually create an issue in the CosmWasm repo to suggest this.

@maurolacy maurolacy merged commit 77ac1eb into main Sep 29, 2024
3 checks passed
@maurolacy maurolacy deleted the f/stock-optimizer branch September 29, 2024 11:44
@SebastianElvis
Copy link
Member

👍

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.

3 participants