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

rpcdaemon: Set miner on eth_getBlockByNumber on Polygon #13335

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

shohamc1
Copy link
Member

@shohamc1 shohamc1 commented Jan 7, 2025

Fixes #12690

~ curl --request POST \
  -s --url http://127.0.0.1:8545/ \
  --header 'Content-Type: application/json' \
  --data '{
        "method": "eth_getBlockByNumber",
        "params": [
                "0x3F515FC",
                false
        ],
        "id": 1,
        "jsonrpc": "2.0"
}' | jq '.result.miner'
"0x83d69448f88bf9c701c1b93f43e1f753d39b2632"~ curl --request POST \
  -s --url http://127.0.0.1:8545/ \
  --header 'Content-Type: application/json' \
  --data '{
        "method": "eth_getBlockByHash",
        "params": [
                "0xd925f567ee22d63a003f890af94c1e77e6d4d55a3bcef2b35b7b2317948d7f28",
                false
        ],
        "id": 1,
        "jsonrpc": "2.0"
}' | jq '.result.miner'
"0x83d69448f88bf9c701c1b93f43e1f753d39b2632"

@antonis19 antonis19 merged commit 2cea51f into main Jan 8, 2025
13 checks passed
@antonis19 antonis19 deleted the shohamc1/fix-miner branch January 8, 2025 12:22
antonis19 pushed a commit that referenced this pull request Jan 8, 2025
@yperbasis yperbasis added this to the 2.61.1-fixes milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

erigon2: eth_getBlockByHash returns incorrect miner field on matic
3 participants