Skip to content

Commit 1589c51

Browse files
Fix configuration
1 parent 891fffd commit 1589c51

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

op-e2e/config/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ func initAllocType(root string, allocType AllocType) {
287287
}
288288
}
289289

290-
// Configure all Espresso allocation types
291-
if allocType == AllocTypeEspresso || allocType == AllocTypeEspressoWithoutEnclave || allocType == AllocTypeEspressoWithEnclave {
290+
// Configure Espresso allocation types
291+
if allocType == AllocTypeEspressoWithoutEnclave || allocType == AllocTypeEspressoWithEnclave {
292292
batcherPk, err := crypto.HexToECDSA(ESPRESSO_PRE_APPROVED_BATCHER_PRIVATE_KEY)
293293
if err != nil {
294294
panic(fmt.Errorf("failed to parse batcher private key: %w", err))

op-e2e/system/e2esys/setup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ func (cfg SystemConfig) Start(t *testing.T, startOpts ...StartOption) (*System,
10211021
return nil, fmt.Errorf("failed to parse pre-approved batcher private key: %w", err)
10221022
}
10231023
espressoCfg := espresso.CLIConfig{
1024-
Enabled: (cfg.AllocType == config.AllocTypeEspresso) || (cfg.AllocType == config.AllocTypeEspressoWithEnclave) || (cfg.AllocType == config.AllocTypeEspressoWithoutEnclave),
1024+
Enabled: (cfg.AllocType == config.AllocTypeEspressoWithEnclave) || (cfg.AllocType == config.AllocTypeEspressoWithoutEnclave),
10251025
PollInterval: 250 * time.Millisecond,
10261026
L1URL: sys.EthInstances[RoleL1].UserRPC().RPC(),
10271027
RollupL1URL: sys.EthInstances[RoleL1].UserRPC().RPC(),

0 commit comments

Comments
 (0)