Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista authored and TRileySchwarz committed Nov 15, 2023
1 parent ccab8cd commit 5e4055a
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getContract, getContractAt, getLayerZeroChainId } from "./utils/crossChainHelper"
import { logError } from "./utils/helpers"
import { LZ_APP_ABI } from "./constants/abi"
import { getContract, getContractAt, getLayerZeroChainId } from "../utils/crossChainHelper"
import { logError } from "../utils/helpers"
import { LZ_APP_ABI } from "../constants/abi"

export default async function (taskArgs: any, hre: any) {
const localNetworks = taskArgs.chains.split(",")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getDeploymentAddresses, getApplicationConfig, getEndpointAddress } from "./utils/crossChainHelper"
import { ENDPOINT_ABI, MESSAGING_LIBRARY_ABI } from "./constants/abi"
import { logError } from "./utils/helpers"
import { getDeploymentAddresses, getApplicationConfig, getEndpointAddress } from "../utils/crossChainHelper"
import { ENDPOINT_ABI, MESSAGING_LIBRARY_ABI } from "../constants/abi"
import { logError } from "../utils/helpers"

export default async (taskArgs: any, hre: any) => {
const network = hre.network.name
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ethers } from "ethers"
import { getProvider, getLayerZeroChainId, getEndpointAddress } from "./utils/crossChainHelper"
import { getProvider, getLayerZeroChainId, getEndpointAddress } from "../utils/crossChainHelper"
const { ENDPOINT_ABI, MESSAGING_LIBRARY_ABI } = require("./constants/abi")

export default async (taskArgs: any, hre: any) => {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { promptToProceed, writeToCsv, logError, logWarning, printTransactions, logSuccess, configExist, getConfig } from "./utils/helpers"
import { promptToProceed, writeToCsv, logError, logWarning, printTransactions, logSuccess, configExist, getConfig } from "../utils/helpers"
import {
executeTransaction,
executeGnosisTransactions,
Expand All @@ -10,8 +10,8 @@ import {
getApplicationConfig,
getEndpointAddress,
getLayerZeroChainId,
} from "./utils/crossChainHelper"
import { ENDPOINT_ABI, MESSAGING_LIBRARY_ABI, USER_APPLICATION_ABI } from "./constants/abi"
} from "../utils/crossChainHelper"
import { ENDPOINT_ABI, MESSAGING_LIBRARY_ABI, USER_APPLICATION_ABI } from "../constants/abi"
import { utils } from "ethers"

// Application config types from UltraLightNodeV2 contract
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Transaction, NetworkTransactions, getContractInstance, getLayerZeroChainId, executeTransactions } from "./utils/crossChainHelper"
import { configExist, getConfig, logError, printTransactions } from "./utils/helpers"
import { setUseCustomAdapterParams, setMinDstGas, setTrustedRemote, getContractNameOrAddress } from "./utils/wireAllHelpers"
import { Transaction, NetworkTransactions, getContractInstance, getLayerZeroChainId, executeTransactions } from "../utils/crossChainHelper"
import { configExist, getConfig, logError, printTransactions } from "../utils/helpers"
import { setUseCustomAdapterParams, setMinDstGas, setTrustedRemote, getContractNameOrAddress } from "../utils/wireAllHelpers"

export default async function (taskArgs: any, hre: any) {
if (!configExist(taskArgs.configPath)) {
Expand Down
5 changes: 4 additions & 1 deletion packages/ua-utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"extends": "../../tsconfig.json",
"exclude": ["dist", "node_modules"],
"compilerOptions": {
"types": ["node", "mocha"]
"types": ["node", "mocha"],
"paths": {
"@/*": ["./src/*"]
}
}
}

0 comments on commit 5e4055a

Please sign in to comment.