Skip to content

Commit

Permalink
🔥 Remove trident-fuzzing feature for now
Browse files Browse the repository at this point in the history
  • Loading branch information
lukacan committed Jul 11, 2024
1 parent 04f7f37 commit 3a82896
Show file tree
Hide file tree
Showing 8 changed files with 165 additions and 507 deletions.
2 changes: 1 addition & 1 deletion crates/fuzz/src/trident_accounts_struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ fn generate(accs: &TridentAccountsStruct) -> proc_macro2::TokenStream {
});

quote! {
#[cfg(feature = "trident-fuzzing")]
// #[cfg(feature = "trident-fuzzing")]
pub mod #module_name{
#[cfg(target_os = "solana")]
compile_error!("Do not use fuzzing with Production Code");
Expand Down
147 changes: 33 additions & 114 deletions examples/fuzz-tests/arbitrary-custom-types-4/Cargo.lock

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

3 changes: 1 addition & 2 deletions examples/fuzz-tests/arbitrary-limit-inputs-5/Cargo.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ crate-type = ["cdylib", "lib"]
name = "arbitrary_limit_inputs_5"

[features]
default = ["trident-fuzzing"]
default = []
cpi = ["no-entrypoint"]
no-entrypoint = []
no-idl = []
no-log-ix-name = []
idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"]
trident-fuzzing = ["trident-client"]

[dependencies]
anchor-lang = "0.30.1"
anchor-spl = "0.30.1"
trident-client = { path = "../../../../../crates/client", optional = true }
trident-client = { path = "../../../../../crates/client" }
Loading

0 comments on commit 3a82896

Please sign in to comment.