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

Genesis block hash not isCanonical #2835

Closed
tersec opened this issue Nov 5, 2024 · 0 comments · Fixed by #2839
Closed

Genesis block hash not isCanonical #2835

tersec opened this issue Nov 5, 2024 · 0 comments · Fixed by #2839

Comments

@tersec
Copy link
Contributor

tersec commented Nov 5, 2024

0xbcbb53c61f6b8358614a7dcc9b3e00d953342e397c27280933aa9f24c7f13a65 is apparently an acceptable parentHash of blockNumber 0x1, but not a canonical finalized block for fcUV3 for the same block. These cannot both be the case.

Nov  5 16:00:12.381 2024 REQUEST 
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "engine_newPayloadV3",
  "params": [
    {
      "parentHash": "0xbcbb53c61f6b8358614a7dcc9b3e00d953342e397c27280933aa9f24c7f13a65",
      "feeRecipient": "0xf97e180c050e5ab072211ad2c213eb5aee4df134",
      "stateRoot": "0x9703dbc8ea1bfb13984d31bfa73abdb63e177aee4f9bc40b5a808b0c48cc947b",
      "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
      "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
      "prevRandao": "0xbcbb53c61f6b8358614a7dcc9b3e00d953342e397c27280933aa9f24c7f13a65",
      "blockNumber": "0x1",
      "gasLimit": "0x17dd79d",
      "gasUsed": "0x0",
      "timestamp": "0x672a410c",
      "extraData": "0xd883010e0c846765746888676f312e32332e32856c696e7578",
      "baseFeePerGas": "0x342770c0",
      "blockHash": "0x2119a26f775ce9806d2b13f86a328a1369bb4fd99c4ba98c5cc0020094a0c508",
      "transactions": [],
      "withdrawals": [],
      "blobGasUsed": "0x0",
      "excessBlobGas": "0x0"
    },
    [],
    "0x8b21a0a0256067676ec4b20d4118ed5bde170d78b4e9a8db1f7b7640d3b8b7c0"
  ]
}

Nov  5 16:00:12.383 2024 RESPONSE (status 200 OK) 
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "status": "VALID",
    "latestValidHash": "0x2119a26f775ce9806d2b13f86a328a1369bb4fd99c4ba98c5cc0020094a0c508"
  }
}

Nov  5 16:00:12.489 2024 REQUEST 
{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "engine_forkchoiceUpdatedV3",
  "params": [
    {
      "headBlockHash": "0x2119a26f775ce9806d2b13f86a328a1369bb4fd99c4ba98c5cc0020094a0c508",
      "safeBlockHash": "0xbcbb53c61f6b8358614a7dcc9b3e00d953342e397c27280933aa9f24c7f13a65",
      "finalizedBlockHash": "0xbcbb53c61f6b8358614a7dcc9b3e00d953342e397c27280933aa9f24c7f13a65"
    },
    null
  ]
}

Nov  5 16:00:12.491 2024 RESPONSE (status 200 OK) 
{
  "jsonrpc": "2.0",
  "id": 3,
  "error": {
    "code": -38002,
    "message": "finalized block not canonical"
  }
}

See [email protected] for complete logs.

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

Successfully merging a pull request may close this issue.

1 participant