Skip to content

🐛 [SDKv3] Filter event logs (viem) example fails execution #2726

@claytonneal

Description

@claytonneal

Description

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 EXECUTING: filter-event-logs
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Error: r]: Topic not found in the provided ABIs.
    at log (/home/runner/work/vechain-sdk-js/vechain-sdk-js/packages/sdk/src/thor/thor-client/logs/logs-module.ts:41:27)
    at Array.forEach (<anonymous>)
    at Tr.filterEventLogs (/home/runner/work/vechain-sdk-js/vechain-sdk-js/packages/sdk/src/thor/thor-client/logs/logs-module.ts:38:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async je.getLogs (/home/runner/work/vechain-sdk-js/vechain-sdk-js/packages/sdk/src/viem/clients/PublicClient.ts:752:20)
    at async example (/home/runner/work/vechain-sdk-js/vechain-sdk-js/examples/viem/filter-event-logs/index.ts:54:25) {
  cause: undefined,
  args: {
    type: 'event',
    value: 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
  },
  fqn: 'LogsModule.filterEventLogs',
  tag: 'vechain-sdk-js:3.0.0-beta.2'
}

Taken from: https://github.com/vechain/vechain-sdk-js/actions/runs/20379484458/job/58566353703

This also means the shell script is not failing the CI job

Reproduction URL

No response

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

Logs

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions