fix: several issues with the passing receipt to hooks change (#869)

Closes: #868

Solution:
- contract address in receipt should only be the newly created contract
- fix the order of operations in state transition
- compute contract address in `ApplyTransaction` on the fly

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
yihuang
2022-01-04 12:02:41 +01:00
committed by GitHub
co-authored by Federico Kunze Küllmer
parent 7ec5e5fdef
commit 7c53e32c78
6 changed files with 1721 additions and 207 deletions
-2
View File
@@ -169,6 +169,4 @@ message MsgEthereumTxResponse {
string vm_error = 4;
// gas consumed by the transaction
uint64 gas_used = 5;
// hex address of the contract created / called
string contract_address = 6;
}