Skip to content

Decoding function inputs for an Ethereum call failed #932

@ziegfried

Description

@ziegfried

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Subgraph fails with error when attempting to decode some invalid inputs for an Ethereum function call.

Subgraph instance failed to run: Failed to process trigger: Generating function inputs for an Ethereum call failed = Cannot decode bytes16, code: SubgraphSyncingFailure, id: QmcVgWVzeugoZjAdJHbKxD9Gt1FCB4cq2JzknoNKPdw9zN, updates: 0

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

  1. Clone https://github.com/ziegfried/peepeth-subgraph
  2. Edit subgraph.yaml: Remove line-comment from changeName(bytes16) handler
        # - function: changeName(bytes16)
        #   handler: handleChangeName
  1. Deploy

What is the expected behavior?

Graph node should ignore the invalid function call and keep processing the subgraph.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions