VM - Jump table#3120
Conversation
|
But #3120 (comment) is an issue..... |
|
@superboyiii could you check if something change in storage please? |
roman-khimov
left a comment
There was a problem hiding this comment.
IIUC this lays the foundation for switching opcode sets/implementations of them. In a compatible way that leaves the current logic as is by default. Do I understand correctly that in future we'll choose these tables based on hardforks?
| [MethodImpl(MethodImplOptions.AggressiveInlining)] | ||
| public virtual void SubStr(ExecutionEngine engine, Instruction instruction) | ||
| { | ||
| int count = (int)engine.Pop().GetInteger(); |
There was a problem hiding this comment.
Changes to the current logic better be in separate PRs.
|
@superboyiii is still in spring festival break, wont back to work until a few days later. |
It must be exactly the same, only allow in |
Why not have a native contract store the opcodes, so the users can have access as well? So it lives on chain. |
Structure problem, opcode is part of the vm while vm has no reference to neo. |
|
Please create a issue for this, what's the use case? |
Ok, Just a thought, Why make it hard to find this information? Issue will be created.. |
|
@shargon Tested, it's compatible! |
|
I want to check the coverage before merge |
Close #2987