diff --git a/tests/core/helpers.py b/tests/core/helpers.py index c859bb0768..b4a615b00b 100644 --- a/tests/core/helpers.py +++ b/tests/core/helpers.py @@ -36,5 +36,9 @@ def fill_block(chain, from_, key, gas, data): break else: raise exc + else: + new_header = chain.get_vm().get_block().header + assert new_header.gas_used > 0 + assert new_header.gas_used <= new_header.gas_limit assert chain.get_vm().get_block().header.gas_used > 0