plugeth/accounts/abi/bind
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
..
backends accounts/abi/bind/backends: fix race condition in simulated backend (#23898) 2021-11-12 15:50:08 +01:00
auth.go accounts/abi/bind: set Context in TransactOpts (#23188) 2021-07-27 16:24:27 +02:00
backend.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
base_test.go accounts/abi/bind: refactor transact method (#23719) 2021-10-13 22:59:11 +02:00
base.go accounts/abi/bind: fix error handling in baseFee query (#23781) 2021-10-21 11:40:35 +02:00
bind_test.go accounts/abi/bind: correctly handle structs used only as constructor params (#23940) 2021-12-02 13:53:10 +01:00
bind.go accounts/abi/bind: correctly handle structs used only as constructor params (#23940) 2021-12-02 13:53:10 +01:00
template.go accounts/abi/bind: parse ABI only once, create metadata struct (#22583) 2021-07-27 16:22:21 +02:00
util_test.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
util.go accounts/abi: accounts/abi/bind: Move topics to abi package (#21057) 2020-05-12 12:21:40 +02:00