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

Prysm update #575

Merged
merged 17 commits into from
Aug 3, 2021
Merged

Prysm update #575

merged 17 commits into from
Aug 3, 2021

Conversation

BeroBurny
Copy link
Collaborator

Short description of work done
update prysm docker and client

PR Checklist

  • I have run type check locally
  • I have run linter locally
  • I have run unit and integration tests locally
  • Rebased to master branch / merged master

@BeroBurny BeroBurny requested a review from a team as a code owner July 27, 2021 13:54
@BeroBurny BeroBurny requested review from morrigan and mpetrunic and removed request for a team July 27, 2021 13:54
@codecov
Copy link

codecov bot commented Jul 27, 2021

Codecov Report

Merging #575 (c88015b) into develop (fcc04a7) will decrease coverage by 0.36%.
The diff coverage is 16.45%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #575      +/-   ##
===========================================
- Coverage    48.54%   48.17%   -0.37%     
===========================================
  Files          117      117              
  Lines         2091     2115      +24     
  Branches       225      231       +6     
===========================================
+ Hits          1015     1019       +4     
- Misses        1047     1067      +20     
  Partials        29       29              
Flag Coverage Δ
unit 48.17% <16.45%> (-0.37%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...s/eth2/client/eth2ApiClient/cgEth2BeaconPoolApi.ts 18.75% <0.00%> (ø)
...services/eth2/client/prysm/CgPrysmEth2BeaconApi.ts 38.88% <0.00%> (ø)
...ices/eth2/client/prysm/CgPrysmEth2BeaconPoolApi.ts 33.33% <0.00%> (ø)
...vices/eth2/client/prysm/CgPrysmEth2ValidatorApi.ts 14.75% <0.00%> (-0.25%) ⬇️
src/renderer/services/eth2/client/utils.ts 23.07% <0.00%> (-4.93%) ⬇️
...ces/eth2/client/prysm/CgPrysmEth2BeaconStateApi.ts 13.15% <6.66%> (-4.70%) ⬇️
...services/eth2/client/prysm/CgPrysmEth2EventsApi.ts 24.13% <9.09%> (-6.64%) ⬇️
...er/services/eth2/client/prysm/PrysmStreamReader.ts 15.78% <16.66%> (ø)
src/renderer/services/eth2/networks/index.ts 52.38% <16.66%> (-10.12%) ⬇️
...er/services/eth2/client/prysm/CgPrysmEth2Config.ts 36.36% <36.36%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fcc04a7...c88015b. Read the comment docs.

@BeroBurny BeroBurny marked this pull request as draft July 27, 2021 13:57
@BeroBurny BeroBurny changed the title Beroburny/prysm upate Prysm update Jul 27, 2021
@BeroBurny BeroBurny self-assigned this Jul 27, 2021
@BeroBurny BeroBurny added enhancement New feature or request dependencies Pull requests that update a dependency file labels Jul 27, 2021
@BeroBurny BeroBurny marked this pull request as ready for review July 30, 2021 11:48
try {
attestations = yield retry(2, 0, eth2API.validator.getAttesterDuties, epoch, [validatorState.index]);
attestationsFuture = yield call(eth2API.validator.getAttesterDuties, epoch + 1, [validatorState.index]);
} catch {
Copy link
Member

Choose a reason for hiding this comment

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

log errors

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this try-catch block is in the case of some sort of error, we don't want to break application for failing to fetch some meta data for nonessential work for validating

Copy link
Member

Choose a reason for hiding this comment

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

not sking you to break app, just log error message instead of ignoring it so we have some info when debugging

propositions = yield call(eth2API.validator.getProposerDuties, epoch, [validatorId]);
propositionsFuture = yield call(eth2API.validator.getProposerDuties, epoch + 1, [validatorId]);
propositionsSuperFuture = yield call(eth2API.validator.getProposerDuties, epoch + 2, [validatorId]);
} catch {
Copy link
Member

Choose a reason for hiding this comment

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

same here

@mpetrunic mpetrunic merged commit c6eeab1 into develop Aug 3, 2021
@mpetrunic mpetrunic deleted the beroburny/prysm-upate branch August 3, 2021 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants