You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libsigner/src/v0/messages.rs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,9 @@ define_u8_enum!(
82
82
/// the contract index in the signers contracts (i.e., X in signers-0-X)
83
83
MessageSlotID{
84
84
/// Block Response message from signers
85
-
BlockResponse = 1
85
+
BlockResponse = 1,
86
+
/// Signer State Machine Update
87
+
StateMachineUpdate = 2
86
88
});
87
89
88
90
define_u8_enum!(
@@ -205,9 +207,9 @@ impl SignerMessage {
205
207
Self::BlockProposal(_)
206
208
| Self::BlockPushed(_)
207
209
| Self::MockProposal(_)
208
-
| Self::MockBlock(_)
209
-
| Self::StateMachineUpdate(_) => None,
210
+
| Self::MockBlock(_) => None,
210
211
Self::BlockResponse(_) | Self::MockSignature(_) => Some(MessageSlotID::BlockResponse),// Mock signature uses the same slot as block response since its exclusively for epoch 2.5 testing
0 commit comments