This commit is contained in:
Péter Garamvölgyi
2025-11-27 08:42:18 +01:00
parent 5976ba7d0f
commit eab42296cf
2 changed files with 1 additions and 3 deletions

View File

@@ -225,7 +225,6 @@ func (t *TestcontainerApps) GetGormDBClient() (*gorm.DB, error) {
// GetL2GethClient returns a ethclient by dialing running L2Geth
func (t *TestcontainerApps) GetL2GethClient() (*rpc.Client, *ethclient.Client, error) {
rpcCli, err := t.GetL2Client()
if err != nil {
return nil, nil, err

View File

@@ -40,7 +40,6 @@ var (
// clients
l1RawClient *rpc.Client
l1Client *ethclient.Client
l2RawClient *rpc.Client
l2Client *ethclient.Client
l1Auth *bind.TransactOpts
@@ -96,7 +95,7 @@ func setupEnv(t *testing.T) {
l1RawClient, l1Client, err = testApps.GetPoSL1Client()
assert.NoError(t, err)
l2RawClient, l2Client, err = testApps.GetL2GethClient()
_, l2Client, err = testApps.GetL2GethClient()
assert.NoError(t, err)
l1GethChainID, err = l1Client.ChainID(context.Background())
assert.NoError(t, err)