Skip to content

Persing error on TezosNodeReader.getMempoolOperation #419

@ulrikstrid

Description

@ulrikstrid

We're getting this error when trying to check if a operation is in the mempool

TezosNodeReader.performGetRequest response: [object Promise] for chains/main/mempool/pending_operations on https://ghostnet.tezos.marigold.dev
evalmachine.<anonymous>:1
?(_$_v.hash=='"oomdRKdZvwykzK3zfsJgc4MAmSGq31SQzcN9zqwUTT7wJyv1s65"
^

SyntaxError: Unexpected token '?'
    at new Script (node:vm:94:7)
    at createScript (node:vm:251:10)
    at Object.runInNewContext (node:vm:292:10)
    at JSONPath._eval (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:643:20)
    at /app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:420:16
    at JSONPath._walk (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:572:7)
    at JSONPath._trace (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:419:10)
    at JSONPath._trace (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:536:17)
    at JSONPath.evaluate (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:243:23)
    at new JSONPath (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:174:22)
Error: jsonPath: Unexpected token '?': ?(_$_v.hash=='"oomdRKdZvwykzK3zfsJgc4MAmSGq31SQzcN9zqwUTT7wJyv1s65"
')
    at JSONPath._eval (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:647:11)
    at /app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:420:16
    at JSONPath._walk (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:572:7)
    at JSONPath._trace (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:419:10)
    at JSONPath._trace (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:536:17)
    at JSONPath.evaluate (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:243:23)
    at new JSONPath (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:174:22)
    at JSONPath (/app/node_modules/jsonpath-plus/dist/index-node-cjs.cjs:128:14)
    at Object.<anonymous> (/app/node_modules/conseiljs/dist/chain/tezos/TezosNodeReader.js:127:61)
    at Generator.next (<anonymous>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions