-
Notifications
You must be signed in to change notification settings - Fork 275
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
ci: Remove executor.wasm from git #4553
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
@BAStos525 ci change for building and providing executor for tests |
Shouldn't proceed before figuring out how to ship executor for iroha deployment. |
- uses: actions/checkout@v4 | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Build iroha executor | ||
run: cargo run --bin iroha_wasm_builder_cli -- build ./default_executor --optimize --outfile configs/swarm/executor.wasm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run: cargo run --bin iroha_wasm_builder_cli -- build ./default_executor --optimize --outfile configs/swarm/executor.wasm | |
run: cargo run --release --bin iroha_wasm_builder_cli -- build ./default_executor --optimize --outfile configs/swarm/executor.wasm |
should it run in release mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably doesn't metter since it will build iroha_wasm_builder
, actual executor always builds in release mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR removes executor.wasm
, but doesn't change anything about genesis.json
, which still has "executor_file": "./executor.wasm"
.
One of the intentions behind having the WASM blob stored in Git is to allow users "just open the repo and run docker compose up
". Perhaps we need to revise this use case in some way, in its root. Until then, this PR breaks things.
Description
Remove
executor.wasm
from git, executor is built in the CI.Linked issue
Closes #4549