Skip to content

Commit

Permalink
Fix lint and better casting
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain committed Sep 21, 2023
1 parent 0eeadf6 commit 9948ed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions beacon-chain/core/epoch/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ go_library(
"//proto/prysm/v1alpha1:go_default_library",
"//proto/prysm/v1alpha1/attestation:go_default_library",
"//runtime/version:go_default_library",
"//time/slots:go_default_library",
"@com_github_pkg_errors//:go_default_library",
],
)
Expand Down
2 changes: 1 addition & 1 deletion testing/endtoend/evaluators/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func activatesDepositedValidators(ec *e2etypes.EvaluationContext, conns ...*grpc
return fmt.Errorf("missing %d validators for post-genesis deposits", len(expected))
}

if deposits != int(params.BeaconConfig().MinPerEpochChurnLimit) {
if uint64(deposits) != params.BeaconConfig().MinPerEpochChurnLimit {
return fmt.Errorf("expected %d deposits to be processed in epoch %d, received %d", params.BeaconConfig().MinPerEpochChurnLimit, epoch, deposits)
}

Expand Down

0 comments on commit 9948ed4

Please sign in to comment.