the-compact
the-compact copied to clipboard
Utility lib
Added the UtilityLib:
- Allows checking if the current chain supports eip-1153 (transient storage).
- Adds
settledBalanceOfto retrieve an ERC6909 balance from the compact. The function reverts in case the compacts reentrancy guard is active.
Codecov Report
:x: Patch coverage is 87.87879% with 4 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 98.20%. Comparing base (ac25e50) to head (aa36d94).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/utility/Utility.sol | 87.87% | 4 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #162 +/- ##
==========================================
- Coverage 98.39% 98.20% -0.19%
==========================================
Files 41 42 +1
Lines 1809 1842 +33
Branches 99 108 +9
==========================================
+ Hits 1780 1809 +29
- Misses 29 33 +4
| Files with missing lines | Coverage Δ | |
|---|---|---|
| src/utility/Utility.sol | 87.87% <87.87%> (ø) |
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update ac25e50...aa36d94. Read the comment docs.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.