Add Information Icon to identify Failed txns and txns with a reversal
Add Information Icon for Partial Execution Transactions
Overview
This issue addresses the need to identify transactions with partial execution using a yellow information icon. The icon should provide a tooltip indicating that one or more errors occurred during contract execution.
Details
-
Add Yellow Information Icon:
- For transactions with partial execution, add a yellow information icon.
- The icon should have a tooltip with the text: "One or more errors in the contract execution."
-
Example Transaction:
- An example of a transaction that matches this criteria: Example Transaction
-
Current UI:
- The current UI for transactions:
- The current UI for transactions:
-
Existing Icons:
- Transactions that failed already have an icon.
- We are missing the icon and marking for transactions with partial execution.
Expected Outcome
-
Yellow Information Icon:
- Add a yellow information icon next to transactions with partial execution.
- Tooltip: "One or more errors in the contract execution."
-
UI Consistency:
- Ensure that the new icon is consistent with the existing iconography for failed transactions.
The problem we have here is that the main transaction query comes with status: "0x1" (Which means success) but the internal transactions response comes with error: "Reverted" and currently there's no way of knowing a transaction was partially reverted.
@tomtomcrypto, do you think it is possible to add this information in the main transaction query? I mean, the error: "Reverted" from any internal transaction.
https://api.testnet.teloscan.io/v1/transactions?limit=50&sort=desc&includePagination=true&includeAbi=true&key=0