Skip to content

Commit 0cb33a0

Browse files
committed
fix test
1 parent 428ea9b commit 0cb33a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/protocol/CheckpointTracker.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ contract CheckpointTracker is ICheckpointTracker {
1010
/// @notice The publication id of the current proven checkpoint representing the latest verified state of the rollup
1111
/// @dev A checkpoint commitment is any value (typically a state root) that uniquely identifies
1212
/// the state of the rollup at a specific point in time
13-
uint256 _provenPublicationId;
13+
uint256 private _provenPublicationId;
1414

1515
IPublicationFeed public immutable publicationFeed;
1616
IVerifier public immutable verifier;

test/ProverManager.t.sol

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ import {ProverManager} from "../src/protocol/taiko_alethia/ProverManager.sol";
88
import {ICheckpointTracker} from "src/protocol/ICheckpointTracker.sol";
99
import {IPublicationFeed} from "src/protocol/IPublicationFeed.sol";
1010
import {PublicationFeed} from "src/protocol/PublicationFeed.sol";
11-
import {SignalService} from "src/protocol/SignalService.sol";
1211

12+
import {SignalService} from "src/protocol/SignalService.sol";
1313
import {MockCheckpointTracker} from "test/mocks/MockCheckpointTracker.sol";
1414
import {NullVerifier} from "test/mocks/NullVerifier.sol";
1515

1616
contract ProverManagerTest is Test {
1717
ProverManager proverManager;
1818
MockCheckpointTracker checkpointTracker;
19+
SignalService signalService;
1920
NullVerifier verifier;
2021
PublicationFeed publicationFeed;
21-
SignalService signalService;
2222
uint256 constant DEPOSIT_AMOUNT = 2 ether;
2323

2424
// Addresses used for testing.
@@ -46,10 +46,10 @@ contract ProverManagerTest is Test {
4646
publicationFeed = new PublicationFeed();
4747
signalService = new SignalService();
4848
checkpointTracker = new MockCheckpointTracker(address(signalService));
49-
vm.prank(rollupOperator);
5049

5150
// Fund the initial prover so the constructor can receive the required livenessBond.
5251
vm.deal(initialProver, 10 ether);
52+
5353
// Create the config struct for the constructor
5454
ProverManager.ProverManagerConfig memory config = ProverManager.ProverManagerConfig({
5555
maxBidPercentage: MAX_BID_PERCENTAGE,

0 commit comments

Comments
 (0)