go-ethereum/eth
Matthieu Vachon 95a7b396a8 Fixed backward compatibility ordinals wrongly re-ordered in Firehose
At some point in the Firehose 2.x release lifecycle, a bug was introduced that caused
ordinals within the block to be broken. The problem was that system calls and block level balance changes
were done using a block level ordinals and transactions were done using their own level ordinals.

Then in the console reader, the ordinals were re-ordered correctly. While block level balance changes
were re-ordered correctly, the system calls were not.

Here, we re-apply the same bug to the transactions to ensure that the Firehose 3.x release lifecycle.
First, we are going to reset the ordinal once we detect this is the first transaction.
Then in the end block, we are going to fix balance & code changes ordinals.
2025-02-20 19:31:10 -05:00
..
catalyst Merge tag 'v1.15.1' into firehose-fh3.0 2025-02-14 14:10:10 -05:00
downloader all: nuke total difficulty (#30744) 2025-01-28 18:55:41 +01:00
ethconfig Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
fetcher params,core: add max and target value to chain config (#31002) 2025-02-04 15:43:18 +01:00
filters core/types: create block's bloom by merging receipts' bloom (#31129) 2025-02-13 18:05:58 +01:00
gasestimator Merge tag 'v1.14.12' into firehose-fh3.0 2024-12-17 16:01:41 -05:00
gasprice consensus/beacon: remove TestingTTDBlock (#31153) 2025-02-11 13:44:25 +01:00
protocols eth/protocols/eth: add discovery iterator to protocol (#31185) 2025-02-17 10:12:03 +01:00
tracers Fixed backward compatibility ordinals wrongly re-ordered in Firehose 2025-02-20 19:31:10 -05:00
api_admin.go eth: ignore genesis block on importChain (#27956) 2023-08-21 13:32:34 -04:00
api_backend.go core/txpool: remove locals-tracking from txpools (#30559) 2025-02-04 17:23:01 +01:00
api_debug.go miner: refactor the miner, make the pending block on demand (#28623) 2024-03-06 14:45:03 +02:00
api_debug_test.go all: implement state history v2 (#30107) 2025-01-17 02:59:02 +01:00
api_miner.go miner: refactor the miner, make the pending block on demand (#28623) 2024-03-06 14:45:03 +02:00
backend.go core/txpool: remove locals-tracking from txpools (#30559) 2025-02-04 17:23:01 +01:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
handler.go core/txpool: remove locals-tracking from txpools (#30559) 2025-02-04 17:23:01 +01:00
handler_eth.go consensus, cmd, core, eth: remove support for non-merge mode of operation (#29169) 2024-03-05 16:13:28 +02:00
handler_eth_test.go core/txpool: remove locals-tracking from txpools (#30559) 2025-02-04 17:23:01 +01:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go core/txpool: remove locals-tracking from txpools (#30559) 2025-02-04 17:23:01 +01:00
peer.go eth: remove admin.peers[i].eth.head and difficulty (#26804) 2023-03-06 09:27:46 +02:00
peerset.go consensus, cmd, core, eth: remove support for non-merge mode of operation (#29169) 2024-03-05 16:13:28 +02:00
state_accessor.go all: implement state history v2 (#30107) 2025-01-17 02:59:02 +01:00
sync.go consensus, cmd, core, eth: remove support for non-merge mode of operation (#29169) 2024-03-05 16:13:28 +02:00
sync_test.go eth/protocols/eth: prevent hanging dispatch (#30918) 2025-01-06 16:31:53 +01:00