Skip to content

test(evm): complete the coverage classification and differential budget - #381

Merged
jxom merged 2 commits into
jxom/evm2-wasmfrom
jxom/evm2-coverage
Aug 6, 2026
Merged

test(evm): complete the coverage classification and differential budget#381
jxom merged 2 commits into
jxom/evm2-wasmfrom
jxom/evm2-coverage

Conversation

@jxom

@jxom jxom commented Aug 6, 2026

Copy link
Copy Markdown
Member

Raises the generated differential corpus to 512 cases and pins the system addresses the binding publishes as literals against evm2's own, so an upstream change fails rather than shipping a wrong address.

Completes O9's coverage classification: no unwrapped capability remains now that the block-state surface has landed.

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ox Error Error Aug 6, 2026 2:24am

Request Review

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5ae6f34423

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread wasm/evm2/tests/oracle.rs
#[test]
fn match_what_the_binding_publishes() {
// Update `src/evm/System.ts` when one of these fails.
assert_eq!(address(SYSTEM_ADDRESS), "0xfffffffffffffffffffffffffffffffffffffffe");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Compare the published TypeScript constants directly

When an evm2 upgrade changes one of these constants, this test can be made green by updating only the duplicated Rust literal while leaving src/evm/System.ts stale; accidental edits to the TypeScript exports are likewise invisible. The test never reads the binding it claims to check, so record the upstream values in a shared/generated fixture and assert the System exports against that fixture to enforce the required evm2 mapping.

AGENTS.md reference: AGENTS.md:L49-L49

Useful? React with 👍 / 👎.

@pkg-pr-new

pkg-pr-new Bot commented Aug 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/ox@381

commit: f0419eb

@jxom
jxom merged commit 3228787 into jxom/evm2-wasm Aug 6, 2026
13 of 15 checks passed
@jxom
jxom deleted the jxom/evm2-coverage branch August 6, 2026 02:20
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.

1 participant