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

registerValidator with fast JSON decoding only #369

Merged
merged 8 commits into from Apr 28, 2023
Merged

registerValidator with fast JSON decoding only #369

merged 8 commits into from Apr 28, 2023

Conversation

metachris
Copy link
Collaborator

πŸ“ Summary

Processing validator registrations with buger/jsonparser only.


βœ… I have run these commands

  • make lint
  • make test-race
  • go mod tidy
  • I have seen and agree to CONTRIBUTING.md

@metachris
Copy link
Collaborator Author

been running in Goerli + Sepolia for a while

@metachris metachris force-pushed the regval2 branch 2 times, most recently from 82f47ae to 012a2c9 Compare April 26, 2023 10:41
@codecov-commenter
Copy link

codecov-commenter commented Apr 26, 2023

Codecov Report

Merging #369 (e18b4a4) into main (966fe0b) will increase coverage by 0.36%.
The diff coverage is 47.72%.

πŸ“£ This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #369      +/-   ##
==========================================
+ Coverage   19.59%   19.96%   +0.36%     
==========================================
  Files          20       20              
  Lines        3971     4023      +52     
==========================================
+ Hits          778      803      +25     
- Misses       3099     3119      +20     
- Partials       94      101       +7     
Flag Coverage Ξ”
unittests 19.96% <47.72%> (+0.36%) ⬆️

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

Impacted Files Coverage Ξ”
services/api/service.go 16.58% <47.72%> (+1.20%) ⬆️

@metachris
Copy link
Collaborator Author

deployed to prod earlier today

michaelneuder
michaelneuder previously approved these changes Apr 27, 2023
Copy link
Collaborator

@michaelneuder michaelneuder left a comment

Choose a reason for hiding this comment

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

LGTM

@metachris
Copy link
Collaborator Author

Did a bit more cleanup, and made sure we don't run into a possible int64 overflow with using time.Unix(...)

@metachris metachris merged commit ecae1ab into main Apr 28, 2023
2 checks passed
@metachris metachris deleted the regval2 branch April 28, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants