accounts/abi/bind/backends: make sure SimulatedBackend interface satisfies ContractBackend

This commit is contained in:
Marius van der Wijden 2023-12-05 10:49:16 +01:00
parent 8cc25715d2
commit 7e95bfb04e

View file

@ -38,6 +38,7 @@ import (
"github.com/ethereum/go-ethereum/rpc" "github.com/ethereum/go-ethereum/rpc"
) )
var _ bind.ContractBackend = (SimulatedBackend)(nil)
var _ bind.ContractBackend = (*simBackend)(nil) var _ bind.ContractBackend = (*simBackend)(nil)
type SimChainManagement interface { type SimChainManagement interface {