-
Notifications
You must be signed in to change notification settings - Fork 360
Feature: allow editing EIP-1559 max priority fee + refactor tx modals #3297
Conversation
CLA Assistant Lite All Contributors have signed the CLA. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
Deployment links
|
E2E Tests Failed Failed tests:
|
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.
Looking good guys but your recent push didn't let me complete my review. I will continue now.
src/routes/safe/components/Balances/SendModal/screens/ReviewSendFundsTx/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Balances/SendModal/screens/ReviewSendFundsTx/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Balances/SendModal/screens/ReviewSendFundsTx/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Balances/SendModal/screens/ReviewSendFundsTx/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/Advanced/RemoveGuardModal.tsx
Outdated
Show resolved
Hide resolved
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.
Looking good boys!
src/routes/safe/components/Settings/ThresholdSettings/ChangeThreshold/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Settings/ThresholdSettings/ChangeThreshold/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/helpers/EditTxParametersForm/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/helpers/EditTxParametersForm/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/helpers/EditableTxParameters.tsx
Show resolved
Hide resolved
src/routes/safe/components/Transactions/helpers/TxParamsState/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/helpers/TxParamsState/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/helpers/TxParamsState/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/helpers/TxParamsState/index.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/helpers/TxParamsState/index.tsx
Outdated
Show resolved
Hide resolved
Yes, is fixed now. Thanks |
In the "change policies" modal, in a safe 1/x, unchecking the "Execute tx" checkbox does nothing, the tx executes no matter what (you cannot queue this tx) |
Ignore this. The field is shown for trezor and ledger as well in rinkeby |
@gnosis/safe-web By unifying the modals we are displaying in every modal the option to “Execute Transaction”. However, this option is not available in all the |
All modals should behave the same wrt execution/gas info. |
It looks like delayExection isn't passed to createTransaction. It should be passed like this. @DiogoSoaress please check that all the modals are passing it. |
@katspaugh Please review the last commit. Addresses all the modals that didn't have the flag in the onSubmit callback |
Perfect, thank you 👍 |
This bug is already present in |
Probably makese sense to include it in the reafctor of the approval window, no? |
I say we should fix it in the current sprint @johannesmoormann I've created a separate bug for it as it is already in dev and thus not tightly related with this PR |
Are you not refactoring the approval modals in the sprint as well? |
This'll be fixed in #3363. |
…3363) * fix: Dont estimate gas in ApproveTxModal if checkbox is not checked * fix: revert to using custom hook for canTxExecute * fix: Remove local state from useCanTxExecute custom hook
@francovenica this issue #2935 is solved by this PR 🎉 |
All these issues have been fix so far New issue: The max priority fee can be left empty. MM still receives the default value of 2.5 if this happens |
Hey @francovenica , regarding your last comments:
We are sending 2.5 as the default value. I will add this information to the PR description.
This issue occurs in all the other modal inputs. I suggest to open a ticket to address it. |
What it solves
Resolves #3185
How this PR fixes it
How to test it
Affected modals
Issues Found:
No new tickets, just listing the comments with the reported issues. All the issues apply to rinkeby, xdai, eth
issues tested and fixed
Safes used so far:
rin:0x9913B9180C20C6b0F21B6480c84422F6ebc4B808
rin:0x51c125bb0D2FB3394129e4AAa97BbF91e737d9b2
rin:0xFfDC1BcdeC18b1196e7FA04246295DE3A17972Ac
rin:0x37A53791b3667c803318D083D339C236781D57D1
gno:0xB8d760a90a5ed54D3c2b3EFC231277e99188642A