Skip to content

Commit 6032adb

Browse files
committed
fix: remove console.logs
1 parent 8976091 commit 6032adb

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

__tests__/contracts.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/starknet.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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`, {

0 commit comments

Comments
 (0)