openethereum/ethcore
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
..
account-db
account-state
benches
block-gas-limit Set the block gas limit to the value returned by a contract call (#10928) 2020-01-13 11:27:03 +01:00
block-reward
blockchain
builtin
call-contract
client-traits
db
engine Set the block gas limit to the value returned by a contract call (#10928) 2020-01-13 11:27:03 +01:00
engines Set the block gas limit to the value returned by a contract call (#10928) 2020-01-13 11:27:03 +01:00
evm
executive-state
light
machine
node-filter
pod
private-tx
res
service
snapshot
spec
src
state-db
sync
trace
trie-vm-factories
types
verification Set the block gas limit to the value returned by a contract call (#10928) 2020-01-13 11:27:03 +01:00
vm
wasm
Cargo.toml