hyperledger / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
421 stars 275 forks source link

Consider using config state instead of genesis transaction #4685

Open dima74 opened 1 month ago

dima74 commented 1 month ago

I mean, we did not need any instructions for the genesis domain and account registered, which means we already have an assumption on the initial state across peers. Also, the genesis transaction goes through no validations. If so, why not have wonderland, alice, executor, chain ID, etc. as a configurable initial state?

_Originally posted by @s8sato in https://github.com/hyperledger/iroha/pull/4673#discussion_r1622376516_

mversic commented 1 month ago

can we get a more detailed description what is this about?

s8sato commented 2 weeks ago

After #4225 and #4555, the only advantage I can think of for working on this ("genesis state", essentially same as #4409) is to remove a branch of whether it is genesis round or not. I'm not sure if it would be a benefit