@@ -14,7 +14,7 @@ import (
1414 "github.com/stretchr/testify/require"
1515)
1616
17- func TestPectraForkAfterGenesis (gt * testing.T ) {
17+ func TestPragueForkAfterGenesis (gt * testing.T ) {
1818 type testCase struct {
1919 name string
2020 useSetCodeTx bool
@@ -29,7 +29,7 @@ func TestPectraForkAfterGenesis(gt *testing.T) {
2929 },
3030 }
3131
32- runL1PectraTest := func (gt * testing.T , testCfg * helpers.TestCfg [testCase ]) {
32+ runL1PragueTest := func (gt * testing.T , testCfg * helpers.TestCfg [testCase ]) {
3333 t := actionsHelpers .NewDefaultTesting (gt )
3434 env := helpers .NewL2FaultProofEnv (t , testCfg , helpers .NewTestParams (),
3535 helpers .NewBatcherCfg (
@@ -67,7 +67,7 @@ func TestPectraForkAfterGenesis(gt *testing.T) {
6767 miner .ActL1EndBlock (t )
6868 }
6969
70- checkPectraStatusOnL1 := func (active bool ) {
70+ checkPragueStatusOnL1 := func (active bool ) {
7171 l1Head := miner .L1Chain ().CurrentBlock ()
7272 if active {
7373 // require.True(t, sd.L1Cfg.Config.IsPrague(l1Head.Number, l1Head.Time), "Prague should be active")
@@ -84,20 +84,20 @@ func TestPectraForkAfterGenesis(gt *testing.T) {
8484 checkVerifierDerivedToL1Head (t )
8585 }
8686
87- // Check initially Pectra is not activated
88- checkPectraStatusOnL1 (false )
87+ // Check initially Prague is not activated
88+ checkPragueStatusOnL1 (false )
8989
9090 // Start op-nodes
9191 sequencer .ActL2PipelineFull (t )
9292 verifier .ActL2PipelineFull (t )
9393
9494 // Build empty L1 blocks, crossing the fork boundary
9595 miner .ActEmptyBlock (t )
96- miner .ActEmptyBlock (t ) // Pectra activates here
96+ miner .ActEmptyBlock (t ) // Prague activates here
9797 miner .ActEmptyBlock (t )
9898
99- // Check that Pectra is active on L1
100- checkPectraStatusOnL1 (true )
99+ // Check that Prague is active on L1
100+ checkPragueStatusOnL1 (true )
101101
102102 // Cache safe head before verifier sync
103103 safeL2Before := verifier .SyncStatus ().SafeL2
@@ -130,14 +130,14 @@ func TestPectraForkAfterGenesis(gt *testing.T) {
130130 fmt .Sprintf ("HonestClaim-%s" , tc .name ),
131131 tc ,
132132 helpers .NewForkMatrix (helpers .LatestFork ),
133- runL1PectraTest ,
133+ runL1PragueTest ,
134134 helpers .ExpectNoError (),
135135 )
136136 matrix .AddTestCase (
137137 fmt .Sprintf ("JunkClaim-%s" , tc .name ),
138138 tc ,
139139 helpers .NewForkMatrix (helpers .LatestFork ),
140- runL1PectraTest ,
140+ runL1PragueTest ,
141141 helpers .ExpectError (claim .ErrClaimNotValid ),
142142 helpers .WithL2Claim (common .HexToHash ("0xdeadbeef" )),
143143 )
0 commit comments