Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default hypersync-client event decoder doesn't support tuples in event signatures #306

Open
DenhamPreen opened this issue Oct 30, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@DenhamPreen
Copy link
Contributor

Describe the bug
Tuples in event signatures break the indexer when using the default hypersync-client event decoder. The simple fix is to use the viem event decoder.

To Reproduce

  1. clone this indexer https://github.com/MetaFam/dacademy-envio
  2. change the event_decoder to hypersync-client in the config.yaml
  3. run dev and see the error
  • Envio version: 2.4.4

thanks @dysbulic for catching 🫡

@DenhamPreen DenhamPreen added the Bug Something isn't working label Oct 30, 2024
@DenhamPreen
Copy link
Contributor Author

For anyone else reading this
simply set the event decoder in the config.yaml file to use viem for the decoding

event_decoder: viem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant