kkrt-labs / kakarot-ssj

Kakarot zkEVM - rewrite in the latest version of Cairo
https://www.kakarot.org
MIT License
116 stars 56 forks source link

feat: implement 0x43 - NUMBER Opcode #152

Closed Eikix closed 11 months ago

Eikix commented 11 months ago
SinceGroup
FrontierBlock Information

Index 1 is top of the stack. See PUSH.

Stack output

  1. blockNumber: current block number.

Example

InputOutput
11636704767

Error cases

The state changes done by the current context are reverted in those cases:

  • Not enough gas.
  • Stack overflow.
0xLucqs commented 11 months ago

J'leur fais danser la macarena