File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
target_chains/solana/cli/src Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,10 @@ pub fn process_write_encoded_vaa_and_post_price_update(
431431 update_instructions,
432432 & vec ! [ payer, & price_update_keypair] ,
433433 ) ?;
434-
434+ println ! (
435+ "Price update posted to account: {}" ,
436+ price_update_keypair. pubkey( )
437+ ) ;
435438 Ok ( price_update_keypair. pubkey ( ) )
436439}
437440
@@ -483,7 +486,7 @@ pub fn process_write_encoded_vaa_and_post_twap_update(
483486 ) ?;
484487
485488 // Transaction 3: Write remaining VAA data and verify both VAAs
486- let mut verify_instructions = vec ! [ ComputeBudgetInstruction :: set_compute_unit_limit( 400_000 ) ] ;
489+ let mut verify_instructions = vec ! [ ComputeBudgetInstruction :: set_compute_unit_limit( 850_000 ) ] ;
487490 verify_instructions. extend ( write_remaining_data_and_verify_vaa_ixs (
488491 & payer. pubkey ( ) ,
489492 start_vaa,
@@ -518,6 +521,10 @@ pub fn process_write_encoded_vaa_and_post_twap_update(
518521 post_instructions,
519522 & vec ! [ payer, & twap_update_keypair] ,
520523 ) ?;
524+ println ! (
525+ "TWAP update posted to account: {}" ,
526+ twap_update_keypair. pubkey( )
527+ ) ;
521528
522529 Ok ( twap_update_keypair. pubkey ( ) )
523530}
You can’t perform that action at this time.
0 commit comments