JacobEberhardt / decentralized-energy-trading

Proof-of-Concept implementation of Privacy-Preserving Netting in Local Energy Grids
MIT License
9 stars 5 forks source link

zoKratesCodeGenerator.js: billingPeriod missing in _updateAfterNettingDelta call #25

Closed usdq777 closed 4 years ago

usdq777 commented 4 years ago

Branch: continuous-billing

The zoKratesCodeGenerator currently generates a defective dUtility-Contract, because the billingPeriod is not included as an Input-Parameter in the _updateAfterNettingDelta Function Call in the checkHashes-Function.

image

However, the _updateAfterNettingDelta-Function requires the billingPeriod: image

julianboehm commented 4 years ago

Does eb7fb25 (or the latest continuous-billing branch) fix this for you?