diff --git a/components/factory/forms/MintForm.tsx b/components/factory/forms/MintForm.tsx index 59fd158..e71c20d 100644 --- a/components/factory/forms/MintForm.tsx +++ b/components/factory/forms/MintForm.tsx @@ -92,7 +92,6 @@ export default function MintForm({ mintToAddress: recipient, }); - console.log('Estimating fee for address (mint):', address); const fee = await estimateFee(address ?? '', [msg]); await tx([msg], { fee, diff --git a/components/groups/components/myGroups.tsx b/components/groups/components/myGroups.tsx index 302e59e..1b91597 100644 --- a/components/groups/components/myGroups.tsx +++ b/components/groups/components/myGroups.tsx @@ -112,7 +112,7 @@ export function YourGroups({ return 'Untitled Group'.toLowerCase().includes(searchTerm.toLowerCase()); } }); - console.log(groups); + const totalPages = Math.ceil(filteredGroups.length / pageSize.groupInfo); const paginatedGroupEntries = filteredGroups.slice( diff --git a/utils/maths.ts b/utils/maths.ts index 5a16c41..a644ff8 100644 --- a/utils/maths.ts +++ b/utils/maths.ts @@ -39,9 +39,7 @@ export const parseNumberToBigInt = (v: string, maxDigits: number = 6) => { } const precision = new BigNumber(10).pow(maxDigits); const b = amount.times(precision).toFixed(); - console.log('amount', amount); - console.log('precision', precision); - console.log('BBBBBBBBBBBBBBB', b); + return BigInt(b); }; diff --git a/utils/transactionUtils.ts b/utils/transactionUtils.ts index 43fe852..bc7811c 100644 --- a/utils/transactionUtils.ts +++ b/utils/transactionUtils.ts @@ -12,7 +12,7 @@ export const useSimulateDenomCreation = () => { const simulateDenomCreation = async (subdenom: string): Promise => { if (!address) { - console.log('Simulation failed: No address available'); + console.error('Simulation failed: No address available'); return false; } @@ -25,11 +25,10 @@ export const useSimulateDenomCreation = () => { }); try { - console.log(`Simulating denom creation for subdenom: ${subdenom}`); const result = await tx([msg], { simulate: true, returnError: true }); if (result === undefined) { - console.log('Simulation result is undefined'); + console.error('Simulation result is undefined'); return false; } @@ -38,7 +37,6 @@ export const useSimulateDenomCreation = () => { return false; } - console.log('Simulation successful'); return true; } catch (error) { console.error('Unexpected error during simulation:', error);