testinprod-io / op-erigon

Optimism implementation on the efficiency frontier
https://op-erigon.testinprod.io
GNU Lesser General Public License v3.0
85 stars 14 forks source link

Database Inconsisteny for `CallToIndex` MDBX Table #57

Open pcw109550 opened 1 year ago

pcw109550 commented 1 year ago

Background

Optimism Bedrock sets block header's coinbase as address of SequencerFeeVault: 0x4200000000000000000000000000000000000011.

CallToIndex Table stores mapping(key: address, value: bitmap storing blocknumber which address tainted the block). Otterscan API(ots_searchTransactionsBefore) searches CallToIndex and find block number, and trace transaction included inside each block.

Bug

Although coinbase is included in CallToIndex, there is no transactions which caused coinbase to be included in CallToIndex.

Expected behavior

Coinbase address must not be inserted to CallToIndex Table. Need to find out the root cause and fix it.

Mitigations

See https://github.com/testinprod-io/op-erigon/pull/10. When inconsistency detected, do not progress and early terminate.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] commented 11 months ago

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] commented 8 months ago

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.