go-ethereum/accounts/abi/bind/v2
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
..
internal/contracts accounts/abi: generate TryPack* methods for abigen v2 bindings #31692 (#1424) 2025-09-17 08:24:03 +08:00
auth.go cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
backend.go refactor(ethclient): implement new sim backend #28202 (#2062) 2026-03-06 11:09:10 +05:30
base.go accounts/abi: check presence of payable fallback or receive before proceeding with transfer #32374 (#1950) 2026-01-19 12:14:44 +05:30
base_test.go cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
dep_tree.go cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
dep_tree_test.go accounts/abi/bind/v2: replace rng in test #33612 (#1964) 2026-01-27 08:47:13 +05:30
generate_test.go all: pre-allocate memory for slices and maps, close XFN-148 (#1714) 2025-11-14 20:13:36 +05:30
lib.go account/abi/bind/v2: fix TestDeploymentWithOverrides #32212 (#1426) 2025-09-13 09:50:19 +08:00
util.go cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
util_test.go refactor(ethclient): implement new sim backend #28202 (#2062) 2026-03-06 11:09:10 +05:30