diff --git a/packages/web3-eth-contract/src/contract.ts b/packages/web3-eth-contract/src/contract.ts index 8a02bf6bd55..677ab157b4b 100644 --- a/packages/web3-eth-contract/src/contract.ts +++ b/packages/web3-eth-contract/src/contract.ts @@ -777,6 +777,10 @@ export class Contract console.log(decodedLogs); const filter = options?.filter ?? {}; const filterKeys = Object.keys(filter); + // eslint-disable-next-line + console.log(filter) + // eslint-disable-next-line + console.log(filterKeys) if (filterKeys.length > 0) { return decodedLogs.filter(log => { diff --git a/packages/web3-eth-contract/test/integration/local_account/contract_erc721.test.ts b/packages/web3-eth-contract/test/integration/local_account/contract_erc721.test.ts index f360f30e85b..a494424630b 100644 --- a/packages/web3-eth-contract/test/integration/local_account/contract_erc721.test.ts +++ b/packages/web3-eth-contract/test/integration/local_account/contract_erc721.test.ts @@ -196,7 +196,8 @@ describe('contract', () => { // eslint-disable-next-line console.log("after") const tokenId = (logs[0] as EventLog)?.returnValues?.tokenId as string; - + // eslint-disable-next-line + console.log(tokenId) const approveReceipt = await contractDeployed.methods .approve(toAccount.address, tokenId) .send({