From fc0edf6a46ba52d2d30f15561dd98e4125351546 Mon Sep 17 00:00:00 2001 From: baroooo Date: Tue, 26 Nov 2024 14:55:03 +0100 Subject: [PATCH] fix: test to call correct updateRatioForReward --- test/unit/goodDollar/GoodDollarExchangeProvider.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/goodDollar/GoodDollarExchangeProvider.t.sol b/test/unit/goodDollar/GoodDollarExchangeProvider.t.sol index d07ad5d5..1a30aa2a 100644 --- a/test/unit/goodDollar/GoodDollarExchangeProvider.t.sol +++ b/test/unit/goodDollar/GoodDollarExchangeProvider.t.sol @@ -686,7 +686,7 @@ contract GoodDollarExchangeProviderTest_updateRatioForReward is GoodDollarExchan vm.expectRevert("New ratio must be greater than 0"); vm.prank(expansionControllerAddress); - exchangeProvider.updateRatioForReward(exchangeId, veryLargeReward); + exchangeProvider.updateRatioForReward(exchangeId, veryLargeReward, 1e8); } function test_updateRatioForReward_whenCallerIsNotExpansionController_shouldRevert() public {