Skip to content

Commit d70f4ca

Browse files
committed
update
1 parent bf134ba commit d70f4ca

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/cli/commands/sweep.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export async function sweepFunds(opts: SweepOptions) {
119119
contracts: {},
120120
orderbookTradeTypes: {} as any,
121121
maxConcurrency: 0,
122+
skipSweep: new Set(),
122123
};
123124

124125
// prepare state config fields

src/config/yaml.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ orderbookTradeTypes:
187187
timeout: "20000",
188188
maxRatio: true,
189189
maxConcurrency: undefined,
190-
skipSweep: new Set(),
190+
skipSweep: undefined,
191191
ownerProfile: [
192192
{ "0x4444444444444444444444444444444444444444": "100" },
193193
{ "0x5555555555555555555555555555555555555555": "max" },

src/wallet/index.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ describe("Test WalletManager", () => {
5858
getBalance: vi.fn().mockResolvedValue(0n),
5959
chain: { contracts: { multicall3: { address: "0xmulticall" } } },
6060
},
61+
appOptions: {
62+
skipSweep: new Set(),
63+
},
6164
} as any);
6265

6366
multiWalletState = new SharedState({
@@ -81,6 +84,9 @@ describe("Test WalletManager", () => {
8184
getBalance: vi.fn().mockResolvedValue(0n),
8285
chain: { contracts: { multicall3: { address: "0xmulticall" } } },
8386
},
87+
appOptions: {
88+
skipSweep: new Set(),
89+
},
8490
} as any);
8591

8692
workerSigner = RainSolverSigner.create(

0 commit comments

Comments
 (0)