go-ethereum/accounts/abi/bind
Daniel Liu bca20a692a accounts/abi: added abi test cases, minor bug fixes (#20903)
* accounts/abi: added documentation

* accounts/abi: reduced usage of arguments.LengthNonIndexed

* accounts/abi: simplified reflection logic

* accounts/abi: moved testjson data into global declaration

* accounts/abi: removed duplicate test cases

* accounts/abi: reworked abi tests

* accounts/abi: added more tests for abi packing

* accounts/abi/bind: refactored base tests

* accounts/abi: run pack tests as subtests

* accounts/abi: removed duplicate tests

* accounts/abi: removed unnused arguments.LengthNonIndexed

Due to refactors to the code, we do not need the arguments.LengthNonIndexed function anymore.
You can still get the length by calling len(arguments.NonIndexed())

* accounts/abi: added type test

* accounts/abi: modified unpack test to pack test

* accounts/abi: length check on arrayTy

* accounts/abi: test invalid abi

* accounts/abi: fixed rebase error

* accounts/abi: fixed rebase errors

* accounts/abi: removed unused definition

* accounts/abi: merged packing/unpacking tests

* accounts/abi: fixed [][][32]bytes encoding

* accounts/abi: added tuple test cases

* accounts/abi: renamed getMockLog -> newMockLog

* accounts/abi: removed duplicate test

* accounts/abi: bools -> booleans
2025-01-24 16:18:29 +08:00
..
backends accounts/abi/bind/backends: add support for historical state (#20644) 2025-01-24 16:18:29 +08:00
auth.go accounts/abi/bind: fix typo in comments (#19791) 2025-01-24 16:18:29 +08:00
backend.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2024-11-01 11:36:52 +08:00
base.go accounts/abi: Prevent recalculation of internal fields (#20895) 2025-01-24 16:18:29 +08:00
base_test.go accounts/abi: added abi test cases, minor bug fixes (#20903) 2025-01-24 16:18:29 +08:00
bind.go accounts/abi: Prevent recalculation of internal fields (#20895) 2025-01-24 16:18:29 +08:00
bind_test.go accounts/abi: Prevent recalculation of internal fields (#20895) 2025-01-24 16:18:29 +08:00
template.go accounts/abi: implement new fallback functions (#20764) 2025-01-24 16:18:29 +08:00
topics.go accounts/abi/bind: fixed erroneous filtering of negative ints (#20865) 2025-01-24 16:18:29 +08:00
topics_test.go accounts/abi/bind: fixed erroneous filtering of negative ints (#20865) 2025-01-24 16:18:29 +08:00
util.go all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
util_test.go accounts/abi/bind: support closing a simulated backend (#19902) 2025-01-24 16:18:29 +08:00