evm: change Hook to use tx Receipt (#849)

* Change evm_hook to use Transaction Receipt

* use ethtypes.Receipt

* wip changes

* fix receipt creation

* receipt fixes

* check for contract addr

* changelog

* test

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
This commit is contained in:
Ramiro Carlucho
2022-01-03 17:18:13 +01:00
committed by GitHub
co-authored by Federico Kunze Küllmer Federico Kunze Küllmer
parent 9f4828e5bb
commit b9804505a3
17 changed files with 287 additions and 1734 deletions
+1
View File
@@ -491,6 +491,7 @@ MsgEthereumTxResponse defines the Msg/EthereumTx response type.
| `ret` | [bytes](#bytes) | | returned data from evm function (result or data supplied with revert opcode) |
| `vm_error` | [string](#string) | | vm error is the error returned by vm execution |
| `gas_used` | [uint64](#uint64) | | gas consumed by the transaction |
| `contract_address` | [string](#string) | | hex address of the contract created / called |