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

feat: add advanced fees when approving a tx request #1277

Merged
merged 19 commits into from
Aug 7, 2024

Conversation

helciofranco
Copy link
Member

@helciofranco helciofranco commented May 6, 2024

This PR extends the Custom Fees feature from the Send Transaction screen, enabling users to set a custom fee when approving a request from a Dapp.

📷 Demo
Screen.Recording.2024-08-01.at.10.43.05.mov

@helciofranco helciofranco self-assigned this May 6, 2024
@helciofranco helciofranco marked this pull request as draft May 6, 2024 18:06
Base automatically changed from hf/feat/advanced-fees to lf/feat/upgrade-fuels-core-0.24 May 7, 2024 17:41
Base automatically changed from lf/feat/upgrade-fuels-core-0.24 to master May 10, 2024 19:37
Copy link
Contributor

github-actions bot commented May 13, 2024

Coverage report for ./packages/app

St.
Category Percentage Covered / Total
🟡 Statements 62.16% 3298/5306
🔴 Branches 41.14% 648/1575
🔴 Functions 46.89% 693/1478
🟡 Lines 62.73% 3179/5068

Test suite run success

243 tests passing in 71 suites.

Report generated by 🧪jest coverage report action from c54c0ed

@helciofranco helciofranco marked this pull request as ready for review July 26, 2024 23:32
@helciofranco helciofranco marked this pull request as draft July 26, 2024 23:32
@helciofranco helciofranco marked this pull request as ready for review August 1, 2024 14:48
@helciofranco helciofranco changed the title feat: add advanced fees when approving a request feat: add advanced fees when approving a tx request Aug 1, 2024
Copy link
Contributor

@LuizAsFight LuizAsFight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I change gasLimit to a really high value, the fee is not changing at all.. only the tip is changing the fee, can you check if the transaction is being estimated with the inputted gasLimit ? this doesn't stop this PR but we should detect if the problem is in the wallet or in the ts sdk

image

@helciofranco helciofranco merged commit 87cc809 into master Aug 7, 2024
13 of 14 checks passed
@helciofranco helciofranco deleted the hf/feat/advanced-fees-2 branch August 7, 2024 01:28
LuizAsFight pushed a commit that referenced this pull request Aug 15, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to master, this PR
will be updated.


# Releases
## fuels-wallet@0.25.0

### Minor Changes

- [#1277](#1277)
[`87cc8099`](87cc809)
Thanks [@helciofranco](https://github.com/helciofranco)! - feat: add
custom network fees, offering options like regular, fast and custom tip
when approving a transaction through Dapps.

### Patch Changes

- [#1424](#1424)
[`abfad2e6`](abfad2e)
Thanks [@arthurgeron](https://github.com/arthurgeron)! - - Audit check
now ignores vulnerabilities with no known patched version
    -   Test utils using act methods deprecated in React 18.3
-   Updated dependencies \[]:
    -   @fuel-wallet/connections@0.25.0

## @fuel-wallet/connections@0.25.0



## @fuel-wallet/types@0.25.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

Add custom fee + gas limit to Transaction Request from DAPP screen
2 participants