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

Find a way to check genesis.json in CI overcoming cargo builds reproducibility problem #3168

Closed
Arjentix opened this issue Feb 17, 2023 · 1 comment
Assignees
Labels
CI iroha2-dev The re-implementation of a BFT hyperledger in RUST

Comments

@Arjentix
Copy link
Contributor

Originally posted by me here.

After the merge of #3106 there will be a problem, that local kagami will generate different genesis.json rather than kagami in CI. This is caused by cargo builds are not reproducibile problem, which results in generating different WASM code for validator, which is inserted in our genesis.json.

We need to find a way to properly check our genesis in CI.

@Arjentix Arjentix added iroha2-dev The re-implementation of a BFT hyperledger in RUST CI labels Feb 17, 2023
@Arjentix
Copy link
Contributor Author

One of disscussed solutions.

Store a path to a wasm blob and some kind of build-hash inside genesis. Build-hash should take macros, changes in dependencies and etc into account. In CI don't check the exact wasm blob file

@Erigara Erigara assigned Erigara and unassigned Erigara Apr 24, 2023
Erigara added a commit to Erigara/iroha that referenced this issue Apr 28, 2023
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Apr 28, 2023
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue Apr 28, 2023
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue May 2, 2023
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit to Erigara/iroha that referenced this issue May 2, 2023
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
Erigara added a commit that referenced this issue May 2, 2023
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
@Erigara Erigara closed this as completed May 2, 2023
appetrosyan pushed a commit that referenced this issue Jun 5, 2023
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
mversic pushed a commit that referenced this issue Oct 17, 2023
Signed-off-by: Shanin Roman <shanin1000@yandex.ru>
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
Projects
None yet
Development

No branches or pull requests

2 participants