Skip to content

Commit 673a756

Browse files
committed
chore: fix ci
1 parent 463eaf4 commit 673a756

File tree

3 files changed

+13
-9
lines changed
  • governance/xc_admin/packages
  • lazer/contracts/solana/programs/pyth-lazer-solana-contract/src

3 files changed

+13
-9
lines changed

governance/xc_admin/packages/xc_admin_cli/src/index.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import {
5757
} from "@pythnetwork/pyth-solana-receiver";
5858
import {
5959
SOLANA_LAZER_PROGRAM_ID,
60-
SOLANA_STORAGE_ID,
60+
SOLANA_LAZER_STORAGE_ID,
6161
} from "@pythnetwork/pyth-lazer-sdk";
6262

6363
import { LedgerNodeWallet } from "./ledger";
@@ -222,7 +222,7 @@ multisigCommand(
222222
.requiredOption(
223223
"-t, --target <pubkey>",
224224
"The new governance authority to take over. " +
225-
"If the target is another multisig, it will be the multisig's vault authority PDA.",
225+
"If the target is another multisig, it will be the multisig's vault authority PDA.",
226226
)
227227
.action(async (options: any) => {
228228
const vault = await loadVaultFromOptions(options);
@@ -444,7 +444,7 @@ multisigCommand(
444444

445445
console.log(
446446
"Successfully proposed at: https://proposals.pyth.network/?tab=proposals&proposal=" +
447-
proposalAddresses[0].toBase58(),
447+
proposalAddresses[0].toBase58(),
448448
);
449449
});
450450

@@ -521,8 +521,8 @@ multisigCommand(
521521
if (await accountExists(cluster, stakePubkey)) {
522522
throw new Error(
523523
"Stake account for validator " +
524-
votePubkey.toBase58() +
525-
" already exists, it may be already permissioned",
524+
votePubkey.toBase58() +
525+
" already exists, it may be already permissioned",
526526
);
527527
}
528528

@@ -564,7 +564,7 @@ multisigCommand(
564564
// This should be a single proposal normally
565565
console.log(
566566
"Successfully proposed at: https://proposals.pyth.network/?tab=proposals&proposal=" +
567-
proposalAddresses[0].toBase58(),
567+
proposalAddresses[0].toBase58(),
568568
);
569569
});
570570

@@ -978,7 +978,7 @@ multisigCommand(
978978
.update(trustedSigner, expiryTime)
979979
.accounts({
980980
topAuthority: await vault.getVaultAuthorityPDA(targetCluster),
981-
storage: SOLANA_STORAGE_ID,
981+
storage: new PublicKey(SOLANA_LAZER_STORAGE_ID),
982982
})
983983
.instruction();
984984

@@ -1048,7 +1048,7 @@ multisigCommand(
10481048
.updateEcdsaSigner(trustedSigner, expiryTime)
10491049
.accounts({
10501050
topAuthority: await vault.getVaultAuthorityPDA(targetCluster),
1051-
storage: SOLANA_STORAGE_ID,
1051+
storage: new PublicKey(SOLANA_LAZER_STORAGE_ID),
10521052
})
10531053
.instruction();
10541054

governance/xc_admin/packages/xc_admin_common/src/multisig_transaction/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ export class MultisigParser {
166166
return SolanaStakingMultisigInstruction.fromTransactionInstruction(
167167
instruction,
168168
);
169-
} else if (instruction.programId.equals(new PublicKey(SOLANA_LAZER_PROGRAM_ID))) {
169+
} else if (
170+
instruction.programId.equals(new PublicKey(SOLANA_LAZER_PROGRAM_ID))
171+
) {
170172
return LazerMultisigInstruction.fromInstruction(instruction);
171173
} else {
172174
return UnrecognizedProgram.fromTransactionInstruction(instruction);

lazer/contracts/solana/programs/pyth-lazer-solana-contract/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(unexpected_cfgs, reason = "anchor macro triggers it")]
2+
13
mod signature;
24

35
use {

0 commit comments

Comments
 (0)