Skip to content

fix(tests): EIP-2537: Update vectors#1063

Merged
marioevz merged 7 commits intomainfrom
update-2537-vectors
Jan 22, 2025
Merged

fix(tests): EIP-2537: Update vectors#1063
marioevz merged 7 commits intomainfrom
update-2537-vectors

Conversation

@marioevz
Copy link
Member

@marioevz marioevz commented Jan 8, 2025

🗒️ Description

MUL precompile JSON files are not deleted as these are now used by calling the MSM precompile instead.

The generated fixtures are identical.

@jochem-brouwer

🔗 Related Issues

None

✅ Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.
  • All: Added an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.
  • Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
  • Tests: A PR with removal of converted JSON/YML tests from ethereum/tests have been opened.
  • Tests: Included the type and version of evm t8n tool used to locally execute test cases: e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
  • Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

Copy link
Member

@jochem-brouwer jochem-brouwer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will approve, LGTM, assuming that the JSONs are copied from ethereum/EIPs#9217 👍 😄

@danceratopz danceratopz added type:bug Something isn't working scope:tests Scope: Changes EL client test cases in `./tests` labels Jan 15, 2025
Copy link
Member

@danceratopz danceratopz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, nice work @marioevz and @jochem-brouwer. The new cross-check is a really nice addition.

I spotted and cleaned up a couple of leftovers from the ruff migration #1058.

@danceratopz
Copy link
Member

Rebased on main to get this fix for CI:

@marioevz marioevz merged commit 0609c7f into main Jan 22, 2025
21 checks passed
@marioevz marioevz deleted the update-2537-vectors branch January 22, 2025 17:04
fselmo pushed a commit to fselmo/execution-spec-tests that referenced this pull request Jan 24, 2025
* fix(tests): EIP-2537 update vectors

* fix(tests): EIP-2537: vector update 2

* feat(tests): EIP-2537: add cross-check to verify JSON gas values

* Update tests/prague/eip2537_bls_12_381_precompiles/conftest.py

* docs(tests): add source of 2537 JSON test vectors

* style(tests): remove superflous line-too-long (E501) pragmas

Ruff does not apply E501 to lines that consist of a single "word"

* style(tests): clean-up git merge artifact from docstring

---------

Co-authored-by: danceratopz <danceratopz@gmail.com>
kclowes pushed a commit to kclowes/execution-spec-tests that referenced this pull request Oct 20, 2025
* fix(tests): EIP-2537 update vectors

* fix(tests): EIP-2537: vector update 2

* feat(tests): EIP-2537: add cross-check to verify JSON gas values

* Update tests/prague/eip2537_bls_12_381_precompiles/conftest.py

* docs(tests): add source of 2537 JSON test vectors

* style(tests): remove superflous line-too-long (E501) pragmas

Ruff does not apply E501 to lines that consist of a single "word"

* style(tests): clean-up git merge artifact from docstring

---------

Co-authored-by: danceratopz <danceratopz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:tests Scope: Changes EL client test cases in `./tests` type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants