Skip to content

Commit

Permalink
refractor
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed May 15, 2024
1 parent 045018c commit 1c4f76e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions system_tests/snap_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ package arbtest

import (
"context"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/params"
"github.com/offchainlabs/nitro/arbos/l2pricing"
"github.com/offchainlabs/nitro/util"
"math/big"
"os"
"testing"
"time"

"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/params"

"github.com/offchainlabs/nitro/arbos/l2pricing"
"github.com/offchainlabs/nitro/util"
)

func TestSnapSync(t *testing.T) {
Expand Down Expand Up @@ -146,7 +148,7 @@ func TestSnapSync(t *testing.T) {
}
}
// Fetching message count - 1 instead on the latest block number as the latest block number might not be
// present in the snap sync node since it does not the sequencer feed.
// present in the snap sync node since it does not have the sequencer feed.
header, err := builder.L2.Client.HeaderByNumber(ctx, big.NewInt(int64(finalMessageCount)-1))
Require(t, err)
headerNodeC, err := nodeC.Client.HeaderByNumber(ctx, big.NewInt(int64(finalMessageCount)-1))
Expand Down

0 comments on commit 1c4f76e

Please sign in to comment.