Skip to content

evmc: Bump ABI version to 13#1567

Merged
chfast merged 1 commit into
masterfrom
evmc/abi-13
Jun 13, 2026
Merged

evmc: Bump ABI version to 13#1567
chfast merged 1 commit into
masterfrom
evmc/abi-13

Conversation

@chfast

@chfast chfast commented Jun 12, 2026

Copy link
Copy Markdown
Member

The ABI changed incompatibly since EVMC 12 (evmone 0.21.0) while the version number stayed at 12, so a host built against ABI-12 headers would load the new VM cleanly and then read structs at wrong offsets:

This is the first ABI bump since EVMC was merged into evmone, so the version no longer tracks the standalone EVMC project's major version; the doc comment is updated accordingly.

The ABI changed incompatibly since EVMC 12 (evmone 0.21.0) while the
version number stayed at 12, so a host built against ABI-12 headers
would load the new VM cleanly and then read structs at wrong offsets:

- evmc_tx_context layout changed: the TXCREATE initcodes fields were
  removed (#1514) and block_slot_number was added for EIP-7843 (#1517).
- evmc_result lost the reserved optional-data storage (#1529).
- EVMC_EOFCREATE was removed from evmc_call_kind, freeing value 5 for
  future reuse (#1515).
- The EVMC_AMSTERDAM revision was added (#1508).

This is the first ABI bump since EVMC was merged into evmone, so the
version no longer tracks the standalone EVMC project's major version;
the doc comment is updated accordingly.
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.36%. Comparing base (3fb8942) to head (7c8402b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1567   +/-   ##
=======================================
  Coverage   97.36%   97.36%           
=======================================
  Files         163      163           
  Lines       14488    14488           
  Branches     3385     3385           
=======================================
  Hits        14106    14106           
  Misses        280      280           
  Partials      102      102           
Flag Coverage Δ
eest-develop 89.66% <ø> (ø)
eest-develop-gmp 26.40% <ø> (ø)
eest-legacy 17.72% <ø> (ø)
eest-libsecp256k1 28.05% <ø> (ø)
eest-stable 89.75% <ø> (ø)
evmone-unittests 92.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
core 95.95% <ø> (ø)
tooling 90.21% <ø> (ø)
tests 99.79% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps the EVMC ABI version constant to 13 to reflect multiple incompatible EVMC API/ABI changes that occurred while the ABI version remained at 12, preventing hosts built against older headers from accidentally loading a newer VM and misinterpreting struct layouts.

Changes:

  • Update EVMC_ABI_VERSION from 12 to 13.
  • Update the ABI-version doc comment to clarify the versioning policy and historical linkage to the standalone EVMC project.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chfast chfast merged commit 8b09e50 into master Jun 13, 2026
24 checks passed
@chfast chfast deleted the evmc/abi-13 branch June 13, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants