You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PURITY_CHECKER and MSG_HASHER are currently deployed via previously sign txs in the testing framework. This is super opaque and makes it tough to test any changes to purity checker. It is also not how we plan on deploying in the EIP
Proposed implementation
ensure msg_hasher and purity_checker source are in the repo
compile and deploy dynamically in testing rather than sending a previously sign tx
BLOCKER: #69 and #73. Both of these issues port msg_hasher and purity_checker to vyper LLL so we don't have to introduce serpent as a dependency.
The text was updated successfully, but these errors were encountered:
Thanks for this @djrtwo -- I had the same concern while working on purity_checker but figured it was this way for a reason.
I ended up doing this for purity_checker and the issue I ran into was that what I want to do is import the Vyper LLL but given the structure of the tests and the source code I had to modify the PYTHONPATH to get all of the modules lined up.
Can anyone think of a preferred way to import code from the contracts module into the tests without doing this? I suppose if its unavoidable then we can add a Makefile to abstract it away...
@djrtwo I'd like to own this. @ralexstokes I'm just getting familiar with Vyper (familiar with solidity), would be nice if I could ping you to get some of your learnings from doing purity_checker.
Issue
PURITY_CHECKER and MSG_HASHER are currently deployed via previously sign txs in the testing framework. This is super opaque and makes it tough to test any changes to purity checker. It is also not how we plan on deploying in the EIP
Proposed implementation
BLOCKER: #69 and #73. Both of these issues port msg_hasher and purity_checker to vyper LLL so we don't have to introduce serpent as a dependency.
The text was updated successfully, but these errors were encountered: