plugeth/accounts/abi
divergencetech b45931cc4a
accounts/abi/bind: correctly handle structs used only as constructor params (#23940)
The `structs` map is populated by iterating over all methods except the constructor, which results in a nil-pointer dereference.

I've first reproduced the problem with a new test and then implemented the fix.

Co-authored-by: Arran Schlosberg <me@arranschlosberg.com>
2021-12-02 13:53:10 +01:00
..
bind accounts/abi/bind: correctly handle structs used only as constructor params (#23940) 2021-12-02 13:53:10 +01:00
abi_test.go accounts/abi: add basic support for error types (#23161) 2021-10-14 13:33:28 +02:00
abi.go accounts/abi: add basic support for error types (#23161) 2021-10-14 13:33:28 +02:00
argument.go accounts/abi: fix resolving single struct argument (#23573) 2021-09-22 10:18:18 +02:00
doc.go
error_handling.go accounts/abi: add basic support for error types (#23161) 2021-10-14 13:33:28 +02:00
error.go accounts/abi: add basic support for error types (#23161) 2021-10-14 13:33:28 +02:00
event_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
event.go
method_test.go
method.go
pack_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
pack.go
packing_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
reflect_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
reflect.go all: fix some go-critic linter warnings (#23709) 2021-10-13 17:31:02 +02:00
topics_test.go
topics.go
type_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
type.go
unpack_test.go accounts/abi: fix resolving single struct argument (#23573) 2021-09-22 10:18:18 +02:00
unpack.go