zeta-chain/node

Remove all panics in message types

Opened this issue · 0 comments

Describe the Issue
Original discussion: #2578 (comment)

It doesn't seem the panic are necessary in the code and not used in Cosmos SDK: https://github.com/cosmos/cosmos-sdk/blob/44c5d17ca6d9d37fdd6adfa3169c986fbce22b8f/x/bank/types/msgs.go#L63

Outcome

Do some assessment on implication of removing panics, and remove them if this make sense