Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature]: Support MCOPY opcode introduced from [email protected] #3072

@9oelM

Description

@9oelM

Summary

MCOPY, or 0x5E, is an opcode that was introduced a year ago to Solidity. However, Evmos does not this support this opcode yet:

const (
POP OpCode = 0x50
MLOAD OpCode = 0x51
MSTORE OpCode = 0x52
MSTORE8 OpCode = 0x53
SLOAD OpCode = 0x54
SSTORE OpCode = 0x55
JUMP OpCode = 0x56
JUMPI OpCode = 0x57
PC OpCode = 0x58
MSIZE OpCode = 0x59
GAS OpCode = 0x5a
JUMPDEST OpCode = 0x5b
PUSH0 OpCode = 0x5f
)

This gets in the way of developers who are required to use underlying dependencies that use MCOPY at solidity@^0.8.24 because running MCOPY on Evmos VM will only throw an error.

Issue Definition

Practical example of the problem encountered is at xrplevm/node#53

Proposed Feature

Support MCOPY in Evmos VM

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