Skip to content

Commit

Permalink
Setup remappings and governor files
Browse files Browse the repository at this point in the history
  • Loading branch information
apbendi committed Oct 31, 2023
1 parent 5ce5a4c commit 82e8182
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 50 deletions.
6 changes: 5 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
evm_version = "paris"
optimizer = true
optimizer_runs = 10_000_000
solc_version = "0.8.20"
remappings = [
"@openzeppelin/contracts/=lib/flexible-voting/lib/openzeppelin-contracts/contracts",
"flexible-voting/=lib/flexible-voting/src",
]
solc_version = "0.8.22"
verbosity = 3

[profile.ci]
Expand Down
12 changes: 3 additions & 9 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
// SPDX-License-Identifier: UNLICENSED
// SPDX-License-Identifier: MIT
// slither-disable-start reentrancy-benign

pragma solidity 0.8.20;
pragma solidity 0.8.22;

import {Script} from "forge-std/Script.sol";
import {Counter} from "src/Counter.sol";

contract Deploy is Script {
Counter counter;

function run() public {
vm.broadcast();
counter = new Counter();
}
function run() public { }
}
14 changes: 0 additions & 14 deletions src/Counter.sol

This file was deleted.

6 changes: 6 additions & 0 deletions src/GuineaPigGovernor.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

contract GuineaPigGovernor {

}
26 changes: 0 additions & 26 deletions test/Counter.t.sol

This file was deleted.

13 changes: 13 additions & 0 deletions test/GuineaPigGovernor.t.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

import {Test, console2} from "forge-std/Test.sol";

contract GuineaPigGovernorTest is Test {
function setUp() public {
}
}

contract Deployment is GuineaPigGovernorTest {

}

0 comments on commit 82e8182

Please sign in to comment.