test_selfdestruct_not_created_in_same_tx_with_revert()¶
Documentation for tests/cancun/eip6780_selfdestruct/test_selfdestruct_revert.py::test_selfdestruct_not_created_in_same_tx_with_revert@verkle@v0.0.6.
Generate fixtures for these test cases for Cancun with:
Cancun only:
fill -v tests/cancun/eip6780_selfdestruct/test_selfdestruct_revert.py::test_selfdestruct_not_created_in_same_tx_with_revert --fork=Cancun --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Cancun:
fill -v tests/cancun/eip6780_selfdestruct/test_selfdestruct_revert.py::test_selfdestruct_not_created_in_same_tx_with_revert --until=Cancun
Same test as selfdestruct_created_in_same_tx_with_revert except selfdestructable contract is pre-existing
Source code in tests/cancun/eip6780_selfdestruct/test_selfdestruct_revert.py
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 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Skipped Parameters
For more concise readability, the table below does not list the following parameter values:
fork, blockchain_test, state_test, state_test_only, eof_test, eof_state_test.
| Test ID | selfdestruct_on_outer_call |
|---|---|
| no_outer_selfdestruct | 0 |
| outer_selfdestruct_before_inner_call | 1 |
| outer_selfdestruct_after_inner_call | 2 |
| no_outer_selfdestruct | 0 |
| outer_selfdestruct_before_inner_call | 1 |
| outer_selfdestruct_after_inner_call | 2 |