go-ethereum/accounts/abi
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
..
abigen refactor(ethclient): implement new sim backend #28202 (#2062) 2026-03-06 11:09:10 +05:30
bind refactor(ethclient): implement new sim backend #28202 (#2062) 2026-03-06 11:09:10 +05:30
abi.go accounts/abi: support unpacking solidity errors (#30738) 2025-01-24 16:54:12 +08:00
abi_test.go accounts/abi: support unpacking solidity errors (#30738) 2025-01-24 16:54:12 +08:00
abifuzzer_test.go accounts: run tests in parallel (#28544) 2025-01-24 16:54:12 +08:00
argument.go all: pre-allocate memory for slices and maps, close XFN-148 (#1714) 2025-11-14 20:13:36 +05:30
doc.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
error.go accounts/abi: context info on unpack-errors (#28529) 2025-01-24 16:54:12 +08:00
error_handling.go accounts/abi: error when packing negative values in unsigned types #31790 (#1422) 2025-09-03 15:48:44 +08:00
event.go accounts/abi/bind: fix duplicate field names in the generated go struct (#24924) 2025-01-24 16:54:11 +08:00
event_test.go accounts/abi: golangci-lint 1.61.0 (#30587) 2025-01-24 16:54:12 +08:00
method.go accounts/abi: improve readability of method-to-string conversion (#28530) 2025-01-24 16:54:12 +08:00
method_test.go accounts: run tests in parallel (#28544) 2025-01-24 16:54:12 +08:00
pack.go accounts/abi: error when packing negative values in unsigned types #31790 (#1422) 2025-09-03 15:48:44 +08:00
pack_test.go all: pre-allocate memory for slices and maps, close XFN-148 (#1714) 2025-11-14 20:13:36 +05:30
packing_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2025-01-24 16:18:30 +08:00
reflect.go accounts/abi, accounts/keystore: use reflect.TypeFor #32323 (#1428) 2025-09-06 17:01:22 +08:00
reflect_test.go accounts/abi, accounts/keystore: use reflect.TypeFor #32323 (#1428) 2025-09-06 17:01:22 +08:00
topics.go accounts/abi: fix MakeTopics mutation of big.Int inputs (#30785) 2025-01-24 16:54:12 +08:00
topics_test.go accounts/abi: fix MakeTopics mutation of big.Int inputs (#30785) 2025-01-24 16:54:12 +08:00
type.go accounts/abi, accounts/keystore: use reflect.TypeFor #32323 (#1428) 2025-09-06 17:01:22 +08:00
type_test.go accounts/abi: fix typos (#29542 #29600) 2025-01-24 16:54:12 +08:00
unpack.go account/abi: convert if-else-if chain to tagged switch (#27869) 2025-01-24 16:54:12 +08:00
unpack_test.go accounts/abi: error when packing negative values in unsigned types #31790 (#1422) 2025-09-03 15:48:44 +08:00
utils.go accounts: lint comments (#25726) 2025-01-24 16:54:11 +08:00