@@ -720,18 +720,7 @@ mod test {
720
720
let ( state, _) = setup_state ( 2 ) . await ;
721
721
722
722
// Make sure the retrieved accumulator messages is what we store.
723
- let mut accumulator_messages_at_10 = create_empty_accumulator_messages_at_slot ( 10 ) ;
724
- state
725
- . store_accumulator_messages ( accumulator_messages_at_10. clone ( ) )
726
- . await
727
- . unwrap ( ) ;
728
- assert_eq ! (
729
- state. fetch_accumulator_messages( 10 ) . await . unwrap( ) . unwrap( ) ,
730
- accumulator_messages_at_10
731
- ) ;
732
-
733
- // Make sure overwriting the accumulator messages works.
734
- accumulator_messages_at_10. ring_size = 5 ; // Change the ring size from 3 to 5.
723
+ let accumulator_messages_at_10 = create_empty_accumulator_messages_at_slot ( 10 ) ;
735
724
state
736
725
. store_accumulator_messages ( accumulator_messages_at_10. clone ( ) )
737
726
. await
@@ -782,22 +771,7 @@ mod test {
782
771
let ( state, _) = setup_state ( 2 ) . await ;
783
772
784
773
// Make sure the retrieved wormhole merkle state is what we store
785
- let mut wormhole_merkle_state_at_10 = create_empty_wormhole_merkle_state_at_slot ( 10 ) ;
786
- state
787
- . store_wormhole_merkle_state ( wormhole_merkle_state_at_10. clone ( ) )
788
- . await
789
- . unwrap ( ) ;
790
- assert_eq ! (
791
- state
792
- . fetch_wormhole_merkle_state( 10 )
793
- . await
794
- . unwrap( )
795
- . unwrap( ) ,
796
- wormhole_merkle_state_at_10
797
- ) ;
798
-
799
- // Make sure overwriting the wormhole merkle state works.
800
- wormhole_merkle_state_at_10. root . ring_size = 5 ; // Change the ring size from 3 to 5.
774
+ let wormhole_merkle_state_at_10 = create_empty_wormhole_merkle_state_at_slot ( 10 ) ;
801
775
state
802
776
. store_wormhole_merkle_state ( wormhole_merkle_state_at_10. clone ( ) )
803
777
. await
0 commit comments