-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
MR-M-03mitigation-confirmedsatisfactorysatisfies C4 submission criteria; eligible for awardssatisfies C4 submission criteria; eligible for awards
Description
Mitigation of M-03: Issue mitigated
Running 1 test for test/kuma-protocol/kuma-swap/KUMASwap.sellBond.t.sol:KUMASwapSellBond
[PASS] test_sellBond_RevertWhen_OracleAnswerIsStale() (gas: 95178)
Test result: ok. 1 passed; 0 failed; finished in 17.94ms
Running 14 tests for test/kuma-protocol/MCAGRateFeed.t.sol:MCAGRateFeedTest
[PASS] test_getRate_RevertWhen_OracleAnswerIsStale() (gas: 21665)
[PASS] test_getRate_WhenOracleDecimalsEqRateFeedDecimals() (gas: 18815)
[PASS] test_getRate_WhenOracleDecimalsGtRateFeedDecimals() (gas: 24191)
[PASS] test_getRate_WhenOracleDecimalsLtRateFeedDecimals() (gas: 24197)
[PASS] test_getRate_WhenOracleRateLtRay() (gas: 22482)
[PASS] test_getRate_WhenOracleRateLtZero() (gas: 21933)
[PASS] test_initialize() (gas: 1453012)
[PASS] test_initialize_RevertWhen_InitializedWithInvalidParameters() (gas: 1328843)
[PASS] test_setOracle() (gas: 32855)
[PASS] test_setOracle_RevertWhen_NotManager() (gas: 26926)
[PASS] test_setOracle_RevertWhen_WrongRiskCategoryOrAddressZero() (gas: 67194)
[PASS] test_setStalenessThreshold() (gas: 29511)
[PASS] test_setStalenessThreshold_RevertWhen_CallerIsNotManager() (gas: 24356)
[PASS] test_upgrade_RevertWhen_CallerIsNotManager() (gas: 1184528)
Test result: ok. 14 passed; 0 failed; finished in 17.22ms
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
MR-M-03mitigation-confirmedsatisfactorysatisfies C4 submission criteria; eligible for awardssatisfies C4 submission criteria; eligible for awards