cosmwasm: update packet timeout comment in ibc-translator contract (#3510)
This commit is contained in:
parent
3f0abc727c
commit
9c678e1db7
|
@ -179,7 +179,7 @@ pub fn convert_cw20_to_bank_and_send(
|
||||||
|
|
||||||
// Create MsgTransfer protobuf message for Stargate
|
// Create MsgTransfer protobuf message for Stargate
|
||||||
// https://github.com/cosmos/ibc-go/blob/main/proto/ibc/applications/transfer/v1/tx.proto#L27
|
// https://github.com/cosmos/ibc-go/blob/main/proto/ibc/applications/transfer/v1/tx.proto#L27
|
||||||
// TimeoutTimestamp is 14 days from now which is the trusting period of the counterparty light client
|
// TimeoutTimestamp is 1 year from now, which should effectively protect against packets timing out when sending from Gateway
|
||||||
let ibc_msg_transfer = Anybuf::new()
|
let ibc_msg_transfer = Anybuf::new()
|
||||||
.append_string(1, "transfer") // source port
|
.append_string(1, "transfer") // source port
|
||||||
.append_string(2, channel) // source channel
|
.append_string(2, channel) // source channel
|
||||||
|
|
Loading…
Reference in New Issue