File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11import { getSetComputeUnitLimitInstruction } from "@solana-program/compute-budget" ;
22import { randomBytes } from "crypto" ;
3+ import { promises as fs } from "fs" ;
34import { connect , type Connection } from "solana-kite" ;
45import {
56 type KeyPairSigner ,
@@ -23,7 +24,6 @@ import {
2324 buildFinalizeCompDefInstruction ,
2425} from "./arcium-solana-kit/helpers.js" ;
2526import { describe , test , before } from "node:test" ;
26- import assert from "node:assert" ;
2727import {
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
You can’t perform that action at this time.
0 commit comments