forked from cerc-io/laconicd-deprecated
x/evm: StateBD tests (#407)
* draft state_transition * working test * keeper test * statedb rewrite * fix tests * add keeper statedb test * minor changes * x/evm: StateBD tests * try fix * fix stateObject.setState * Update x/evm/types/state_object.go * update stateObject.setState * uncomment test * increase coverage * fix test-import * update rpc tests Co-authored-by: Justin Thompson <justin.thompson12@hotmail.com> Co-authored-by: noot <elizabethjbinks@gmail.com>
This commit is contained in:
co-authored by
Justin Thompson
noot
parent
7b4f712f66
commit
de8d8acf77
@@ -360,9 +360,9 @@ func applyTransaction(
|
||||
|
||||
// Apply the transaction to the current state (included in the env)
|
||||
execResult, err := ethcore.ApplyMessage(vmenv, msg, gp)
|
||||
// NOTE: ignore vm execution error (eg: tx out of gas) as we care only about state transition errors
|
||||
if err != nil {
|
||||
return nil, 0, err
|
||||
// NOTE: ignore vm execution error (eg: tx out of gas at block 51169) as we care only about state transition errors
|
||||
return ðtypes.Receipt{}, 0, nil
|
||||
}
|
||||
|
||||
// Update the state with pending changes
|
||||
|
||||
Reference in New Issue
Block a user