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

Unknown isHex assert #44

Closed
vikiival opened this issue Mar 25, 2022 · 1 comment · Fixed by #45
Closed

Unknown isHex assert #44

vikiival opened this issue Mar 25, 2022 · 1 comment · Fixed by #45
Labels
incident Tracking for incidents

Comments

@vikiival
Copy link
Member

Looks like something new

AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  (0, assert_1.default)(isHex(value))

    at decodeHex (/squid/node_modules/@subsquid/scale-codec-json/lib/util.js:205:26)
    at Codec.decode (/squid/node_modules/@subsquid/scale-codec-json/lib/index.js:41:45)
    at Chain.decode (/squid/node_modules/@subsquid/substrate-processor/lib/chain.js:99:43)
    at Chain.decodeCall (/squid/node_modules/@subsquid/substrate-processor/lib/chain.js:88:21)
    at SystemRemarkCall.get asV1020 [as asV1020] (/squid/lib/types/calls.js:25:32)
    at Array.handleRemark (/squid/lib/mappings/index.js:39:58)
    at /squid/node_modules/@subsquid/substrate-processor/lib/processor.js:195:50
    at /squid/node_modules/@subsquid/substrate-processor/lib/db.js:62:19
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}
@vikiival vikiival added the incident Tracking for incidents label Mar 25, 2022
vikiival added a commit that referenced this issue Mar 25, 2022
@vikiival vikiival linked a pull request Mar 28, 2022 that will close this issue
@vikiival
Copy link
Member Author

Fixed by #45

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

Successfully merging a pull request may close this issue.

1 participant