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

Fix Max Fee Checks #1732

Merged
merged 3 commits into from
Apr 25, 2024
Merged

Fix Max Fee Checks #1732

merged 3 commits into from
Apr 25, 2024

Conversation

coreyphillips
Copy link
Collaborator

Description

  • Adds max fee checks to the FeeRate & FeeCustom views to prevent users from selecting or setting a fee-rate above what the max is.
  • Adds getFeeInfo method.
  • Resolves UI bug in [Bug]: Fees indication #1619

Linked Issues/Tasks

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Tests

  • No test

QA Notes

When setting fees during the send flow, the max fee checks should be in place and prevent you from setting a value above the maxFee provided by Beignet's getFeeInfo method.

Prevents user from selecting or setting a fee-rate above what the max is.
Resolves UI bug in #1619
@coreyphillips coreyphillips added the bug Something isn't working label Apr 25, 2024
@coreyphillips coreyphillips added this to the v.1 milestone Apr 25, 2024
@coreyphillips coreyphillips self-assigned this Apr 25, 2024
Revert maxLength to 3 in FeeCustom.tsx.
@coreyphillips coreyphillips merged commit 3c0fb62 into master Apr 25, 2024
6 checks passed
@coreyphillips coreyphillips deleted the fix/fee-updates branch April 25, 2024 16:01
@catch-21
Copy link
Contributor

Verified in v118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants