Skip to content

Commit 72d655b

Browse files
committed
chore: fix ci, add vars
1 parent 30bf474 commit 72d655b

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

.github/workflows/ci-lazer-anchor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- uses: actions-rust-lang/setup-rust-toolchain@v1
2121
with:
2222
toolchain: 1.82.0
23+
cache-workspaces: "lazer/solana-anchor -> target"
2324
- uses: actions/setup-node@v4
2425
with:
2526
node-version: 22

.github/workflows/ci-lazer-publisher.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
toolchain: 1.81.0
2020
components: clippy, rustfmt
21+
cache-workspaces: "lazer/publisher -> target"
2122
- name: install extra tools
2223
run: |
2324
cargo install --locked [email protected]

.github/workflows/ci-lazer-solana.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
toolchain: 1.81.0
2020
components: clippy, rustfmt
21+
cache-workspaces: "lazer/solana -> target"
2122
- name: install extra tools
2223
run: |
2324
cargo install --locked [email protected]
@@ -26,6 +27,8 @@ jobs:
2627
run: |
2728
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
2829
echo "$HOME/.local/share/solana/install/active_release/bin" >> "$GITHUB_PATH"
30+
- name: Set Solana Cli version
31+
run: agave-install init 1.18.26
2932
- name: check Cargo.toml formatting
3033
run: find . -name Cargo.toml -exec taplo fmt --check --diff {} \;
3134
- name: check Rust formatting

lazer/js/src/verify_ed25519_message.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ async function main() {
7373
1,
7474
12,
7575
);
76+
const ed25519InstructionIndex = 0;
77+
const signatureIndex = 0;
7678
const lazerInstruction = await program.methods
77-
.verifyMessage(instructionMessage, 0, 0)
79+
.verifyMessage(instructionMessage, ed25519InstructionIndex, signatureIndex)
7880
.accounts({
7981
payer: provider.wallet.publicKey,
8082
instructionsSysvar: SYSVAR_INSTRUCTIONS_PUBKEY,

0 commit comments

Comments
 (0)