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

[l2geth]: RPC doesn't support query block with unsafe, safe and finalized #1384

Open
abelliumnt opened this issue Dec 18, 2023 · 0 comments
Open
Assignees

Comments

@abelliumnt
Copy link
Collaborator

Describe the bug
Mantle rpc doesn't support query block with unsafe, safe and finalized.

To Reproduce
Steps to reproduce the behavior:

  1. Open Postman
  2. URL: https://rpc.mantle.xyz
  3. Post Body
{
    "jsonrpc": "2.0",
    "method": "eth_getBlockByNumber",
    "params": ["safe", false],
    "id": 0
}
  1. Click Send button
  2. Check response:
{
    "jsonrpc": "2.0",
    "error": {
        "code": -32602,
        "message": "invalid argument 0: hex string without 0x prefix"
    },
    "id": 0
}

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

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

3 participants