Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
shahnami committed Dec 4, 2023
1 parent 9bc35ee commit a9eba9d
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/cmd/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,25 @@ export default class DefenderDeploy {
name: privateNetwork.name,
rpcUrl: privateNetwork['rpc-url'],
blockExplorerUrl: privateNetwork['block-explorer-url'] ?? undefined,
configuration: privateNetwork['configuration'] ?? undefined,
configuration: privateNetwork['configuration']
? {
symbol: privateNetwork['configuration']['symbol'],
subgraphURL: privateNetwork['configuration']['subgraph-url'],
eips: privateNetwork['configuration']['eips']
? {
isEIP1559: privateNetwork['configuration']['eips']['isEIP1559'],
}
: undefined,
safeContracts: privateNetwork['configuration']['safe-contracts']
? {
master: privateNetwork['configuration']['safe-contracts']?.master,
proxyFactory: privateNetwork['configuration']['safe-contracts']?.['proxy-factory'],
multisendCallOnly: privateNetwork['configuration']['safe-contracts']?.['multi-send-call-only'],
createCall: privateNetwork['configuration']['safe-contracts']?.['create-call'],
}
: undefined,
}
: undefined,
apiKey: privateNetwork['api-key'] ?? undefined,
stackResourceId,
});
Expand Down

0 comments on commit a9eba9d

Please sign in to comment.