-
Notifications
You must be signed in to change notification settings - Fork 277
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
[suggestion] Update executor config in the genesis block #4291
Labels
config-changes
Changes in configuration and start up of the Iroha
good first issue
Good for newcomers
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
Comments
0x009922
added
good first issue
Good for newcomers
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
config-changes
Changes in configuration and start up of the Iroha
labels
Feb 18, 2024
This was referenced Feb 18, 2024
yes, please |
I'd like to know if this repo is still very active |
Yes it is. You can easily verify this yourself. The main activity is on the iroha2-dev branch. If that is confusing you? |
0x009922
added a commit
to 0x009922/iroha
that referenced
this issue
Mar 15, 2024
- remove inline executor mode - rename field to `executor_file` - remove genesis from schema (revert hyperledger-iroha#1391) Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
0x009922
added a commit
to 0x009922/iroha
that referenced
this issue
Mar 19, 2024
- remove inline executor mode - rename field to `executor_file` - remove genesis from schema (revert hyperledger-iroha#1391) Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
0x009922
added a commit
to 0x009922/iroha
that referenced
this issue
Mar 19, 2024
- remove inline executor mode - rename field to `executor_file` - remove genesis from schema (revert hyperledger-iroha#1391) Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
config-changes
Changes in configuration and start up of the Iroha
good first issue
Good for newcomers
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
Description
Genesis block contains
executor
field, which might either represent an inline base64-encoded WASM blob, or a file path to the WASM blob:https://github.com/hyperledger/iroha/blob/964476722e2a219becaacdb3676ca058ec5748cd/configs/swarm/genesis.json#L185
This is backed by the
ExecutorMode
struct:https://github.com/hyperledger/iroha/blob/964476722e2a219becaacdb3676ca058ec5748cd/genesis/src/lib.rs#L122-L131
As we discussed in #4239,
executor
field with file path should be renamed toexecutor_file
for uniformity.In addition to that, I propose to remove inline executor mode. It was effectively deprecated a long time ago: there was a warning printed when the inline mode is used (cannot find references for that). The reason is that inlining WASM blob makes the whole genesis file (1) clunky and (2) hardly reproducible due to WASM compilation intricacies.
The text was updated successfully, but these errors were encountered: