@murryarc pointed out on telegram that the values of gasUsed from hmyv2_getTransactionReceipt and hmy_getTransactionReceipt differ.
after some investigation it seems that;
hmyv2_getTransactionReceipt returns gasUsed as decimal
hmy_getTransactionReceipt returns gasUsed as hexadecimal
The explorer transformed the decimal one with the hex base, leading to an error in the gasUsed and the resulting transactionFee calculated.
@murryarc pointed out on telegram that the values of gasUsed from hmyv2_getTransactionReceipt and hmy_getTransactionReceipt differ.
after some investigation it seems that; hmyv2_getTransactionReceipt returns gasUsed as decimal hmy_getTransactionReceipt returns gasUsed as hexadecimal
The explorer transformed the decimal one with the hex base, leading to an error in the gasUsed and the resulting transactionFee calculated.
I created an example here: 0x5733742fdea3cd698f2c297717cf5ca60aac7753bf29226b11180ff28e9f91ac
This PR fixes this issue.