From 2893a613c271e5fcf7af7fedca89df60cdfbfb75 Mon Sep 17 00:00:00 2001 From: thiolliere Date: Wed, 15 May 2019 18:11:05 +0200 Subject: [PATCH] increase block gas limit (#2597) --- substrate/node/runtime/src/lib.rs | 2 +- substrate/srml/contract/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/node/runtime/src/lib.rs b/substrate/node/runtime/src/lib.rs index 7b7fe99b4d..a032f34cee 100644 --- a/substrate/node/runtime/src/lib.rs +++ b/substrate/node/runtime/src/lib.rs @@ -59,7 +59,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_name: create_runtime_str!("substrate-node"), authoring_version: 10, spec_version: 80, - impl_version: 80, + impl_version: 81, apis: RUNTIME_API_VERSIONS, }; diff --git a/substrate/srml/contract/src/lib.rs b/substrate/srml/contract/src/lib.rs index 2516f87045..0cd3b0a325 100644 --- a/substrate/srml/contract/src/lib.rs +++ b/substrate/srml/contract/src/lib.rs @@ -586,7 +586,7 @@ decl_storage! { /// The maximum nesting level of a call/create stack. MaxDepth get(max_depth) config(): u32 = 100; /// The maximum amount of gas that could be expended per block. - BlockGasLimit get(block_gas_limit) config(): T::Gas = T::Gas::sa(1_000_000); + BlockGasLimit get(block_gas_limit) config(): T::Gas = T::Gas::sa(10_000_000); /// Gas spent so far in this block. GasSpent get(gas_spent): T::Gas; /// Current cost schedule for contracts.