openethereum/ethcore/engines/authority-round
Vladimir Komendantskiy 73354d8d93 Set the block gas limit to the value returned by a contract call (#10928)
* Block gas limit contract

Lower gas limit if TxPermission.limitBlockGas.

Call blockGasLimit before every block.

Make the block gas limit contract a separate config option.

Add `info` level logging of block gas limit switching

block-gas-limit subcrate and responses to review comments

simplified call_contract_before

moved block_gas_limit_contract_transitions to AuRa params

removed call_contract_before

Update and fix test_verify_block.

Remove some unused imports and functions.

* Move gas limit override check to verify_block_basic.

Co-authored-by: Andreas Fackler <afck@users.noreply.github.com>
2020-01-13 11:27:03 +01:00
..
src Set the block gas limit to the value returned by a contract call (#10928) 2020-01-13 11:27:03 +01:00
Cargo.toml Set the block gas limit to the value returned by a contract call (#10928) 2020-01-13 11:27:03 +01:00