accounts/abi/bind: add utilities for waiting on transactions
The need for these functions comes up in code that actually deploys and uses contracts. As of this commit, they can be used with both SimulatedBackend and ethclient. SimulatedBackend gains some additional methods in the process and is now safe for concurrent use.
Showing
- accounts/abi/bind/backend.go 10 additions, 0 deletionsaccounts/abi/bind/backend.go
- accounts/abi/bind/backends/simulated.go 88 additions, 15 deletionsaccounts/abi/bind/backends/simulated.go
- accounts/abi/bind/util.go 76 additions, 0 deletionsaccounts/abi/bind/util.go
- accounts/abi/bind/util_test.go 93 additions, 0 deletionsaccounts/abi/bind/util_test.go
Loading
Please register or sign in to comment