Fixing evmbin compilation and added standard build. (#4561)

This commit is contained in:
Tomasz Drwięga
2017-02-15 16:58:42 +01:00
committed by Gav Wood
parent 895298fc49
commit efb95a59be
6 changed files with 18 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
[package]
name = "evm"
name = "evmbin"
description = "Parity's EVM implementation"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]

View File

@@ -31,7 +31,7 @@ pub struct FakeExt {
impl Default for FakeExt {
fn default() -> Self {
FakeExt {
schedule: Schedule::new_homestead_gas_fix(),
schedule: Schedule::new_post_eip150(usize::max_value(), true, true, true),
store: HashMap::new(),
depth: 1,
}
@@ -51,8 +51,8 @@ impl Ext for FakeExt {
unimplemented!();
}
fn exists_and_not_null(&self, address: &Address) -> bool {
unimplemented!();
fn exists_and_not_null(&self, _address: &Address) -> bool {
unimplemented!();
}
fn origin_balance(&self) -> U256 {

View File

@@ -21,7 +21,6 @@
extern crate ethcore;
extern crate rustc_serialize;
extern crate docopt;
#[macro_use]
extern crate ethcore_util as util;
mod ext;