Open gjermundgaraba opened 1 week ago
E.g. in the solidity onRecvPacket
the error handling is not aligned with the spec as it use errorAcks differently.
Can you elaborate about error acks @sangier ?
Sure! E.g. In ICS20v1 in the onRecv
:
In the solidity implementation:
There may be other cases like that, I haven't fully checked the code yet. Anyway that's an opportunity to clarify explicitly how we wanna implement the error handling behaviour: when to revert, when to error ack? why?
To make sure the Solidity implementation follows the IBC Eureka spec, we need to do an analysis of the current implementation and see where we might be diverging from the spec. Once we have done that, we can go through those items and make plans to change them, or, if there are good reasons not to, document them.