You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the new instruction here. This instruction will look a lot like calldatacopy but we'll have to be careful because we'll be copying between two potentially overlapping slices in the same memory.
Bind the instruction to the instruction implementation (from step 2) with def_stdprochere.
Write a few unit tests:
Non-overlapping copy.
Overlapping copy.
Out of range dest.
Partially out of rage source (expands memory).
Fully out of range dest (fails).
Finally, we'll need to write a FIP, which shouldn't be particularly controversial. You can also start with the FIP but it often helps to take a stab at the implementation first.
The text was updated successfully, but these errors were encountered:
@raulk@Stebalien Please can one of you elaborate on the impact to users of shipping this ? Is the main win here that builders on FEVM no longer need to rely on outdated versions of Solidity compiler ?
We need to implement the proposed MCOPY opcode for the EVM actor.
In terms of implementation, we need to:
builtin-actors/actors/evm/src/interpreter/execution.rs
Lines 92 to 247 in 1e50065
calldatacopy
but we'll have to be careful because we'll be copying between two potentially overlapping slices in the same memory.def_stdproc
here.Finally, we'll need to write a FIP, which shouldn't be particularly controversial. You can also start with the FIP but it often helps to take a stab at the implementation first.
The text was updated successfully, but these errors were encountered: