Skip to content

Commit

Permalink
finish up
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed Nov 25, 2024
1 parent cc24256 commit 1306166
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 6 additions & 0 deletions config/dexs.json
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,12 @@
"0xcaA342e4f781d63EF41E220D7622B97E66BAEcF3",
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55"
],
"lisk": [
"0x603a538477d44064eA5A5d8C345b4Ff6fca1142a",
"0x2321F1a63A683a1F3634Dbe1CbA0d657D5F56d54",
"0x8f023b4193a6b18C227B4a755f8e28B3D30Ef9a1",
"0x50D5a8aCFAe13Dceb217E9a071F6c6Bd5bDB4155"
],
"mantle": [
"0xD9F4e85489aDCD0bAF0Cd63b4231c6af58c26745",
"0x6352a56caadC4F1E25CD6c75970Fa768A3304e64",
Expand Down
2 changes: 1 addition & 1 deletion config/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
"explorerApiUrl": "https://blockscout.lisk.com/api",
"multicallAddress": "0xcA11bde05977b3631167028862bE2a173976CA11",
"safeApiUrl": "https://transaction-lisk.safe.optimism.io/api",
"safeAddress": "lisk:0x86E02d7383D6a045848b0a1A842996AC9E943113",
"safeAddress": "0x86E02d7383D6a045848b0a1A842996AC9E943113",
"safeWebUrl": "https://safe.optimism.io/home?safe=lisk:0x86E02d7383D6a045848b0a1A842996AC9E943113",
"gasZipChainId": 238
},
Expand Down
7 changes: 1 addition & 6 deletions script/deploy/healthCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ import {
} from 'viem'
import {
Network,
networks,
getViemChainForNetworkName,
type NetworksObject,
} from '../utils/viemScriptHelpers'
import data from '../../config/networks.json'
const networks: NetworksObject = data as NetworksObject

const SAFE_THRESHOLD = 3

Expand Down Expand Up @@ -65,10 +64,6 @@ const main = defineCommand({
},
},
async run({ args }) {
const { getViemChainForNetworkName, networks } = await import(
'../utils/viemScriptHelpers'
)

if ((await $`${louperCmd}`.exitCode) !== 0) {
const answer = await consola.prompt(
'Louper CLI is required but not installed. Would you like to install it now?',
Expand Down
2 changes: 1 addition & 1 deletion script/utils/viemScriptHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const colors = {
red: '\x1b[31m',
green: '\x1b[32m',
}
const networks: NetworksObject = networksConfig
export const networks: NetworksObject = networksConfig

export const getViemChainForNetworkName = (networkName: string): Chain => {
const network = networks[networkName]
Expand Down

0 comments on commit 1306166

Please sign in to comment.