go-ethereum/accounts/abi/abigen
Daniel Liu a85b4ee518
accounts/abi: fix panic when check event with log has empty or nil topics #32503 (#1431)
When the log has empty or nil topics, the generated bindings code will
panic when accessing `log.Topics[0]`, add a check to avoid it.

Co-authored-by: nthumann <nthumanna@gmail.com>
2025-09-06 17:04:33 +08:00
..
testdata/v2 accounts/abi: fix panic when check event with log has empty or nil topics #32503 (#1431) 2025-09-06 17:04:33 +08:00
bind.go cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
bind_test.go cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
bindv2.go cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
bindv2_test.go cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
source.go.tpl cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00
source2.go.tpl accounts/abi: fix panic when check event with log has empty or nil topics #32503 (#1431) 2025-09-06 17:04:33 +08:00
template.go cmd/abigen, accounts/abi/bind: implement abigen version 2 #31379 (#1416) 2025-09-03 15:47:12 +08:00