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

[BUG] cargo run -p iroha_client_cli --release fails field FindPermissionTokensByAccountId #3448

Closed
timofeevmd opened this issue May 3, 2023 · 1 comment
Assignees
Labels
Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST

Comments

@timofeevmd
Copy link
Contributor

OS and Environment

Docker Hub, MacOS 13.3 Ventura

GIT commit hash

6daae99

Minimum working example / Steps to reproduce

docker pull --platform x86_64 hyperledger/iroha2:dev
cargo run -p iroha_client_cli --release

Actual result

Compiling iroha_version v2.0.0-pre-rc.13 (/Users/michaeltimofeev/Documents/soramitsu/iroha/version)
Compiling iroha_crypto v2.0.0-pre-rc.13 (/Users/michaeltimofeev/Documents/soramitsu/iroha/crypto)
Compiling iroha_config_base v2.0.0-pre-rc.13 (/Users/michaeltimofeev/Documents/soramitsu/iroha/config/base)
Compiling iroha_config v2.0.0-pre-rc.13 (/Users/michaeltimofeev/Documents/soramitsu/iroha/config)
Compiling iroha_logger v2.0.0-pre-rc.13 (/Users/michaeltimofeev/Documents/soramitsu/iroha/logger)
Compiling iroha_futures v2.0.0-pre-rc.13 (/Users/michaeltimofeev/Documents/soramitsu/iroha/futures)
Compiling iroha_telemetry v2.0.0-pre-rc.13 (/Users/michaeltimofeev/Documents/soramitsu/iroha/telemetry)
Compiling iroha_client_cli v2.0.0-pre-rc.13 (/Users/michaeltimofeev/Documents/soramitsu/iroha/client_cli)
error[E0451]: field `id` of struct `iroha_data_model::prelude::FindPermissionTokensByAccountId` is private
--> client_cli/src/main.rs:545:74
 |
545 |             let find_all_permissions = FindPermissionTokensByAccountId { id: self.id.into() };
 |                                                                          ^^^^^^^^^^^^^^^^^^ private field

For more information about this error, try `rustc --explain E0451`.
error: could not compile `iroha_client_cli` due to previous error

Expected result

build successful

Logs in JSON format

nothing todo

Who can help to reproduce?

@timofeevmd

Notes

No response

@timofeevmd timofeevmd added Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST labels May 3, 2023
@pesterev pesterev self-assigned this May 3, 2023
pesterev added a commit to pesterev/iroha that referenced this issue May 3, 2023
Signed-off-by: Vladimir Pesterev <pesterev@pm.me>
@mversic
Copy link
Contributor

mversic commented May 4, 2023

closing as duplicate of #3311

@mversic mversic closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST
Projects
None yet
Development

No branches or pull requests

3 participants