From 3f540c67576489a0c2f639d52bd83152cbc6d8fe Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 15 Nov 2018 00:17:28 +0000 Subject: [PATCH] Disable libeci for now Hera ensures ECI conformance --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 279fedf..0019815 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,9 +15,9 @@ fn validate_contract(code: &[u8]) -> bool { } fn inject_metering(code: &[u8]) -> Result, parity_wasm::elements::Error> { - if !validate_contract(code) { - return Err(parity_wasm::elements::Error::Other("Contract doesn't meet ECI/EEI restrictions.")); - } + //if !validate_contract(code) { + // return Err(parity_wasm::elements::Error::Other("Contract doesn't meet ECI/EEI restrictions.")); + //} let module = parity_wasm::deserialize_buffer(&code)?;