Revert "[Trace] Distinguish between create and create2 (#11311)" (#11427)

This reverts commit 87e1080581.
This commit is contained in:
David
2020-01-30 15:21:29 +01:00
committed by GitHub
parent bf44f024c6
commit 5d4993b0f8
23 changed files with 148 additions and 290 deletions

View File

@@ -52,7 +52,7 @@ use pod::PodState;
use rlp::{Rlp, RlpStream};
use trace::{NoopTracer, NoopVMTracer};
use trie_vm_factories::Factories;
use vm::{EnvInfo, ActionType, ActionValue, ActionParams, ParamsType};
use vm::{EnvInfo, CallType, ActionValue, ActionParams, ParamsType};
use crate::{
Genesis,
@@ -163,7 +163,7 @@ fn run_constructors<T: Backend>(
value: ActionValue::Transfer(Default::default()),
code: Some(Arc::new(constructor.clone())),
data: None,
action_type: ActionType::Create,
call_type: CallType::None,
params_type: ParamsType::Embedded,
};