Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
luu-alex committed Oct 6, 2023
1 parent 9074db0 commit e608576
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/web3-eth-contract/src/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,10 @@ export class Contract<Abi extends ContractAbi>
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 => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit e608576

Please sign in to comment.