Skip to content

fix: support Solidity ^0.8.31 compilation for osaka fork #409

@sanbir

Description

@sanbir

Summary

Playground compilation on fork=osaka fails for contracts requiring newer Solidity versions (for example pragma solidity ^0.8.31) and Osaka opcodes like clz.

Reproduction

  1. Open /playground?fork=osaka
  2. Compile a contract with pragma solidity ^0.8.31 and inline assembly clz
  3. Current behavior: compiler version mismatch / Osaka-specific code cannot compile

Expected

Compilation should succeed on Osaka playground with a compiler supporting ^0.8.31, and evmVersion should remain Osaka-compatible.

Notes

Related prior thread: #229 (Shanghai version mismatch, now closed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions