-
Notifications
You must be signed in to change notification settings - Fork 185
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: nidhi-singh02 <trippin@berachain.com>
Signed-off-by: nidhi-singh02 <trippin@berachain.com>
Signed-off-by: nidhi-singh02 <trippin@berachain.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ 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 |
…n-kit into deposit-e2e-verification
@@ -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)) |
There was a problem hiding this comment.
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.
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
.