Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
duncancmt committed May 23, 2024
1 parent 2aa9764 commit 7996cad
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion script/DeploySafes.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {AddressDerivation} from "src/utils/AddressDerivation.sol";
import {ZeroExSettlerDeployerSafeModule} from "src/deployer/SafeModule.sol";
import {Deployer, Feature} from "src/deployer/Deployer.sol";
import {ERC1967UUPSProxy} from "src/proxy/ERC1967UUPSProxy.sol";
import {Settler} from "src/Settler.sol";
import {SafeConfig} from "./SafeConfig.sol";

interface ISafeFactory {
Expand Down
2 changes: 1 addition & 1 deletion script/SafeConfig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ library SafeConfig {
uint256 internal constant deploymentSafeThreshold = 2;

// forgefmt: disable-next-line
function getDeploymentSafeSigners() internal view returns (address[] memory) { // this is non-view (mutable) on purpose
function getDeploymentSafeSigners() internal view returns (address[] memory) { // this is non-pure (view) on purpose
address[] memory result = new address[](7);
result[0] = 0x24420bC8C760787F3eEF3b809e81f44d31a9c5A2; // Jacob
result[1] = 0x000000c397124D0375555F435e201F83B636C26C; // Kyu
Expand Down
1 change: 1 addition & 0 deletions sh/deploy_allowanceholder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ declare -r -i gas_price

export FOUNDRY_OPTIMIZER_RUNS=1000000

forge clean
forge create --no-cache --private-key "$(get_secret allowanceHolder key)" --chain "$(get_config chainId)" --rpc-url "$rpc_url" --gas-price "$gas_price" --gas-limit 4000000 --etherscan-api-key "$(get_api_secret etherscanKey)" --verifier-url "$(get_config etherscanApi)" --verify $(get_config extraFlags) src/allowanceholder/AllowanceHolder.sol:AllowanceHolder

echo 'Deployment is complete' >&2
Expand Down

0 comments on commit 7996cad

Please sign in to comment.