Skip to content

Commit

Permalink
fix test fork to cancun. correct name on test
Browse files Browse the repository at this point in the history
  • Loading branch information
jwasinger authored and danceratopz committed Jul 6, 2023
1 parent faee9d2 commit 81d6a22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fillers/eips/eip6780/eip6780.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
from typing import Dict

from ethereum_test_forks import ShanghaiToCancunAtTime15k
from ethereum_test_forks import Cancun

from ethereum_test_tools import (
Account,
Expand All @@ -22,7 +22,7 @@
REFERENCE_SPEC_GIT_PATH = "EIPS/eip-6780.md"
REFERENCE_SPEC_VERSION = "2f8299df31bb8173618901a03a8366a3183479b0"

@test_only(fork=ShanghaiToCancunAtTime15k)
@test_only(fork=Cancun)
def test_eip6780_create_selfdestruct_same_tx(fork):
env = Environment(
coinbase="0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
Expand Down Expand Up @@ -92,7 +92,7 @@ def test_eip6780_create_selfdestruct_same_tx(fork):
tag="6780-create-inside-tx",
)

@test_only(fork=ShanghaiToCancunAtTime15k)
@test_only(fork=Cancun)
def test_eip6780_selfdestruct_prev_created(fork):
env = Environment(
coinbase="0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
Expand Down Expand Up @@ -134,5 +134,5 @@ def test_eip6780_selfdestruct_prev_created(fork):
pre=pre,
post=post,
txs=[tx],
tag="6780-create-inside-tx",
tag="6780-prev-created",
)

0 comments on commit 81d6a22

Please sign in to comment.