go-ethereum/params
Arran Schlosberg e7035f19ee
feat!: disambiguate EVM-semantic and raw caller/self addresses for precompiles (#211)
## Why this should be merged

Provides precompiles with unambiguous access to contextual addresses,
without the consumer needing to understand how they change under
different call types.

## How this works

The `libevm.AddressContext` type, which used to carry 3 addresses, now
provides different versions of `Caller` and `Self`. The EVM-semantic
versions are as defined by the rules of the EVM (and available before
this change). The raw versions are the unmodified caller and self.

## How this was tested

Extension of existing UTs to include raw addresses in addition to
existing, EVM-semantic ones.
2025-08-07 23:48:32 +01:00
..
forks eth/catalyst: add timestamp checks to fcu and new payload and improve param checks (#28230) 2024-01-23 16:02:08 +01:00
bootnodes.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
config.go params: print time value instead of pointer in ConfigCompatError (#29514) 2025-06-10 15:08:38 +01:00
config.libevm.go chore: placate goheader (#195) 2025-06-23 15:25:18 +00:00
config.libevm_test.go refactor!: consolidate params and types payload access (#84) 2024-12-09 18:32:15 +00:00
config_test.go params: print time value instead of pointer in ConfigCompatError (#29514) 2025-06-10 15:08:38 +01:00
dao.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
denomination.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
example.libevm_test.go refactor!: consolidate params and types payload access (#84) 2024-12-09 18:32:15 +00:00
hooks.libevm.go feat!: disambiguate EVM-semantic and raw caller/self addresses for precompiles (#211) 2025-08-07 23:48:32 +01:00
hooks.libevm_test.go refactor!: consolidate params and types payload access (#84) 2024-12-09 18:32:15 +00:00
json.libevm.go chore: placate goheader (#195) 2025-06-23 15:25:18 +00:00
json.libevm_test.go chore: placate goheader (#195) 2025-06-23 15:25:18 +00:00
network_params.go les: historical data garbage collection (#19570) 2020-07-13 11:02:54 +02:00
protocol_params.go [AUTO] rename Go module + update internal import paths 2024-10-17 01:49:47 +00:00
protocol_params.libevm.go feat: RIP-7212 precompile for P256 ECDSA verification (#184) 2025-06-10 10:28:02 -04:00
version.go params: release Geth v1.13.14 2024-02-27 13:50:30 +02:00
version.libevm.go chore: placate goheader (#195) 2025-06-23 15:25:18 +00:00
version.libevm_test.go chore: placate goheader (#195) 2025-06-23 15:25:18 +00:00