Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
jobs:
Lint-Workspace:
name: Lint Workspace
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: echo "Starting Lint-Workspace"

lint:
name: Lint
needs: Lint-Workspace
# This job runs on an Ubuntu 20.04 runner
runs-on: ubuntu-20.04
# This job runs on an Ubuntu 22.04 runner
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4 # Checkout the code from the repository

Expand Down Expand Up @@ -50,6 +50,6 @@ jobs:
checks:
name: Lint-Workspace (Checks)
needs: lint
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- run: echo "Lint Workspace completed successfully"
93 changes: 2 additions & 91 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ solana-logger = "~2.0"
# Misc
serde = { version = "1", default-features = false }
bincode = "1.3"
serde_json = "1.0"
shared_memory = "0.12"

# Syscall stubs
[dependencies.trident-syscall-stubs-v1]
Expand Down
10 changes: 0 additions & 10 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use crate::types::trident_program::TridentProgram;
pub struct TridentSVMConfig {
syscalls_v1: bool,
syscalls_v2: bool,
fuzzing_metrics: String,
program_entrypoints: Vec<TridentEntrypoint>,
program_binaries: Vec<TridentProgram>,
permanent_accounts: Vec<TridentAccountSharedData>,
Expand Down Expand Up @@ -50,11 +49,6 @@ impl TridentSVMBuilder {
self
}

pub fn with_fuzzing_metrics(mut self, fuzz_stats_path: String) -> Self {
self.config.fuzzing_metrics = fuzz_stats_path;
self
}

pub fn build(self) -> TridentSVM {
let mut svm = TridentSVM::default();

Expand All @@ -65,10 +59,6 @@ impl TridentSVMBuilder {
svm.initialize_syscalls_v2();
}

if !self.config.fuzzing_metrics.is_empty() {
svm.initialize_metrics(self.config.fuzzing_metrics);
}

for entry in self.config.program_entrypoints {
svm.deploy_entrypoint_program(&entry);
}
Expand Down
9 changes: 0 additions & 9 deletions src/fuzzing_metrics/error_entry.rs

This file was deleted.

Loading
Loading