File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ describe('class Contract {}', () => {
2121 transaction_hash,
2222 address : erc20address ,
2323 } = await deployContract ( compiledERC20 , [ ] ) ;
24- console . log ( erc20address ) ;
24+
2525 contract = new Contract ( compiledERC20 . abi , erc20address ) ;
2626 // I want to show the tx number to the tester, so he/she can trace the transaction in the explorer.
2727 // eslint-disable-next-line no-console
Original file line number Diff line number Diff line change @@ -197,12 +197,6 @@ export function addTransaction(tx: Transaction): Promise<AddTransactionResponse>
197197 const signature = tx . type === 'INVOKE_FUNCTION' && formatSignature ( tx . signature ) ;
198198 const contract_address_salt = tx . type === 'DEPLOY' && toHex ( toBN ( tx . contract_address_salt ) ) ;
199199
200- console . log ( {
201- ...tx ,
202- ...( Array . isArray ( signature ) && { signature } ) , // not needed on deploy tx
203- ...( contract_address_salt && { contract_address_salt } ) , // not needed on invoke tx
204- } ) ;
205-
206200 return new Promise ( ( resolve , reject ) => {
207201 axios
208202 . post ( `${ GATEWAY_URL } /add_transaction` , {
You can’t perform that action at this time.
0 commit comments