Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Add EC and Modular Exponentiation Precompile Tests #31

Open
wants to merge 10 commits into
base: dl-precompiles
Choose a base branch
from

Conversation

ZamDimon
Copy link

@ZamDimon ZamDimon commented May 10, 2024

What ❔

This pull request adds precompile tests for the following precompiles (the progress below is constantly updating):

  • ecadd
  • ecmul
  • ecpairing
  • modexp

Why ❔

Make sure the precompiles are written properly :)

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zk fmt and zk lint.

src/testing/tests/precompiles/ecadd.rs Outdated Show resolved Hide resolved
src/testing/tests/precompiles/ecmul.rs Outdated Show resolved Hide resolved
src/testing/tests/precompiles/ecpairing.rs Outdated Show resolved Hide resolved
src/testing/tests/precompiles/modexp.rs Outdated Show resolved Hide resolved
@jules jules changed the base branch from v1.5.0 to dl-precompiles May 25, 2024 14:17
Cargo.toml Outdated Show resolved Hide resolved
@NikitaMasych NikitaMasych force-pushed the feature/ec-and-modexp-precompiles branch from 9c0d35f to 4c52e9c Compare May 27, 2024 13:41
@NikitaMasych
Copy link

Rebased to dl-precompiles

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.

3 participants