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 Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
account-state Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
benches Fix ethcore/benches build. (#10964) 2019-08-13 15:27:28 +02:00
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 Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
blockchain Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
builtin Fix misc compile warnings (#11258) 2019-11-14 00:01:21 +01:00
call-contract Update ethereum types to 0.8.0 version (#11139) 2019-10-08 14:18:44 +02:00
client-traits Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
db Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
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 [Trace] Distinguish between create and create2 (#11311) 2020-01-13 11:10:24 +01:00
executive-state [Trace] Distinguish between create and create2 (#11311) 2020-01-13 11:10:24 +01:00
light Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
machine [Trace] Distinguish between create and create2 (#11311) 2020-01-13 11:10:24 +01:00
node-filter Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
pod Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
private-tx Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
res Fix esoteric test config variable (#11292) 2020-01-10 15:12:32 +01:00
service Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
snapshot Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
spec [Trace] Distinguish between create and create2 (#11311) 2020-01-13 11:10:24 +01:00
src [Trace] Distinguish between create and create2 (#11311) 2020-01-13 11:10:24 +01:00
state-db Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
sync Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
trace [Trace] Distinguish between create and create2 (#11311) 2020-01-13 11:10:24 +01:00
trie-vm-factories Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
types Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00
verification Set the block gas limit to the value returned by a contract call (#10928) 2020-01-13 11:27:03 +01:00
vm [Trace] Distinguish between create and create2 (#11311) 2020-01-13 11:10:24 +01:00
wasm [Trace] Distinguish between create and create2 (#11311) 2020-01-13 11:10:24 +01:00
Cargo.toml Update to latest kvdb-*: no default column, DBValue is Vec (#11312) 2019-12-20 12:27:38 +01:00