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

Add gas padding everywhere #39

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Add gas padding everywhere #39

merged 1 commit into from
Apr 8, 2024

Conversation

busimus
Copy link
Contributor

@busimus busimus commented Apr 6, 2024

All transactions would benefit from gas padding due to incorrect (or just stale) estimates from RPCs.

It's a good idea to open an issue first for discussion.

  • Tests pass
  • Appropriate changes to README are included in PR

Copy link
Collaborator

@benwolski benwolski left a comment

Choose a reason for hiding this comment

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

SDK PR #39 looks great. I tested swap/limit/pool/reposition/approve.
swap & approve gasLimit to actual usage difference appeared to stay the same, as expected.
and limit/pool/reposition/poolInit gasLimit to actual usage difference appeared to increase by 30000, as expected.

@benwolski benwolski merged commit 15161e0 into main Apr 8, 2024
0 of 6 checks passed
@benwolski benwolski deleted the usercmd_gas_padding branch April 8, 2024 18:59
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.

2 participants