-
Notifications
You must be signed in to change notification settings - Fork 2
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: display transfer gas cost estimation #174
Conversation
2b46deb
to
0302a6c
Compare
packages/widget/src/components/transfer/fungible/transfer-detail/transfer-detail.ts
Outdated
Show resolved
Hide resolved
packages/widget/src/components/transfer/fungible/transfer-detail/styles.ts
Outdated
Show resolved
Hide resolved
packages/widget/src/components/transfer/fungible/transfer-detail/transfer-detail.ts
Show resolved
Hide resolved
packages/widget/src/components/transfer/fungible/transfer-detail/transfer-detail.ts
Outdated
Show resolved
Hide resolved
…tocol/sygma-widget into feat/display_gas_fee_estimation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of logic in this file without tests :S
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be resolved in separe PR. Related issue #177
…/display_gas_fee_estimation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a small nit: Bridge fee
appears to be render before Amount to receive
and Gas fee
Fixed |
## Description Display gas estimation of transactions that will be executed ## Related Issue Or Context Closes: #157 ## How Has This Been Tested? Testing details. - [x] Mocked gas fee test ## Types of changes - [x] Transactions gas fee estimations for evm and substrate networks ## Checklist: - [x] Add tests.
🤖 I have created a release *beep* *boop* --- <details><summary>@buildwithsygma/sygmaprotocol-react-widget: 0.1.3</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @buildwithsygma/sygmaprotocol-widget bumped to 0.2.0 </details> <details><summary>sygmaprotocol-widget: 0.2.0</summary> ## [0.2.0](sygmaprotocol-widget-v0.1.2...sygmaprotocol-widget-v0.2.0) (2024-06-13) ### Features * automatically add unknown source evm network into wallet ([#162](#162)) ([d5886bd](d5886bd)) * display amount to be received on destination ([#168](#168)) ([347f7a5](347f7a5)) * Display Fee ([#145](#145)) ([872703d](872703d)) * display transfer gas cost estimation ([#174](#174)) ([b154555](b154555)) * enable developers to configure network whitelisting ([#170](#170)) ([5db505f](5db505f)) * enable user to specify wallets ([#161](#161)) ([8a02170](8a02170)) * Retry loading bridge routes ([#136](#136)) ([8e0101f](8e0101f)) * substrate fungible transfer ([#134](#134)) ([337f1b7](337f1b7)) * wallet account selector for substrate ([#106](#106)) ([79127fd](79127fd)), closes [#74](#74) ### Bug Fixes * amount to receive ([#196](#196)) ([8c2cdad](8c2cdad)) * destination address format ([#197](#197)) ([250ea35](250ea35)) * explorer urls when adding networks ([#200](#200)) ([d65d99a](d65d99a)) * Fixed amount to receive decimals ([#208](#208)) ([be23500](be23500)) * Gas Fee estimation behavior, is not consistent for the actual transfer TX ([#204](#204)) ([d57233e](d57233e)) * handling transfer cancellation on substrate ([#195](#195)) ([6ce25cb](6ce25cb)) * resource name ([#201](#201)) ([1215dcc](1215dcc)) * resource selector ([#199](#199)) ([81bae38](81bae38)) * small fix for tangle connection ([#212](#212)) ([557d71e](557d71e)) * source switch reset ([#206](#206)) ([1b1f92c](1b1f92c)), closes [#205](#205) * typesafety when handling changed properties ([#141](#141)) ([692e269](692e269)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Description
Display gas estimation of transactions that will be executed
Related Issue Or Context
Closes: #157
How Has This Been Tested? Testing details.
Types of changes
Checklist: