test_bal_withdrawal_and_value_transfer_same_address()¶
Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip4895.py::test_bal_withdrawal_and_value_transfer_same_address@20373115.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip4895.py::test_bal_withdrawal_and_value_transfer_same_address --fork Amsterdam
Ensure BAL captures both value transfer and withdrawal to same address.
Alice starts with 1 ETH, Bob starts with 0. Alice sends 5 gwei to Bob. Bob receives withdrawal of 10 gwei. Bob ends with 15 gwei (5 from tx + 10 from withdrawal).
Source code in tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip4895.py
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 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.