Skip to content

Conversation

@mookim-eth
Copy link

the first 32 bytes of a bytes variable is its length (instead of address)

avoid using msize() to make optimizer happy.

SyntaxError: The msize instruction cannot be used when the Yul optimizer is activated because it can change its semantics. Either disable the Yul optimizer or do not use the instruction.

the first 32 bytes of a bytes variable is its length (instead of `address`)

avoid using msize() to make optimizer happy.

> SyntaxError: The msize instruction cannot be used when the Yul optimizer is activated because it can change its semantics. Either disable the Yul optimizer or do not use the instruction.
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