WA-521 Disabling tx-history-service tracker for daily limit operations
This commit is contained in:
parent
51c938a5d6
commit
cd9c759de9
|
@ -66,12 +66,15 @@ export const executeDailyLimit = async (
|
||||||
const gas = await calculateGasOf(dailyLimitData, sender, dailyLimitModule.address)
|
const gas = await calculateGasOf(dailyLimitData, sender, dailyLimitModule.address)
|
||||||
const gasPrice = await calculateGasPrice()
|
const gasPrice = await calculateGasPrice()
|
||||||
|
|
||||||
const txHash = await dailyLimitModule.executeDailyLimit(0, to, valueInWei, { from: sender, gas, gasPrice })
|
const txReceipt = await dailyLimitModule.executeDailyLimit(0, to, valueInWei, { from: sender, gas, gasPrice })
|
||||||
checkReceiptStatus(txHash.tx)
|
checkReceiptStatus(txReceipt.tx)
|
||||||
|
|
||||||
|
/*
|
||||||
|
// Temporarily disabled for daily limit operations
|
||||||
const operation = 0 // CALL for all currencies
|
const operation = 0 // CALL for all currencies
|
||||||
const data = '' // empty for ETH
|
const data = '' // empty for ETH
|
||||||
await submitOperation(safeAddress, to, valueInWei, data, operation, nonce, txHash, sender, 'execution')
|
|
||||||
|
|
||||||
return txHash
|
await submitOperation(safeAddress, to, Number(valueInWei), data, operation, nonce, txReceipt.tx, sender, 'execution')
|
||||||
|
*/
|
||||||
|
return txReceipt.tx
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,6 +61,8 @@ describe('Transactions Suite', () => {
|
||||||
])
|
])
|
||||||
testTransactionFrom(transactions, 1, 'Add Owner Third account', nonce + 100, 0, safeAddress, secondTxData, false, secondTxConfirmations)
|
testTransactionFrom(transactions, 1, 'Add Owner Third account', nonce + 100, 0, safeAddress, secondTxData, false, secondTxConfirmations)
|
||||||
|
|
||||||
|
localStorage.clear()
|
||||||
|
|
||||||
store.dispatch(fetchTransactions())
|
store.dispatch(fetchTransactions())
|
||||||
transactions = safeTransactionsSelector(store.getState(), { safeAddress })
|
transactions = safeTransactionsSelector(store.getState(), { safeAddress })
|
||||||
testSizeOfTransactions(transactions, 2)
|
testSizeOfTransactions(transactions, 2)
|
||||||
|
|
Loading…
Reference in New Issue