File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
src/ethereum_test_forks/forks
tests/speculative/eip7692_eof_v1 Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -196,9 +196,9 @@ def fn(
196196 return_cost_deducted_prior_execution : bool = False ,
197197 ) -> int :
198198 assert access_list is None , f"Access list is not supported in { cls .name ()} "
199- assert (
200- authorization_list_or_count is None
201- ), f"Authorizations are not supported in { cls . name () } "
199+ assert authorization_list_or_count is None , (
200+ f"Authorizations are not supported in { cls . name () } "
201+ )
202202 intrinsic_cost : int = gas_costs .G_TRANSACTION
203203
204204 if contract_creation :
Original file line number Diff line number Diff line change @@ -375,7 +375,8 @@ def test_eof_calls_eof_mstore(
375375# `blake2f`` is chosen for the test because it fails unless args_size == 213, which is what we are
376376# interested in.
377377blake2f = Address (0x09 )
378- # `p256verify` / RIP-7212 has been in and out of prague and speculative. Hence we need to test explicitly
378+ # `p256verify` / RIP-7212 has been in and out of prague and speculative.
379+ # Hence we need to test explicitly
379380p256verify = Address (0x100 )
380381
381382
Original file line number Diff line number Diff line change @@ -670,7 +670,7 @@ def test_eof_eofcreate_msg_depth(
670670 for more explanations and comments. Most notable deviation from that test is that here
671671 calls and `EOFCREATE`s alternate in order to reach the max depth. `who_fails` decides
672672 whether the failing depth 1024 will be on a call or on an `EOFCREATE` to happen.
673- """
673+ """ # noqa: E501
674674 # Not a precise gas_limit formula, but enough to exclude risk of gas causing the failure.
675675 gas_limit = int (20000000 * (64 / 63 ) ** 1024 )
676676 env = Environment (gas_limit = gas_limit )
Original file line number Diff line number Diff line change @@ -632,7 +632,7 @@ def test_eof_txcreate_msg_depth(
632632 for more explanations and comments. Most notable deviation from that test is that here
633633 calls and `TXCREATE`s alternate in order to reach the max depth. `who_fails` decides
634634 whether the failing depth 1024 will be on a call or on an `TXCREATE` to happen.
635- """
635+ """ # noqa: E501
636636 # Not a precise gas_limit formula, but enough to exclude risk of gas causing the failure.
637637 gas_limit = int (20000000 * (64 / 63 ) ** 1024 )
638638 env = Environment (gas_limit = gas_limit )
You can’t perform that action at this time.
0 commit comments