1. Redeploy Required
The Arcium program ID has changed. You must redeploy your MXE program to use v0.6.3.| Version | Program ID |
|---|---|
| v0.5.x | BpaW2ZmCJnDwizWY8eM34JtVqp2kRgnmQcedSVc9USdP |
| v0.6.3 | Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ |
2. Update Rust Dependencies
Update your program dependencies to v0.6.3:3. Update TypeScript Dependencies
4. Rename SignerAccount to ArciumSignerAccount (Rust)
TheSignerAccount type has been renamed to ArciumSignerAccount. Update all references in your program:
The seed in the
seeds attribute must also be updated from b"SignerAccount" to b"ArciumSignerAccount".5. Update PDA Seed in TypeScript
If you derive the signer PDA manually in your TypeScript code, update the seed:6. (Optional) Configure Arcium.toml for Non-Localnet Testing
v0.6.3 adds the--cluster flag to run tests against devnet, mainnet, or custom clusters directly.
Prerequisites
| Mode | Requirements |
|---|---|
| Localnet (default) | Docker running, ports available |
| Remote clusters | Cluster offset in Arcium.toml, RPC URL in Anchor.toml |
Configure Cluster Offsets
Add cluster configurations to yourArcium.toml:
Run Tests
RPC Configuration
For non-localnet testing, configure your RPC endpoint inAnchor.toml:
Non-localnet tests skip Docker, local validator, and ARX nodes entirely. The CLI reads the cluster offset from
Arcium.toml and sets the ARCIUM_CLUSTER_OFFSET environment variable for your tests.7. Migrate from arcis-imports to arcis
Thearcis-imports crate no longer exists in v0.6.3. You must migrate to the arcis crate:
Blake3 must be pinned to exactly 1.8.2. Newer versions use Rust edition 2024, which is incompatible with Anchor programs.
8. Add mut to clock_account
The clock_account now requires the mut attribute in your account constraints:
9. Verify Migration
After completing all steps, verify your migration:10. Summary of Breaking Changes
| Change | Before v0.6 | v0.6.3 |
|---|---|---|
| Program ID | BpaW2ZmCJnDwizWY8eM34JtVqp2kRgnmQcedSVc9USdP | Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ |
| Signer Account Type | SignerAccount | ArciumSignerAccount |
| Signer PDA Seed | "SignerAccount" | "ArciumSignerAccount" |
| Rust Dependencies | 0.5.x | 0.6.3 |
| TypeScript Client | @arcium-hq/[email protected] | @arcium-hq/[email protected] |
| Arcis Crate | arcis-imports | arcis |
| blake3 (encrypted-ixs) | Not required | blake3 = "=1.8.2" |
| clock_account | No mut | Requires mut |