File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
target_chains/solana/sdk/js/pyth_solana_receiver/src Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,10 @@ import {
3030 parseTwapMessage ,
3131} from "@pythnetwork/price-service-sdk" ;
3232import {
33- CLOSE_ENCODED_VAA_COMPUTE_BUDGET ,
34- INIT_ENCODED_VAA_COMPUTE_BUDGET ,
33+ POST_TWAP_UPDATE_COMPUTE_BUDGET ,
3534 POST_UPDATE_ATOMIC_COMPUTE_BUDGET ,
3635 POST_UPDATE_COMPUTE_BUDGET ,
3736 UPDATE_PRICE_FEED_COMPUTE_BUDGET ,
38- VERIFY_ENCODED_VAA_COMPUTE_BUDGET ,
39- WRITE_ENCODED_VAA_COMPUTE_BUDGET ,
4037} from "./compute_budget" ;
4138import { Wallet } from "@coral-xyz/anchor" ;
4239import {
@@ -694,7 +691,7 @@ export class PythSolanaReceiver {
694691 } )
695692 . instruction ( ) ,
696693 signers : [ twapUpdateKeypair ] ,
697- computeUnits : POST_UPDATE_COMPUTE_BUDGET ,
694+ computeUnits : POST_TWAP_UPDATE_COMPUTE_BUDGET ,
698695 } ) ;
699696
700697 priceFeedIdToTwapUpdateAccount [
You can’t perform that action at this time.
0 commit comments