@@ -74,7 +74,7 @@ func TestTxPlanDeployEventLogger(gt *testing.T) {
74
74
75
75
is := dsl .SetupInterop (t )
76
76
actors := is .CreateActors ()
77
- actors .PrepareChainState (t )
77
+ actors .PrepareAndVerifyInitialState (t )
78
78
79
79
aliceA := setupUser (t , is , actors .ChainA , 0 )
80
80
@@ -402,7 +402,8 @@ func TestInitAndExecMsgSameTimestamp(gt *testing.T) {
402
402
rng := rand .New (rand .NewSource (1234 ))
403
403
is := dsl .SetupInterop (t )
404
404
actors := is .CreateActors ()
405
- actors .PrepareChainState (t )
405
+ actors .PrepareAndVerifyInitialState (t )
406
+
406
407
alice := setupUser (t , is , actors .ChainA , 0 )
407
408
bob := setupUser (t , is , actors .ChainB , 0 )
408
409
@@ -477,8 +478,7 @@ func TestBreakTimestampInvariant(gt *testing.T) {
477
478
rng := rand .New (rand .NewSource (1234 ))
478
479
is := dsl .SetupInterop (t )
479
480
actors := is .CreateActors ()
480
- actors .PrepareChainState (t )
481
-
481
+ actors .PrepareAndVerifyInitialState (t )
482
482
alice := setupUser (t , is , actors .ChainA , 0 )
483
483
bob := setupUser (t , is , actors .ChainB , 0 )
484
484
@@ -576,8 +576,7 @@ func TestExecMsgDifferTxIndex(gt *testing.T) {
576
576
rng := rand .New (rand .NewSource (1234 ))
577
577
is := dsl .SetupInterop (t )
578
578
actors := is .CreateActors ()
579
- actors .PrepareChainState (t )
580
-
579
+ actors .PrepareAndVerifyInitialState (t )
581
580
// only unsafe head of each chain progresses in this code block
582
581
var targetNum uint64
583
582
{
@@ -670,8 +669,7 @@ func TestExpiredMessage(gt *testing.T) {
670
669
expiryTime := uint64 (6 )
671
670
is := dsl .SetupInterop (t , dsl .SetMessageExpiryTime (expiryTime ))
672
671
actors := is .CreateActors ()
673
- actors .PrepareChainState (t )
674
-
672
+ actors .PrepareAndVerifyInitialState (t )
675
673
alice := setupUser (t , is , actors .ChainA , 0 )
676
674
bob := setupUser (t , is , actors .ChainB , 0 )
677
675
@@ -744,7 +742,7 @@ func TestCrossPatternSameTimestamp(gt *testing.T) {
744
742
rng := rand .New (rand .NewSource (1234 ))
745
743
is := dsl .SetupInterop (t )
746
744
actors := is .CreateActors ()
747
- actors .PrepareChainState (t )
745
+ actors .PrepareAndVerifyInitialState (t )
748
746
alice := setupUser (t , is , actors .ChainA , 0 )
749
747
bob := setupUser (t , is , actors .ChainB , 0 )
750
748
@@ -874,7 +872,7 @@ func TestCrossPatternSameTx(gt *testing.T) {
874
872
rng := rand .New (rand .NewSource (1234 ))
875
873
is := dsl .SetupInterop (t )
876
874
actors := is .CreateActors ()
877
- actors .PrepareChainState (t )
875
+ actors .PrepareAndVerifyInitialState (t )
878
876
alice := setupUser (t , is , actors .ChainA , 0 )
879
877
bob := setupUser (t , is , actors .ChainB , 0 )
880
878
@@ -965,7 +963,7 @@ func TestCycleInTx(gt *testing.T) {
965
963
rng := rand .New (rand .NewSource (1234 ))
966
964
is := dsl .SetupInterop (t )
967
965
actors := is .CreateActors ()
968
- actors .PrepareChainState (t )
966
+ actors .PrepareAndVerifyInitialState (t )
969
967
alice := setupUser (t , is , actors .ChainA , 0 )
970
968
971
969
actors .ChainA .Sequencer .ActL2StartBlock (t )
@@ -1048,7 +1046,7 @@ func TestCycleInBlock(gt *testing.T) {
1048
1046
rng := rand .New (rand .NewSource (1234 ))
1049
1047
is := dsl .SetupInterop (t )
1050
1048
actors := is .CreateActors ()
1051
- actors .PrepareChainState (t )
1049
+ actors .PrepareAndVerifyInitialState (t )
1052
1050
alice := setupUser (t , is , actors .ChainA , 0 )
1053
1051
1054
1052
actors .ChainA .Sequencer .ActL2StartBlock (t )
@@ -1131,7 +1129,7 @@ func TestCycleAcrossChainsSameTimestamp(gt *testing.T) {
1131
1129
rng := rand .New (rand .NewSource (1234 ))
1132
1130
is := dsl .SetupInterop (t )
1133
1131
actors := is .CreateActors ()
1134
- actors .PrepareChainState (t )
1132
+ actors .PrepareAndVerifyInitialState (t )
1135
1133
alice := setupUser (t , is , actors .ChainA , 0 )
1136
1134
bob := setupUser (t , is , actors .ChainB , 0 )
1137
1135
@@ -1226,7 +1224,7 @@ func TestCycleAcrossChainsSameTx(gt *testing.T) {
1226
1224
rng := rand .New (rand .NewSource (1234 ))
1227
1225
is := dsl .SetupInterop (t )
1228
1226
actors := is .CreateActors ()
1229
- actors .PrepareChainState (t )
1227
+ actors .PrepareAndVerifyInitialState (t )
1230
1228
alice := setupUser (t , is , actors .ChainA , 0 )
1231
1229
bob := setupUser (t , is , actors .ChainB , 0 )
1232
1230
0 commit comments