test_pointer_call_followed_by_direct_call()¶
Documentation for tests/prague/eip7702_set_code_tx/test_set_code_txs_2.py::test_pointer_call_followed_by_direct_call@ffe48572.
Generate fixtures for these test cases for Bogota with:
If we first call by pointer then direct call, will the call/sload be hot.
The direct call will warm because pointer access marks it warm. But the sload is still cold because storage marked hot from pointer's account in a pointer call.
Under EIP-8037 the inner SSTORE's state part is paid from the
implicit reservoir, so GAS sees execution cost only; see
test_gas_diff_pointer_vs_direct_call.
Source code in tests/prague/eip7702_set_code_tx/test_set_code_txs_2.py
933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 4 forks.