Node/Gateway: Watcher shouldn't drop recv_packet (#3304)

This commit is contained in:
bruce-riley 2023-08-21 16:46:01 -05:00 committed by GitHub
parent 795ea8a7e7
commit 153ee5514c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -372,7 +372,7 @@ func EventsToMessagePublications(contract string, txHash string, events []gjson.
continue
}
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()))
return []*common.MessagePublication{}
}

View File

@ -445,8 +445,9 @@ const TESTNET = {
nft_bridge: undefined,
},
wormchain: {
core: undefined,
token_bridge: undefined,
core: "wormhole16jzpxp0e8550c9aht6q9svcux30vtyyyyxv5w2l2djjra46580wsazcjwp",
token_bridge:
"wormhole1aaf9r6s7nxhysuegqrxv0wpm27ypyv4886medd3mrkrw6t4yfcnst3qpex",
nft_bridge: undefined,
},
sepolia: {