github.com/ari-anchor/sei-tendermint@v0.0.0-20230519144642-dc826b7b56bb/spec/light-client/accountability/typedefs.tla (about) 1 -------------------- MODULE typedefs --------------------------- 2 (* 3 @typeAlias: PROCESS = Str; 4 @typeAlias: VALUE = Str; 5 @typeAlias: STEP = Str; 6 @typeAlias: ROUND = Int; 7 @typeAlias: ACTION = Str; 8 @typeAlias: TRACE = Seq(Str); 9 @typeAlias: PROPMESSAGE = 10 [ 11 type: STEP, 12 src: PROCESS, 13 round: ROUND, 14 proposal: VALUE, 15 validRound: ROUND 16 ]; 17 @typeAlias: PREMESSAGE = 18 [ 19 type: STEP, 20 src: PROCESS, 21 round: ROUND, 22 id: VALUE 23 ]; 24 @typeAlias: MESSAGE = 25 [ 26 type: STEP, 27 src: PROCESS, 28 round: ROUND, 29 proposal: VALUE, 30 validRound: ROUND, 31 id: VALUE 32 ]; 33 *) 34 TypeAliases == TRUE 35 36 =============================================================================