Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
fix: remove any type warning
Browse files Browse the repository at this point in the history
Signed-off-by: Jawad Tariq <[email protected]>
  • Loading branch information
JDawg287 committed Jun 23, 2023
1 parent e05e3d9 commit 7a1afc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/test/send-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const main = async function (...args: string[]) {
gasLimit: 5_000_000,
})
const txReceipt = await tx.wait()
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const logs = txReceipt.events?.find((e: any) => e.event === 'TokenDeployed')

tokenAddress = logs?.args?.tokenAddress
Expand Down Expand Up @@ -130,6 +131,7 @@ const main = async function (...args: string[]) {
)
const txReceipt = await tx.wait()
const logs = txReceipt.events?.find(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(e: any) =>
e.topics[0] === keccak256(toUtf8Bytes('CrossSubnetMessageSent(bytes32)')) // For some reason e.events is not filled
)
Expand Down

0 comments on commit 7a1afc4

Please sign in to comment.