Open enitrat opened 3 months ago
Develop Kakarot's interoperabillity module with Cairo contracts. As a precompile at address 75001.
For Kakarot Precompiles (calling Cairo contract), the whitelist on who can call a precompile is based on the address of the code that calls this precompile. https://github.com/kkrt-labs/kakarot/blob/f1e7ebb9599a563aec9ffabbf11739373de8587c/src/kakarot/interpreter.cairo#L71-L77 https://github.com/kkrt-labs/kakarot/blob/f1e7ebb9599a563aec9ffabbf11739373de8587c/src/kakarot/precompiles/precompiles.cairo#L138
Reference:
HELLO @enitrat can you please assign this issue to me?
Feature Request
Describe the Feature Request
Develop Kakarot's interoperabillity module with Cairo contracts. As a precompile at address 75001.
For Kakarot Precompiles (calling Cairo contract), the whitelist on who can call a precompile is based on the address of the code that calls this precompile. https://github.com/kkrt-labs/kakarot/blob/f1e7ebb9599a563aec9ffabbf11739373de8587c/src/kakarot/interpreter.cairo#L71-L77 https://github.com/kkrt-labs/kakarot/blob/f1e7ebb9599a563aec9ffabbf11739373de8587c/src/kakarot/precompiles/precompiles.cairo#L138
Describe Preferred Solution
Related Code
Additional Context
Reference: