loomchain
loomchain copied to clipboard
eth_getTransactionReceipt & eth_getTransactionByHash resolve caller address differently
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.
Addressed in https://github.com/loomnetwork/loomchain/pull/1589