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: display transfer gas cost estimation #174

Merged
merged 8 commits into from
Apr 22, 2024

Conversation

saadahmsiddiqui
Copy link
Member

@saadahmsiddiqui saadahmsiddiqui commented Apr 16, 2024

Description

Display gas estimation of transactions that will be executed

Related Issue Or Context

Closes: #157

How Has This Been Tested? Testing details.

  • Mocked gas fee test

Types of changes

  • Transactions gas fee estimations for evm and substrate networks

Checklist:

  • Add tests.

@saadahmsiddiqui saadahmsiddiqui changed the base branch from main to dev April 16, 2024 14:48
Copy link
Member

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

Copy link
Member

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

@saadahmsiddiqui saadahmsiddiqui marked this pull request as draft April 18, 2024 08:31
@saadahmsiddiqui saadahmsiddiqui marked this pull request as ready for review April 18, 2024 15:18
mpetrunic
mpetrunic previously approved these changes Apr 19, 2024
wainola
wainola previously approved these changes Apr 19, 2024
Copy link
Contributor

@wainola wainola left a 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

@saadahmsiddiqui
Copy link
Member Author

just a small nit: Bridge fee appears to be render before Amount to receive and Gas fee

Fixed

@mpetrunic mpetrunic merged commit 7114f62 into dev Apr 22, 2024
4 checks passed
@mpetrunic mpetrunic deleted the feat/display_gas_fee_estimation branch April 22, 2024 08:54
mpetrunic pushed a commit that referenced this pull request May 7, 2024
## 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.
@MakMuftic MakMuftic mentioned this pull request May 7, 2024
MakMuftic added a commit that referenced this pull request Jun 13, 2024
🤖 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).
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.

Display gas fee estimation
3 participants