Closed mystic-mango closed 11 months ago
This pull request is automatically being deployed by Amplify Hosting (learn more).
Access this pull request here: https://pr-172.df86yn386iuh7.amplifyapp.com
Transaction hash: Stake: 0xe7c34aae070f22e715e2f7a24a29e6de3a31147117062713b23f1fba7989aabe Unwrap: 0xe78fc197a81989e4100bcde425da534d0fb1a3449a3c55442fba1725bee1de1f
@chimera-defi @WJakub Just finished up new EIP-1559 gas price API integration + testing
Let me know what you think.
nice! lgtm
Description
Transaction infrastructure update for EIP-1559. Update gas API to call for
maxFeePerGas
andmaxPriorityFeePerGas
.BlockNative Gas Platform API is used, see docs here and here
Upgrade Web3.Js to version V1.5.3 (Contract EIP-1559 compatible)
Minor: StakeGuage on staking page also updated due to invalid augment for animation.
Fixes # (issue)
168 #145
Type of change
[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update
How Has This Been Tested?
[x] Staking Transaction Preview:
Successfully initiates transaction approval request with correct gas fees set by the API.
API gas fees reflect market rates.
[x] Unstake Transaction Preview:
Successfully initiates transaction approval request with correct gas fees set by the API.
API gas fees reflect market rates.
[x] Wrap Transaction Preview:
Successfully initiates transaction approval request with correct gas fees set by the API.
API gas fees reflect market rates.
[x] Unwrap Transaction Preview:
Successfully initiates transaction approval request with correct gas fees set by the API.
API gas fees reflect market rates.
[x] Low & High Fees:
All previous transactions shown used the default medium gas, this test show the low and high fees working also.
Low:
High:
[x] Gas API fail scenario:
Force API to return an error results in hardcoded gas fees to be used instead allowing user to carry out transaction still.
Fee is higher than require - acceptable as failure mode.
Test Configuration:
Checklist: