Extract blockchain from ethcore (#10114)
* Split blockchain & db from ethcore. * Clean up blockchain deps. * Missing docs. * Fix blockchain tests. * Make other crates compile. * Remove some re-exports. * Remove types re-export from ethcore. * Remove EVM dependency from transaction. * Merge ethcore-transaction with common-types. * Clean-up ethcore deps a bit. * remove ethcore from cargo.toml * Update ethcore/blockchain/src/lib.rs Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com> * Address review comments. * Update DB comment. * Add tracking issue to the TODO and fix typo. * Common naming for common types. * Update ethcore/db/src/keys.rs Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com> * Update ethcore/blockchain/src/generator.rs Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com> * Try to fix beta tests.
This commit is contained in:
committed by
Afri Schoedon
parent
3090324366
commit
3650f2d51c
@@ -31,7 +31,7 @@ use ethtrie::{TrieFactory, TrieDB, SecTrieDB, Result as TrieResult};
|
||||
use pod_account::*;
|
||||
use rlp::{RlpStream, encode};
|
||||
use lru_cache::LruCache;
|
||||
use basic_account::BasicAccount;
|
||||
use types::basic_account::BasicAccount;
|
||||
|
||||
use std::cell::{RefCell, Cell};
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ use std::fmt;
|
||||
use std::sync::Arc;
|
||||
use hash::{KECCAK_NULL_RLP, KECCAK_EMPTY};
|
||||
|
||||
use receipt::{Receipt, TransactionOutcome};
|
||||
use types::receipt::{Receipt, TransactionOutcome};
|
||||
use machine::EthereumMachine as Machine;
|
||||
use vm::EnvInfo;
|
||||
use error::Error;
|
||||
@@ -38,7 +38,7 @@ use pod_state::{self, PodState};
|
||||
use types::basic_account::BasicAccount;
|
||||
use executed::{Executed, ExecutionError};
|
||||
use types::state_diff::StateDiff;
|
||||
use transaction::SignedTransaction;
|
||||
use types::transaction::SignedTransaction;
|
||||
use state_db::StateDB;
|
||||
use factory::VmFactory;
|
||||
|
||||
@@ -1316,7 +1316,7 @@ mod tests {
|
||||
use machine::EthereumMachine;
|
||||
use vm::EnvInfo;
|
||||
use spec::*;
|
||||
use transaction::*;
|
||||
use types::transaction::*;
|
||||
use ethcore_logger::init_log;
|
||||
use trace::{FlatTrace, TraceError, trace};
|
||||
use evm::CallType;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
//! Execution environment substate.
|
||||
use std::collections::HashSet;
|
||||
use ethereum_types::Address;
|
||||
use log_entry::LogEntry;
|
||||
use types::log_entry::LogEntry;
|
||||
use evm::{Schedule, CleanDustMode};
|
||||
use super::CleanupMode;
|
||||
|
||||
@@ -69,7 +69,7 @@ impl Substate {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::Substate;
|
||||
use log_entry::LogEntry;
|
||||
use types::log_entry::LogEntry;
|
||||
|
||||
#[test]
|
||||
fn created() {
|
||||
|
||||
Reference in New Issue
Block a user