Skip to content

Fix Cronos logs bloom verification issue#460

Merged
Lezek123 merged 1 commit into
open-betafrom
cronos-logs-bloom
Apr 1, 2026
Merged

Fix Cronos logs bloom verification issue#460
Lezek123 merged 1 commit into
open-betafrom
cronos-logs-bloom

Conversation

@Lezek123
Copy link
Copy Markdown
Contributor

@Lezek123 Lezek123 commented Apr 1, 2026

Cronos mainnet blocks before the v0.7.0 upgrade (height 2,693,800) may have extra bits in the header bloom due to an Ethermint bug where logs from failed transactions were included in the bloom computation.

Related error:

{
  "level": 5,
  "time": 1775048850927,
  "ns": "sqd:evm-dump",
  "err": {
    "stack": "AssertionError [ERR_ASSERTION]: failed to verify logs bloom\n    at Rpc.addReceiptsByBlock (/squid/evm/evm-rpc/lib/rpc.js:302:38)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n    at async Promise.all (index 0)\n    at async Rpc.addRequestedData (/squid/evm/evm-rpc/lib/rpc.js:193:9)\n    at async Rpc.getBlockBatch (/squid/evm/evm-rpc/lib/rpc.js:74:9)\n    at async getBlocks (/squid/evm/evm-rpc/lib/data-source/get-blocks.js:20:18)",
    "generatedMessage": false,
    "code": "ERR_ASSERTION",
    "actual": "0x80000000000010040000000080000008000000000402000000800008000001000000000000000000004040000000040200040008000000000200000000240100400000000000002000120009000010000001100000040000800000008000800000000020020000000000000000000800000000000008014008000812000000400000000000002008000004000000008000208001000000080000000100000000020000000800100030000004000000010004000010000040004000200000000000000402002000000000000000020040040200800000001000000000008060000010000000000000080001000000000000020000400040400004000100100000",
    "expected": "0x00000000000000040000000080000000000000000400000000000000000001000000000000000000000040000000040200000000000000000000000000200100400000000000000000000008000010000000000000000000800000008000000000000020020000000000000000000800000000000008004000000012000000000000000000000008000000000000000000008001000000080000000000000000020000000000100000000004000000000004000000000000000000200000000000000002000000000000000000020000000000000000001000000000000020000010000000000000000001000000000000000000400040400000000000000000",
    "operator": "==",
    "diff": "simple",
    "blockNumber": 68216,
    "blockHash": "0x04b09bd0c403b944be14728c25992f1edd8bfb6838c9e058d86ac05e6bc1be03"
  }
}

@Lezek123 Lezek123 merged commit 3b03fc1 into open-beta Apr 1, 2026
1 check failed
@belopash belopash deleted the cronos-logs-bloom branch May 6, 2026 11:18
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 this pull request may close these issues.

1 participant