Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(e2e): Add verification during deposit e2e test #2398

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

shotes
Copy link
Contributor

@shotes shotes commented Jan 22, 2025

This PR strictly correlates the amount of BERA deposited against the amount of validator power and withdrawal balance at the end of the test.

It also modifies the node-api implementation for the validator endpoints. They now return correctly formatted data that works with go-eth2-client.

@shotes shotes requested a review from a team as a code owner January 22, 2025 15:38
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 21.17%. Comparing base (dddd9d2) to head (43429a9).
Report is 2 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (dddd9d2) and HEAD (43429a9). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (dddd9d2) HEAD (43429a9)
2 1
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2398      +/-   ##
==========================================
- Coverage   26.57%   21.17%   -5.40%     
==========================================
  Files         348        3     -345     
  Lines       15499       85   -15414     
  Branches       20       20              
==========================================
- Hits         4119       18    -4101     
+ Misses      11178       66   -11112     
+ Partials      202        1     -201     

see 345 files with indirect coverage changes

Base automatically changed from kurtosis-setup-depo to main January 22, 2025 20:54
@@ -243,7 +243,7 @@ func (s *KurtosisE2ESuite) FundAccounts() {
gasTipCap, big.NewInt(0).SetUint64(TenGwei))
nonceToSubmit := nonce.Add(1) - 1
//nolint:mnd // 20000 Ether
value := new(big.Int).Mul(big.NewInt(20000), big.NewInt(Ether))
value := new(big.Int).Mul(big.NewInt(200000), big.NewInt(Ether))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More funding to the test accounts. They did not have enough BERA to hit the devnet 4000e9 max effective balance for all 5 validators.

@shotes shotes added Merge me daddy Trigger Beradozer to bulldoze the PR Ready for Review and removed Merge me daddy Trigger Beradozer to bulldoze the PR labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants