mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 21:54:30 +00:00
## Why this should be merged There are 3 places at which we perform the same, sensitive logic to access registered payloads and as we modify more types this is likely to expand. (e.g. `types.Header`). ## How this works Introduces `pseudo.Accessor` to abstract the reusable code. ## How this was tested Existing unit tests. Note that the `types.StateAccount` tests needed a minor refactor to provide the assertions with access to the `ExtraPayloads[T]` without introducing generic types anywhere. |
||
|---|---|---|
| .. | ||
| forks | ||
| bootnodes.go | ||
| config.go | ||
| config.libevm.go | ||
| config.libevm_test.go | ||
| config_test.go | ||
| dao.go | ||
| denomination.go | ||
| example.libevm_test.go | ||
| hooks.libevm.go | ||
| hooks.libevm_test.go | ||
| json.libevm.go | ||
| json.libevm_test.go | ||
| network_params.go | ||
| protocol_params.go | ||
| version.go | ||
| version.libevm.go | ||
| version.libevm_test.go | ||