Skip to content

Commit

Permalink
fix: moved the testing contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohsen-T committed Feb 12, 2024
1 parent 547f4a7 commit ee2b891
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .echidna.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ const echidnaPath = '/usr/local/bin/echidna';
console.log(echidnaPath);
switch (contract) {
case 'Operators':
exec(echidnaPath + ' --config echidna.yaml --contract Operators contracts/modules/Operators.sol');
exec(echidnaPath + ' --config echidna.yaml --contract Operators contracts/echidna/Operators.sol');
break;
case 'Clusters':
exec(echidnaPath + ' --config echidna.yaml --contract Clusters contracts/modules/Clusters.sol');
exec(echidnaPath + ' --config echidna.yaml --contract Clusters contracts/echidna/Clusters.sol');
break;
case 'DAO':
exec(echidnaPath + ' --config echidna.yaml --contract DAO contracts/modules/DAO.sol');
exec(echidnaPath + ' --config echidna.yaml --contract DAO contracts/echidna/DAO.sol');
break;
default:
console.log(chalk.redBright('Invalid contract name. Use Operators, Clusters, or DAO.'));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.18;

import "./SSVClusters.sol";
import "../modules/SSVClusters.sol";
import "../libraries/ClusterLib.sol";

contract Clusters is SSVClusters {
Expand Down
2 changes: 1 addition & 1 deletion contracts/modules/DAO.sol → contracts/echidna/DAO.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.18;

import "./SSVDAO.sol";
import "../modules/SSVDAO.sol";

contract DAO is SSVDAO {
constructor() {

Check warning on line 7 in contracts/echidna/DAO.sol

View workflow job for this annotation

GitHub Actions / ci

Explicitly mark visibility in function
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.18;

import "./SSVOperators.sol";
import "../modules/SSVOperators.sol";
import "../libraries/ProtocolLib.sol";

contract Operators is SSVOperators {
Expand Down
2 changes: 1 addition & 1 deletion crytic-export/combined_solc.json

Large diffs are not rendered by default.

0 comments on commit ee2b891

Please sign in to comment.