test_contract_creation_with_access_list()¶
Documentation for tests/amsterdam/eip7981_increase_access_list_cost/test_transaction_validity.py::test_contract_creation_with_access_list@26332146.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7981_increase_access_list_cost/test_transaction_validity.py::test_contract_creation_with_access_list --fork Amsterdam
Test the intrinsic boundary of a contract-creating transaction with an access list.
The EIP-7981 access list data cost stacks on top of the creation intrinsic (creation access and init code charges). The created account's state charge is applied at the top frame, after intrinsic validation, so the exact-gas arm funds it separately while the off-by-one arm pins the intrinsic requirement alone.
Source code in tests/amsterdam/eip7981_increase_access_list_cost/test_transaction_validity.py
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 | |
Parametrized Test Cases¶
This test generates 4 parametrized test cases across 1 fork.