hyperlane-xyz / hyperlane-explorer

Web app for the Hyperlane Explorer
https://explorer.hyperlane.xyz
Other
50 stars 46 forks source link

Recipient handler revert reason not showing up sometimes #33

Closed tkporter closed 1 year ago

tkporter commented 1 year ago

Example, mumbai -> goerli: https://explorer.hyperlane.xyz/message/0xc809f5e01a53782be251ee9e39202ae9382ac541c74812007ea4b91a3df491aa

For some reason the revert reason isn't showing in the explorer, but it shows in the relayer:

ContractError(MiddlewareError(MiddlewareError(MiddlewareError(JsonRpcClientError(JsonRpcError(JsonRpcError { code: 3, message: \"execution reverted\", data: Some(String(\"0x815e1d64\")

Maybe related to the use of custom errors?

jmrossy commented 1 year ago

Thanks for the heads up, I'll look into it

jmrossy commented 1 year ago

@tkporter in the example you shared above, is "execution reverted" the info you're expecting to see in the Explorer or does the data field's hex contain some encoded string value? It doesn't seem to decode to anything AFAI can tell