We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f88f335 commit e40c8feCopy full SHA for e40c8fe
packages/horizon/test/staking/delegation/withdraw.t.sol
@@ -179,6 +179,8 @@ contract HorizonStakingWithdrawDelegationTest is HorizonStakingTest {
179
useDelegation(delegationAmount)
180
{
181
vm.assume(beneficiary != address(0));
182
+ // Skip beneficiary if balance will overflow
183
+ vm.assume(token.balanceOf(beneficiary) < type(uint256).max - delegationAmount);
184
185
// Delegator undelegates to beneficiary
186
resetPrank(users.delegator);
0 commit comments