Skip to content

Comments

fix: support osaka compilation with Solidity 0.8.31#410

Open
sanbir wants to merge 1 commit intoduneanalytics:mainfrom
sanbir:fix/osaka-solc-0.8.31
Open

fix: support osaka compilation with Solidity 0.8.31#410
sanbir wants to merge 1 commit intoduneanalytics:mainfrom
sanbir:fix/osaka-solc-0.8.31

Conversation

@sanbir
Copy link

@sanbir sanbir commented Feb 15, 2026

Summary

This updates the playground Solidity compiler to a version that supports Osaka-compatible contracts requiring Solidity ^0.8.31.

Changes

  • util/compiler.ts
  • Set default compiler to soljson-v0.8.31+commit.fd3a2265
  • Keep EOF mapping behavior (EOF -> prague) while preserving normal hardfork passthrough

Why

fork=osaka compilation failed for newer contracts and Osaka-specific assembly paths when the playground was pinned to 0.8.27.

Closes #409

@vercel
Copy link

vercel bot commented Feb 15, 2026

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

A member of the Team first needs to authorize it.

@cursor
Copy link

cursor bot commented Feb 15, 2026

PR Summary

Low Risk
Single constant/version bump; behavior changes are limited to using a newer solc binary and may affect compilation outputs for some contracts.

Overview
Updates the pinned Solidity compiler version in util/compiler.ts from 0.8.27 to 0.8.31 (Osaka-compatible), so contracts requiring ^0.8.31 compile successfully.

Written by Cursor Bugbot for commit 02cf34b. 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.

fix: support Solidity ^0.8.31 compilation for osaka fork

1 participant