@@ -82,7 +82,7 @@ fn test_process_create_ok() {
8282 & [ ( config, config_account) ] ,
8383 & [
8484 Check :: success ( ) ,
85- Check :: compute_units ( 600 ) ,
85+ Check :: compute_units ( 594 ) ,
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 ( 600 ) ,
113+ Check :: compute_units ( 594 ) ,
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_241 ) ,
188+ Check :: compute_units ( 3_209 ) ,
189189 Check :: account ( & config)
190190 . data ( & bincode:: serialize ( & ( ConfigKeys { keys } , my_config) ) . unwrap ( ) )
191191 . build ( ) ,
@@ -327,7 +327,7 @@ fn test_config_updates() {
327327 ( signer0, Account :: default ( ) ) ,
328328 ( signer1, Account :: default ( ) ) ,
329329 ] ,
330- & [ Check :: success ( ) , Check :: compute_units ( 3_241 ) ] ,
330+ & [ Check :: success ( ) , Check :: compute_units ( 3_209 ) ] ,
331331 ) ;
332332
333333 // Use this for next invoke.
@@ -345,7 +345,7 @@ fn test_config_updates() {
345345 ] ,
346346 & [
347347 Check :: success ( ) ,
348- Check :: compute_units ( 3_242 ) ,
348+ Check :: compute_units ( 3_210 ) ,
349349 Check :: account ( & config)
350350 . data ( & bincode:: serialize ( & ( ConfigKeys { keys } , new_config) ) . unwrap ( ) )
351351 . build ( ) ,
@@ -458,7 +458,7 @@ fn test_config_update_contains_duplicates_fails() {
458458 ( signer0, Account :: default ( ) ) ,
459459 ( signer1, Account :: default ( ) ) ,
460460 ] ,
461- & [ Check :: success ( ) , Check :: compute_units ( 3_241 ) ] ,
461+ & [ Check :: success ( ) , Check :: compute_units ( 3_209 ) ] ,
462462 ) ;
463463
464464 // Attempt update with duplicate signer inputs.
@@ -499,7 +499,7 @@ fn test_config_updates_requiring_config() {
499499 & [ ( config, config_account) , ( signer0, Account :: default ( ) ) ] ,
500500 & [
501501 Check :: success ( ) ,
502- Check :: compute_units ( 3_338 ) ,
502+ Check :: compute_units ( 3_303 ) ,
503503 Check :: account ( & config)
504504 . data ( & bincode:: serialize ( & ( ConfigKeys { keys : keys. clone ( ) } , my_config) ) . unwrap ( ) )
505505 . build ( ) ,
@@ -520,7 +520,7 @@ fn test_config_updates_requiring_config() {
520520 ] ,
521521 & [
522522 Check :: success ( ) ,
523- Check :: compute_units ( 3_338 ) ,
523+ Check :: compute_units ( 3_303 ) ,
524524 Check :: account ( & config)
525525 . data ( & bincode:: serialize ( & ( ConfigKeys { keys } , new_config) ) . unwrap ( ) )
526526 . build ( ) ,
@@ -611,7 +611,7 @@ fn test_maximum_keys_input() {
611611 let result = mollusk. process_and_validate_instruction (
612612 & instruction,
613613 & [ ( config, config_account) ] ,
614- & [ Check :: success ( ) , Check :: compute_units ( 25_193 ) ] ,
614+ & [ Check :: success ( ) , Check :: compute_units ( 25_756 ) ] ,
615615 ) ;
616616
617617 // Use this for next invoke.
@@ -624,7 +624,7 @@ fn test_maximum_keys_input() {
624624 let result = mollusk. process_and_validate_instruction (
625625 & instruction,
626626 & [ ( config, updated_config_account) ] ,
627- & [ Check :: success ( ) , Check :: compute_units ( 25_193 ) ] ,
627+ & [ Check :: success ( ) , Check :: compute_units ( 25_756 ) ] ,
628628 ) ;
629629
630630 // Use this for next invoke.
0 commit comments