@@ -97,10 +97,10 @@ describe("transaction submission", () => {
97
97
await waitForTransaction ( { aptosConfig : config , transactionHash : response . hash } ) ;
98
98
} ) ;
99
99
test . only ( "it submits an entry function transaction Secp256k1" , async ( ) => {
100
- const config = new AptosConfig ( { network : Network . DEVNET } ) ;
100
+ const config = new AptosConfig ( { network : Network . LOCAL } ) ;
101
101
const aptos = new Aptos ( config ) ;
102
- const alice = Account . fromPrivateKey ( new Secp256k1PrivateKey ( secp256k1TestObject . privateKey ) , false ) ;
103
- // await aptos.fundAccount({ accountAddress: alice.accountAddress.toString(), amount: FUND_AMOUNT });
102
+ const alice = Account . generate ( ) ;
103
+ await aptos . fundAccount ( { accountAddress : alice . accountAddress . toString ( ) , amount : FUND_AMOUNT } ) ;
104
104
const bob = Account . generate ( ) ;
105
105
const rawTxn = await aptos . generateTransaction ( {
106
106
sender : alice . accountAddress . toString ( ) ,
@@ -119,6 +119,7 @@ describe("transaction submission", () => {
119
119
senderAuthenticator : authenticator ,
120
120
} ) ;
121
121
console . log ( response . hash ) ;
122
+ // console.log(response.hash);
122
123
// await waitForTransaction({
123
124
// aptosConfig: config,
124
125
// transactionHash: response.hash,
0 commit comments