Skip to content

Commit 20991d3

Browse files
committed
Update Arcium to 0.8.5
1 parent 7fa4a9b commit 20991d3

File tree

7 files changed

+47
-47
lines changed

7 files changed

+47
-47
lines changed

Cargo.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

encrypted-ixs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
arcis = "0.8.0"
7+
arcis = "0.8.5"
88
blake3 = "=1.8.2"

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@solana/codecs": "^5.0.0",
1515
"@solana/kit": "^5.4.0",
1616
"bs58": "^4.0.1",
17-
"solana-kite": "^2.1.0",
17+
"solana-kite": "^3.2.1",
1818
"tsx": "^4.20.6"
1919
},
2020
"devDependencies": {

programs/election/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ unexpected_cfgs = { level = "warn", check-cfg = [
2828

2929
[dependencies]
3030
anchor-lang = { version = "0.32.1", features = ["init-if-needed"] }
31-
arcium-client = { version = "0.8.0", default-features = false }
32-
arcium-macros = "0.8.0"
33-
arcium-anchor = "0.8.0"
31+
arcium-client = { version = "0.8.5", default-features = false }
32+
arcium-macros = "0.8.5"
33+
arcium-anchor = "0.8.5"

programs/election/src/lib.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ pub mod election {
138138
)]
139139
pub comp_def_account: Account<'info, ComputationDefinitionAccount>,
140140

141-
#[account(address = ::anchor_lang::solana_program::sysvar::instructions::ID)]
142-
/// CHECK: instructions_sysvar, checked by the account constraint
143-
pub instructions_sysvar: AccountInfo<'info>,
144-
145141
#[account(address = derive_mxe_pda!())]
146142
pub mxe_account: Account<'info, MXEAccount>,
147143

@@ -151,6 +147,10 @@ pub mod election {
151147
#[account(address = derive_cluster_pda!(mxe_account, ErrorCode::ClusterNotSet))]
152148
pub cluster_account: Account<'info, Cluster>,
153149

150+
#[account(address = ::anchor_lang::solana_program::sysvar::instructions::ID)]
151+
/// CHECK: instructions_sysvar, checked by the account constraint
152+
pub instructions_sysvar: AccountInfo<'info>,
153+
154154
/// CHECK: poll_account, checked by the callback account key passed in queue_computation
155155
#[account(mut)]
156156
pub poll_account: Account<'info, Poll>,
@@ -360,10 +360,6 @@ pub mod election {
360360
)]
361361
pub comp_def_account: Account<'info, ComputationDefinitionAccount>,
362362

363-
#[account(address = ::anchor_lang::solana_program::sysvar::instructions::ID)]
364-
/// CHECK: instructions_sysvar, checked by the account constraint
365-
pub instructions_sysvar: AccountInfo<'info>,
366-
367363
#[account(address = derive_mxe_pda!())]
368364
pub mxe_account: Account<'info, MXEAccount>,
369365

@@ -373,6 +369,10 @@ pub mod election {
373369
#[account(address = derive_cluster_pda!(mxe_account, ErrorCode::ClusterNotSet))]
374370
pub cluster_account: Account<'info, Cluster>,
375371

372+
#[account(address = ::anchor_lang::solana_program::sysvar::instructions::ID)]
373+
/// CHECK: instructions_sysvar, checked by the account constraint
374+
pub instructions_sysvar: AccountInfo<'info>,
375+
376376
#[account(mut)]
377377
pub poll_account: Account<'info, Poll>,
378378
}
@@ -493,10 +493,6 @@ pub mod election {
493493
)]
494494
pub comp_def_account: Account<'info, ComputationDefinitionAccount>,
495495

496-
#[account(address = ::anchor_lang::solana_program::sysvar::instructions::ID)]
497-
/// CHECK: instructions_sysvar, checked by the account constraint
498-
pub instructions_sysvar: AccountInfo<'info>,
499-
500496
#[account(address = derive_mxe_pda!())]
501497
pub mxe_account: Account<'info, MXEAccount>,
502498

@@ -505,6 +501,10 @@ pub mod election {
505501

506502
#[account(address = derive_cluster_pda!(mxe_account, ErrorCode::ClusterNotSet))]
507503
pub cluster_account: Account<'info, Cluster>,
504+
505+
#[account(address = ::anchor_lang::solana_program::sysvar::instructions::ID)]
506+
/// CHECK: instructions_sysvar, checked by the account constraint
507+
pub instructions_sysvar: AccountInfo<'info>,
508508
}
509509
}
510510

run-tests.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set -euo pipefail
2222

2323
# Set Arcium version for local development
2424
if command -v arcup &> /dev/null; then
25-
arcup use 0.8.3
25+
arcup use 0.8.5
2626
fi
2727

2828
# Agave 3.x compatibility blocked (tested with 3.1.8 on Arcium 0.8.3)

0 commit comments

Comments
 (0)