-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update query to use hardcoded values for colocated solvers #14
Update query to use hardcoded values for colocated solvers #14
Conversation
c5ed515
to
bed1344
Compare
5ebbb6a
to
9991610
Compare
I took the liberty to add an alternative query that is simpler, at least to me, to parse. It is definitely doing redundant things and recomputing things here and there, but i had a bit of a hard time parsing the original query, so this is why i decided to do this. I am not suggesting we should use the new one, but would be good to have a look at both, proof-read them and then make a call |
One thing that needs to happen is that the original query should better invoke query 1541516 as black box, even if that means repeating some calculations. @bram-vdberg would be good to check how much this would simplify your query |
…for-cow-bonding-pool
Merging now as we need to execute the payouts tomorrow. Will open an issue to simplify the query |
This PR addresses issue #12 and updates the CIP-48 query to use hard-coded values for colocated drivers.
This change also updates the logic for calculating the 3 month grace period for colocated solvers. Now, the logic only sets the grace period if they are manually marked as being in a reduced bonding pool.
Currently hardcoding all colocated solvers. Updates have been made to the CMS to allow us to get this information in a GitHub action, but since that's not live yet I'm adding these manually.