-
Notifications
You must be signed in to change notification settings - Fork 9
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
Stake tab complete staking is requesting approval #94
Comments
Thanks for reporting this, we are rolling back to a known production state right now while we diagnose this issue. The commit that we are rolling the production dapp back to is 45b3814 |
we have added this to the current dev cycle, you can see our project board here: https://github.com/orgs/manifoldfinance/projects/8 |
This is using the Brave browser, correct? |
yes, it's brave |
hey @sambacha: was bitten by this as well. See here for the xfold approve that doesn't need to be there as part of the mint Also, the foldNeedsApproval code is not correct, since it only returns true if approved amount to the xfold address is zero, instead of anything smaller than the value the user wants to mint. This resulted in met not seeing the Permit FOLD to mint and stake xFOLD-button and thus getting a failing mint as a result. I suggest just doing an approve of Fold instead of xFold as part of the mint for the specified amount and you're done. |
Thanks for the details, how can we award you a bounty? The current version issue is we do not have the bandwidth to address these issues , so if you want to get paid for fixing them just name a reasonable price the entire dapp needs to be rewritten iMho, but that can obviously wait |
Describe the bug
Clicking
complete stake
starts an approval requestI'd guess it's something like
input < allowance
instead ofinput <= allowance
as a side note I understand
![Screen Shot 2022-08-04 at 10 59 07](https://user-images.githubusercontent.com/6232729/182865717-c8faec9a-7672-4cea-9ee6-13db67c3d430.png)
permit
as a EIP-2612 signature, I'd suggest changing the button label toapprove
The text was updated successfully, but these errors were encountered: