Skip to content

Commit

Permalink
fix: v5.9.0 abi interface change
Browse files Browse the repository at this point in the history
  • Loading branch information
benceharomi committed Jul 3, 2024
1 parent 6e6a1e2 commit f836401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/zksync/transactionStatus.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useStorage } from "@vueuse/core";
import { decodeEventLog } from "viem";
import ZkSyncContractInterface from "zksync-ethers/abi/IZkSyncStateTransition.json";
import IZkSyncHyperchain from "zksync-ethers/abi/IZkSyncHyperchain.json";

import type { FeeEstimationParams } from "@/composables/zksync/useFee";
import type { TokenAmount, Hash } from "@/types";
Expand Down Expand Up @@ -58,7 +58,7 @@ export const useZkSyncTransactionStatusStore = defineStore("zkSyncTransactionSta
for (const log of transaction.logs) {
try {
const { args, eventName } = decodeEventLog({
abi: ZkSyncContractInterface,
abi: IZkSyncHyperchain,
data: log.data,
topics: log.topics,
});
Expand Down

0 comments on commit f836401

Please sign in to comment.