Commit 70d4d030 authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #6367 from ethereum-optimism/fix/e2e-import

op-e2e: fix import
parents 427f15ba d0da1256
...@@ -5,7 +5,7 @@ import ( ...@@ -5,7 +5,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/ethereum-optimism/optimism/op-e2e/e2eutils" "github.com/ethereum-optimism/optimism/op-service/client/utils"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )
...@@ -29,7 +29,7 @@ func TestTimeTravel(t *testing.T) { ...@@ -29,7 +29,7 @@ func TestTimeTravel(t *testing.T) {
// It should be able to jump straight to the new time with just a single block // It should be able to jump straight to the new time with just a single block
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Minute) ctx, cancel := context.WithTimeout(context.Background(), 3*time.Minute)
defer cancel() defer cancel()
err = e2eutils.WaitFor(ctx, time.Second, func() (bool, error) { err = utils.WaitFor(ctx, time.Second, func() (bool, error) {
postTravel, err := l1Client.BlockByNumber(context.Background(), nil) postTravel, err := l1Client.BlockByNumber(context.Background(), nil)
if err != nil { if err != nil {
return false, err return false, err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment