cosmos / solidity-ibc-eureka

This is a work-in-progress solidity implementation of IBC Eureka.
MIT License
26 stars 2 forks source link

Create a function to validate UnwrappedPacketData #30

Open gjermundgaraba opened 2 months ago

gjermundgaraba commented 2 months ago

We are doing some validation of the ICS20Lib.UnwrappedPacketData struct multiple places. It would be good to have a single validation function that we can reuse.

srdtrk commented 2 months ago

Maybe we should generalize this to other structs as well. Identifying which structs would need this?