From 7824ac5dbed5da02a0b1473dfb64b1fed9ddf527 Mon Sep 17 00:00:00 2001 From: Shawn <44221603+shaspitz@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:05:37 -0700 Subject: [PATCH] fix: test compilation --- contracts/test/BidderRegistryTest.sol | 2 +- contracts/test/OracleTest.sol | 3 ++- contracts/test/PreConfirmationConfTest.sol | 2 +- contracts/test/ProviderRegistryTest.sol | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/contracts/test/BidderRegistryTest.sol b/contracts/test/BidderRegistryTest.sol index 0f6d0ef61..a69181b6e 100644 --- a/contracts/test/BidderRegistryTest.sol +++ b/contracts/test/BidderRegistryTest.sol @@ -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)); diff --git a/contracts/test/OracleTest.sol b/contracts/test/OracleTest.sol index ed8d33a10..12cd74136 100644 --- a/contracts/test/OracleTest.sol +++ b/contracts/test/OracleTest.sol @@ -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)); @@ -142,6 +142,7 @@ contract OracleTest is Test { ( address(preConfCommitmentStore), address(blockTracker), + ownerInstance, ownerInstance ) ) diff --git a/contracts/test/PreConfirmationConfTest.sol b/contracts/test/PreConfirmationConfTest.sol index 7d0dcbbe9..846d837a4 100644 --- a/contracts/test/PreConfirmationConfTest.sol +++ b/contracts/test/PreConfirmationConfTest.sol @@ -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)); diff --git a/contracts/test/ProviderRegistryTest.sol b/contracts/test/ProviderRegistryTest.sol index e3281f3a2..2340d9f44 100644 --- a/contracts/test/ProviderRegistryTest.sol +++ b/contracts/test/ProviderRegistryTest.sol @@ -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));