You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arcium 0.6.3 fixes the timeout bug from 0.6.2 where arcium test ignored
Anchor.toml's startup_wait setting. This should allow GitHub Actions to pass
with the 300 second timeout configured in Anchor.toml.
Changes:
- Update GitHub Actions workflow to download arcium 0.6.3 binary
- Update README to reflect 0.6.3 fixes the timeout issue
- Update run-tests.bash comments to reference 0.6.3
- Update helpers.ts header comment to 0.6.3
- Note: arcup should work in 0.6.3 (bootstrap bug fixed)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Private Elections on Solana with Arcium
2
2
3
3
> [!NOTE]
4
-
> Tests work on local machines but currently fail on GitHub Actions due to a bug in Arcium CLI 0.6.2 where it ignores Anchor.toml's `startup_wait` setting and uses a hardcoded ~60 second timeout. GitHub Actions runners are too slow for this timeout. Tests pass locally with the 300 second timeout configured in Anchor.toml.
4
+
> This project uses Arcium 0.6.3 which fixes the timeout bug from 0.6.2. GitHub Actions use a 300 second startup_wait (configured in Anchor.toml) to accommodate slower CI environments. Local development typically completes in ~90 seconds.
5
5
6
6
Based on the https://github.com/arcium-hq/examples 'voting' app with a [significant number of fixes](https://github.com/quiknode-labs/arcium-election/commits/main/).
7
7
@@ -15,11 +15,13 @@ Prerequisites:
15
15
16
16
Run `npm test`. That script will:
17
17
18
-
- Set the correct Arcium version (0.4.0)
19
-
- Set the correct Anchor version (0.32.1)
20
-
- Unset RUSTUP_TOOLCHAIN to use Arcium's custom Rust version
21
-
- Remove the old test-ledger, so the old compdef accounts are cleared out
22
-
- Run `arcium test` to build and run the tests
18
+
- Set the correct Anchor version (0.32.1) if avm is available
19
+
- Unset RUSTUP_TOOLCHAIN to use Rust 1.92.0 (from rust-toolchain.toml)
20
+
- Pull Arcium Docker images with correct platform for Apple Silicon
21
+
- Kill any running Solana validator and remove test ledger for clean state
22
+
- Remove Docker containers to clear cached MXE state
23
+
- Build the program and generate Codama client
24
+
- Run `arcium test` to test with Arcium 0.6.3
23
25
24
26
## How the Election program works, and how Arcium works
0 commit comments