Skip to content

Commit 82883bf

Browse files
lukacanlukacan
authored andcommitted
🔥 Enable feature that allows newer sbpf versions
1 parent ff42e78 commit 82883bf

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎src/trident_svm.rs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,17 @@ impl Default for TridentSVM {
8181
fn default() -> Self {
8282
let payer = Keypair::new();
8383

84+
let feature_set = SVMFeatureSet {
85+
enable_sbpf_v1_deployment_and_execution: true,
86+
enable_sbpf_v2_deployment_and_execution: true,
87+
enable_sbpf_v3_deployment_and_execution: true,
88+
..Default::default()
89+
};
90+
8491
let mut client = Self {
8592
accounts: Default::default(),
8693
payer: payer.insecure_clone(),
87-
feature_set: Arc::new(SVMFeatureSet::default()),
94+
feature_set: Arc::new(feature_set),
8895
processor: TransactionBatchProcessor::<TridentForkGraph>::new(
8996
1,
9097
1,

0 commit comments

Comments
 (0)