This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
getPastEvents inconsistently returning undefined #6475
Closed
Description
const logs = await contractDeployed.getPastEvents('Transfer');
const tokenId = (logs[0] as EventLog)?.returnValues?.tokenId as string;
would sometimes return undefined in integration test. needs investigation
Expected behavior
Actual behavior
Steps to reproduce the behavior
- [First step]
- [Second step]
- [and so on...]