Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
eugypalu committed Oct 22, 2024
1 parent c826d92 commit 752881b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions indexer/src/types/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { padBigint } from "../utils/hex.ts";
// Constants
import { IGNORED_KEYS, KAKAROT_ADDRESS, NULL_HASH } from "../constants.ts";

// Types
import { JsonRpcLog } from "./types.ts";

// Starknet
import { Event, hash } from "../deps.ts";

Expand Down
7 changes: 4 additions & 3 deletions indexer/tests/header.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import {
PrefixedHexString,
} from "../src/deps.ts";
import { assertEquals } from "https://deno.land/std@0.213.0/assert/assert_equals.ts";
import { JsonRpcBlock, toEthHeader } from "./header.ts";
import { DEFAULT_BLOCK_GAS_LIMIT } from "../constants.ts";
import { padString } from "../utils/hex.ts";
import { toEthHeader } from "../src/types/header.ts";
import { JsonRpcBlock } from "../src/types/types.ts";
import { DEFAULT_BLOCK_GAS_LIMIT } from "../src/constants.ts";
import { padString } from "../src/utils/hex.ts";
import sinon from "npm:sinon";
import { KAKAROT } from "../src/provider.ts";
import { NULL_HASH } from "../src/constants.ts";
Expand Down
7 changes: 4 additions & 3 deletions indexer/tests/log.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { assertEquals } from "https://deno.land/std@0.213.0/assert/mod.ts";
import { fromJsonRpcLog, JsonRpcLog, toEthLog } from "./log.ts";
import { bigIntToHex, Event, JsonRpcTx } from "../deps.ts";
import { IGNORED_KEYS, KAKAROT_ADDRESS } from "../constants.ts";
import { fromJsonRpcLog, toEthLog } from "../src/types/log.ts";
import { JsonRpcLog } from "../src/types/types.ts";
import { bigIntToHex, Event, JsonRpcTx } from "../src/deps.ts";
import { IGNORED_KEYS, KAKAROT_ADDRESS } from "../src/constants.ts";

// Mock for hexToBytes
const mockHexToBytes = (hex: string): Uint8Array => {
Expand Down

0 comments on commit 752881b

Please sign in to comment.