kkrt-labs / kakarot-ssj

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

refactor: move `valid_jumpdests` in the `Message` struct #761

Closed enitrat closed 5 months ago

enitrat commented 5 months ago

Instead of storing it in Storage, compute valid jumpdests when preparing the execution of an account's code and insert it in the message.

enitrat commented 5 months ago

actually move it to VM so as not to cause problems due to owneship and dicts