Skip to content

Commit 66268bf

Browse files
committed
chore: fix ci
1 parent 463eaf4 commit 66268bf

File tree

3 files changed

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

3 files changed

+10
-6
lines changed

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

Lines changed: 5 additions & 5 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";
@@ -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

@@ -1010,7 +1010,7 @@ multisigCommand(
10101010
const trustedSigner = Buffer.from(options.signer, "hex");
10111011
const expiryTime = new BN(options.expiryTime);
10121012

1013-
const programId = SOLANA_LAZER_PROGRAM_ID;
1013+
const programId = new PublicKey(SOLANA_LAZER_PROGRAM_ID);
10141014
const programDataAccount = PublicKey.findProgramAddressSync(
10151015
[programId.toBuffer()],
10161016
BPF_UPGRADABLE_LOADER,
@@ -1039,7 +1039,7 @@ multisigCommand(
10391039
// Create Anchor program instance
10401040
const lazerProgram = new Program(
10411041
lazerIdl as Idl,
1042-
SOLANA_LAZER_PROGRAM_ID,
1042+
programId,
10431043
vault.getAnchorProvider(),
10441044
);
10451045

@@ -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)