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
modules/apps/27-interchain-accounts/controller/keeper: Keeper.SendTx doesn't seem to respect the zero value for types.MsgSendTx.TimeoutTimestamp which signifies being disabled
#2267
Closed
1 of 3 tasks
odeke-em opened this issue
Sep 10, 2022
· 2 comments
· Fixed by #2280
I expected that value to be honored and that ctx.BlockTime().UnixNano() wouldn't be blindly compared with what could be a zero value. If that's not the expected behavior, please update the proto definitions.
Summary of Bug
The code in here
ibc-go/modules/apps/27-interchain-accounts/controller/keeper/msg_server.go
Line 65 in a4be561
ibc-go/modules/apps/27-interchain-accounts/controller/keeper/relay.go
Lines 38 to 40 in a4be561
but if we look at the definition of the types.MsgSendTx, it clearly says that a 0 value disables timeouts
ibc-go/modules/apps/27-interchain-accounts/controller/types/tx.pb.go
Lines 125 to 127 in a4be561
Expected Behaviour
I expected that value to be honored and that ctx.BlockTime().UnixNano() wouldn't be blindly compared with what could be a zero value. If that's not the expected behavior, please update the proto definitions.
Version
a4be561
For Admin Use
The text was updated successfully, but these errors were encountered: