Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wanseob committed Apr 6, 2022
1 parent e3e3dfb commit e00238b
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/client/tests/rpc.hh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe('rPC tests', () => {
assert(keys)
})

it.todo('should get transaction by hash')
it('should get transaction by hash')

it('should get passthrough web3 instance', async () => {
const { provider } = rpc
Expand Down
2 changes: 1 addition & 1 deletion packages/coordinator/tests/unit/coordinator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,6 @@ describe('coordinator test to run testnet', () => {
expect(data.message, `Invalid method: "${name}"`)
})

it.todo('should return a transaction by hash')
it('should return a transaction by hash')
})
})
8 changes: 4 additions & 4 deletions packages/integration-test/test/cases/10_zk_tx_round_3.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import chai from 'chai'
import { TxBuilder, Utxo, ZkTx } from '@zkopru/transaction'
import { Fp } from '@zkopru/babyjubjub'
import { sleep } from '@zkopru/utils'
import { TxBuilder, Utxo, ZkTx } from '~transaction'
import { Fp } from '~babyjubjub'
import { sleep } from '~utils'
import { parseUnits } from 'ethers/lib/utils'
import { Uint256 } from 'soltypes'
import { Block } from '@zkopru/core'
import { Block } from '~core'
import { CtxProvider } from '../context'

const { expect } = chai
Expand Down
6 changes: 3 additions & 3 deletions packages/integration-test/test/cases/3_complete_setup.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import chai from 'chai'

import { sleep } from '@zkopru/utils'
import { sleep } from '~utils'
import { Address } from 'soltypes'
import { ZkWallet } from '@zkopru/zk-wizard'
import { verifyingKeyIdentifier } from '@zkopru/core'
import { ZkWallet } from '~zk-wizard'
import { verifyingKeyIdentifier } from '~core'
import { CtxProvider } from '../context'

const { expect } = chai
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-test/test/cases/4_deposit.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import chai from 'chai'

import { sleep } from '@zkopru/utils'
import { sleep } from '~utils'
import { parseUnits } from 'ethers/lib/utils'
import assert from 'assert'
import { CtxProvider } from '../context'
Expand Down
4 changes: 2 additions & 2 deletions packages/integration-test/test/cases/5_create_block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
/* eslint-disable jest/no-export */
/* eslint-disable jest/require-top-level-describe */
import { expect } from 'chai'
import { sleep } from '@zkopru/utils'
import { sleep } from '~utils'
import { BigNumber } from 'ethers'
import { parseEther } from 'ethers/lib/utils'
import { IBurnAuction__factory } from '@zkopru/contracts'
import { IBurnAuction__factory } from '~contracts'
import { CtxProvider } from '../context'

export const registerCoordinator = (ctx: CtxProvider) => async () => {
Expand Down
6 changes: 3 additions & 3 deletions packages/integration-test/test/cases/6-2_zk_tx_round_1-2.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import chai from 'chai'
import { Sum, SwapTxBuilder, Utxo, ZkTx } from '@zkopru/transaction'
import { Fp } from '@zkopru/babyjubjub'
import { sleep } from '@zkopru/utils'
import { Sum, SwapTxBuilder, Utxo, ZkTx } from '~transaction'
import { Fp } from '~babyjubjub'
import { sleep } from '~utils'
import { parseUnits } from 'ethers/lib/utils'
import { Bytes32 } from 'soltypes'
import { CtxProvider } from '../context'
Expand Down
6 changes: 3 additions & 3 deletions packages/integration-test/test/cases/6_zk_tx_round_1.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import chai from 'chai'
import { TxBuilder, Utxo, ZkTx } from '@zkopru/transaction'
import { Fp } from '@zkopru/babyjubjub'
import { sleep } from '@zkopru/utils'
import { TxBuilder, Utxo, ZkTx } from '~transaction'
import { Fp } from '~babyjubjub'
import { sleep } from '~utils'
import { Bytes32 } from 'soltypes'
import { parseUnits } from 'ethers/lib/utils'
import { CtxProvider } from '../context'
Expand Down
6 changes: 3 additions & 3 deletions packages/integration-test/test/cases/7_zk_tx_round_2.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import chai from 'chai'
import { TxBuilder, Utxo, ZkAddress, ZkTx } from '@zkopru/transaction'
import { Fp } from '@zkopru/babyjubjub'
import { sleep } from '@zkopru/utils'
import { TxBuilder, Utxo, ZkAddress, ZkTx } from '~transaction'
import { Fp } from '~babyjubjub'
import { sleep } from '~utils'
import { parseUnits } from 'ethers/lib/utils'
import { Bytes32 } from 'soltypes'
import { CtxProvider } from '../context'
Expand Down
4 changes: 2 additions & 2 deletions packages/integration-test/test/cases/8_instant_withdrawals.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import chai from 'chai'
import { WithdrawalStatus } from '@zkopru/transaction'
import { sleep } from '@zkopru/utils'
import { WithdrawalStatus } from '~transaction'
import { sleep } from '~utils'
import { Address, Uint256 } from 'soltypes'
import { parseUnits } from 'ethers/lib/utils'
import { BigNumber } from 'ethers'
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-test/test/cases/9_massive_deposits.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import chai from 'chai'
import { BigNumber } from 'ethers'
import { parseUnits } from 'ethers/lib/utils'
import { sleep } from '@zkopru/utils'
import { sleep } from '~utils'
import { CtxProvider } from '../context'

const { expect } = chai
Expand Down

0 comments on commit e00238b

Please sign in to comment.