Closed alex0207s closed 6 months ago
Generated at commit: 3d38874d59fe73d64fb49dc50ac2c7f2eb42db7e, compared to commit: fd26a144a49422d09645318deba71cf7521d8a7c
Contract | Method | Avg (+/-) | % |
---|---|---|---|
AllowanceTarget | pause unpause |
+21,064 โ +23,064 โ |
+405.86% +6424.51% |
Generated at commit: 3d38874d59fe73d64fb49dc50ac2c7f2eb42db7e, compared to commit: fd26a144a49422d09645318deba71cf7521d8a7c
Contract | Method | Avg (+/-) | % |
---|---|---|---|
CoordinatedTaker | setCoordinator | +21,344 โ | +467.46% |
RFQ | cancelRFQOffer setFeeCollector |
+23,948 โ +21,352 โ |
+171.88% +465.19% |
LimitOrderSwap | cancelOrder setFeeCollector |
+23,643 โ +21,352 โ |
+138.86% +462.97% |
Motivation
To ensure our gas diff CI reports the correct gas usage and accurately reflects the difference between two commits.
Solution
isolate = true
setting in thefoundry.toml
file. This will ensure the correct gas usage when executingforge test
orforge script
.FYI: the
isolate
mode is introduced in 7186