@@ -298,7 +298,7 @@ fn test_signer_churn_during_pending_proposal() {
298298 client. add_service_signer ( & admin_signers ( & env, & admin) , & signer2) ;
299299
300300 // Create governance proposal (using parameter change as example)
301- let value = crate :: constants:: MIN_COOLDOWN_SECS . to_le_bytes ( ) ;
301+ let value = crate :: constants:: MIN_COOLDOWN_SECS . to_be_bytes ( ) ;
302302 let bytes = soroban_sdk:: Bytes :: from_array ( & env, & value) ;
303303
304304 let proposal_id = client. propose_parameter_change (
@@ -315,10 +315,7 @@ fn test_signer_churn_during_pending_proposal() {
315315
316316 // Verify proposal remains valid and signer changes don't affect it
317317 let proposal = client. get_parameter_proposal ( & proposal_id) ;
318- assert ! (
319- proposal. status == crate :: types:: ParameterProposalStatus :: Pending
320- || proposal. status == crate :: types:: ParameterProposalStatus :: Pending
321- ) ;
318+ assert_eq ! ( proposal. status, crate :: types:: ParameterProposalStatus :: Pending ) ;
322319}
323320
324321#[ test]
@@ -333,7 +330,7 @@ fn test_remove_signer_during_pending_proposal() {
333330 client. set_service_threshold ( & admin_signers ( & env, & admin) , & 2 ) ;
334331
335332 // Create proposal
336- let value = crate :: constants:: MIN_COOLDOWN_SECS . to_le_bytes ( ) ;
333+ let value = crate :: constants:: MIN_COOLDOWN_SECS . to_be_bytes ( ) ;
337334 let bytes = soroban_sdk:: Bytes :: from_array ( & env, & value) ;
338335
339336 let proposal_id = client. propose_parameter_change (
@@ -367,7 +364,7 @@ fn test_pending_decision_attribution_under_churn() {
367364 let signer_count_at_proposal = signers_at_proposal. len ( ) ;
368365
369366 // Create proposal
370- let value = crate :: constants:: MIN_COOLDOWN_SECS . to_le_bytes ( ) ;
367+ let value = crate :: constants:: MIN_COOLDOWN_SECS . to_be_bytes ( ) ;
371368 let bytes = soroban_sdk:: Bytes :: from_array ( & env, & value) ;
372369
373370 let proposal_id = client. propose_parameter_change (
0 commit comments