Skip to content

Commit c45b174

Browse files
test: console.log key first 5 chars
1 parent 5a0a741 commit c45b174

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

src/tests/e2e.test.ts

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
1-
import { testWithAnvilL1 } from "@celo/dev-utils/lib/anvil-test";
21
import { beforeAll, expect, test } from "bun:test";
32
import { CeloContract, CeloTransactionTypesPlugin } from "..";
4-
import Web3, {
5-
Address,
6-
Contract,
7-
DataFormat,
8-
FMT_BYTES,
9-
FMT_NUMBER,
10-
} from "web3";
3+
import Web3, { Address } from "web3";
114
import { stableTokenEurABI } from "@celo/abis";
12-
import { hexToBytes, toWei } from "web3-utils";
13-
import { CeloChains, TxTypeToPrefix } from "../utils";
14-
import { waitForTransactionReceipt } from "web3-eth";
15-
import { CIP64Transaction } from "../cip64";
5+
import { CeloChains } from "../utils";
166

177
let stable: CeloContract<typeof stableTokenEurABI>;
188
let stableAddress: Address;
199

2010
const web3 = new Web3(CeloChains.alfajores.rpcUrl);
11+
console.log(process.env.TEST_ACCOUNT_1!.slice(5));
12+
console.log(process.env.TEST_ACCOUNT_2!.slice(5));
2113
const account = web3.eth.accounts.privateKeyToAccount(
2214
process.env.TEST_ACCOUNT_1 as string
2315
);
2416
const account2 = web3.eth.accounts.privateKeyToAccount(
2517
process.env.TEST_ACCOUNT_2 as string
2618
);
19+
2720
web3.eth.accounts.wallet?.add(account);
2821

2922
beforeAll(async () => {

0 commit comments

Comments
 (0)