File tree Expand file tree Collapse file tree
mithril-common/src/entities Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -463,35 +463,24 @@ mod tests {
463463 ) ;
464464 }
465465
466- #[ test]
467- fn signed_entity_with_shared_beacons_computes_different_hashes ( ) {
468- assert_ne ! (
469- hash( SignedEntityType :: CardanoTransactions (
470- Epoch ( 3 ) ,
471- BlockNumber ( 77 )
472- ) ) ,
473- hash( SignedEntityType :: CardanoBlocksTransactions (
474- Epoch ( 3 ) ,
475- BlockNumber ( 77 ) ,
476- BlockNumberOffset ( 5 ) ,
477- ) )
478- ) ;
479-
480- // TODO: uncomment those tests cases when feeding database index is generalized to all types
481- // assert_ne!(
482- // hash(SignedEntityType::MithrilStakeDistribution(Epoch(15))),
483- // hash(SignedEntityType::CardanoStakeDistribution(Epoch(15)))
484- // );
485- //
486- // assert_ne!(
487- // hash(SignedEntityType::CardanoImmutableFilesFull(
488- // CardanoDbBeacon::new(98, 987)
489- // )),
490- // hash(SignedEntityType::CardanoDatabase(CardanoDbBeacon::new(
491- // 98, 987
492- // )))
493- // );
494- }
466+ //TODO: uncomment those tests cases when feeding database index is generalized to all types
467+ // #[test]
468+ // fn signed_entity_with_shared_beacons_computes_different_hashes() {
469+
470+ // assert_ne!(
471+ // hash(SignedEntityType::MithrilStakeDistribution(Epoch(15))),
472+ // hash(SignedEntityType::CardanoStakeDistribution(Epoch(15)))
473+ // );
474+
475+ // assert_ne!(
476+ // hash(SignedEntityType::CardanoImmutableFilesFull(
477+ // CardanoDbBeacon::new(98, 987)
478+ // )),
479+ // hash(SignedEntityType::CardanoDatabase(CardanoDbBeacon::new(
480+ // 98, 987
481+ // )))
482+ // );
483+ // }
495484
496485 #[ test]
497486 fn get_open_message_timeout ( ) {
You can’t perform that action at this time.
0 commit comments