Skip to content

Conversation

@ypatil12
Copy link
Collaborator

@ypatil12 ypatil12 commented May 7, 2025

Motivation:

The stale stakes flag is buggy since it doesn't properly get the quorumUpdateBlockNumber in the given range. The fix is to add checkpointed storage for the latest quorum update block number. Since we are moving towards a cert-verifier world, it's simpler to remove this feature rather than ship checkpointed storage OR broken code.

Modifications:

Removed staleStakesForbidden.

Result:

Cleaner code

@ypatil12 ypatil12 requested a review from wadealexc May 7, 2025 15:07
@ypatil12
Copy link
Collaborator Author

ypatil12 commented May 7, 2025

Note: Storage checker failing due to changing the naming of staleStakesForbidden to be deprecated. This is OK

@ypatil12 ypatil12 merged commit eaa4d45 into dedaub-slashing/audit-fixes May 7, 2025
4 of 5 checks passed
@ypatil12 ypatil12 deleted the dedaub-slashing/l5 branch May 7, 2025 16:24
ypatil12 added a commit that referenced this pull request May 7, 2025
**Motivation:**

The stale stakes flag is buggy since it doesn't properly get the
`quorumUpdateBlockNumber` in the given range. The fix is to add
checkpointed storage for the latest quorum update block number. Since we
are moving towards a cert-verifier world, it's simpler to remove this
feature rather than ship checkpointed storage OR broken code.

**Modifications:**

Removed `staleStakesForbidden`. 

**Result:**

Cleaner code
ypatil12 added a commit that referenced this pull request May 7, 2025
**Motivation:**

Middleware slashing audit fixes from Hexens and Dedaub. 

**Modifications:**

**Medium Sev**
- #467

**Low Sev**
- #462
- #463
- #468
- #474 - note: this removes stale stakes checks from the `BLSSignatureChecker` 

**Informational/Docs**
- #465
- #466
- #472

**Result:**

Audit fixes applied to slashing.
hashmap0x added a commit to hashmap0x/eigenlayer-middleware that referenced this pull request Sep 23, 2025
**Motivation:**

Middleware slashing audit fixes from Hexens and Dedaub. 

**Modifications:**

**Medium Sev**
- Layr-Labs/eigenlayer-middleware#467

**Low Sev**
- Layr-Labs/eigenlayer-middleware#462
- Layr-Labs/eigenlayer-middleware#463
- Layr-Labs/eigenlayer-middleware#468
- Layr-Labs/eigenlayer-middleware#474 - note: this removes stale stakes checks from the `BLSSignatureChecker` 

**Informational/Docs**
- Layr-Labs/eigenlayer-middleware#465
- Layr-Labs/eigenlayer-middleware#466
- Layr-Labs/eigenlayer-middleware#472

**Result:**

Audit fixes applied to slashing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants