@@ -82,7 +82,7 @@ fn test_process_create_ok() {
8282 & [ ( config, config_account) ] ,
8383 & [
8484 Check :: success ( ) ,
85- Check :: compute_units ( 616 ) ,
85+ Check :: compute_units ( 600 ) ,
8686 Check :: account ( & config)
8787 . data (
8888 & bincode:: serialize ( & ( ConfigKeys { keys : vec ! [ ] } , MyConfig :: default ( ) ) )
@@ -110,7 +110,7 @@ fn test_process_store_ok() {
110110 & [ ( config, config_account) ] ,
111111 & [
112112 Check :: success ( ) ,
113- Check :: compute_units ( 616 ) ,
113+ Check :: compute_units ( 600 ) ,
114114 Check :: account ( & config)
115115 . data ( & bincode:: serialize ( & ( ConfigKeys { keys } , my_config) ) . unwrap ( ) )
116116 . build ( ) ,
@@ -185,7 +185,7 @@ fn test_process_store_with_additional_signers() {
185185 ] ,
186186 & [
187187 Check :: success ( ) ,
188- Check :: compute_units ( 3_271 ) ,
188+ Check :: compute_units ( 3_241 ) ,
189189 Check :: account ( & config)
190190 . data ( & bincode:: serialize ( & ( ConfigKeys { keys } , my_config) ) . unwrap ( ) )
191191 . build ( ) ,
@@ -333,7 +333,7 @@ fn test_config_updates() {
333333 ( signer0, AccountSharedData :: default ( ) ) ,
334334 ( signer1, AccountSharedData :: default ( ) ) ,
335335 ] ,
336- & [ Check :: success ( ) , Check :: compute_units ( 3_271 ) ] ,
336+ & [ Check :: success ( ) , Check :: compute_units ( 3_241 ) ] ,
337337 ) ;
338338
339339 // Use this for next invoke.
@@ -351,7 +351,7 @@ fn test_config_updates() {
351351 ] ,
352352 & [
353353 Check :: success ( ) ,
354- Check :: compute_units ( 3_272 ) ,
354+ Check :: compute_units ( 3_242 ) ,
355355 Check :: account ( & config)
356356 . data ( & bincode:: serialize ( & ( ConfigKeys { keys } , new_config) ) . unwrap ( ) )
357357 . build ( ) ,
@@ -464,7 +464,7 @@ fn test_config_update_contains_duplicates_fails() {
464464 ( signer0, AccountSharedData :: default ( ) ) ,
465465 ( signer1, AccountSharedData :: default ( ) ) ,
466466 ] ,
467- & [ Check :: success ( ) , Check :: compute_units ( 3_271 ) ] ,
467+ & [ Check :: success ( ) , Check :: compute_units ( 3_241 ) ] ,
468468 ) ;
469469
470470 // Attempt update with duplicate signer inputs.
@@ -508,7 +508,7 @@ fn test_config_updates_requiring_config() {
508508 ] ,
509509 & [
510510 Check :: success ( ) ,
511- Check :: compute_units ( 3_367 ) ,
511+ Check :: compute_units ( 3_338 ) ,
512512 Check :: account ( & config)
513513 . data ( & bincode:: serialize ( & ( ConfigKeys { keys : keys. clone ( ) } , my_config) ) . unwrap ( ) )
514514 . build ( ) ,
@@ -529,7 +529,7 @@ fn test_config_updates_requiring_config() {
529529 ] ,
530530 & [
531531 Check :: success ( ) ,
532- Check :: compute_units ( 3_367 ) ,
532+ Check :: compute_units ( 3_338 ) ,
533533 Check :: account ( & config)
534534 . data ( & bincode:: serialize ( & ( ConfigKeys { keys } , new_config) ) . unwrap ( ) )
535535 . build ( ) ,
@@ -623,7 +623,7 @@ fn test_maximum_keys_input() {
623623 let result = mollusk. process_and_validate_instruction (
624624 & instruction,
625625 & [ ( config, config_account) ] ,
626- & [ Check :: success ( ) , Check :: compute_units ( 25_279 ) ] ,
626+ & [ Check :: success ( ) , Check :: compute_units ( 25_193 ) ] ,
627627 ) ;
628628
629629 // Use this for next invoke.
@@ -636,7 +636,7 @@ fn test_maximum_keys_input() {
636636 let result = mollusk. process_and_validate_instruction (
637637 & instruction,
638638 & [ ( config, updated_config_account) ] ,
639- & [ Check :: success ( ) , Check :: compute_units ( 25_279 ) ] ,
639+ & [ Check :: success ( ) , Check :: compute_units ( 25_193 ) ] ,
640640 ) ;
641641
642642 // Use this for next invoke.
0 commit comments