loomchain icon indicating copy to clipboard operation
loomchain copied to clipboard

eth_getTransactionReceipt & eth_getTransactionByHash resolve caller address differently

Open enlight opened this issue 6 years ago • 1 comments

eth_getTransactionReceipt and eth_getTransactionByHash (as well as eth_getBlockByNumber among others that contain full tx details) return mismatched from addresses for EVM calls/deploys. The from on the tx receipt is the local address, while the from on the tx object is the eth address, these should be consistent everywhere. So we need to make sure that eth addresses are mapped to a local address in eth_getTransactionByHash, eth_getBlockByNumber etc.

enlight avatar Oct 29 '19 08:10 enlight

Addressed in https://github.com/loomnetwork/loomchain/pull/1589

Sriep avatar Nov 26 '19 13:11 Sriep