From 98ff70835cfb7f9dbeabe924f7fe418b9c66dfc0 Mon Sep 17 00:00:00 2001 From: fro Date: Thu, 16 Aug 2018 15:19:35 +0300 Subject: [PATCH] wasm_gasleft_activation_transition -> kip4_transition --- ethcore/src/spec/spec.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ethcore/src/spec/spec.rs b/ethcore/src/spec/spec.rs index cc95a3a9de1..0d8f59fa5bf 100644 --- a/ethcore/src/spec/spec.rs +++ b/ethcore/src/spec/spec.rs @@ -125,8 +125,6 @@ pub struct CommonParams { pub remove_dust_contracts: bool, /// Wasm activation blocknumber, if any disabled initially. pub wasm_activation_transition: BlockNumber, - /// Wasm activation blocknumber, if any disabled initially. - pub wasm_gasleft_activation_transition: BlockNumber, /// Number of first block where KIP-4 rules begin. Only has effect if Wasm is activated. pub kip4_transition: BlockNumber, /// Gas limit bound divisor (how much gas limit can change per block) @@ -196,8 +194,6 @@ impl CommonParams { let mut wasm = ::vm::WasmCosts::default(); if block_number >= self.kip4_transition { wasm.have_create2 = true; - } - if block_number >= self.wasm_gasleft_activation_transition { wasm.have_gasleft = true; } schedule.wasm = Some(wasm); @@ -313,10 +309,6 @@ impl From for CommonParams { BlockNumber::max_value, Into::into ), - wasm_gasleft_activation_transition: p.wasm_gasleft_activation_transition.map_or_else( - BlockNumber::max_value, - Into::into - ), } } }