Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

feat: Kakarot messaging system #850

Open
2 tasks
enitrat opened this issue Aug 22, 2024 · 0 comments
Open
2 tasks

feat: Kakarot messaging system #850

enitrat opened this issue Aug 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@enitrat
Copy link
Contributor

enitrat commented Aug 22, 2024

Feature Request

Describe the Feature Request

Implement Kakarot's messaging system

  • L1 -> L2 Messaging
  • L2 -> L1 Messaging

Describe Preferred Solution

Related Code

Additional Context

As a precompile at address 75002.

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

References:

https://github.com/kkrt-labs/kakarot/blob/65e333a0d3475e81b0a6367b0f00561c763da0a0/src/kakarot/precompiles/kakarot_precompiles.cairo#L126-L172

https://github.com/kkrt-labs/kakarot/blob/65e333a0d3475e81b0a6367b0f00561c763da0a0/src/kakarot/kakarot.cairo#L338-L354

@enitrat enitrat added the enhancement New feature or request label Aug 22, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Kakarot on Starknet Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
Status: 🆕 Backlog
Development

No branches or pull requests

1 participant