File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 1- import { testWithAnvilL1 } from "@celo/dev-utils/lib/anvil-test" ;
21import { beforeAll , expect , test } from "bun:test" ;
32import { 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" ;
114import { 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
177let stable : CeloContract < typeof stableTokenEurABI > ;
188let stableAddress : Address ;
199
2010const 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 ) ) ;
2113const account = web3 . eth . accounts . privateKeyToAccount (
2214 process . env . TEST_ACCOUNT_1 as string
2315) ;
2416const account2 = web3 . eth . accounts . privateKeyToAccount (
2517 process . env . TEST_ACCOUNT_2 as string
2618) ;
19+
2720web3 . eth . accounts . wallet ?. add ( account ) ;
2821
2922beforeAll ( async ( ) => {
You can’t perform that action at this time.
0 commit comments