We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff84253 commit 7461632Copy full SHA for 7461632
internal/mithril-dmq/src/publisher/server/pallas.rs
@@ -242,7 +242,10 @@ mod tests {
242
243
use pallas_network::{
244
facades::DmqClient,
245
- miniprotocols::{localmsgsubmission::DmqMsg, localtxsubmission},
+ miniprotocols::{
246
+ localmsgsubmission::{DmqMsg, DmqMsgPayload},
247
+ localtxsubmission,
248
+ },
249
};
250
use tokio::sync::{mpsc::unbounded_channel, watch};
251
@@ -258,13 +261,16 @@ mod tests {
258
261
259
262
async fn fake_msg() -> DmqMsg {
260
263
DmqMsg {
- msg_id: vec![0, 1],
- msg_body: vec![0, 1, 2],
264
+ msg_payload: DmqMsgPayload {
265
+ msg_id: vec![0, 1],
266
+ msg_body: vec![0, 1, 2],
267
+
268
+ kes_period: 10,
269
+ operational_certificate: vec![0, 1, 2, 3, 4],
270
+ cold_verification_key: vec![0, 1, 2, 3, 4, 5],
271
+ expires_at: 100,
272
273
kes_signature: vec![0, 1, 2, 3],
- kes_period: 10,
- operational_certificate: vec![0, 1, 2, 3, 4],
- cold_verification_key: vec![0, 1, 2, 3, 4, 5],
- expires_at: 100,
274
}
275
276
0 commit comments