eth_getTransactionReceipt Impl (#109)

* wip Implement get transaction receipt, waiting on details to finalize

* Fix response format for tx receipt

* Fix duplicate err check

* remove cumulative gas field

* Used byte conversion function
This commit is contained in:
Austin Abell
2019-09-25 14:38:33 -04:00
committed by GitHub
parent 26e90e729e
commit 6cfeb6e754
2 changed files with 51 additions and 3 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ func handleETHTxMsg(ctx sdk.Context, keeper Keeper, msg types.EthereumTxMsg) sdk
// TODO: Consume gas from sender
return sdk.Result{Log: addr.Hex(), GasUsed: msg.Data.GasLimit - leftOverGas}
return sdk.Result{Data: addr.Bytes(), GasUsed: msg.Data.GasLimit - leftOverGas}
}
func refundGas(