-
Notifications
You must be signed in to change notification settings - Fork 69
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(mfi-v2-trading): added config for flashloan actionbox platform fee #923
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
7769557
to
fc4a581
Compare
fc4a581
to
d1e8ee2
Compare
@@ -142,7 +146,8 @@ export function useLoopSimulation({ | |||
amount, | |||
slippageBps, | |||
marginfiClient.provider.connection, | |||
0 //priorityFee |
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.
why no priority fee here? Arent you importing that from the actionboxstore too?
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.
priority fee isn't used anymore, we only use bundletip
@@ -119,7 +123,8 @@ export function useRepayCollatSimulation({ | |||
amount, | |||
slippageBps, | |||
marginfiClient.provider.connection, | |||
0 //priorityFee | |||
0, //priorityFee, |
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.
same
there is a missing platform fee config on the new actionbox v2, this adds it again
this branch will only build once stake box is merged in