Skip to content

Commit

Permalink
gas snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharr1411 committed Sep 27, 2024
1 parent 811f234 commit 6a16f75
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
DSCEngineTest:test_CanBurnAllDsc() (gas: 212851)
DSCEngineTest:test_CanDepositeCollateralAndGetAccountInformation() (gas: 111636)
DSCEngineTest:test_CanDepositeCollateralAndMintDsc() (gas: 183358)
DSCEngineTest:test_CanNotBurnMoreThanUserHas() (gas: 13225)
DSCEngineTest:test_CanNotLiquidateGoodHealthFactor() (gas: 316192)
DSCEngineTest:test_CanNotLiquidateIfHealthFactorIsNotImproved() (gas: 2244064)
DSCEngineTest:test_CanRedeemDepositedCollateralAndBurnAllDSCMinted() (gas: 226490)
DSCEngineTest:test_EmitCollateralRedeemedWithCorrectArgs() (gas: 103144)
DSCEngineTest:test_GetUsdValue() (gas: 25654)
DSCEngineTest:test_LiquidatorTakesOnUsersDebt() (gas: 430782)
DSCEngineTest:test_RevertsIfCollateralZero() (gas: 41687)
DSCEngineTest:test_RevertsIfTokenIsNotAllowedAsCollateral() (gas: 1166139)
DSCEngineTest:test_RevertsIfTokenLengthDoesNotMatchPriceFeedLength() (gas: 180800)
DSCEngineTest:test_RevertsIfTransferFromFails() (gas: 1857342)
DSCEngineTest:test_UserCanMintAfterCollateralDeposite() (gas: 184611)
DSCEngineTest:test_UserHasNoMoreDebt() (gas: 430834)
DSCEngineTest:test_UserStillHasSomeEthAfterLiquidation() (gas: 442204)
DSCEngineTest:test_canRedeemCollateral() (gas: 103044)
DSCEngineTest:test_getAccountCollateralValue() (gas: 253)
DSCEngineTest:test_getPriceFeedFromToken() (gas: 190)
DSCEngineTest:test_getTokenAmountFromUsd() (gas: 25693)
DSCEngineTest:test_liquidationPayoutIsCorrect() (gas: 433586)
DSCEngineTest:test_mintDscFailsIfMintFailed() (gas: 2004012)
DSCEngineTest:test_mintDscRevertsIfAmountIsZero() (gas: 83334)
DSCEngineTest:test_mintDscRevertsIfHelthFactorIsBroken() (gas: 140081)
DSCEngineTest:test_redeemCollateralAmountShouldBeMoreThanZero() (gas: 212345)
DSCEngineTest:test_revertIfRedeemBroksHelthFactor() (gas: 175459)
DSCEngineTest:test_revertsIfBurnAmountIsZero() (gas: 181482)
DSCEngineTest:test_revertsIfRedeemAmountIsZero() (gas: 181804)
DSCEngineTest:test_revertsIfTokenTransferFromFails() (gas: 179765)
DSCEngineTest:test_revertsIfTransferFails() (gas: 2460771)
Invariants:invariant_protocolMustHaveMoreCollateralValueThanTotalDSCSupply() (runs: 128, calls: 16384, reverts: 97)

0 comments on commit 6a16f75

Please sign in to comment.