From 8f940685eccbdc8e6e82e0511ee45677574d67d6 Mon Sep 17 00:00:00 2001 From: Julian R <56316686+julianmrodri@users.noreply.github.com> Date: Mon, 30 Oct 2023 12:23:08 -0300 Subject: [PATCH] do not apply revenue hiding in sdai --- scripts/deployment/phase2-assets/collaterals/deploy_dsr_sdai.ts | 2 +- scripts/verification/collateral-plugins/verify_sdai.ts | 2 +- .../individual-collateral/dsr/SDaiCollateralTestSuite.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/deployment/phase2-assets/collaterals/deploy_dsr_sdai.ts b/scripts/deployment/phase2-assets/collaterals/deploy_dsr_sdai.ts index d06853b7ce..aa6e840436 100644 --- a/scripts/deployment/phase2-assets/collaterals/deploy_dsr_sdai.ts +++ b/scripts/deployment/phase2-assets/collaterals/deploy_dsr_sdai.ts @@ -59,7 +59,7 @@ async function main() { defaultThreshold: fp('0.0125').toString(), // 1.25% delayUntilDefault: bn('86400').toString(), // 24h }, - fp('1e-6').toString(), // revenueHiding = 0.0001% + bn(0), // does not require revenue hiding POT ) await collateral.deployed() diff --git a/scripts/verification/collateral-plugins/verify_sdai.ts b/scripts/verification/collateral-plugins/verify_sdai.ts index e5d9290c39..393c6264b3 100644 --- a/scripts/verification/collateral-plugins/verify_sdai.ts +++ b/scripts/verification/collateral-plugins/verify_sdai.ts @@ -42,7 +42,7 @@ async function main() { defaultThreshold: fp('0.0125').toString(), // 1.25% delayUntilDefault: bn('86400').toString(), // 24h }, - fp('1e-6').toString(), // revenueHiding = 0.0001% + bn(0), POT, ], 'contracts/plugins/assets/dsr/SDaiCollateral.sol:SDaiCollateral' diff --git a/test/plugins/individual-collateral/dsr/SDaiCollateralTestSuite.test.ts b/test/plugins/individual-collateral/dsr/SDaiCollateralTestSuite.test.ts index f604c19eb2..4d539a4a25 100644 --- a/test/plugins/individual-collateral/dsr/SDaiCollateralTestSuite.test.ts +++ b/test/plugins/individual-collateral/dsr/SDaiCollateralTestSuite.test.ts @@ -214,7 +214,7 @@ const opts = { itChecksRefPerTokDefault: it, itChecksPriceChanges: it, itChecksNonZeroDefaultThreshold: it, - itHasRevenueHiding: it, + itHasRevenueHiding: it.skip, resetFork, collateralName: 'SDaiCollateral', chainlinkDefaultAnswer,