-
Notifications
You must be signed in to change notification settings - Fork 274
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
Two near-term options for reducing worker gas costs #2226
Comments
Are options 2 and 3 (bonus) feasible to implement once |
Bonus option is part of the first option, and it could be done later if first approach will be chosen (even with upgrade) |
I have idea how to solve problem with re-staking in first approach (split commit/mint): |
1) Separating
|
Small remark |
As a community member, currently setting up my node, I'm looking forward to see one of this solution implemented. |
i agree with you. |
wanted to check in to give a perspective for the team of a participating member found out today that if you're using an infura endpoint that there is currently no way to use any gas setting lower than instant. as a non whale / aggregator / just a normal person this makes the whole thing economically unviable for me and am planning on shutting my ursula node down until some kind of solution or amelioration is available. If I had known infura endpoints locked in instant gas prices I would have not participated in worklock. really hoping some kind of fix is along the way for this. willing to help if I can : ( |
For what it's worth you can control the maximum acceptable gas price using the |
Following discussions with @vzotova. These choices are actually feasible in the near-term but neither is a barrel of laughs.
1) Separating
commitToNextPeriod
(formerlyconfirmActivity
) andmint
.Advantages:
Disadvantages:
mint
since the sum of rewards is calculated by looping through (growing) number of sub-stakes.mint
does not guarantee any savings. Indeed it may end up being more expensive if gas prices steadily rise, given the hard limit on themint
transaction size, which grows with eachcommitToNextPeriod
.Other:
commitToNextPeriod
costs remain the same, and depend on the A) place in line the staker's commitment is relative to others each period and B) the number of sub-stakes they've set to wind down, if any.2) Increase period duration globally (e.g. to 1 week)
Advantages and non-disadvantages:
commitToNextPeriod
.commitToNextPeriod
ANDmint
operations by 7x, rather than just the latter.Disadvantages:
Bonus option:
commitToNextPeriod
occurs once per week, without changing the period duration.details and {a,disa}dvantages to be added
The text was updated successfully, but these errors were encountered: