go-ethereum/accounts/abi/abigen
jwasinger a10969f650
accounts/abi: fix abigen v1 bindings for deployment of library dependencies (#32164)
When we are deploying library dependencies, if the `TransactOpts` nonce
is unset we will choose the nonce of the next deployment transaction
based on the pending nonce of the sender. If a previous library
deployment transaction was made but not yet accepted into the pool, the
pending nonce will not be updated for the the next deployment
transaction.

This PR introduces a new method to the bind API `WaitAccepted` which
poll until a submitted transaction hash is accepted into the pool or
rejected. The bindings for v1 are updated to invoke this method after
deploying each library dependency.
2026-07-14 14:45:16 +02:00
..
testdata/v2 accounts/abi/abigen: add GetABI() method to abigen v2 generated bindings (#35221) 2026-07-01 15:40:46 +08:00
bind.go accounts/abi: precompile regex (#32301) 2025-07-31 09:53:31 +08:00
bind_test.go accounts/abi: check presence of payable fallback or receive before proceeding with transfer (#32374) 2025-10-14 17:07:48 +08:00
bindv2.go cmd/abigen, accounts/abi/bind: implement abigen version 2 (#31379) 2025-03-17 15:56:55 +01:00
bindv2_test.go accounts/abi: generate TryPack* methods for abigen v2 bindings (#31692) 2025-07-02 15:16:54 +09:00
source.go.tpl accounts/abi: fix abigen v1 bindings for deployment of library dependencies (#32164) 2026-07-14 14:45:16 +02:00
source2.go.tpl accounts/abi/abigen: add GetABI() method to abigen v2 generated bindings (#35221) 2026-07-01 15:40:46 +08:00
template.go cmd/abigen, accounts/abi/bind: implement abigen version 2 (#31379) 2025-03-17 15:56:55 +01:00