Skip to content

Commit cd7429d

Browse files
committed
refactor: lower NUM_LST_STRATS 32 -> 8
1 parent 38f1c4c commit cd7429d

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

cache/fuzz/failures

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Seeds for failure cases proptest has generated in the past. It is
2+
# automatically read and these particular cases re-run before any
3+
# novel cases are generated.
4+
#
5+
# It is recommended to check this file in to source control so that
6+
# everyone who runs the test benefits from these saved cases.
7+
cc 76a04053bda0a88bda5177b86a15c3b29f559873cb481232299cd5743151ac4b # shrinks to 0x469152040000000000000000000000000000000000000000000000000000000000000e9a

cache/test-failures

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
testFuzz_avsSlash_bcSlash_checkpoint|testFuzz_avsSlash_bcSlash_checkpoint_balanceIncrease|testFuzz_avsSlash_bcSlash_checkpoint_verifyValidator|testFuzz_bcSlash_checkpoint_avsSlash|testFuzz_slashFullyBC_revert_deposit

src/test/integration/tests/Deposit_Delegate_Undelegate_Complete.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ contract Integration_Deposit_Delegate_Undelegate_Complete is IntegrationChecks {
135135
(staker, strategies, initTokenBalances) = _newRandomStaker();
136136
operator = _newRandomOperator();
137137

138-
if (forkType == LOCAL) assertEq(strategies.length, 33, "sanity");
138+
if (forkType == LOCAL) assertEq(strategies.length, 9, "sanity");
139139

140140
uint[] memory shares = _calculateExpectedShares(strategies, initTokenBalances);
141141
//delegatable shares equals deposit shares here because no bc slashing

src/test/utils/Constants.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ uint64 constant GENESIS_TIME_MAINNET = 1_606_824_023;
5151
/// @dev Current value is post "Protocol Council" upgrade.
5252
uint constant MAINNET_FORK_BLOCK = 21_616_692;
5353
/// @dev Returns the number of LST strategies to deploy.
54-
uint8 constant NUM_LST_STRATS = 32; // TODO: See if we're deploying all 32 when we don't need them.
54+
uint8 constant NUM_LST_STRATS = 8;
5555

5656
/// @dev Returns the minimum balance a user can hold.
5757
uint constant MIN_BALANCE = 1e6;

0 commit comments

Comments
 (0)