accordproject / ergo

Programming Language for Smart Legal Contracts
https://accordproject.org/projects/ergo
Apache License 2.0
157 stars 55 forks source link

Document and Clarify Determinism of Ergo #762

Open jeromesimeon opened 4 years ago

jeromesimeon commented 4 years ago

Description

For some applications (notably blockchains with a consensus algorithm) it is important to ensure that the contract logic is deterministic.

While Ergo is designed to be deterministic, it would be useful to document the approach and possible source of concerns and address them.

Some initial thoughts

Some possible aspects that may need review wrt to determinism

jeromesimeon commented 4 years ago

To review: https://github.com/WebAssembly/design/blob/master/Nondeterminism.md