evm: treat all vm errors the same as reverted (#276)

Closes: #274

evm: fix `ExtraEIP` activation (#288)

Closes: #287

Update x/evm/types/utils.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

Add `Failed` utility function and changelog
This commit is contained in:
yihuang
2021-07-15 02:01:05 -04:00
committed by GitHub
co-authored by Federico Kunze Küllmer
parent 9d1ce30ecd
commit 297a35dbdd
12 changed files with 416 additions and 201 deletions
+3 -3
View File
@@ -121,8 +121,8 @@ message MsgEthereumTxResponse {
repeated Log logs = 2;
// returned data from evm function (result or data supplied with revert opcode)
bytes ret = 3;
// reverted flag is set to true when the call has been reverted
bool reverted = 4;
// vm error is the error returned by vm execution
string vm_error = 4;
// gas consumed by the transaction
uint64 gas_used = 5;
}
}