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

@@ -20,7 +20,7 @@ use super::test_common::*;
use account_state::{Backend as StateBackend, State};
use evm::Finalize;
use vm::{
self, ActionParams, ActionType, Schedule, Ext,
self, ActionParams, CallType, Schedule, Ext,
ContractCreateResult, EnvInfo, MessageCallResult,
CreateContractAddress, ReturnData,
};
@@ -172,7 +172,7 @@ impl<'a, T: 'a, V: 'a, B: 'a> Ext for TestExt<'a, T, V, B>
value: Option<U256>,
data: &[u8],
_code_address: &Address,
_call_type: ActionType,
_call_type: CallType,
_trap: bool
) -> Result<MessageCallResult, vm::TrapKind> {
self.callcreates.push(CallCreate {