go-ethereum/miner
Guillaume Ballet 58518ea2b3
core, miner: bootstrap the binary transition registry on the first UBT block
Add `core/transition_registry.go` with two helpers:

  - `InitializeBinaryTransitionRegistry` deploys the system contract at
    `params.BinaryTransitionRegistryAddress`. The contract's bytecode
    returns the storage slot indexed by the call's CALLDATA, exposing
    the transition state to off-chain readers.
  - `WriteBinaryTransitionBaseRoot` writes the frozen MPT base root into
    slot 5. The slot constant is kept private so callers go through this
    helper.

Wire both calls into the three places that build state for a new block:

  - `core/state_processor.go`: in `Process`, after the EIP-2935 system
    call, when the current block is on UBT and the parent is not.
  - `miner/worker.go`: at the end of `prepareWork`, with the same
    fork-boundary check, so locally-built payloads also seed the
    registry.
  - `core/chain_makers.go`: in `GenerateChain`, between the EIP-2935
    handling and the user-supplied `gen` callback, so generated test
    chains see the registry deployed identically to a live chain.
2026-04-29 16:46:48 +02:00
..
stress core: implement eip-7778: block gas accounting without refunds (#33593) 2026-03-04 18:18:18 +08:00
miner.go miner: add OpenTelemetry spans for block building path (#33773) 2026-03-16 19:24:41 +01:00
miner_test.go cmd, core, trie, triedb: split CachingDB into merkle + binary dbs. (#34700) 2026-04-17 08:55:54 +08:00
ordering.go core/txpool, eth, miner: retrieve plain and blob txs separately (#29026) 2024-02-20 11:37:23 +02:00
ordering_test.go core/txpool, miner: speed up blob pool pending retrievals (#29008) 2024-02-19 15:59:40 +02:00
payload_building.go beacon/engine, miner: fix testing_buildBlockV1 response (#34704) 2026-04-13 13:45:35 +02:00
payload_building_test.go miner: add OpenTelemetry spans for block building path (#33773) 2026-03-16 19:24:41 +01:00
pending.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
worker.go core, miner: bootstrap the binary transition registry on the first UBT block 2026-04-29 16:46:48 +02:00