Interchain Security is an open sourced IBC application which allows cosmos blockchains to lease their proof-of-stake security to one another.
156
stars
127
forks
source link
refactor key generation and parsing functions #423
Closed
MSalopek closed 2 years ago
Key generation in this repo uses
copy()
with basic slice concatenation. This can be a bit difficult to follow when parsing through the code.We could make the key generation more readble by switching from something like this:
to this (uses consecutive
append
operations):Originally posted in discussion: https://github.com/cosmos/interchain-security/pull/422#discussion_r1011704124