Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
additional comments and formatting improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
CAPtheorem committed Jul 2, 2021
1 parent 6decebc commit ac35e72
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
13 changes: 13 additions & 0 deletions packages/omgx/message-relayer-fast/test/b_lp.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ describe('Liquidity Pool Test', async () => {

env = await OptimismEnv.new()

/****************************
// * THIS NEEDS TO BE CHANGED/UPDATED TO TEST THE DEPLOYED CONTRACTS
// * The addresses are at
// export const getOMGXDeployerAddresses = async () => {
// var options = {
// uri: OMGX_URL,
// }
// const result = await request.get(options)
// return JSON.parse(result)
// }
*****************************/

// console.log(env.addressesOMGX)

// L1LiquidityPool = new Contract(
Expand Down
22 changes: 11 additions & 11 deletions packages/omgx/message-relayer-fast/test/shared/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,19 @@ export const getAddressManager = async (provider: any) => {
}

export const getDeployerAddresses = async () => {
var options = {
uri: DEPLOYER,
}
const result = await request.get(options)
return JSON.parse(result)
var options = {
uri: DEPLOYER,
}
const result = await request.get(options)
return JSON.parse(result)
}

export const getOMGXDeployerAddresses = async () => {
var options = {
uri: OMGX_URL,
}
const result = await request.get(options)
return JSON.parse(result)
export const getOMGXDeployerAddresses = async () => {
var options = {
uri: OMGX_URL,
}
const result = await request.get(options)
return JSON.parse(result)
}

export const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms))

0 comments on commit ac35e72

Please sign in to comment.