Skip to content

Commit

Permalink
chore: Remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
dgusakov committed Jan 10, 2025
1 parent 3d11e58 commit 598882d
Showing 1 changed file with 12 additions and 24 deletions.
36 changes: 12 additions & 24 deletions test/CSAccounting.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2871,7 +2871,7 @@ contract CSAccountingClaimRewardsUnstETHTest is
}

contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
function test_default() public override assertInvariants {
function test_default() public override {
_operator({ ongoing: 16, withdrawn: 0 });
_deposit({ bond: 32 ether });
_rewards({ fee: 0.1 ether });
Expand All @@ -2885,7 +2885,7 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithCurve() public override assertInvariants {
function test_WithCurve() public override {
_operator({ ongoing: 16, withdrawn: 0 });
_deposit({ bond: 32 ether });
_rewards({ fee: 0.1 ether });
Expand All @@ -2901,9 +2901,9 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithLocked() public override assertInvariants {
function test_WithLocked() public override {
_operator({ ongoing: 16, withdrawn: 0 });
_deposit({ bond: 32 ether });
_deposit({ bond: 33 ether });
_rewards({ fee: 0.1 ether });
_lock({ id: 0, amount: 1 ether });

Expand All @@ -2916,7 +2916,7 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithCurveAndLocked() public override assertInvariants {
function test_WithCurveAndLocked() public override {
_operator({ ongoing: 16, withdrawn: 0 });
_deposit({ bond: 32 ether });
_rewards({ fee: 0.1 ether });
Expand All @@ -2933,7 +2933,7 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithOneWithdrawnValidator() public override assertInvariants {
function test_WithOneWithdrawnValidator() public override {
_operator({ ongoing: 16, withdrawn: 1 });
_deposit({ bond: 32 ether });
_rewards({ fee: 0.1 ether });
Expand All @@ -2948,7 +2948,7 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithBond() public override assertInvariants {
function test_WithBond() public override {
_operator({ ongoing: 16, withdrawn: 0 });
_deposit({ bond: 32 ether });
_rewards({ fee: 0.1 ether });
Expand All @@ -2962,11 +2962,7 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithBondAndOneWithdrawnValidator()
public
override
assertInvariants
{
function test_WithBondAndOneWithdrawnValidator() public override {
_operator({ ongoing: 16, withdrawn: 1 });
_deposit({ bond: 32 ether });
_rewards({ fee: 0.1 ether });
Expand All @@ -2981,7 +2977,7 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithExcessBond() public override assertInvariants {
function test_WithExcessBond() public override {
_operator({ ongoing: 16, withdrawn: 0 });
_deposit({ bond: 33 ether });
_rewards({ fee: 0.1 ether });
Expand All @@ -2996,11 +2992,7 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithExcessBondAndOneWithdrawnValidator()
public
override
assertInvariants
{
function test_WithExcessBondAndOneWithdrawnValidator() public override {
_operator({ ongoing: 16, withdrawn: 1 });
_deposit({ bond: 33 ether });
_rewards({ fee: 0.1 ether });
Expand All @@ -3015,7 +3007,7 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithMissingBond() public override assertInvariants {
function test_WithMissingBond() public override {
_operator({ ongoing: 16, withdrawn: 0 });
_deposit({ bond: 16 ether });
_rewards({ fee: 0.1 ether });
Expand All @@ -3029,11 +3021,7 @@ contract CSAccountingClaimableBondTest is CSAccountingRewardsBaseTest {
);
}

function test_WithMissingBondAndOneWithdrawnValidator()
public
override
assertInvariants
{
function test_WithMissingBondAndOneWithdrawnValidator() public override {
_operator({ ongoing: 16, withdrawn: 1 });
_deposit({ bond: 16 ether });
_rewards({ fee: 0.1 ether });
Expand Down

0 comments on commit 598882d

Please sign in to comment.