Skip to content

Update pragma for Address.sol util to ^0.8.1 upwards #3031

Closed
@koolamusic

Description

@koolamusic

Referencing this PR #3025 as @axic had mentioned In 0.8.0 version of solidity the account.code.length syntax is supported, but the compiler does not have the shortcut implemented. This means it will first extcodecopy the entire target contract and measure size afterwards.

Following the guidelines with pragma version in OZ, my recommendation would be to create a new PR to update the pragma to ^0.8.1
cc @Amxx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions