accounts/abi/bind/backends: remove nil and remote backends
The remote backend is superseded by ethclient. The nil backend's stated purpose was to enable testing of accounts/abi/bind. None of its methods actually worked. A much simpler way to get a crashing backend is to simply pass nil as the backend. With a one-line change to the generator (removing two explicit interface assertions), passing nil actually works. Removing these backends means that less changes are required later.
Showing
- accounts/abi/bind/backends/nil.go 0 additions, 57 deletionsaccounts/abi/bind/backends/nil.go
- accounts/abi/bind/backends/remote.go 0 additions, 136 deletionsaccounts/abi/bind/backends/remote.go
- accounts/abi/bind/bind_test.go 9 additions, 9 deletionsaccounts/abi/bind/bind_test.go
- accounts/abi/bind/template.go 1 addition, 1 deletionaccounts/abi/bind/template.go
Loading
Please register or sign in to comment