Skip to content

Commit b4151c8

Browse files
authored
Debt: Clean foundry environment (#288)
1 parent 9c2eca0 commit b4151c8

14 files changed

+7
-16
lines changed

aderyn_core/src/context/workspace_context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2367,10 +2367,10 @@ mod context_tests {
23672367
"../tests/contract-playground/out/ExtendedInheritance.sol/ExtendedInheritance.json",
23682368
)?;
23692369
let inheritance_base = read_compiler_output(
2370-
"../tests/contract-playground/out/InheritanceBase.sol/InheritanceBase.0.8.24.json",
2370+
"../tests/contract-playground/out/InheritanceBase.sol/InheritanceBase.0.8.25.json",
23712371
)?;
23722372
let i_contract_inheritance = read_compiler_output(
2373-
"../tests/contract-playground/out/IContractInheritance.sol/IContractInheritance.0.8.24.json",
2373+
"../tests/contract-playground/out/IContractInheritance.sol/IContractInheritance.0.8.25.json",
23742374
)?;
23752375
extended_inheritance.ast.accept(&mut context)?;
23762376
inheritance_base.ast.accept(&mut context)?;

aderyn_core/src/detect/low/push_0_opcode.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ mod unspecific_solidity_pragma_tests {
181181
#[test]
182182
fn test_push_0_opcode_detector_on_caret_0_8_13() {
183183
let context =
184-
load_contract("../tests/contract-playground/out/Counter.sol/Counter.0.8.24.json");
184+
load_contract("../tests/contract-playground/out/Counter.sol/Counter.0.8.25.json");
185185

186186
let mut detector = super::PushZeroOpcodeDetector::default();
187187
let found = detector.detect(&context).unwrap();
@@ -194,7 +194,7 @@ mod unspecific_solidity_pragma_tests {
194194
#[test]
195195
fn test_push_0_opcode_detector_on_greter_equal_0_8_0() {
196196
let context = load_contract(
197-
"../tests/contract-playground/out/IContractInheritance.sol/IContractInheritance.0.8.24.json",
197+
"../tests/contract-playground/out/IContractInheritance.sol/IContractInheritance.0.8.25.json",
198198
);
199199

200200
let mut detector = super::PushZeroOpcodeDetector::default();

aderyn_core/src/detect/low/unspecific_solidity_pragma.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ mod unspecific_solidity_pragma_tests {
5858
#[test]
5959
fn test_unspecific_solidity_pragma_detector() {
6060
let context = load_contract(
61-
"../tests/contract-playground/out/IContractInheritance.sol/IContractInheritance.0.8.24.json",
61+
"../tests/contract-playground/out/IContractInheritance.sol/IContractInheritance.0.8.25.json",
6262
);
6363

6464
let mut detector = UnspecificSolidityPragmaDetector::default();

aderyn_core/src/detect/nc/useless_public_function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ mod useless_public_function_tests {
6868
#[test]
6969
fn test_useless_public_functions() {
7070
let context =
71-
load_contract("../tests/contract-playground/out/Counter.sol/Counter.0.8.24.json");
71+
load_contract("../tests/contract-playground/out/Counter.sol/Counter.0.8.25.json");
7272

7373
let mut detector = UselessPublicFunctionDetector::default();
7474
// assert that the detector finds the public function

aderyn_core/src/detect/reusable/identifiers_that_reference_a_function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ mod identifiers_that_reference_functions_detector_tests {
5151
#[test]
5252
fn test_identifiers_that_reference_functions_detector() {
5353
let context =
54-
load_contract("../tests/contract-playground/out/Counter.sol/Counter.0.8.24.json");
54+
load_contract("../tests/contract-playground/out/Counter.sol/Counter.0.8.25.json");
5555
// from context, get the first item from function_definitions where name is "amountIn"
5656
let function_definition = context
5757
.function_definitions()

tests/contract-playground/out/Counter.sol/Counter.0.8.21.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/contract-playground/out/Counter.sol/Counter.0.8.24.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/contract-playground/out/Counter.sol/Counter.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/contract-playground/out/IContractInheritance.sol/IContractInheritance.0.8.21.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/contract-playground/out/IContractInheritance.sol/IContractInheritance.0.8.24.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/contract-playground/out/IContractInheritance.sol/IContractInheritance.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)