Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Jan 6, 2025
1 parent bad1749 commit c2b3d1b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions centrifuge-js/src/CentrifugeBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,23 +543,9 @@ export class CentrifugeBase {
// NOTE: value is unused, the Dispatch requires no additional payment beyond tx fees
}

console.log('🚀 ~ Transaction details:', {
weight,
gas,
method: submittable.method.method,
section: submittable.method.section,
data: tx.data,
})

const txPromise = this.config.evmSigner!.sendTransaction(tx)
return from(txPromise).pipe(
catchError((error) => {
console.error('🚀 ~ EVM transaction failed:', {
error,
tx,
chainId: this.config.substrateEvmChainId,
signer: this.config.evmSigningAddress,
})
throw error
}),
switchMap((response) => {
Expand Down Expand Up @@ -599,7 +585,6 @@ export class CentrifugeBase {
})
)
} catch (error) {
console.error('🚀 ~ Transaction preparation failed:', error)
return throwError(() => error)
}
})
Expand Down

0 comments on commit c2b3d1b

Please sign in to comment.