You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(plugins,tests): Add flag to configure max_gas for fill command (#1470)
* Add flag to configure `max_gas` for fill command
Add fixture for `max_gas` with default of 30_000_000
* Warnings for blockchain and state tests using gas_limit >= 30_000_000
* Set gas_limit from fixture for fill command
* Update CHANGELOG
Update fill command output in docs
* Add env fixture to pytest fill plugin and pass Environment to state tests directly
* Updates for using EnvironmentDefaults
* refactor(plugins/shared): Move block gas limit flag to shared
* refactor(tests): test fixes
* fix(specs): Unit tests
* fix(specs): More unit tests
* fix(types): Change semantics of max block gas limit
* refactor(plugins): Use different max gas defaults for execute/fill
* revert(pytest.ini): Remove filler.env
* fix(tests): Reduce amount of excessive-gas-usage tests
* fix(types): Fix unit tests take 3
* fix(tests): Mark tests timing out as slow
* Update docs for max gas flag
* fix(plugins): Move environment defaults modification in pytest_config
* fix tox
* Apply suggestions from code review
---------
Co-authored-by: Mario Vega <[email protected]>
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,7 @@ This feature can be disabled by using `--disable-strict-exception-matching` for
81
81
- ✨ The `static_filler` plug-in now has support for static state tests (from [GeneralStateTests](https://github.com/ethereum/tests/tree/develop/src/GeneralStateTestsFiller)) ([#1362](https://github.com/ethereum/execution-spec-tests/pull/1362)).
82
82
- ✨ Introduce `pytest.mark.exception_test` to mark tests that contain an invalid transaction or block ([#1436](https://github.com/ethereum/execution-spec-tests/pull/1436)).
83
83
- 🐞 Fix `DeprecationWarning: Pickle, copy, and deepcopy support will be removed from itertools in Python 3.14.` by avoiding use `itertools` object in the spec `BaseTest` pydantic model ([#1414](https://github.com/ethereum/execution-spec-tests/pull/1414)).
84
+
- ✨ An optional configuration flag to override the maximum gas limit in the environment for filling or executing tests is now available. The `--block-gas-limit` flag overrides the default block gas limit during filling. The `--transaction-gas-limit` flag overrides the maximum for transactions during execution. ([#1470](https://github.com/ethereum/execution-spec-tests/pull/1470)).
0 commit comments