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

process cancellable bids below floor correctly #401

Merged
merged 5 commits into from
May 25, 2023
Merged

process cancellable bids below floor correctly #401

merged 5 commits into from
May 25, 2023

Conversation

metachris
Copy link
Collaborator

@metachris metachris commented May 11, 2023

📝 Summary

As suggested by @dvush -- cancellable bids below the floor don't need to be validated, and should just delete any previous bid by this builder.

Skips an additional 100-200 validations per slot:
Screenshot 2023-05-25 at 12 22 11


✅ I have run these commands

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

@codecov-commenter
Copy link

codecov-commenter commented May 11, 2023

Codecov Report

Merging #401 (8625fc3) into main (3d69719) will increase coverage by 0.10%.
The diff coverage is 53.77%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #401      +/-   ##
==========================================
+ Coverage   30.53%   30.63%   +0.10%     
==========================================
  Files          24       24              
  Lines        4601     4661      +60     
==========================================
+ Hits         1405     1428      +23     
- Misses       3012     3040      +28     
- Partials      184      193       +9     
Flag Coverage Δ
unittests 30.63% <53.77%> (+0.10%) ⬆️

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

Impacted Files Coverage Δ
services/api/service.go 34.13% <18.18%> (-0.41%) ⬇️
datastore/utils.go 88.00% <57.14%> (-12.00%) ⬇️
datastore/redis.go 60.84% <63.63%> (-0.87%) ⬇️

dvush
dvush previously approved these changes May 11, 2023
avalonche
avalonche previously approved these changes May 25, 2023
@metachris
Copy link
Collaborator Author

Deployed to production, after running in testnets for a while

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, no comments :-)

@metachris metachris merged commit a2ec56f into main May 25, 2023
4 checks passed
@metachris metachris deleted the bid-floor-2 branch May 25, 2023 21:58
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

5 participants