Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
acuarica committed Sep 21, 2024
1 parent 6b6a8ab commit c61ab3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/4byte.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe(`::4byte ENABLE_4BYTE_TEST=${ENABLE_4BYTE_TEST}${hint}`, function () {

it('should fetch function signatures', async function () {
const name = 'USDC-0x5425890298aed601595a70AB815c96711a31Bc65';
const { bytecode } = JSON.parse(readFileSync(`./test/mainnet/${name}.json`, 'utf-8'));
const { bytecode } = JSON.parse(readFileSync(`./test/mainnet/${name}.json`, 'utf-8')) as { bytecode: string };

let contract = new Contract(bytecode);
let selectors = Object.entries(contract.functions).map(([s, f]) => [s, f.label]);
Expand Down
2 changes: 1 addition & 1 deletion test/mainnet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FunctionFragment } from 'ethers';
import { readdirSync, readFileSync } from 'fs';
import { inspect } from 'util';

import { Contract, ERCIds } from 'sevm';
import { Contract, type ERCIds } from 'sevm';
import 'sevm/4bytedb';

import { fnselector } from './utils/selector';
Expand Down

0 comments on commit c61ab3d

Please sign in to comment.