Skip to content

Conversation

@ypatil12
Copy link
Collaborator

@ypatil12 ypatil12 commented May 1, 2025

Motivation:

In registerOperator for the NORMAL registration type, we validate the quorums' operator count twice, once within _registerOperator (since we pass in checkMaxOperatorCount: true) and once after. This is redundant.

Modifications:

Remove redundant check

Result:

Gas savings + cleaner code

@ypatil12 ypatil12 merged commit 6d09a86 into hexens-slashing/audit-fixes May 1, 2025
5 checks passed
@ypatil12 ypatil12 deleted the hexens/2-8 branch May 1, 2025 19:54
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