Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
0xkenj1 committed Oct 10, 2024
1 parent 3a95eb4 commit 76ba4f9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
3 changes: 2 additions & 1 deletion packages/data-flow/test/unit/eventsFetcher.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { beforeEach, describe, expect, it, Mocked, vi } from "vitest";

import { IIndexerClient } from "@grants-stack-indexer/indexer-client";
import { AnyProtocolEvent } from "@grants-stack-indexer/shared";
import { beforeEach, describe, expect, it, Mocked, vi } from "vitest";

import { EventsFetcher } from "../../src/eventsFetcher.js";

Expand Down
3 changes: 2 additions & 1 deletion packages/indexer-client/src/providers/envioIndexerClient.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { AnyProtocolEvent } from "@grants-stack-indexer/shared";
import { gql, GraphQLClient } from "graphql-request";

import { AnyProtocolEvent } from "@grants-stack-indexer/shared";

import { IndexerClientError, InvalidIndexerResponse } from "../exceptions/index.js";
import { IIndexerClient } from "../internal.js";

Expand Down
17 changes: 9 additions & 8 deletions packages/indexer-client/test/unit/envioIndexerClient.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { AnyProtocolEvent } from "@grants-stack-indexer/shared";
import { GraphQLClient } from "graphql-request";
import { afterEach, beforeEach, describe, expect, it, Mocked, vi } from "vitest";

import { AnyProtocolEvent } from "@grants-stack-indexer/shared";

import { IndexerClientError, InvalidIndexerResponse } from "../../src/exceptions/index.js";
import { EnvioIndexerClient } from "../../src/providers/envioIndexerClient.js";

Expand Down Expand Up @@ -43,13 +44,13 @@ describe("EnvioIndexerClient", () => {
describe("getEventsAfterBlockNumberAndLogIndex", () => {
const mockEvents: AnyProtocolEvent[] = [
{
chain_id: 1,
block_number: 12345,
block_timestamp: 123123123,
contract_name: "Allo",
event_name: "PoolCreated",
src_address: "0x1234567890123456789012345678901234567890",
log_index: 0,
chainId: 1,
blockNumber: 12345,
blockTimestamp: 123123123,
contractName: "Allo",
eventName: "PoolCreated",
srcAddress: "0x1234567890123456789012345678901234567890",
logIndex: 0,
params: { contractAddress: "0x1234" },
},
];
Expand Down

0 comments on commit 76ba4f9

Please sign in to comment.