Do all validating participants validate assert failures?
- WallaceKellyOP
In the following code…
template TestTemplate with partyA : Party partyB : Party where signatory partyA observer partyB choice DoNothing : () controller partyB do assert False… if
partyAandpartyBare on different validators, willpartyA’s validator know whenpartyBattempts to exercise theDoNothingchoice? - WallaceKelly 1
No.
When
partyBsubmits the exercise command,partyB’s node will attempt to create the resulting transaction, the assertion will fail, and the command exercise will return with an error. Nothing will be submitted to the synchronizer. Consequently,partyA’s node will not receive anything related to the attempted exercise.