mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Update ethclient & L1CoordinatorTx
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user