Fixing evmbin compilation and added standard build. (#4561)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "evm"
|
||||
name = "evmbin"
|
||||
description = "Parity's EVM implementation"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
extern crate ethcore;
|
||||
extern crate rustc_serialize;
|
||||
extern crate docopt;
|
||||
#[macro_use]
|
||||
extern crate ethcore_util as util;
|
||||
|
||||
mod ext;
|
||||
|
||||
Reference in New Issue
Block a user