You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I check logic ParseIBCMessageFromEvent func handle switch event.Type, I see that we still have a chance to get default: return nil when the type of event is not in our list check (new type of event but forgot to add check,... ), this will make msgInfo equal to nil and this call msgInfo.ParseAttrs(log, event.Attributes) will issue the error.
My suggestion is to add a check before calling msgInfo.ParseAttrs to secure our logic