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

chore(core): dvm to evm - allow users to send more than the expected amt #1243

Closed
wants to merge 8 commits into from

Conversation

lykalabrada
Copy link
Contributor

@lykalabrada lykalabrada commented Nov 20, 2023

What this PR does / why we need it:

Currently, we are receiving a lot of refund requests due to Error Code 3 - Balance Not Matched. And the difference in the amount is very minute, eg.: Expected amount is 1.001, but user sent 1.002

So to reduce the number of refund requests, we will modify the condition and allow users to send more funds than expected.

Which issue(s) does this PR fixes?:

Fixes #

Additional comments?:

  • Error Code 3 BalanceNotMatched is changed into BalanceNotEnough
  • Error Code 8 TxnWithExactAmountNotFound is changed into TxnWithEnoughAmountNotFound

Developer Checklist:

  • Read your code changes at least once
  • No console errors on web
  • Tested on Light mode and Dark mode*
  • Your UI implementation visually matched the rendered design*
  • Unit tests*
  • Added e2e tests*
  • Added translations*

Copy link

netlify bot commented Nov 20, 2023

Deploy Preview for quantumbridge ready!

Name Link
🔨 Latest commit 7d3fbc6
🔍 Latest deploy log https://app.netlify.com/sites/quantumbridge/deploys/65f12a554c3e17000803ca13
😎 Deploy Preview https://deploy-preview-1243--quantumbridge.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 33 (🔴 down 3 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

* chore(e2e): added testcases for more than required fun transfer

* added e2e for DFI verification

* added DFI test case to check less than expected amount
Copy link

This pull request is stale because it has been open for 90 days without any activity. Please remove the stale label or this will be closed in 14 days.

@github-actions github-actions bot added the stale No activity for a significant amount of days label Mar 12, 2024
@fullstackninja864 fullstackninja864 removed the stale No activity for a significant amount of days label Mar 13, 2024
Copy link

This pull request is stale because it has been open for 90 days without any activity. Please remove the stale label or this will be closed in 14 days.

@github-actions github-actions bot added the stale No activity for a significant amount of days label Jun 11, 2024
@github-actions github-actions bot closed this Jun 25, 2024
@github-actions github-actions bot removed the stale No activity for a significant amount of days label Jun 26, 2024
Copy link

This pull request is stale because it has been open for 90 days without any activity. Please remove the stale label or this will be closed in 14 days.

@github-actions github-actions bot added the stale No activity for a significant amount of days label Sep 24, 2024
@github-actions github-actions bot closed this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/chore Non feature change stale No activity for a significant amount of days
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants