Skip to content

Commit 928a9ac

Browse files
committed
fix build
1 parent ba547b4 commit 928a9ac

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

src/jormungandr/testing/thor/src/fragment/chain_sender.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl<'a, S: SyncNode + Send> FragmentChainSender<'a, S> {
149149
}
150150
}
151151

152-
#[derive(custom_debug::Debug, thiserror::Error)]
152+
#[derive(Debug, thiserror::Error)]
153153
pub enum FragmentChainSenderError {
154154
#[error("fragment sender error")]
155155
FragmentSenderError(#[from] FragmentSenderError),

src/jormungandr/testing/thor/src/fragment/persistent_log.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub fn write_into_persistent_log<P: AsRef<Path>>(
5454
Ok(())
5555
}
5656

57-
#[derive(custom_debug::Debug, thiserror::Error)]
57+
#[derive(Debug, thiserror::Error)]
5858
pub enum Error {
5959
#[error("cannot serialize entry of persistent log")]
6060
CannotSerializeEntry,

src/jormungandr/testing/thor/src/fragment/sender.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ use jormungandr_lib::{
2727
};
2828
use std::{str::FromStr, time::Duration};
2929

30-
#[derive(custom_debug::Debug, thiserror::Error)]
30+
#[derive(Debug, thiserror::Error)]
3131
pub enum FragmentSenderError {
3232
#[error("fragment sent to node: {alias} is not in block due to '{reason}'")]
3333
FragmentNotInBlock {
3434
alias: String,
3535
reason: String,
36-
#[debug(skip)]
3736
logs: Vec<String>,
3837
},
3938
#[error(

src/jormungandr/testing/thor/src/fragment/verifier.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ use jormungandr_lib::interfaces::{FragmentLog, FragmentStatus};
44
use jortestkit::prelude::Wait;
55
use std::{collections::HashMap, time::Duration};
66

7-
#[derive(custom_debug::Debug, thiserror::Error)]
7+
#[derive(Debug, thiserror::Error)]
88
pub enum FragmentVerifierError {
99
#[error("fragment sent to node: {alias} is not in block :({status:?})")]
1010
FragmentNotInBlock {
1111
alias: String,
1212
status: FragmentStatus,
13-
#[debug(skip)]
1413
logs: Vec<String>,
1514
},
1615
#[error("cannot match rejection reason '{message}' does not contains '{expected_part}'")]
@@ -22,43 +21,37 @@ pub enum FragmentVerifierError {
2221
FragmentNotRejected {
2322
alias: String,
2423
status: FragmentStatus,
25-
#[debug(skip)]
2624
logs: Vec<String>,
2725
},
2826
#[error("transaction is pending for too long")]
2927
FragmentIsPendingForTooLong {
3028
fragment_id: FragmentId,
3129
timeout: Duration,
3230
alias: String,
33-
#[debug(skip)]
3431
logs: Vec<String>,
3532
},
3633
#[error("transactions are pending for too long")]
3734
FragmentsArePendingForTooLong {
3835
timeout: Duration,
3936
alias: String,
40-
#[debug(skip)]
4137
logs: Vec<String>,
4238
},
4339

4440
#[error("fragment sent to node: {alias} is not in in fragment pool :({fragment_id})")]
4541
FragmentNotInMemPoolLogs {
4642
alias: String,
4743
fragment_id: FragmentId,
48-
#[debug(skip)]
4944
logs: Vec<String>,
5045
},
5146
#[error("fragment node error")]
5247
FragmentNode(#[from] FragmentNodeError),
5348
#[error("at least on rejected fragment error")]
5449
AtLeastOneRejectedFragment {
5550
fragment_id: FragmentId,
56-
#[debug(skip)]
5751
logs: Vec<String>,
5852
},
5953
#[error("timeout reached while waiting for all fragments in a block")]
6054
TimeoutReachedWhileWaitingForAllFragmentsInBlock {
61-
#[debug(skip)]
6255
logs: Vec<String>,
6356
},
6457
}

0 commit comments

Comments
 (0)