mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +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. |
||
|---|---|---|
| .. | ||
| testdata/v2 | ||
| bind.go | ||
| bind_test.go | ||
| bindv2.go | ||
| bindv2_test.go | ||
| source.go.tpl | ||
| source2.go.tpl | ||
| template.go | ||