Skip to content

refactor: Umbrella Iroha CLI#5282

Merged
aoyako merged 15 commits intohyperledger-iroha:mainfrom
aoyako:umbrella_iroha_cli
Feb 22, 2025
Merged

refactor: Umbrella Iroha CLI#5282
aoyako merged 15 commits intohyperledger-iroha:mainfrom
aoyako:umbrella_iroha_cli

Conversation

@aoyako
Copy link
Copy Markdown
Contributor

@aoyako aoyako commented Jan 16, 2025

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 and wasm_builder libraries are left intact in case they are later reused in the code.

Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
@aoyako aoyako marked this pull request as draft January 16, 2025 03:38
@s8sato s8sato self-assigned this Jan 17, 2025
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
@github-actions github-actions bot added the config-changes Changes in configuration and start up of the Iroha label Jan 17, 2025
@github-actions
Copy link
Copy Markdown

@BAStos525

@aoyako aoyako added the CLI label Jan 17, 2025
Copy link
Copy Markdown
Contributor

@s8sato s8sato left a 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

Comment thread Cargo.toml Outdated
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
@aoyako aoyako marked this pull request as ready for review January 21, 2025 11:51
s8sato
s8sato previously approved these changes Jan 23, 2025
@aoyako aoyako force-pushed the umbrella_iroha_cli branch from 2459919 to b2249ac Compare February 18, 2025 13:33
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
Signed-off-by: Lohachov Mykhailo <lohachov@soramitsu.co.jp>
@aoyako aoyako force-pushed the umbrella_iroha_cli branch from b2249ac to ffaa729 Compare February 18, 2025 13:36
Comment thread crates/iroha_kagami/src/main.rs Outdated
Co-authored-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
Signed-off-by: Mykhailo Lohachov <lohachov@soramitsu.co.jp>
@0x009922 0x009922 self-assigned this Feb 21, 2025
Copy link
Copy Markdown
Contributor

@0x009922 0x009922 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly seems like a change for the best!

@aoyako aoyako merged commit 08556d7 into hyperledger-iroha:main Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI config-changes Changes in configuration and start up of the Iroha

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants