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

[fix] #1640: Generate genesis.json and consolidate generation into one tool #2104

Merged
merged 5 commits into from
Apr 27, 2022

Conversation

appetrosyan
Copy link
Contributor

@appetrosyan appetrosyan commented Apr 14, 2022

Description of the Change

Can now use iroha_docs binary to generate sample genesis.json

Issue

Closes #1640
Closes #1992
Fixes #2081

Benefits

Can now generate and check if the genesis.json needs updating.

Possible Drawbacks

None

Usage Examples or Tests [optional]

cargo run --bin iroha_docs -- --genesis > /tmp/genesis.json && diff /tmp/genesis.json  configs/peer/genesis.json

@github-actions github-actions bot added the iroha2-dev The re-implementation of a BFT hyperledger in RUST label Apr 14, 2022
@appetrosyan appetrosyan marked this pull request as draft April 14, 2022 13:28
@appetrosyan appetrosyan force-pushed the i2-roles-fix branch 2 times, most recently from 245ad4a to 33d75bc Compare April 14, 2022 19:01
@appetrosyan appetrosyan changed the title [fix] #1640: Generate config.json and genesis.json [fix] #1640: Generate genesis.json and consolidate generation into one tool Apr 14, 2022
@appetrosyan appetrosyan added CI Refactor Improvement to overall code quality labels Apr 14, 2022
@appetrosyan appetrosyan marked this pull request as ready for review April 15, 2022 07:42
@appetrosyan appetrosyan force-pushed the i2-roles-fix branch 3 times, most recently from 0cca2ba to faa3219 Compare April 15, 2022 11:49
data_model/src/domain.rs Outdated Show resolved Hide resolved
data_model/src/domain.rs Outdated Show resolved Hide resolved
tools/generator/src/main.rs Outdated Show resolved Hide resolved
core/src/genesis.rs Outdated Show resolved Hide resolved
core/src/genesis.rs Outdated Show resolved Hide resolved
mversic
mversic previously approved these changes Apr 16, 2022
core/src/genesis.rs Show resolved Hide resolved
crypto/src/signature.rs Outdated Show resolved Hide resolved
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
SamHSmith
SamHSmith previously approved these changes Apr 26, 2022
Copy link
Contributor

@SamHSmith SamHSmith left a comment

Choose a reason for hiding this comment

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

Looks alright. Can't see anything I think should be different.

.github/workflows/iroha2-dev-pr.yml Show resolved Hide resolved
.github/workflows/iroha2.yml Show resolved Hide resolved
client/build.rs Show resolved Hide resolved
client/tests/integration/roles.rs Show resolved Hide resolved
client_cli/src/main.rs Show resolved Hide resolved
tools/kagami/Cargo.toml Outdated Show resolved Hide resolved
SamHSmith
SamHSmith previously approved these changes Apr 26, 2022
Signed-off-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
@appetrosyan appetrosyan enabled auto-merge (rebase) April 27, 2022 07:00
@appetrosyan appetrosyan merged commit 0652de5 into hyperledger-iroha:iroha2-dev Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI iroha2-dev The re-implementation of a BFT hyperledger in RUST Refactor Improvement to overall code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants