computablelabs / goest

Golang testing and sandbox for the Computable Protocol. 0xb00.
MIT License
8 stars 0 forks source link

Don't allow backend_url to be set in Datatrust.register #147

Closed rbharath closed 5 years ago

rbharath commented 5 years ago

Working towards a fix for https://github.com/computablelabs/goest/issues/141. More details once ready to merge.

rbharath commented 5 years ago

This is now ready for review. It removes the setting of self.backend_url in Datatrust.register and slightly modifies Datatrust.resolveRegistration to clear the old backend url if a new datatrust is approved.

This PR fixes one of the old tests and adds a new test to check that multiple registrations work correctly.

rbharath commented 5 years ago

Removed all the logging statements. This is ready for review again @robrobbins