ethereum/casper

Migrate sig hasher to vyper LLL

Open

#73 opened on Apr 5, 2018

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Python (184 forks)batch import
help wanted

Repository metrics

Stars
 (685 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Issue

Sig hasher is currently written in the deprecated Serpent. We should stop relying on Serpent compiler.

Proposed implementation

  • Migrate current sig hasher from serpent to vyper LLL
  • Port contract to this repo
  • Add sanity check testing to pytest build
  • Compile Purity Checker from source instead of using bytecode in the testing setup

Example Vyper LLL and compile techniques here https://github.com/ethereum/casper/blob/master/tests/utils/valcodes.py

Contributor guide