iamtrask / Sonar

DEPRECATED - Decentralized Machine Learning Server (hosted on Blockchain)
Apache License 2.0
141 stars 49 forks source link

Feature/use modifier #29

Closed axelhodler closed 7 years ago

axelhodler commented 7 years ago

Using the modifiers every ethereum-client will tell the caller, during the local evaluation (not yet broadcasting it to the network), "Hey if you call this method it will fail, please don't waste the transaction costs for a failing transaction". Until now the call led to a transaction that did nothing but was still broadcasted and required transaction fees.

iamtrask commented 7 years ago

Looks a lot cleaner. Curious... does using inline variables actually reduce the cost at runtime?