Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sieniven committed Jul 31, 2024
1 parent cffd2a5 commit 5f09bd8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dataavailability/nubit/backend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"testing"
"time"

"github.com/0xPolygonHermez/zkevm-node/config/types"
"github.com/0xPolygonHermez/zkevm-node/log"
"github.com/ethereum/go-ethereum/common"
"github.com/rollkit/go-da/proxy"
Expand All @@ -24,7 +25,7 @@ func TestOffchainPipeline(t *testing.T) {
NubitAuthKey: "",
NubitNamespace: "xlayer",
NubitGetProofMaxRetry: 10,
NubitGetProofWaitPeriod: 5 * time.Second,
NubitGetProofWaitPeriod: types.NewDuration(5 * time.Second),
}
pk, err := ecdsa.GenerateKey(elliptic.P256(), crand.Reader)
require.NoError(t, err)
Expand Down Expand Up @@ -72,7 +73,7 @@ func TestOffchainPipelineWithRandomData(t *testing.T) {
NubitAuthKey: "",
NubitNamespace: "xlayer",
NubitGetProofMaxRetry: 10,
NubitGetProofWaitPeriod: 5 * time.Second,
NubitGetProofWaitPeriod: types.NewDuration(5 * time.Second),
}
pk, err := ecdsa.GenerateKey(elliptic.P256(), crand.Reader)
require.NoError(t, err)
Expand Down

0 comments on commit 5f09bd8

Please sign in to comment.