Skip to content

Commit 332c4f7

Browse files
add: fix approx
1 parent 48037f1 commit 332c4f7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/proposals/20260716/Spell_20260716.t.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,9 @@ contract SparkEthereum_20260716_SLLTests is SparkLiquidityLayerTests {
530530
// 1m + 10 days of interest at 5% APY
531531
// bc -l <<< 'scale=27; e( l(1.000000001547125957863212167)*(60*60*24*10) )'
532532
// 1.001337610630706965933736950
533-
assertEq(usdgRobinhood.balanceOf(user), 1_001_337.610629e6);
534-
assertEq(vault.balanceOf(user), 0);
533+
assertApproxEqAbs(usdgRobinhood.balanceOf(user), 1_001_337.610629e6, 1);
534+
535+
assertEq(vault.balanceOf(user), 0);
535536
}
536537

537538
function test_XLAYER_ALMProxyFreezableConfiguration() external onChain(ChainIdUtils.XLayer()) {

0 commit comments

Comments
 (0)