-
Notifications
You must be signed in to change notification settings - Fork 312
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
auction: add GasCost
impls for actions
#4223
Conversation
Do you mean the part multiplied by the step count? I think there is both a per-step block space and per-step execution time cost that should be accounted for. Doesn't each step incur a block space cost of storing liquidity positions? |
yeah that's true, would the |
I am operating under the assumption (that I am not 100% sure of) that every step, a LP will be closed (and withdrawn?) and a new one opened. So I think it should be something like |
I don't think I follow — how does the chain opening and closing positions on its own add data to a future block? |
I suppose it's not adding new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes, but good to merge as soon as we have addressed the comments + green CI. I would be happy to pair on a second pass that makes the dependency between DA actions and the execution costs of position actions a little better (rather than having reminders in comments). But it seems good enough for now. Thanks for taking this on!
Describe your changes
Add
GasCost
vectors for DA actions, addAction
/ActionPlan
skeletons, and make gas fee costs consistent with protobuf encodings (#3940)Issue ticket number and link
References #4212
Checklist before requesting a review