Yes. Each byte is an operation. Some operations read and move the cursor.

In this case 0x7f says push32, as in push next 32 bytes as a stack item.

Followed by 0x01 to add, and then more ops.

When you execute tests, it shows the execution order.



> On Apr 30, 2021, at 06:54, nicolas melendez <nfmelen...@gmail.com> wrote:
> 
> Hi great video, EVM is a bit more complex than the crawler for sure.
> 
> I didn't get about the ops code spec, the berlin hard fork is implemented,
> so for example add0 has it code:
> 
> "code" :
> "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0160005500"
> ,
> 
> That code would be a solidity smart contract compiled?

Reply via email to