-
Notifications
You must be signed in to change notification settings - Fork 112
Feat/buildDeltaOrder -- capSurplus #220
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
Conversation
size-limit report 📦
|
|
|
||
| return partnerAndFee.toString(10); | ||
| if (partnerAddress === ZERO_ADDRESS) { | ||
| return capSurplus ? (BigInt(capSurplus) << BigInt(9)).toString(10) : '0'; |
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.
I'm gonna trust you that the application here is in line with BE
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.
all good
|
Did you check that this param is correctly passed through submitOrder function (the one that combines build+sign+post)? |
yes, no special handling there, we pass everything to buildDeltaOrder |
|
Thanks @Velenir @0xNazarii ! Published |
Adds
capSurplusoption support forbuildDeltaOrderutil