-
Notifications
You must be signed in to change notification settings - Fork 276
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: Umbrella Iroha CLI #5282
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
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.
Looks good to me so far
Cargo.toml
Outdated
@@ -49,6 +49,8 @@ iroha_executor_data_model = { version = "=2.0.0-rc.1.0", path = "crates/iroha_ex | |||
iroha_test_network = { version = "=2.0.0-rc.1.0", path = "crates/iroha_test_network" } | |||
iroha_test_samples = { version = "=2.0.0-rc.1.0", path = "crates/iroha_test_samples" } | |||
|
|||
iroha_swarm = { version = "=2.0.0-rc.1.0", path = "crates/iroha_swarm" } |
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.
How about directly specifying this as a iroha_kagami
dependency, not as a workspace dependency?
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.
You are right. It is not needed here unless used externally.
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.
inquire
also would be removed from workspace dependencies
Signed-off-by: Lohachov Mykhailo <[email protected]>
Related to #4969
This PR begins the unification of cli tools into the iroha/kagami tools.
#4969 (comment)
#4969 (comment)
#4969 (comment)
Changes introduced extend the default scope of kagami by adding:
codec
(types, json-to-scale, scale-to-json, scale-to-rust)wasm
(from wasm_builder)kura
(from kura_inspector)swarm
(from iroha_swarm)Documentation in the readme is updated as well. I believe the documentation update on the website will be updated afterward.
The
swarm
andwasm_builder
libraries are left intact in case they are later reused in the code.