Skip to content

Commit

Permalink
adding gas to tx gets everything passing
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Jan 14, 2025
1 parent 96c2be9 commit 1a2026b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ dependencies = [
"pyyaml>=6.0.2,<7",
"types-pyyaml>=6.0.12.20240917,<7",
"pytest-json-report>=1.5.0,<2",
# TODO: bump questionary to a newer release, when it becomes available.
# TODO: bump questionary to a newer release, when it becomes available.
# The current release questionary 2.0.1 requires `prompt_toolkit = ">=2.0,<=3.0.36"`.
# This conflicts with ipython; while not an EEST dependency, ipython a very useful tool:
# https://ethereum.github.io/execution-spec-tests/main/dev/interactive_usage/
"questionary @ git+https://github.com/tmbo/questionary@ff22aeae1cd9c1c734f14329934e349bec7873bc",
"prompt_toolkit>=3.0.48,<4", # ensure we have a new enough version for ipython
"prompt_toolkit>=3.0.48,<4", # ensure we have a new enough version for ipython
]

[project.urls]
Expand Down Expand Up @@ -119,4 +119,4 @@ ignore = ["D205", "D203", "D212", "D415", "C901"]

[tool.mypy]
mypy_path = ["src", "$MYPY_CONFIG_FILE_DIR/stubs"]
plugins = ["pydantic.mypy"]
plugins = ["pydantic.mypy"]
5 changes: 1 addition & 4 deletions tests/frontier/opcodes/test_calldatacopy.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"""test `CALLDATACOPY` opcode."""

from re import M

import pytest

from ethereum_test_forks import Fork
Expand All @@ -10,7 +8,6 @@
from ethereum_test_tools.vm.opcode import Opcodes as Op


# @pytest.mark.valid_from("Byzantium")
@pytest.mark.parametrize(
"code,tx_data,code_address_storage,to_address_storage",
[
Expand Down Expand Up @@ -165,7 +162,7 @@ def test_calldatacopy(

tx = Transaction(
data=tx_data,
gas_limit=0x100_000,
gas_limit=0x100_000_000,
gas_price=0x0A,
protected=fork >= Byzantium,
sender=pre.fund_eoa(),
Expand Down

0 comments on commit 1a2026b

Please sign in to comment.