Skip to content

Commit

Permalink
rm log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Aug 26, 2024
1 parent 679c533 commit 389430e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tools/bridge-frontend/src/lib/utils/contractUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ const estimateAndPopulateTx = async (
gasLimit: estimatedGas,
}
);
console.log("🚀 ~ useContractService ~ populatTxResp:", populatTxResp);
return populatTxResp;
} catch (error) {
return handleError(error, "Error populating transaction");
Expand All @@ -83,7 +82,6 @@ const extractAndProcessValueTransfer = async (
log.topics[0] ===
ethers.utils.id("ValueTransfer(address,address,uint256,uint64)")
);
console.log("🚀 ~ useContract ~ valueTransferEvent:", valueTransferEvent);

if (!valueTransferEvent) {
throw new Error("ValueTransfer event not found in the logs");
Expand Down Expand Up @@ -138,7 +136,6 @@ const estimateGasWithTimeout = async (
root,
{}
);
console.log("🚀 ~ gasLimit:", gasLimit);
} catch (error: any) {
console.error(`Estimate gas threw error: ${error.reason}`);
}
Expand Down
3 changes: 0 additions & 3 deletions tools/bridge-frontend/src/services/useContractService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ export const useContractService = () => {
gasPrice,
bridgeContract
);
console.log("🚀 ~ sendNative ~ tx:", tx);
const txResponse = await signer.sendTransaction(tx);
console.log("Transaction response:", txResponse);

showToast(ToastType.INFO, "Transaction sent; waiting for confirmation");

Expand Down Expand Up @@ -163,7 +161,6 @@ export const useContractService = () => {
}

const responseL1 = await wallet.sendTransaction(txL1);
console.log("L1 txn response:", responseL1);

showToast(
ToastType.INFO,
Expand Down

0 comments on commit 389430e

Please sign in to comment.