omgnetwork / plasma-mvp

OmiseGO's research implementation of Minimal Viable Plasma
MIT License
561 stars 158 forks source link

Refactor transaction validation into a single method #49

Closed smartcontracts closed 6 years ago

smartcontracts commented 6 years ago

Closes #38

This is a relatively small change - pulls out each individual validation into one method that throws if the transaction is invalid. All tests pass.

Note: Makes a small change to setup.py to fix ImportError: cannot import name 'force_text' as per #40. Unable to run py.test otherwise.

DavidKnott commented 6 years ago

LGTM