mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 19:51:05 +00:00
increase block gas limit (#2597)
This commit is contained in:
@@ -59,7 +59,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|||||||
impl_name: create_runtime_str!("substrate-node"),
|
impl_name: create_runtime_str!("substrate-node"),
|
||||||
authoring_version: 10,
|
authoring_version: 10,
|
||||||
spec_version: 80,
|
spec_version: 80,
|
||||||
impl_version: 80,
|
impl_version: 81,
|
||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -586,7 +586,7 @@ decl_storage! {
|
|||||||
/// The maximum nesting level of a call/create stack.
|
/// The maximum nesting level of a call/create stack.
|
||||||
MaxDepth get(max_depth) config(): u32 = 100;
|
MaxDepth get(max_depth) config(): u32 = 100;
|
||||||
/// The maximum amount of gas that could be expended per block.
|
/// 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.
|
/// Gas spent so far in this block.
|
||||||
GasSpent get(gas_spent): T::Gas;
|
GasSpent get(gas_spent): T::Gas;
|
||||||
/// Current cost schedule for contracts.
|
/// Current cost schedule for contracts.
|
||||||
|
|||||||
Reference in New Issue
Block a user