Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement 0x32 - Origin Opcode #118

Closed
Eikix opened this issue Aug 17, 2023 · 2 comments
Closed

feat: implement 0x32 - Origin Opcode #118

Eikix opened this issue Aug 17, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request opcode Implementation of an opcode smart-contract-logic A specific type of opcode that requires smart contract logic as opposed to pure cairo

Comments

@Eikix
Copy link
Member

Eikix commented Aug 17, 2023

SinceGroup
FrontierEnvironmental Information

Index 1 is top of the stack. See PUSH.

Stack output

  1. address: the 20-byte address of the sender of the transaction. It can only be an account without code.

Example

InputOutput
10xbe862ad9abfe6f22bcb087716c7d89a26051f74c

Reproduce in playground.

Error cases

The state changes done by the current context are reverted in those cases:

  • Not enough gas.
  • Stack overflow.
@Eikix Eikix added enhancement New feature or request smart-contract-logic A specific type of opcode that requires smart contract logic as opposed to pure cairo no-stale labels Aug 17, 2023
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Kakarot on Starknet Aug 17, 2023
@Eikix Eikix added opcode Implementation of an opcode and removed no-stale labels Aug 23, 2023
@Eikix Eikix added this to the Kakarot Cairo Migration milestone Aug 29, 2023
@Eikix
Copy link
Member Author

Eikix commented Sep 8, 2023

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this link everytime you take an issue and check your issue isn't targeted by a known bug.

@Eikix
Copy link
Member Author

Eikix commented Sep 8, 2023

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this tracking issue everytime you take an issue and check your issue isn't targeted by a known bug. Will add this reminder in many places to make sure we keep track of known bugs.

@Eikix Eikix self-assigned this Oct 3, 2023
@Eikix Eikix moved this from 🆕 Backlog to 🛑 Blocked in Kakarot on Starknet Oct 3, 2023
@Eikix Eikix closed this as completed Oct 5, 2023
@github-project-automation github-project-automation bot moved this from 🛑 Blocked to ✅ Done in Kakarot on Starknet Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request opcode Implementation of an opcode smart-contract-logic A specific type of opcode that requires smart contract logic as opposed to pure cairo
Projects
No open projects
Archived in project
Development

No branches or pull requests

1 participant