File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
governance/xc_admin/packages/xc_admin_common/src Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
1616 deriveFeeCollectorKey ,
1717} from "@certusone/wormhole-sdk/lib/cjs/solana/wormhole" ;
1818import { ExecutePostedVaa } from "./governance_payload/ExecutePostedVaa" ;
19+ import { OPS_KEY } from "./multisig" ;
1920
2021type SquadInstruction = {
2122 instruction : TransactionInstruction ;
@@ -103,6 +104,12 @@ export async function proposeInstructions(
103104 )
104105 ) ;
105106
107+ txToSend . push (
108+ new Transaction ( ) . add (
109+ await squad . buildApproveTransaction ( vault , newProposalAddress )
110+ )
111+ ) ;
112+
106113 await new AnchorProvider (
107114 squad . connection ,
108115 squad . wallet ,
@@ -177,7 +184,7 @@ function getPostMessageAccounts(
177184 message,
178185 emitter,
179186 sequence : deriveEmitterSequenceKey ( emitter , wormholeAddress ) ,
180- payer : emitter ,
187+ payer : OPS_KEY ,
181188 feeCollector : deriveFeeCollectorKey ( wormholeAddress ) ,
182189 clock : SYSVAR_CLOCK_PUBKEY ,
183190 rent : SYSVAR_RENT_PUBKEY ,
You can’t perform that action at this time.
0 commit comments