Skip to content

EVM RPC - null params emit error #154

@Sanghak-Lee

Description

@Sanghak-Lee

Is there any way to allow params:null like other evm compatible protocol?

Other EVM compatible rpc node

{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": null,
    "id": 1
}
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": false
}

SHM ld-rpc node

[ERROR]

{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": null,
    "id": 1
}
{
    "jsonrpc": "2.0",
    "id": null,
    "error": {
        "code": -32600,
        "message": "Invalid request"
    }
}

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