increase block gas limit (#2597)

This commit is contained in:
thiolliere
2019-05-15 18:11:05 +02:00
committed by Gavin Wood
parent bc325eca66
commit 2893a613c2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
};
+1 -1
View File
@@ -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.