Update ethclient & L1CoordinatorTx

This commit is contained in:
laisolizq
2020-11-20 13:45:22 +01:00
parent bf88eb60b8
commit f775af8890
10 changed files with 754 additions and 43 deletions

View File

@@ -3,12 +3,15 @@ package eth
import (
"testing"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/stretchr/testify/require"
)
func TestClientInterface(t *testing.T) {
ethClient, err := ethclient.Dial(ethClientDialURL)
require.Nil(t, err)
var c ClientInterface
client, _ := NewClient(nil, nil, nil, &ClientConfig{})
client, _ := NewClient(ethClient, nil, nil, &ClientConfig{})
c = client
require.NotNil(t, c)
}