Skip to content

Commit 86cd761

Browse files
committed
Remove keypair generation - setup-arcium already does this
1 parent 3acc654 commit 86cd761

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ jobs:
3030
chmod +x ~/.cargo/bin/arcium
3131
arcium --version
3232
33-
# Generate keypair needed for Anchor to work. Anchor.toml specifies
34-
# wallet = "~/.config/solana/id.json" which arcium test requires to exist.
35-
- name: Generate Solana keypair for Anchor
36-
run: |
37-
mkdir -p ~/.config/solana
38-
solana-keygen new --no-bip39-passphrase --silent --outfile ~/.config/solana/id.json
39-
4033
# Verify Docker is running and can pull images
4134
# Arcium requires Docker to run MPC nodes during tests
4235
- name: Verify Docker

tests/election.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { getSetComputeUnitLimitInstruction } from "@solana-program/compute-budget";
22
import { randomBytes } from "crypto";
3+
import { promises as fs } from "fs";
34
import { connect, type Connection } from "solana-kite";
45
import {
56
type KeyPairSigner,
@@ -23,7 +24,6 @@ import {
2324
buildFinalizeCompDefInstruction,
2425
} from "./arcium-solana-kit/helpers.js";
2526
import { describe, test, before } from "node:test";
26-
import assert from "node:assert";
2727
import {
2828
getRandomBigInt,
2929
makeClientSideKeys,
@@ -383,7 +383,7 @@ describe("Election", () => {
383383
compDefAccount: compDefPDA,
384384
});
385385

386-
const instructions = [];
386+
const instructions: Array<Instruction> = [];
387387

388388
if (needsComputeBudget) {
389389
// create_poll circuit requires higher compute budget due to initialization complexity

0 commit comments

Comments
 (0)