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

Issue with fund required and API #390

Open
Darkneew opened this issue Aug 24, 2022 · 3 comments
Open

Issue with fund required and API #390

Darkneew opened this issue Aug 24, 2022 · 3 comments
Assignees
Milestone

Comments

@Darkneew
Copy link
Contributor

Darkneew commented Aug 24, 2022

It seems that there is an error when calculating the funds required for buying memory using the API.
As my experience with the API is still quite small, I am not 100% sure this error comes from convex, but here is what I found:
Capture d’écran 2022-08-25 003518
Upon trying to buy 10 memory, the API told me I had insufficient funds.
However, when checking my balance, I can see I have totally enough.

After transferring a bigger amount of coins on this account, I managed to get "enough" funds as seen here:
Capture d’écran 2022-08-25 003540

(btw, there is also an issue with the quantity of memory bought but I opened a different issue for this)

PS : I got the same error while trying to transfer money. My guess is that when sending the required fund through the error, convex forget the price of the transaction and thus return an incorrect amount needed.

Capture d’écran 2022-08-25 093819

@mikera
Copy link
Member

mikera commented Aug 26, 2022

Thanks for the report @Darkneew I will do some tests in the CVM side to see if I can replicate. If I can't replicate it is probably an issue with the convex-web API.

@mikera mikera self-assigned this Aug 26, 2022
@Darkneew
Copy link
Contributor Author

Actually, I believe this issue is tightly linked (and should be merged) with issue #231 on convex-web

@mikera
Copy link
Member

mikera commented Oct 4, 2022

This may be resolved by changing juice pre-allocation.

@mikera mikera added this to the Beta milestone Oct 4, 2022
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

No branches or pull requests

2 participants