Skip to content

Commit

Permalink
snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
massun-onibakuchi committed May 29, 2024
1 parent 53af92a commit 91290d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GrimReaperHuffTest:testLiquidate() (gas: 390422)
GrimReaperHuffTest:testLiquidate(uint256,address) (runs: 256, μ: 390244, ~: 390512)
GrimReaperHuffTest:testLiquidate() (gas: 390412)
GrimReaperHuffTest:testLiquidate(uint256,address) (runs: 256, μ: 390235, ~: 390503)
GrimReaperHuffTest:testOnlyOwner(address) (runs: 256, μ: 20247, ~: 20247)
GrimReaperHuffTest:testRecoverERC20() (gas: 330912)
GrimReaperHuffTest:testRevertIfLiquidationFail() (gas: 52419)
GrimReaperHuffTest:testRevertIfLiquidationFail() (gas: 52407)
GrimReaperSolTest:testLiquidate() (gas: 390820)
GrimReaperSolTest:testLiquidate(uint256,address) (runs: 256, μ: 390395, ~: 390912)
GrimReaperSolTest:testOnlyOwner(address) (runs: 256, μ: 18934, ~: 18934)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ For more information on how to use Foundry, check out the [Foundry Github Reposi
| ---------------------------------------------- | -------- | ------------------ |
| Solidity Contract (Optimizer runs: 200) | 97933 | 1.005 |
| Assembly (Optimizer runs: 200) | 97295 | 0.306 |
| Huff Contract (Optimizer runs: 200) | 97246 | 0.254 |
| Huff Contract (Optimizer runs: 200) | 97234 | 0.254 |
| Solidity Contract (Optimizer runs: 10_000_000) | 97339 | 1.308 |
| Assembly (Optimizer runs: 10_000_000) | 96755 | 0.327 |
| Huff Contract (Optimizer runs: 10_000_000) | 96718 | 0.254 |
| Huff Contract (Optimizer runs: 10_000_000) | 96706 | 0.254 |

> `66270` gas is used for the liquidation logic itself on mock Aave v3 pool.
Expand Down

0 comments on commit 91290d7

Please sign in to comment.