If there is no asset change (token approval as an example), tenderly does not return Asset change object which contains decimals, so for approval no decimals are provided, models assume 0 decimals places and get the summary wrong.
Example transaction:
0x6661abcb5d7c35e08d3bf70b894e2e3cf0977ba4f203d966cd3db1bf1301f623
Proposed solution:
Add web3 call to get token name and decimals if it is missing in tenderly object (Smart contract is provided in tenderly return object)
If there is no asset change (token approval as an example), tenderly does not return Asset change object which contains decimals, so for approval no decimals are provided, models assume 0 decimals places and get the summary wrong.
Example transaction: 0x6661abcb5d7c35e08d3bf70b894e2e3cf0977ba4f203d966cd3db1bf1301f623
Proposed solution:
Add web3 call to get token name and decimals if it is missing in tenderly object (Smart contract is provided in tenderly return object)
Frequency: High Severity: High