Skip to content

Fix Osaka playground compilation#419

Open
eitjuh wants to merge 1 commit into
duneanalytics:mainfrom
eitjuh:fix/osaka-solc-evm-version
Open

Fix Osaka playground compilation#419
eitjuh wants to merge 1 commit into
duneanalytics:mainfrom
eitjuh:fix/osaka-solc-evm-version

Conversation

@eitjuh

@eitjuh eitjuh commented Jun 10, 2026

Copy link
Copy Markdown

Summary

Fixes playground compilation when Osaka is selected by mapping the Osaka hardfork to the latest EVM target supported by the pinned Solidity compiler.

Solidity 0.8.27 supports prague as an EVM target, but not osaka, so passing osaka caused compilation to fail with Invalid EVM version requested.

Test plan

  • Open /playground
  • Keep the default Osaka fork selected
  • Press Run
  • Confirm compilation succeeds instead of failing with Invalid EVM version requested

Map the Osaka fork to the latest EVM target supported by the pinned Solidity compiler so the playground can compile again.
@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

@eitjuh is attempting to deploy a commit to the Duneanalytics Team on Vercel.

A member of the Team first needs to authorize it.

@cursor

cursor Bot commented Jun 10, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Single-branch change in fork-to-EVM mapping; no auth, data, or runtime execution logic affected.

Overview
Maps the Osaka hardfork to the prague Solidity EVM target in getTargetEvmVersion, alongside the existing EOF mapping.

With Solidity 0.8.27 pinned in the playground, selecting Osaka (the default fork) previously passed osaka as evmVersion and failed compilation with Invalid EVM version requested. Osaka now compiles using the highest EVM version that compiler supports.

Reviewed by Cursor Bugbot for commit b7c4808. Configure here.

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