Closed enitrat closed 1 month ago
hii! Is this issue open for contributors? If so I'd love to tackle this issue. I assume I would need to use get_tx_info().unbox()
and then return the chain_id
field after applying modulo 2**53
, then refactor the code with the value returned from it.
Hey @bitfalt! Thanks for showing interest. We've created an application for you to contribute to Kakarot zkEVM. Go check it out on OnlyDust!
Hi! Yes, you can do it.
To help you, here's an existing implementation in old cairo.
You could generally just find and replace all occurences of use of this tx_info.chain_id by a call to this function
Okay! Thank you so much for providing a link to the existing implementation, will start ASAP!
eth_chain_id
entrypoint to theKakarotCore
contractchain_id
field of thetx_info
, modulo2**53
Closes #920