Skip to content

Commit

Permalink
chore: refactor directory
Browse files Browse the repository at this point in the history
  • Loading branch information
james-a-morris committed Feb 12, 2024
1 parent c89ae76 commit 1920e11
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/caching/Arweave/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from "./ArweaveClient";
export * from "./types";
4 changes: 2 additions & 2 deletions src/caching/Arweave/types.ts → src/interfaces/Caching.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BigNumber } from "ethers";
import { object, number, coerce, string, define } from "superstruct";
import { FillStatus } from "../../interfaces";
import { coerce, define, number, object, string } from "superstruct";
import { FillStatus } from "./SpokePool";

export type FillsRefundedLeaf = {
// If fill was sent in this bundle, then no slow fill was
Expand Down
1 change: 1 addition & 0 deletions src/interfaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ export * from "./UBA";
export * from "./Error";
export * from "./TypedData";
export * from "./CachingMechanism";
export * from "./Caching";
6 changes: 3 additions & 3 deletions test/arweaveClient.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { CHAIN_IDs } from "@across-protocol/constants-v2";
import Arweave from "arweave";
import { JWKInterface } from "arweave/node/lib/wallet";
import axios from "axios";
import { expect } from "chai";
import { BigNumber, ethers } from "ethers";
import { array, object, string } from "superstruct";
import winston from "winston";
import { ArweaveClient, FillsRefundedLeafSS, FillsRefundedLeaf } from "../src/caching";
import { FillStatus } from "../src/interfaces";
import { ArweaveClient } from "../src/caching";
import { FillStatus, FillsRefundedLeaf, FillsRefundedLeafSS } from "../src/interfaces";
import { parseWinston, toBN } from "../src/utils";
import { CHAIN_IDs } from "@across-protocol/constants-v2";

/**
* Generates a random FillsRefundedLeaf for testing purposes.
Expand Down

0 comments on commit 1920e11

Please sign in to comment.