+
Skip to content

Solc v0.8.30 compatability #977

@johnwhitton

Description

@johnwhitton

Component

Hooks

Describe the suggested feature and problem it solves.

Currently when developing and needing to test against v4Core we are unable to use a version later than solc v0.8.26, would like to use upward-compatible versions of solidity.

Describe the desired implementation.

Is there a reason that PoolManager has pragma solidity 0.8.26; rather than ^pragma solidity 0.8.26;

Is it possible to change this or modify Deployers to use upward-compatible versions of solidity?

Describe alternatives.

As a workaround, I currently copy Deployers and PoolManager into my test utils and modify the local PoolManager to use solc ^0.8.26. You can see a sample PR here where I'm working on a fork of v4-router

Additional context.

See this gist for more context on the development tools and approach I'm using.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载