scrtlabs / docker-environment

Docker Environment for the Discovery release of the Enigma Protocol
https://enigma.co
6 stars 6 forks source link

Use latest enigmajs for salad operator #71

Closed reuvenpo closed 4 years ago

reuvenpo commented 4 years ago

I added logic in the salad/operator/operator.Dockerfile file to uninstall the enigma-js version available in npm, and then build the enigma-js library available in the local gitclone_contract image. This allows us to use custom versions of enigma-js in the salad operator. This change was required because breaking changes were made to the protocol layer, and a compatible version of enigma-js has not yet been published to npm.

Reviewer: Please let me know if i can do anything better here.