-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
usdc recurring donation decimals are incorrect and transactions reverts #4861
Comments
@divine-comedian done hotfix for this USDC token, problem was with it's decimal, but also found problem related with months number, it wasn't ok. Other problem that you mentioned like applying donation to Giveth if you unchecked it didn't saw and also in video that you sent doesn't showing. |
@kkatusic from our discussion yesterday it appears that there is still an error in the flow somewhere Things we've tested
It seems this could be related to how we handle depositing tokens or how we batch the deposit function together with creating a stream... bearing in mind USDC is the only token that has 6 decimal precision while all other tokens have 18.. the super USDC token has 18 decimals |
@kkatusic needs to review comments from superfluid team needs to check if it works with new method of fetching and upgrading option with decimal issues. |
Gave it a look, tested it out and make some fixes, tested again locally and it looks to be working good! please tag @mateodaza to review the PR and we should push this hotfix on monday. |
Let's go, thx @divine-comedian |
Merged and tested on prod! closing this one. |
when adding a recurring donation in usdc it does not seem to parse the decimals correctly.
It does not estimate the amount of months left from the proposed amount to deposit and amount to stream monthly - when going to the confirmaiton modal it shows an amount MUCH lower than the expected, based on the amounts input
in addition it appears the optional donation to giveth toggle is not working correctly - it always applies a donation to giveth even when you toggle it off!!
Screen.Recording.2024-11-10.074357.mp4
The text was updated successfully, but these errors were encountered: