Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build #47

Merged
merged 9 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}" }
Loading