Skip to content

Commit

Permalink
annotate the event hash
Browse files Browse the repository at this point in the history
  • Loading branch information
meetmangukiya committed May 28, 2024
1 parent b506780 commit 28fb46c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/swapAndBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ const swapAndBridge: Parameters<typeof withAnvilProvider>[0] = async (
// check if the tokens got bridge
const bridgeInitiatedLog = settleTx!.logs.find(
(log) =>
// TokensBridgingInitiated(address,address,uint256,bytes32)
log.topics[0] ===
'0x59a9a8027b9c87b961e254899821c9a276b5efc35d1f7409ea4f291470f1629a' &&
log.address.toLowerCase() === GNOSIS_CHAIN_BRIDGE.toLowerCase()
Expand Down

0 comments on commit 28fb46c

Please sign in to comment.