Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

[WIP] add ed25519 precompile (EIP665) #862

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

@oberstet
Copy link
Author

oberstet commented Apr 6, 2018

@oberstet
Copy link
Author

oberstet commented Apr 6, 2018

The PR can use 2 Ed25519 implementations:

  • PyNaCl (if available: this is a cffi wrapped NaCl native extension running on both CPy and PyPy)
  • an embedded pure Python implementation

@oberstet
Copy link
Author

oberstet commented Apr 6, 2018

CI is green .. oh, I see;)

  # XXX: For now we're only performing minimal CI checks as most tests are
  # broken. Tests will be individually added here as they're fixed.
- make lint-minimal
 - make test-passing

and https://github.com/ethereum/pyethereum/blob/develop/ethereum/tests/test_contracts.py isn't in this list https://github.com/ethereum/pyethereum/blob/develop/Makefile#L49

print('proc_ed25519verify proc', msg.gas)

# https://pynacl.readthedocs.io/
import nacl
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIXME: this import is wrong here

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.

None yet

1 participant