Skip to content

Commit

Permalink
fix: test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed Jul 17, 2024
1 parent 298717d commit 7824ac5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/test/BidderRegistryTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ contract BidderRegistryTest is Test {
blocksPerWindow = 10;
address blockTrackerProxy = Upgrades.deployUUPSProxy(
"BlockTracker.sol",
abi.encodeCall(BlockTracker.initialize, (address(this), blocksPerWindow))
abi.encodeCall(BlockTracker.initialize, (blocksPerWindow, address(this), address(this)))
);
blockTracker = BlockTracker(payable(blockTrackerProxy));

Expand Down
3 changes: 2 additions & 1 deletion contracts/test/OracleTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ contract OracleTest is Test {

address blockTrackerProxy = Upgrades.deployUUPSProxy(
"BlockTracker.sol",
abi.encodeCall(BlockTracker.initialize, (ownerInstance, blocksPerWindow))
abi.encodeCall(BlockTracker.initialize, (blocksPerWindow, ownerInstance, ownerInstance))
);
blockTracker = BlockTracker(payable(blockTrackerProxy));

Expand Down Expand Up @@ -142,6 +142,7 @@ contract OracleTest is Test {
(
address(preConfCommitmentStore),
address(blockTracker),
ownerInstance,
ownerInstance
)
)
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/PreConfirmationConfTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ contract TestPreConfCommitmentStore is Test {
"BlockTracker.sol",
abi.encodeCall(
BlockTracker.initialize,
(address(this), blocksPerWindow)
(blocksPerWindow, address(this), address(this))
)
);
blockTracker = BlockTracker(payable(blockTrackerProxy));
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/ProviderRegistryTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ contract ProviderRegistryTest is Test {
address blockTrackerProxy = Upgrades.deployUUPSProxy(
"BlockTracker.sol",
abi.encodeCall(BlockTracker.initialize,
(address(this), blocksPerWindow))
(blocksPerWindow, address(this), address(this)))
);
blockTracker = BlockTracker(payable(blockTrackerProxy));

Expand Down

0 comments on commit 7824ac5

Please sign in to comment.