Node/Gateway: Watcher shouldn't drop recv_packet (#3304)
This commit is contained in:
parent
795ea8a7e7
commit
153ee5514c
|
@ -372,7 +372,7 @@ func EventsToMessagePublications(contract string, txHash string, events []gjson.
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
eventType := gjson.Get(event.String(), "type")
|
eventType := gjson.Get(event.String(), "type")
|
||||||
if eventType.String() == "recv_packet" {
|
if eventType.String() == "recv_packet" && chainID != vaa.ChainIDWormchain {
|
||||||
logger.Warn("processing ibc-related events is disabled", zap.String("network", networkName), zap.String("tx_hash", txHash), zap.String("event", event.String()))
|
logger.Warn("processing ibc-related events is disabled", zap.String("network", networkName), zap.String("tx_hash", txHash), zap.String("event", event.String()))
|
||||||
return []*common.MessagePublication{}
|
return []*common.MessagePublication{}
|
||||||
}
|
}
|
||||||
|
|
|
@ -445,8 +445,9 @@ const TESTNET = {
|
||||||
nft_bridge: undefined,
|
nft_bridge: undefined,
|
||||||
},
|
},
|
||||||
wormchain: {
|
wormchain: {
|
||||||
core: undefined,
|
core: "wormhole16jzpxp0e8550c9aht6q9svcux30vtyyyyxv5w2l2djjra46580wsazcjwp",
|
||||||
token_bridge: undefined,
|
token_bridge:
|
||||||
|
"wormhole1aaf9r6s7nxhysuegqrxv0wpm27ypyv4886medd3mrkrw6t4yfcnst3qpex",
|
||||||
nft_bridge: undefined,
|
nft_bridge: undefined,
|
||||||
},
|
},
|
||||||
sepolia: {
|
sepolia: {
|
||||||
|
|
Loading…
Reference in New Issue