mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
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. |
||
|---|---|---|
| .. | ||
| internal/contracts | ||
| auth.go | ||
| backend.go | ||
| base.go | ||
| base_test.go | ||
| dep_tree.go | ||
| dep_tree_test.go | ||
| generate_test.go | ||
| lib.go | ||
| lib_test.go | ||
| util.go | ||
| util_test.go | ||