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

Failed to transform data with ds processor #105

Open
xweb3 opened this issue Mar 29, 2023 · 1 comment
Open

Failed to transform data with ds processor #105

xweb3 opened this issue Mar 29, 2023 · 1 comment

Comments

@xweb3
Copy link

xweb3 commented Mar 29, 2023

Description

Failed to transform data with ds processor. TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined

Details

ERROR Failed to transform data with ds processor. TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
ERROR failed to index block at height 6247464 TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
node:internal/errors:478
ErrorCaptureStackTrace(err);
^

TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
at new NodeError (node:internal/errors:387:5)
at Function.from (node:buffer:328:9)
at VM2 Wrapper.apply (/usr/local/lib/node_modules/@subql/node-cosmos/node_modules/vm2/lib/bridge.js:485:11)
at /app/node_modules/@subql/ethermint-evm-processor/dist/bundle.js:25:53460
at Array.map ()
at Object.transformer (/app/node_modules/@subql/ethermint-evm-processor/dist/bundle.js:25:53298)
at VM2 Wrapper.apply (/usr/local/lib/node_modules/@subql/node-cosmos/node_modules/vm2/lib/bridge.js:485:11)
at IndexerManager.transformAndExecuteCustomDs (/usr/local/lib/node_modules/@subql/node-cosmos/dist/indexer/indexer.manager.js:252:14)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'ERR_INVALID_ARG_TYPE'
}

Any other information

The transaction is for contract creation

@stwiname
Copy link
Contributor

Hi @xweb3, can you please provide some more detail:

  • An example project so we can reproduce
  • The network used
  • An example block that has the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants