(Fix) Executed transactions status#1552
Conversation
|
CLA Assistant Lite All Contributors have signed the CLA. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
|
Travis automatic deployment: |
1 similar comment
|
Travis automatic deployment: |
| awaiting_execution: 'Awaiting execution', | ||
| pending: 'Pending', | ||
| } | ||
| cacatua: 'Cacatúa', |
There was a problem hiding this comment.
maybe we can leave it and do this
if (Math.random() < 0.01) {
status = status.cacatua
}
- bye bye birdie
|
Travis automatic deployment: |
|
Travis automatic deployment: |
| import { makeConfirmation } from 'src/logic/safe/store/models/confirmation' | ||
| import { storeExecutedTx, storeSignedTx, storeTx } from 'src/logic/safe/store/actions/transactions/pendingTransactions' | ||
|
|
||
| const processTransaction = ({ approveAndExecute, notifiedTransaction, safeAddress, tx, userAddress }) => async ( |
There was a problem hiding this comment.
If you can type this too that would be nice, if results complicated just leave it for later
- based on `createTransaction` action types
|
Travis automatic deployment: |
|
Travis automatic deployment: |
|
Travis automatic deployment: |
|
Travis automatic deployment: |
|
Travis automatic deployment: |
|
Travis automatic deployment: |
|
Travis automatic deployment: |
|
Stats looks good now. For 2 or more owners. The mock transaction has been gone for a while so after a few secs the tx just show up with the "Awaiting confirmations" status. If there are 3 or more people. Any tx signed "off-chain" won't trigger a change in the tx status. Looks good to me |
This PR closes #1490 also, closes #1501, and closes #1342 too, by:
pendingTransactions.tsactions file.storeSignedTxwhich is the tx to be executed but still not mined, aka "pending tx",storeExecutedTxwhich will optimistically update the "pending tx" with the txreceipt