test: bc/avs slash tests#1153
Merged
ypatil12 merged 19 commits intotest/slashing-integration-testingfrom Feb 28, 2025
Merged
Conversation
76877a7 to
b97878a
Compare
f1ec995 to
b97878a
Compare
e3db760 to
b97878a
Compare
Member
|
Cannot understand why ci is failing... |
afdef81 to
b26a646
Compare
Contributor
b0cbb0a to
a4b7cfb
Compare
eigenmikem
approved these changes
Feb 27, 2025
Collaborator
nadir-akhtar
left a comment
There was a problem hiding this comment.
Test logic overall looks solid -- had some comments for my own knowledge and to simplify some logic (as well as a few whitespace / typo nits) @ypatil12
0020780 to
26d8b13
Compare
Co-authored-by: Nadir Akhtar <nadir-akhtar@users.noreply.github.com>
ypatil12
added a commit
that referenced
this pull request
Mar 5, 2025
**Motivation:** Tests that handle slashes by both the BC and AVS onto Native ETH. **Modifications:** Added assertions for BC/AVS slashings, no full slashed included - [x] testFuzz_avsSlash_bcSlash_checkpoint - [x] testFuzz_bcSlash_checkpoint_avsSlash - [x] testFuzz_avsSlash_verifyValidator_bcSlash_checkpoint - [x] testFuzz_avsSlash_bcSlash_verifyValidator_checkpoint - [x] testFuzz_avsSlash_bcSlash_checkpoint_verifyValidator - [x] testFuzz_avsSlash_bcSlash_balanceIncrease_checkpoint - [x] testFuzz_avsSlash_bcSlash_checkpoint_balanceIncrease **Result:** Test coverage for BC/AVS edge cases. Need to properly bound a lot of the AVS/BC slashing cases, but this is a start --------- Co-authored-by: Michael <michael@Michaels-MacBook-Pro.local> Co-authored-by: Nadir Akhtar <nadir-akhtar@users.noreply.github.com>
This was referenced Mar 5, 2025
ypatil12
added a commit
that referenced
this pull request
Mar 5, 2025
**Motivation:** Tests that handle slashes by both the BC and AVS onto Native ETH. **Modifications:** Added assertions for BC/AVS slashings, no full slashed included - [x] testFuzz_avsSlash_bcSlash_checkpoint - [x] testFuzz_bcSlash_checkpoint_avsSlash - [x] testFuzz_avsSlash_verifyValidator_bcSlash_checkpoint - [x] testFuzz_avsSlash_bcSlash_verifyValidator_checkpoint - [x] testFuzz_avsSlash_bcSlash_checkpoint_verifyValidator - [x] testFuzz_avsSlash_bcSlash_balanceIncrease_checkpoint - [x] testFuzz_avsSlash_bcSlash_checkpoint_balanceIncrease **Result:** Test coverage for BC/AVS edge cases. Need to properly bound a lot of the AVS/BC slashing cases, but this is a start --------- Co-authored-by: Michael <michael@Michaels-MacBook-Pro.local> Co-authored-by: Nadir Akhtar <nadir-akhtar@users.noreply.github.com>
ypatil12
added a commit
that referenced
this pull request
Mar 5, 2025
**Motivation:** Slashing Integration Testing for Competition Audit **Modifications:** ***General State Validation*** - #1204 - #1198 - #1169 - #1158 ***Upgrade Tests*** - #1187 - #1171 - #1143 ***Dual Slash Tests*** - #1195 - #1153 ***Rounding Tests*** - #1178 ***EigenPod Tests*** - #1191 - #1188 - #1203 - #1194 - #1163 ***Invariants*** - #1201 - #1176 - #1192 - #1197 - #1175 - #1189 - #1150 - #1149 **Result:** Comprehensive Test Coverage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Motivation:
Tests that handle slashes by both the BC and AVS onto Native ETH.
Modifications:
Added assertions for BC/AVS slashings, no full slashed included
Result:
Test coverage for BC/AVS edge cases.
Need to properly bound a lot of the AVS/BC slashing cases, but this is a start