Skip to content

Commit 33f240a

Browse files
Remove redundant field 'teeBatcher'.
1 parent 20cb0f2 commit 33f240a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

packages/contracts-bedrock/src/L1/BatchInbox.sol

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ import { IBatchAuthenticator } from "interfaces/L1/IBatchAuthenticator.sol";
88
/// @notice Receives batches from either a TEE batcher or a non-TEE batcher and enforces
99
/// that TEE batches are authenticated by the configured batch authenticator.
1010
contract BatchInbox is Ownable {
11-
/// @notice Address of the TEE-based batcher.
12-
address public immutable teeBatcher;
13-
1411
/// @notice Address of the non-TEE (fallback) batcher.
1512
address public immutable nonTeeBatcher;
1613

@@ -72,15 +69,4 @@ contract BatchInbox is Ownable {
7269
}
7370
}
7471
}
75-
76-
/// @notice Returns the currently active batcher and whether it is the TEE batcher.
77-
/// @return active Address of the currently active batcher.
78-
/// @return isTee True if the active batcher is the TEE batcher, false if it is the non-TEE batcher.
79-
function _activeBatcher() internal view returns (address active, bool isTee) {
80-
if (activeIsTee) {
81-
return (teeBatcher, true);
82-
} else {
83-
return (nonTeeBatcher, false);
84-
}
85-
}
8672
}

0 commit comments

Comments
 (0)