fixed type check errors

This commit is contained in:
hueso
2025-03-04 18:46:10 -03:00
parent 54cff28ba0
commit 3227e3209c
6 changed files with 20 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
export interface Bank {
COMPE: string;
ISPB: string;
longName: string;
COMPE: string;
ISPB: string;
longName: string;
}

View File

@@ -1,7 +1,6 @@
import type { Event } from "ethers";
import { vi } from "vitest";
export const MockEvents: Event[] = [
export const MockEvents = [
{
blockNumber: 1,
blockHash: "0x8",

View File

@@ -1,4 +1,5 @@
import type { ValidDeposit } from "../ValidDeposit";
import { NetworkEnum } from "@/model/NetworkEnum";
export const MockValidDeposits: ValidDeposit[] = [
{
@@ -7,6 +8,7 @@ export const MockValidDeposits: ValidDeposit[] = [
remaining: 70,
seller: "mockedSellerAddress",
pixKey: "123456789",
network: NetworkEnum.sepolia,
},
{
blockNumber: 2,
@@ -14,6 +16,7 @@ export const MockValidDeposits: ValidDeposit[] = [
remaining: 200,
seller: "mockedSellerAddress",
pixKey: "123456789",
network: NetworkEnum.sepolia,
},
{
blockNumber: 3,
@@ -21,6 +24,7 @@ export const MockValidDeposits: ValidDeposit[] = [
remaining: 1250,
seller: "mockedSellerAddress",
pixKey: "123456789",
network: NetworkEnum.sepolia,
},
{
blockNumber: 4,
@@ -28,6 +32,7 @@ export const MockValidDeposits: ValidDeposit[] = [
remaining: 4000,
seller: "mockedSellerAddress",
pixKey: "123456789",
network: NetworkEnum.sepolia,
},
{
blockNumber: 5,
@@ -35,5 +40,6 @@ export const MockValidDeposits: ValidDeposit[] = [
remaining: 2000,
seller: "mockedSellerAddress",
pixKey: "123456789",
network: NetworkEnum.sepolia,
},
];