Skip to content

Commit

Permalink
Align the _logline in a TLA+ counterexample with its corresponding en…
Browse files Browse the repository at this point in the history
…try in the JSON log, from which the TLA+ state has been constructed.

There's an issue in VScode's "TLA+ model checking" view. Expanding the _logline record fails when the current step is "add_configuration", as VScode struggles with "new_configurations: ...".
  • Loading branch information
lemmy committed Nov 3, 2023
1 parent 4fc9ad2 commit fdba7d5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tla/consensus/Traceccfraft.tla
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,7 @@ TraceDifferentialInv ==
TraceAlias ==
DebugAlias @@
[
lvl |-> l,
ts |-> ts,
logline |-> logline.msg
_logline |-> TraceLog[l-1]

\* Uncomment _ENABLED when debugging the enablement state of ccfraft's actions.
\* ,_ENABLED |->
Expand Down

0 comments on commit fdba7d5

Please sign in to comment.