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

Fix withdrawals #1798

Merged
merged 1 commit into from
Dec 21, 2022
Merged

Fix withdrawals #1798

merged 1 commit into from
Dec 21, 2022

Conversation

Tburm
Copy link
Contributor

@Tburm Tburm commented Dec 21, 2022

Fix the margin withdrawal transaction. Gas estimation fails due to a bug with a missing .neg() on the withdrawal transaction.

This change also removes my manual gas estimate/buffer for the supported SDK version.

@vercel
Copy link

vercel bot commented Dec 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
kwenta ✅ Ready (Inspect) Visit Preview Dec 21, 2022 at 4:52PM (UTC)

@Tburm Tburm requested a review from avclarke December 21, 2022 16:50
@vercel vercel bot temporarily deployed to Preview December 21, 2022 16:52 Inactive
@Tburm Tburm merged commit ece82a3 into perps-v2 Dec 21, 2022
@platschi platschi deleted the gas-estimate-fix branch March 22, 2023 17:14
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