From 1c4f76eb52bcca39975a05939d26ae4a2e44fcd5 Mon Sep 17 00:00:00 2001 From: Aman Sanghi Date: Wed, 15 May 2024 10:31:41 +0530 Subject: [PATCH] refractor --- system_tests/snap_sync_test.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/system_tests/snap_sync_test.go b/system_tests/snap_sync_test.go index e531b62f8a..a0a349a1d9 100644 --- a/system_tests/snap_sync_test.go +++ b/system_tests/snap_sync_test.go @@ -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) { @@ -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))