From d3514de97d2b848262cc0c942882f2ad0b914f8a Mon Sep 17 00:00:00 2001 From: plebhash Date: Mon, 24 Jun 2024 15:04:12 -0300 Subject: [PATCH] fix mg submit solution jd --- utils/message-generator/src/parser/sv2_messages.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/message-generator/src/parser/sv2_messages.rs b/utils/message-generator/src/parser/sv2_messages.rs index 4919fc324f..091d0c58cc 100644 --- a/utils/message-generator/src/parser/sv2_messages.rs +++ b/utils/message-generator/src/parser/sv2_messages.rs @@ -372,6 +372,8 @@ pub enum JobDeclaration<'a> { ProvideMissingTransactions(ProvideMissingTransactions<'a>), #[serde(borrow)] ProvideMissingTransactionsSuccess(ProvideMissingTransactionsSuccess<'a>), + #[serde(borrow)] + SubmitSolution(SubmitSolutionJd<'a>), } impl<'a> From> for roles_logic_sv2::parsers::JobDeclaration<'a> { @@ -390,6 +392,7 @@ impl<'a> From> for roles_logic_sv2::parsers::JobDeclaration<' JobDeclaration::ProvideMissingTransactionsSuccess(m) => { Self::ProvideMissingTransactionsSuccess(m) } + JobDeclaration::SubmitSolution(m) => Self::SubmitSolution(m), } } }