@@ -564,7 +564,7 @@ func testShortReorgedSnapSyncingRepair(t *testing.T, snapshots bool) {
564
564
// Tests a recovery for a long canonical chain with frozen blocks where a recent
565
565
// block - newer than the ancient limit - was already committed to disk and then
566
566
// the process crashed. In this case we expect the chain to be rolled back to the
567
- // committed block, with everything afterwads kept as fast sync data.
567
+ // committed block, with everything afterwards kept as fast sync data.
568
568
func TestLongShallowRepair (t * testing.T ) { testLongShallowRepair (t , false ) }
569
569
func TestLongShallowRepairWithSnapshots (t * testing.T ) { testLongShallowRepair (t , true ) }
570
570
@@ -609,7 +609,7 @@ func testLongShallowRepair(t *testing.T, snapshots bool) {
609
609
// Tests a recovery for a long canonical chain with frozen blocks where a recent
610
610
// block - older than the ancient limit - was already committed to disk and then
611
611
// the process crashed. In this case we expect the chain to be rolled back to the
612
- // committed block, with everything afterwads deleted.
612
+ // committed block, with everything afterwards deleted.
613
613
func TestLongDeepRepair (t * testing.T ) { testLongDeepRepair (t , false ) }
614
614
func TestLongDeepRepairWithSnapshots (t * testing.T ) { testLongDeepRepair (t , true ) }
615
615
@@ -653,7 +653,7 @@ func testLongDeepRepair(t *testing.T, snapshots bool) {
653
653
// Tests a recovery for a long canonical chain with frozen blocks where the fast
654
654
// sync pivot point - newer than the ancient limit - was already committed, after
655
655
// which the process crashed. In this case we expect the chain to be rolled back
656
- // to the committed block, with everything afterwads kept as fast sync data.
656
+ // to the committed block, with everything afterwards kept as fast sync data.
657
657
func TestLongSnapSyncedShallowRepair (t * testing.T ) {
658
658
testLongSnapSyncedShallowRepair (t , false )
659
659
}
@@ -702,7 +702,7 @@ func testLongSnapSyncedShallowRepair(t *testing.T, snapshots bool) {
702
702
// Tests a recovery for a long canonical chain with frozen blocks where the fast
703
703
// sync pivot point - older than the ancient limit - was already committed, after
704
704
// which the process crashed. In this case we expect the chain to be rolled back
705
- // to the committed block, with everything afterwads deleted.
705
+ // to the committed block, with everything afterwards deleted.
706
706
func TestLongSnapSyncedDeepRepair (t * testing.T ) { testLongSnapSyncedDeepRepair (t , false ) }
707
707
func TestLongSnapSyncedDeepRepairWithSnapshots (t * testing.T ) { testLongSnapSyncedDeepRepair (t , true ) }
708
708
@@ -843,7 +843,7 @@ func testLongSnapSyncingDeepRepair(t *testing.T, snapshots bool) {
843
843
// side chain, where a recent block - newer than the ancient limit - was already
844
844
// committed to disk and then the process crashed. In this test scenario the side
845
845
// chain is below the committed block. In this case we expect the chain to be
846
- // rolled back to the committed block, with everything afterwads kept as fast
846
+ // rolled back to the committed block, with everything afterwards kept as fast
847
847
// sync data; the side chain completely nuked by the freezer.
848
848
func TestLongOldForkedShallowRepair (t * testing.T ) {
849
849
testLongOldForkedShallowRepair (t , false )
@@ -895,7 +895,7 @@ func testLongOldForkedShallowRepair(t *testing.T, snapshots bool) {
895
895
// side chain, where a recent block - older than the ancient limit - was already
896
896
// committed to disk and then the process crashed. In this test scenario the side
897
897
// chain is below the committed block. In this case we expect the canonical chain
898
- // to be rolled back to the committed block, with everything afterwads deleted;
898
+ // to be rolled back to the committed block, with everything afterwards deleted;
899
899
// the side chain completely nuked by the freezer.
900
900
func TestLongOldForkedDeepRepair (t * testing.T ) { testLongOldForkedDeepRepair (t , false ) }
901
901
func TestLongOldForkedDeepRepairWithSnapshots (t * testing.T ) { testLongOldForkedDeepRepair (t , true ) }
@@ -942,7 +942,7 @@ func testLongOldForkedDeepRepair(t *testing.T, snapshots bool) {
942
942
// side chain, where the fast sync pivot point - newer than the ancient limit -
943
943
// was already committed to disk and then the process crashed. In this test scenario
944
944
// the side chain is below the committed block. In this case we expect the chain
945
- // to be rolled back to the committed block, with everything afterwads kept as
945
+ // to be rolled back to the committed block, with everything afterwards kept as
946
946
// fast sync data; the side chain completely nuked by the freezer.
947
947
func TestLongOldForkedSnapSyncedShallowRepair (t * testing.T ) {
948
948
testLongOldForkedSnapSyncedShallowRepair (t , false )
@@ -994,7 +994,7 @@ func testLongOldForkedSnapSyncedShallowRepair(t *testing.T, snapshots bool) {
994
994
// side chain, where the fast sync pivot point - older than the ancient limit -
995
995
// was already committed to disk and then the process crashed. In this test scenario
996
996
// the side chain is below the committed block. In this case we expect the canonical
997
- // chain to be rolled back to the committed block, with everything afterwads deleted;
997
+ // chain to be rolled back to the committed block, with everything afterwards deleted;
998
998
// the side chain completely nuked by the freezer.
999
999
func TestLongOldForkedSnapSyncedDeepRepair (t * testing.T ) {
1000
1000
testLongOldForkedSnapSyncedDeepRepair (t , false )
@@ -1149,7 +1149,7 @@ func testLongOldForkedSnapSyncingDeepRepair(t *testing.T, snapshots bool) {
1149
1149
// side chain, where a recent block - newer than the ancient limit - was already
1150
1150
// committed to disk and then the process crashed. In this test scenario the side
1151
1151
// chain is above the committed block. In this case we expect the chain to be
1152
- // rolled back to the committed block, with everything afterwads kept as fast
1152
+ // rolled back to the committed block, with everything afterwards kept as fast
1153
1153
// sync data; the side chain completely nuked by the freezer.
1154
1154
func TestLongNewerForkedShallowRepair (t * testing.T ) {
1155
1155
testLongNewerForkedShallowRepair (t , false )
@@ -1201,7 +1201,7 @@ func testLongNewerForkedShallowRepair(t *testing.T, snapshots bool) {
1201
1201
// side chain, where a recent block - older than the ancient limit - was already
1202
1202
// committed to disk and then the process crashed. In this test scenario the side
1203
1203
// chain is above the committed block. In this case we expect the canonical chain
1204
- // to be rolled back to the committed block, with everything afterwads deleted;
1204
+ // to be rolled back to the committed block, with everything afterwards deleted;
1205
1205
// the side chain completely nuked by the freezer.
1206
1206
func TestLongNewerForkedDeepRepair (t * testing.T ) { testLongNewerForkedDeepRepair (t , false ) }
1207
1207
func TestLongNewerForkedDeepRepairWithSnapshots (t * testing.T ) { testLongNewerForkedDeepRepair (t , true ) }
@@ -1248,7 +1248,7 @@ func testLongNewerForkedDeepRepair(t *testing.T, snapshots bool) {
1248
1248
// side chain, where the fast sync pivot point - newer than the ancient limit -
1249
1249
// was already committed to disk and then the process crashed. In this test scenario
1250
1250
// the side chain is above the committed block. In this case we expect the chain
1251
- // to be rolled back to the committed block, with everything afterwads kept as fast
1251
+ // to be rolled back to the committed block, with everything afterwards kept as fast
1252
1252
// sync data; the side chain completely nuked by the freezer.
1253
1253
func TestLongNewerForkedSnapSyncedShallowRepair (t * testing.T ) {
1254
1254
testLongNewerForkedSnapSyncedShallowRepair (t , false )
@@ -1300,7 +1300,7 @@ func testLongNewerForkedSnapSyncedShallowRepair(t *testing.T, snapshots bool) {
1300
1300
// side chain, where the fast sync pivot point - older than the ancient limit -
1301
1301
// was already committed to disk and then the process crashed. In this test scenario
1302
1302
// the side chain is above the committed block. In this case we expect the canonical
1303
- // chain to be rolled back to the committed block, with everything afterwads deleted;
1303
+ // chain to be rolled back to the committed block, with everything afterwards deleted;
1304
1304
// the side chain completely nuked by the freezer.
1305
1305
func TestLongNewerForkedSnapSyncedDeepRepair (t * testing.T ) {
1306
1306
testLongNewerForkedSnapSyncedDeepRepair (t , false )
@@ -1454,7 +1454,7 @@ func testLongNewerForkedSnapSyncingDeepRepair(t *testing.T, snapshots bool) {
1454
1454
// Tests a recovery for a long canonical chain with frozen blocks and a longer side
1455
1455
// chain, where a recent block - newer than the ancient limit - was already committed
1456
1456
// to disk and then the process crashed. In this case we expect the chain to be
1457
- // rolled back to the committed block, with everything afterwads kept as fast sync
1457
+ // rolled back to the committed block, with everything afterwards kept as fast sync
1458
1458
// data. The side chain completely nuked by the freezer.
1459
1459
func TestLongReorgedShallowRepair (t * testing.T ) { testLongReorgedShallowRepair (t , false ) }
1460
1460
func TestLongReorgedShallowRepairWithSnapshots (t * testing.T ) { testLongReorgedShallowRepair (t , true ) }
@@ -1501,7 +1501,7 @@ func testLongReorgedShallowRepair(t *testing.T, snapshots bool) {
1501
1501
// Tests a recovery for a long canonical chain with frozen blocks and a longer side
1502
1502
// chain, where a recent block - older than the ancient limit - was already committed
1503
1503
// to disk and then the process crashed. In this case we expect the canonical chains
1504
- // to be rolled back to the committed block, with everything afterwads deleted. The
1504
+ // to be rolled back to the committed block, with everything afterwards deleted. The
1505
1505
// side chain completely nuked by the freezer.
1506
1506
func TestLongReorgedDeepRepair (t * testing.T ) { testLongReorgedDeepRepair (t , false ) }
1507
1507
func TestLongReorgedDeepRepairWithSnapshots (t * testing.T ) { testLongReorgedDeepRepair (t , true ) }
@@ -1548,7 +1548,7 @@ func testLongReorgedDeepRepair(t *testing.T, snapshots bool) {
1548
1548
// side chain, where the fast sync pivot point - newer than the ancient limit -
1549
1549
// was already committed to disk and then the process crashed. In this case we
1550
1550
// expect the chain to be rolled back to the committed block, with everything
1551
- // afterwads kept as fast sync data. The side chain completely nuked by the
1551
+ // afterwards kept as fast sync data. The side chain completely nuked by the
1552
1552
// freezer.
1553
1553
func TestLongReorgedSnapSyncedShallowRepair (t * testing.T ) {
1554
1554
testLongReorgedSnapSyncedShallowRepair (t , false )
@@ -1600,7 +1600,7 @@ func testLongReorgedSnapSyncedShallowRepair(t *testing.T, snapshots bool) {
1600
1600
// side chain, where the fast sync pivot point - older than the ancient limit -
1601
1601
// was already committed to disk and then the process crashed. In this case we
1602
1602
// expect the canonical chains to be rolled back to the committed block, with
1603
- // everything afterwads deleted. The side chain completely nuked by the freezer.
1603
+ // everything afterwards deleted. The side chain completely nuked by the freezer.
1604
1604
func TestLongReorgedSnapSyncedDeepRepair (t * testing.T ) {
1605
1605
testLongReorgedSnapSyncedDeepRepair (t , false )
1606
1606
}
0 commit comments