Skip to content

Commit

Permalink
Fix slither build
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinNagpal authored Oct 16, 2024
1 parent 56ea0f3 commit 771d6f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-slither.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Install packages
run: pip install slither-analyzer solc-select

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Switch to solidity version
run: solc-select install 0.8.15;solc-select use 0.8.15

Expand Down
3 changes: 1 addition & 2 deletions forge/script/marketupdates/GovernorProposal.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ import "@comet-contracts/IGovernorBravo.sol";
import "@comet-contracts/IComp.sol";
import "@comet-contracts/marketupdates/CometProxyAdminOld.sol";

import "./helpers/DeployedAddresses.sol";
import "./helpers/GovernanceHelper.sol";
import "./helpers/MarketUpdateAddresses.sol";

contract GovernorProposal is Script, DeployedAddresses {
contract GovernorProposal is Script {

function run() external {
string memory chainName = vm.envString("CHAIN_NAME"); // Access the env variable
Expand Down
11 changes: 0 additions & 11 deletions forge/script/marketupdates/helpers/DeployedAddresses.sol

This file was deleted.

7 changes: 1 addition & 6 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ cache_path = 'forge/cache'
# disable for CI (used for debugging liquidity issues)
no_match_test = "test.*SwapVia"

evm_version = "shanghai"

fs_permissions = [{ access = "read-write", path = "./forge/script/helperContracts/DeployedAddresses.sol" }]
evm_version = "london"

remappings = [
"@forge-std/=forge/lib/forge-std/",
Expand All @@ -25,6 +23,3 @@ optimism = "${OPTIMISM_RPC_URL}"
scroll = "${SCROLL_RPC_URL}"
base = "${BASE_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"

[etherscan]
sepolia = { key = "${ETHERSCAN_API_KEY}" }

0 comments on commit 771d6f4

Please sign in to comment.