subql icon indicating copy to clipboard operation
subql copied to clipboard

Support substrate wasm event in dictionary-resolver

Open jiqiang90 opened this issue 2 years ago • 2 comments

Prerequisites

  • [ ] Are you running the latest version(s)?
  • [ ] Have you searched the documentation for your issue?
  • [ ] Did you search for an existing issue or pull request?

Description

Example project https://github.com/GabrielCamba/sq/tree/main/abis

Build dictionary query failed, decodedData within event transform https://github.com/subquery/datasource-processors/blob/499e16201f9bdbd00385ae2a236f1eeebe952c6f/packages/substrate-wasm/src/index.ts#L337 , undefined event seems get passed to dictionary, and exit with error.

image

Details

These details can help to reproduce the environment the issue is occurring

Local Environment: [You can get this information from executing subql version.] Query Version: [What is the version of the query service?] Indexer Version: [What is the version of the indexer service?] Network Details:

  • [Network]
  • [Block height, a block height where the issue is happening]
  • [Dictionary endpoint, if used]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Example project: [A link to a minimal example that can reproduce the issue]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Any other information

Is there any other information you would like to add?

jiqiang90 avatar Aug 14 '23 05:08 jiqiang90

https://github.com/subquery/datasource-processors/pull/53/

jiqiang90 avatar Aug 16 '23 03:08 jiqiang90

Found was V4 not supported in the wasm processor, been updated

jiqiang90 avatar Aug 16 '23 03:08 jiqiang90