From 60d259c9d5e882578ddf876457f144f13b462373 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 24 Jun 2016 14:20:50 +0200 Subject: [PATCH] Update SF blocknumber to 1800000. --- ethcore/src/block.rs | 2 +- ethcore/src/client/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethcore/src/block.rs b/ethcore/src/block.rs index b6e5ba46d..f72eaa32a 100644 --- a/ethcore/src/block.rs +++ b/ethcore/src/block.rs @@ -288,7 +288,7 @@ impl<'x> OpenBlock<'x> { /// Get the environment info concerning this block. pub fn env_info(&self) -> EnvInfo { // TODO: memoise. - const SOFT_FORK_BLOCK: u64 = 1775000; + const SOFT_FORK_BLOCK: u64 = 1_800_000; EnvInfo { number: self.block.base.header.number, author: self.block.base.header.author.clone(), diff --git a/ethcore/src/client/mod.rs b/ethcore/src/client/mod.rs index 86686cb4c..b5c5d5c0e 100644 --- a/ethcore/src/client/mod.rs +++ b/ethcore/src/client/mod.rs @@ -227,7 +227,7 @@ pub trait BlockChainClient : Sync + Send { /// Get `Some` gas limit of SOFT_FORK_BLOCK, or `None` if chain is not yet that long. fn dao_rescue_block_gas_limit(&self, chain_hash: H256) -> Option { - const SOFT_FORK_BLOCK: u64 = 1775000; + const SOFT_FORK_BLOCK: u64 = 1800000; // shortcut if the canon chain is already known. if self.chain_info().best_block_number > SOFT_FORK_BLOCK + 1000 { return self.block_header(BlockID::Number(SOFT_FORK_BLOCK)).map(|header| HeaderView::new(&header).gas_limit());