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

feat: use keccak syscall in ecrecover #1076

Merged
merged 4 commits into from
Apr 9, 2024

Conversation

enitrat
Copy link
Collaborator

@enitrat enitrat commented Apr 5, 2024

Time spent on this PR: 0.3d

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Resolves #966

What is the new behavior?

  • Adds usage of keccak syscall in ECRecover. Required an inlined re-implementation of public_key_point_to_eth_address to use a library call to the Cairo1 library instead of the step-based Keccak.

This change is Reviewable

@enitrat enitrat marked this pull request as draft April 5, 2024 20:22
@enitrat enitrat marked this pull request as ready for review April 8, 2024 13:47
@enitrat enitrat force-pushed the feat/syscall-builtin-ecrecover branch from ca5c340 to 439859a Compare April 8, 2024 13:51
@enitrat enitrat force-pushed the feat/syscall-builtin-ecrecover branch from 31f791f to 150f778 Compare April 8, 2024 17:55
@ClementWalter ClementWalter merged commit 9d234ef into main Apr 9, 2024
7 checks passed
@ClementWalter ClementWalter deleted the feat/syscall-builtin-ecrecover branch April 9, 2024 08:54
This was referenced Apr 11, 2024
matthieuauger pushed a commit to matthieuauger/kakarot that referenced this pull request Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add block_hash and keccak syscalls
2 participants