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

refactor: remove dependency on iroha_wasm_builder from iroha cli and client #4894

Merged

Conversation

DCNick3
Copy link
Contributor

@DCNick3 DCNick3 commented Jul 25, 2024

Description

We had some unnecessary dependencies on iroha_wasm_builder, blocking the build of iroha cli and client. This PR removes those and makes it so only the iroha_wasm_builder cli and integration tests actually depend on the crate.

As a part of this change, construct_executor utility function is moved from iroha_cli to test_network, as it only gets used in tests. Not entirely happy with its new location, but iroha_cli is definitely a worse place for this.

Linked issue

Closes #4882

Benefits

Hopefully, faster incremental builds in cases when integration tests are not being built.

Checklist

  • I've read CONTRIBUTING.md
  • I've used the standard signed-off commit format (or will squash just before merging)
  • All applicable CI checks pass
  • I replied to all comments after code review, marking all implemented changes with thumbs up

…client

This moves the `construct_executor` utility function from `iroha_cli` to `test_network`, as it only gets used in tests

Signed-off-by: ⭐️NINIKA⭐️ <dcnick3@users.noreply.github.com>
@nxsaken nxsaken force-pushed the remove-iroha-wasm-builder-deps branch from 7edaafa to 698380b Compare July 26, 2024 06:32
@nxsaken nxsaken enabled auto-merge (squash) July 26, 2024 06:32
@nxsaken nxsaken mentioned this pull request Jul 26, 2024
@nxsaken nxsaken merged commit 856b1c0 into hyperledger-iroha:main Jul 26, 2024
11 of 12 checks passed
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.

Remove unnecessary dependencies on iroha_wasm_builder
3 participants