kkrt-labs / kakarot-ssj

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

feat: mark accounts created in a transaction as "created" #788

Closed enitrat closed 2 months ago

enitrat commented 2 months ago

Feature Request

Describe the Feature Request

When an account is created in a transaction (deploy tx / CREATE opcodes), mark the account as created. Querying https://github.com/kkrt-labs/kakarot-ssj/blob/be5183da2e1bcd6a7aeeaf0d58e6726fc1c3f28e/crates/evm/src/model/account.cairo#L140-L142 will return whether the account was created in the same transaction or not.