which generate no comm events would get undeterministic result
Environment
None
Activity
Will Qiu June 10, 2020 at 1:36 PM
Persistent send or persistent consume can result in additional produce or consume event in replay.
Tomislav Grospić April 3, 2020 at 7:09 AM
@Will Qiu this contract produces comm event and will be reduced to error because x + yis done on strings, and + on strings is not defined. Because of that, event log in replay is not guarantied to be the same (at least until we implement replay of errors also).
https://github.com/rchain/rchain/pull/2909#issuecomment-605915735
User contract like
for(@x <- @"x"; @y <- @"y"){ @"xy"!(x + y) | @"x"!(1) | @"y"!(2) } | @"x"!("x") | @"y"!("y")
which generate no comm events would get undeterministic result