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

Users are unable to make a One-time Donation using cbBTC #4962

Open
5 tasks
LatifatAbdullahi opened this issue Jan 22, 2025 · 2 comments
Open
5 tasks

Users are unable to make a One-time Donation using cbBTC #4962

LatifatAbdullahi opened this issue Jan 22, 2025 · 2 comments
Assignees

Comments

@LatifatAbdullahi
Copy link

LatifatAbdullahi commented Jan 22, 2025

When Users attempt to make a one-time donation, an error message is displayed "Transaction failed"

Image

AC

  • users should be able to make a one-time donation to a project with NO additional donation to Giveth
  • users should be able to make a one-time donation to a project with WITH additional donation to Giveth
  • price for cbBTC should show correctly
  • user should be able to click "available" under amount input box which inserts user's current balance into input field for amount
  • donation in cbBTC above $5 in value should show in eligible donations in GIVbacks data -> https://givbacks.giveth.io/api-docs/#/default/get_eligible_donations (need Giveth VPN enabled)
@github-project-automation github-project-automation bot moved this to New Issues in All-Devs Jan 22, 2025
@divine-comedian divine-comedian moved this from New Issues to Product Backlog in All-Devs Jan 22, 2025
@kkatusic
Copy link
Collaborator

@divine-comedian can I do hot-fix for this one?

@divine-comedian divine-comedian moved this from Product Backlog to Sprint Backlog in All-Devs Jan 28, 2025
@kkatusic kkatusic moved this from Sprint Backlog to In Progress in All-Devs Feb 3, 2025
@divine-comedian
Copy link
Contributor

suggesting at some point to refactor the code - don't switch as much between bigint to number - only switch to bigInt at once when user is finally submitting donation.

can make a quick fix for handling 8 decimals but code might need a bigger refactor. will try to make hotfix but otherwise needs to rewrite funciton entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

3 participants