Skip to content

Commit 30c0a82

Browse files
Remove unneeded changes.
1 parent fa54737 commit 30c0a82

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

errrors.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
No files changed, compilation skipped

espresso/environment/14_duplicate_batcher_inbox_contract_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ func TestBatchInbox_SwitchActiveBatcher(t *testing.T) {
9191
require.NoError(t, err)
9292
_, err = bind.WaitMined(ctx, system.NodeClient(e2esys.RoleL1), tx)
9393
require.NoError(t, err)
94+
// Verify the active batcher has switched to non-TEE
95+
activeIsTee, err := inbox.ActiveIsTee(&bind.CallOpts{Context: ctx})
96+
require.NoError(t, err)
97+
require.False(t, activeIsTee, "Active batcher should be non-TEE after switch")
9498
}
9599

96100
func TestBatchInbox_ActiveNonTeeBatcherAllowsPosting(t *testing.T) {

op-e2e/config/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func initAllocType(root string, allocType AllocType) {
287287
}
288288
}
289289

290-
if allocType == AllocTypeEspresso || allocType == AllocTypeEspressoWithoutEnclave || allocType == AllocTypeEspressoWithEnclave {
290+
if allocType == AllocTypeEspressoWithoutEnclave {
291291
batcherPk, err := crypto.HexToECDSA(ESPRESSO_PRE_APPROVED_BATCHER_PRIVATE_KEY)
292292
if err != nil {
293293
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)