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 {
16
16
deriveFeeCollectorKey ,
17
17
} from "@certusone/wormhole-sdk/lib/cjs/solana/wormhole" ;
18
18
import { ExecutePostedVaa } from "./governance_payload/ExecutePostedVaa" ;
19
+ import { OPS_KEY } from "./multisig" ;
19
20
20
21
type SquadInstruction = {
21
22
instruction : TransactionInstruction ;
@@ -103,6 +104,12 @@ export async function proposeInstructions(
103
104
)
104
105
) ;
105
106
107
+ txToSend . push (
108
+ new Transaction ( ) . add (
109
+ await squad . buildApproveTransaction ( vault , newProposalAddress )
110
+ )
111
+ ) ;
112
+
106
113
await new AnchorProvider (
107
114
squad . connection ,
108
115
squad . wallet ,
@@ -177,7 +184,7 @@ function getPostMessageAccounts(
177
184
message,
178
185
emitter,
179
186
sequence : deriveEmitterSequenceKey ( emitter , wormholeAddress ) ,
180
- payer : emitter ,
187
+ payer : OPS_KEY ,
181
188
feeCollector : deriveFeeCollectorKey ( wormholeAddress ) ,
182
189
clock : SYSVAR_CLOCK_PUBKEY ,
183
190
rent : SYSVAR_RENT_PUBKEY ,
You can’t perform that action at this time.
0 commit comments