Skip to content

tcp_client sends non-conformant JSON #1769

@buzmeg

Description

@buzmeg

In the transaction I see:
{"id": 11, "request": "swj_sequence", "arguments": [51, 72057594037927935]}

That's a bug waiting to happen. 72057594037927935 is larger than 9007199254740991 (aka Number.MAX_SAFE_INTEGER).

The protocol probably needs to have these kinds of integers (which are actually bitstrings anyway) converted to hex strings and have a protocol version bump.

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