@@ -11,7 +11,7 @@ import (
1111 "github.com/ethereum-optimism/optimism/devnet-sdk/system"
1212 "github.com/ethereum-optimism/optimism/devnet-sdk/testing/systest"
1313 "github.com/ethereum-optimism/optimism/devnet-sdk/types"
14- "github.com/ethereum-optimism/optimism/op-node/rollup "
14+ "github.com/ethereum-optimism/optimism/op-core/forks "
1515 "github.com/ethereum-optimism/optimism/op-service/eth"
1616 "github.com/ethereum-optimism/optimism/op-service/sources"
1717 "github.com/ethereum/go-ethereum/accounts/abi/bind"
@@ -33,7 +33,7 @@ func TestValidators(t *testing.T) {
3333 t .Run ("multiple validators" , func (t * testing.T ) {
3434 walletGetter1 , validator1 := AcquireL2WalletWithFunds (0 , types .NewBalance (big .NewInt (1 )))
3535 walletGetter2 , validator2 := AcquireL2WalletWithFunds (0 , types .NewBalance (big .NewInt (10 )))
36- chainConfigGetter , l2ForkValidator := AcquireL2WithFork (0 , rollup .Isthmus )
36+ chainConfigGetter , l2ForkValidator := AcquireL2WithFork (0 , forks .Isthmus )
3737
3838 // We create a system that has a low-level L1 chain and at least one wallet
3939 systestSystem := & mockSystem {
@@ -109,7 +109,7 @@ func TestValidators(t *testing.T) {
109109 }
110110
111111 // Get the validator for requiring Isthmus fork to be active
112- chainConfigGetter , validator := AcquireL2WithFork (0 , rollup .Isthmus )
112+ chainConfigGetter , validator := AcquireL2WithFork (0 , forks .Isthmus )
113113 systestT := systest .NewT (t )
114114
115115 // Apply the validator
@@ -119,7 +119,7 @@ func TestValidators(t *testing.T) {
119119 // Verify the chain config getter works
120120 chainConfig := chainConfigGetter (ctx )
121121 require .NotNil (t , chainConfig )
122- isActive , err := IsForkActivated (chainConfig , rollup .Isthmus , 100 )
122+ isActive , err := IsForkActivated (chainConfig , forks .Isthmus , 100 )
123123 require .NoError (t , err )
124124 require .True (t , isActive )
125125 })
@@ -143,7 +143,7 @@ func TestValidators(t *testing.T) {
143143 }
144144
145145 // Get the validator for requiring Isthmus fork to be active
146- _ , validator := AcquireL2WithFork (0 , rollup .Isthmus )
146+ _ , validator := AcquireL2WithFork (0 , forks .Isthmus )
147147 systestT := systest .NewT (t )
148148
149149 // Apply the validator - should fail since fork is not active
@@ -171,7 +171,7 @@ func TestValidators(t *testing.T) {
171171 }
172172
173173 // Get the validator for requiring Isthmus fork to not be active
174- chainConfigGetter , validator := AcquireL2WithoutFork (0 , rollup .Isthmus )
174+ chainConfigGetter , validator := AcquireL2WithoutFork (0 , forks .Isthmus )
175175 systestT := systest .NewT (t )
176176
177177 // Apply the validator
@@ -181,7 +181,7 @@ func TestValidators(t *testing.T) {
181181 // Verify the chain config getter works
182182 chainConfig := chainConfigGetter (ctx )
183183 require .NotNil (t , chainConfig )
184- isActive , err := IsForkActivated (chainConfig , rollup .Isthmus , 100 )
184+ isActive , err := IsForkActivated (chainConfig , forks .Isthmus , 100 )
185185 require .NoError (t , err )
186186 require .False (t , isActive )
187187 })
@@ -205,7 +205,7 @@ func TestValidators(t *testing.T) {
205205 }
206206
207207 // Get the validator for requiring Isthmus fork to not be active
208- _ , validator := AcquireL2WithoutFork (0 , rollup .Isthmus )
208+ _ , validator := AcquireL2WithoutFork (0 , forks .Isthmus )
209209 systestT := systest .NewT (t )
210210
211211 // Apply the validator - should fail since fork is active
@@ -221,7 +221,7 @@ func TestValidators(t *testing.T) {
221221 }
222222
223223 // Try to get chain config for an invalid chain index
224- _ , validator := AcquireL2WithFork (0 , rollup .Isthmus )
224+ _ , validator := AcquireL2WithFork (0 , forks .Isthmus )
225225 systestT := systest .NewT (t )
226226
227227 // Apply the validator - should fail since chain index is out of range
0 commit comments