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

Support EIP-1898 #179

Closed
gzliudan opened this issue Sep 13, 2022 · 3 comments
Closed

Support EIP-1898 #179

gzliudan opened this issue Sep 13, 2022 · 3 comments

Comments

@gzliudan
Copy link
Collaborator

gzliudan commented Sep 13, 2022

XinFin blockchain does not support EIP-1898 now. Below methods are are affected:

  • eth_getBalance
  • eth_getStorageAt
  • eth_getTransactionCount
  • eth_getCode
  • eth_call

Here is a test case, request:

curl -X POST https://arpc.apothem.network/ -H "Content-Type: application/json" -d '
{
    "id": 348,
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [
        {
            "data": "0x06fdde03",
            "gas": "0x2faf080",
            "to": "0x53350795c11cee781a7e174479778f848d76ab2a"
        },
        {
            "blockHash": "0xe8ec0bfc021f839fd0a69ae89689e309632af2cc434e8a096732068f0736864b"
        }
    ]
}'

And the response is:

{
  "jsonrpc": "2.0",
  "id": 348,
  "error": {
    "code": -32602,
    "message": "invalid argument 1: hex string without 0x prefix"
  }
}
@Tpada13
Copy link

Tpada13 commented Sep 14, 2022

@gzliudan - XDC Network has recently implemented XIPs and this is a perfect example of one that can be written / copied over from the EIP. Please check https://www.xdc.community/pages/xips/ and learn how to contribute and use the template to generate the XIP. I will be happy to support the process if you would like to champion it through.

@gzliudan
Copy link
Collaborator Author

@gzliudan
Copy link
Collaborator Author

The graph-node has a flag no_eip1898.

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

2 participants