File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed
mithril-common/src/messages Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 1
1
use serde:: { Deserialize , Serialize } ;
2
2
3
- // TODO: We should probably not rely on entities when defining the message
4
3
use crate :: entities:: { Beacon , CertificateMetadata , ProtocolMessage } ;
5
4
6
5
#[ cfg( any( test, feature = "test_only" ) ) ]
7
- // TODO: We should probably not rely on entities when defining the message
8
6
use crate :: entities:: { ProtocolMessagePartKey , ProtocolParameters , SignerWithStake } ;
9
7
10
8
/// Message structure of a certificate
Original file line number Diff line number Diff line change 1
1
use serde:: { Deserialize , Serialize } ;
2
2
3
- // TODO: We should probably not rely on entities when defining the message
4
3
use crate :: entities:: Beacon ;
5
4
6
- // TODO: We should probably not rely on entities when defining the message
7
5
#[ cfg( any( test, feature = "test_only" ) ) ]
8
6
use crate :: entities:: Epoch ;
9
7
/// Message structure of a snapshot
Original file line number Diff line number Diff line change 1
1
use serde:: { Deserialize , Serialize } ;
2
2
3
- // TODO: We should probably not rely on entities when defining the message
4
3
use crate :: entities:: Beacon ;
5
4
6
- // TODO: We should probably not rely on entities when defining the message
7
5
#[ cfg( any( test, feature = "test_only" ) ) ]
8
6
use crate :: entities:: Epoch ;
7
+
9
8
/// Message structure of a snapshot list
10
9
pub type SnapshotListMessage = Vec < SnapshotListItemMessage > ;
11
10
You can’t perform that action at this time.
0 commit comments