Skip to content

Commit 76b3a0b

Browse files
committed
fix: remove debug test values
1 parent 8d40faf commit 76b3a0b

File tree

2 files changed

+11
-30
lines changed

2 files changed

+11
-30
lines changed

test/e2e/config.ts

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import assert from "assert";
2-
import { defineChain, type Chain } from "viem";
2+
import { type Chain } from "viem";
3+
import { anvil } from "viem/chains";
34

45
assert(process.env.ENGINE_URL, "ENGINE_URL is required");
56
assert(process.env.ENGINE_ACCESS_TOKEN, "ENGINE_ACCESS_TOKEN is required");
@@ -8,30 +9,8 @@ export const CONFIG: Config = {
89
ACCESS_TOKEN: process.env.ENGINE_ACCESS_TOKEN,
910
URL: process.env.ENGINE_URL,
1011

11-
// CHAIN_ID: 1993,
12-
// CHAIN_NAME: "anvil",
13-
// RPC_URL: "http://localhost:8545",
14-
// RPC_URL: "http://localhost:8545",
15-
// USE_LOCAL_CHAIN: true,
16-
// CHAIN: arbitrumSepolia,
17-
18-
USE_LOCAL_CHAIN: false,
19-
CHAIN: defineChain({
20-
id: 1993,
21-
name: "B3 Sepolia Testnet",
22-
testnet: true,
23-
rpcUrls: {
24-
default: {
25-
http: ["https://sepolia.b3.fun/http"],
26-
webSocket: ["wss://sepolia.b3.fun/ws"],
27-
},
28-
},
29-
nativeCurrency: {
30-
name: "Ether",
31-
symbol: "ETH",
32-
decimals: 18,
33-
},
34-
}),
12+
USE_LOCAL_CHAIN: true,
13+
CHAIN: anvil,
3514

3615
TRANSACTION_COUNT: 500,
3716
TRANSACTIONS_PER_BATCH: 100,

test/e2e/tests/setup.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import { sleep } from "bun";
22
import { beforeAll } from "bun:test";
3-
import { createChain, setWalletBalance, setupEngine } from "../utils/engine";
3+
import {
4+
createChain,
5+
getEngineBackendWallet,
6+
setWalletBalance,
7+
setupEngine,
8+
} from "../utils/engine";
49

510
import type { Address } from "viem";
611
import { CONFIG } from "../config";
@@ -23,12 +28,9 @@ export const setup = async (): Promise<SetupResult> => {
2328

2429
const publicClient = setupPublicClient();
2530
const engine = setupEngine();
26-
// const backendWallet = await getEngineBackendWallet(engine);
31+
const backendWallet = await getEngineBackendWallet(engine);
2732
let testClient;
2833

29-
// temporarily set to aws wallet
30-
const backendWallet = "0x7C243d1475DA6fe0eeB8d1C4Ee4510aF35cf7CD5";
31-
3234
if (CONFIG.USE_LOCAL_CHAIN) {
3335
setupAnvil();
3436

0 commit comments

Comments
 (0)