go-ethereum/ethclient
Daniel Liu 3fad5e1ab4
refactor(ethclient): implement new sim backend #28202 (#2062)
Introduce a new simulated backend implementation under ethclient/simulated and migrate bind-facing wrappers/tests to use it.

Key changes:

- Add the new backend entry points and behavior in ethclient/simulated, including chain control helpers used by tests (commit/rollback/fork/time adjustment).

- Update legacy bind wrappers in accounts/abi/bind/backends to delegate to the new simulated backend while preserving old APIs.

- Align bind v2/backend and utility tests to the new simulated backend client surface and transaction flow.

- Refresh abigen/bind tests and shared interfaces impacted by the backend migration.

Compatibility notes:

- Keep backward-compatible wrapper constructors for existing contract test code.

- Preserve legacy transaction paths in tests while supporting EIP-1559-aware flows where applicable.

Validation:

- Verified affected packages compile and pass tests.

- Verified repository-wide go test ./... passes after follow-up compatibility fixes.
2026-03-06 11:09:10 +05:30
..
gethclient fix(ethclient): use common.Hash to debug_traceTransaction #32404 (#2048) 2026-02-28 16:59:32 +04:00
simulated refactor(ethclient): implement new sim backend #28202 (#2062) 2026-03-06 11:09:10 +05:30
ethclient.go feat(ethclient): add support for eth_simulateV1 #32856 (#1992) 2026-02-05 11:46:44 +05:30
ethclient_test.go test(ethclient): port ethclient tests from upstream (#2060) 2026-03-01 22:45:01 +04:00
example_test.go test(ethclient): port ethclient tests from upstream (#2060) 2026-03-01 22:45:01 +04:00
gen_simulate_block_result.go feat(ethclient): add support for eth_simulateV1 #32856 (#1992) 2026-02-05 11:46:44 +05:30
gen_simulate_call_result.go feat(ethclient): add support for eth_simulateV1 #32856 (#1992) 2026-02-05 11:46:44 +05:30
signer.go ethclient: fix tx sender cache miss detection #23877 (#1366) 2025-08-21 13:43:52 +08:00
types_test.go ethclient: omit nil address/topics from filter args #33464 (#1942) 2026-01-19 14:20:01 +05:30