Skip to content

Commit 66826b4

Browse files
committed
revert: restore pyproject.toml to match main branch
Remove all changes to pyproject.toml to align with upstream main branch. This ensures CI compatibility and prevents configuration conflicts.
1 parent 4dc4876 commit 66826b4

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,15 @@ ignore-words-list = "ingenuous"
157157
[tool.pytest.ini_options]
158158
console_output_style = "count"
159159
minversion = "7.0"
160-
python_files = ["test_*.py"]
161-
testpaths = ["src"]
160+
python_files = [
161+
"test_*.py"
162+
]
163+
testpaths = [
164+
"src"
165+
]
162166
addopts = [
167+
"-p", "pytester",
168+
"-p", "pytest_plugins.eels_resolver",
163169
"--ignore=src/pytest_plugins/consume/test_cache.py",
164170
"--ignore=src/pytest_plugins/consume/direct/",
165171
"--ignore=src/pytest_plugins/consume/simulators/",

tests/benchmark/bloatnet/test_multi_opcode.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ def test_bloatnet_balance_extcodesize(
7878
+ gas_costs.G_WARM_ACCOUNT_ACCESS # Warm EXTCODESIZE (100)
7979
+ gas_costs.G_BASE # POP code size (2)
8080
+ gas_costs.G_BASE # DUP1 before BALANCE (3)
81-
+ gas_costs.G_VERYLOW * 4 # PUSH1 operations (4 * 3)
81+
+ gas_costs.G_VERY_LOW * 4 # PUSH1 operations (4 * 3)
8282
+ gas_costs.G_LOW # MLOAD for salt (3)
83-
+ gas_costs.G_VERYLOW # ADD for increment (3)
83+
+ gas_costs.G_VERY_LOW # ADD for increment (3)
8484
+ gas_costs.G_LOW # MSTORE salt back (3)
8585
+ 10 # While loop overhead
8686
)
@@ -224,9 +224,9 @@ def test_bloatnet_balance_extcodecopy(
224224
+ gas_costs.G_WARM_ACCOUNT_ACCESS # Warm EXTCODECOPY base (100)
225225
+ gas_costs.G_COPY * 1 # Copy cost for 1 byte (3)
226226
+ gas_costs.G_BASE * 2 # DUP1 before BALANCE, DUP4 for address (6)
227-
+ gas_costs.G_VERYLOW * 8 # PUSH operations (8 * 3 = 24)
227+
+ gas_costs.G_VERY_LOW * 8 # PUSH operations (8 * 3 = 24)
228228
+ gas_costs.G_LOW * 2 # MLOAD for salt twice (6)
229-
+ gas_costs.G_VERYLOW * 2 # ADD operations (6)
229+
+ gas_costs.G_VERY_LOW * 2 # ADD operations (6)
230230
+ gas_costs.G_LOW # MSTORE salt back (3)
231231
+ gas_costs.G_BASE # POP after EXTCODECOPY (2)
232232
+ 10 # While loop overhead

0 commit comments

Comments
 (0)