Skip to content

chore: update contract verification default to Cancun#29

Merged
lai3d merged 3 commits into
mainfrom
chore/evm-cancun
Mar 11, 2026
Merged

chore: update contract verification default to Cancun#29
lai3d merged 3 commits into
mainfrom
chore/evm-cancun

Conversation

@lai3d

@lai3d lai3d commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update all default evmVersion from "paris" to "cancun" in:
    • src/routes/contracts.ts (single-file, JSON input, multi-file verification)
    • src/routes/etherscan.ts (Etherscan-compatible API)
    • src/lib/vyper-compiler.ts (Vyper default)
  • Update CLAUDE.md to reflect Cancun EVM support

Existing verified contracts retain their stored evm_version from the DB. Only new verifications default to cancun.

Related PRs

  • qfc-network/qfc-core — explicit SpecId::CANCUN
  • qfc-network/qfc-contracts — evmVersion: "cancun" + OZ 5.6.x

Test plan

  • npm run typecheck passes
  • Verify a contract on testnet after deploy

🤖 Generated with Claude Code

Larry and others added 3 commits March 10, 2026 20:26
solc was used via dynamic import but missing from package.json,
causing /contract/verify to 500 in production.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
QFC node runs Cancun EVM spec. Update all contract verification
defaults to compile with cancun (PUSH0, MCOPY, TSTORE/TLOAD).
Existing verified contracts retain their stored evm_version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lai3d lai3d merged commit 62ef829 into main Mar 11, 2026
2 checks passed
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