Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
penandlim committed Feb 29, 2024
1 parent 61606d5 commit 3381469
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ options = Options
<> help "Block number to use when fetching over RPC.")
<*> optional (option str $ long "rpc-url"
<> metavar "URL"
<> help "Fetch contracts over a RPC URL.")
<> help "RPC URL to fetch contracts over.")
<*> optional (option auto $ long "shrink-limit"
<> metavar "INTEGER"
<> help ("Number of tries to attempt to shrink a failing sequence of transactions. Default is " ++ show defaultShrinkLimit))
Expand Down Expand Up @@ -214,8 +214,8 @@ versionOption = infoOption

overrideConfig :: EConfig -> Options -> IO EConfig
overrideConfig config Options{..} = do
rpcUrl <- (pure cliRpcUrl) <|> Onchain.rpcUrlEnv
rpcBlock <- (pure cliRpcBlock) <|> Onchain.rpcBlockEnv
rpcUrl <- pure cliRpcUrl <|> Onchain.rpcUrlEnv
rpcBlock <- pure cliRpcBlock <|> Onchain.rpcBlockEnv
pure $
config { solConf = overrideSolConf config.solConf
, campaignConf = overrideCampaignConf config.campaignConf
Expand Down

0 comments on commit 3381469

Please sign in to comment.