-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
🐛 Bug Report
We're currently on: matterlabs/external-node : v29.1.2
📝 Description
- Block = 0x3FAE609 = 66774537
No transactions in this block
Call eth_getBlockByNumber method, which gives a non-zero logBloom
🔄 Reproduction Steps
curl localhost:3060 \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"eth_getBlockByNumber","params":["0x3FAE609",false],"id":1,"jsonrpc":"2.0"}' | jq .result.logsBloom
🤔 Expected Behavior
0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
😯 Current Behavior
0x00000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000048000000000000020000000000000000000000080000000000000000000000000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000000000000000000000000000000000100000008000000000000000000000000000000000000000000000000002008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
📋 Additional Context
curl localhost:3060 \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"eth_getLogs","params":[{"fromBlock":"0x3FAE609","toBlock":"0x3FAE609"}],"id":1,"jsonrpc":"2.0"}' | jq
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"address": "0x000000000000000000000000000000000000800a",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000000000000000000000000000000000000008001",
"0x000000000000000000000000a9232040bf0e0aea2578a5b2243f2916dbfc0a69"
],
"data": "0x000000000000000000000000000000000000000000000000003b6527dcb98310",
"blockHash": "0x931c9f38a7b352efd0e955b938ec393921b6b634cacae0cb77ba2f0e28d0b72b",
"blockNumber": "0x3fae609",
"l1BatchNumber": "0x7b29d",
"transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"transactionIndex": "0x0",
"logIndex": "0x0",
"transactionLogIndex": "0x0",
"logType": null,
"removed": false,
"blockTimestamp": "0x692fc592"
}
]
}
📎 Log Output
Calculated Bloom from eth_getLogs:
0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Rpc Method: eth_getBlockByNumber returned bloom has the value:
0x00000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000048000000000000020000000000000000000000080000000000000000000000000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000000000000000000000000000000000100000008000000000000000000000000000000000000000000000000002008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000