diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-23 23:00:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-23 23:00:06 +0800 |
commit | 554b18a466d5cc65271daa61aba96138ce7408f0 (patch) | |
tree | 75976e979b713fb47c9462f1a3bc30a184cc568c /packages/contracts/test/exchange/signature_validator.ts | |
parent | 855b6b1dc5597f360451232ff6dfc91beb3a9f50 (diff) | |
parent | c2ae9f62a41466c714a5e2232782d08261464b9c (diff) | |
download | dexon-0x-contracts-554b18a466d5cc65271daa61aba96138ce7408f0.tar dexon-0x-contracts-554b18a466d5cc65271daa61aba96138ce7408f0.tar.gz dexon-0x-contracts-554b18a466d5cc65271daa61aba96138ce7408f0.tar.bz2 dexon-0x-contracts-554b18a466d5cc65271daa61aba96138ce7408f0.tar.lz dexon-0x-contracts-554b18a466d5cc65271daa61aba96138ce7408f0.tar.xz dexon-0x-contracts-554b18a466d5cc65271daa61aba96138ce7408f0.tar.zst dexon-0x-contracts-554b18a466d5cc65271daa61aba96138ce7408f0.zip |
Merge pull request #906 from 0xProject/refactor/contracts/examples
[contracts] Add `examples` directory
Diffstat (limited to 'packages/contracts/test/exchange/signature_validator.ts')
-rw-r--r-- | packages/contracts/test/exchange/signature_validator.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/contracts/test/exchange/signature_validator.ts b/packages/contracts/test/exchange/signature_validator.ts index ef154bf9b..f2bb42c75 100644 --- a/packages/contracts/test/exchange/signature_validator.ts +++ b/packages/contracts/test/exchange/signature_validator.ts @@ -9,8 +9,8 @@ import { TestSignatureValidatorContract, TestSignatureValidatorSignatureValidatorApprovalEventArgs, } from '../../generated_contract_wrappers/test_signature_validator'; -import { TestValidatorContract } from '../../generated_contract_wrappers/test_validator'; -import { TestWalletContract } from '../../generated_contract_wrappers/test_wallet'; +import { ValidatorContract } from '../../generated_contract_wrappers/validator'; +import { WalletContract } from '../../generated_contract_wrappers/wallet'; import { addressUtils } from '../utils/address_utils'; import { artifacts } from '../utils/artifacts'; import { expectContractCallFailed } from '../utils/assertions'; @@ -29,8 +29,8 @@ describe('MixinSignatureValidator', () => { let signedOrder: SignedOrder; let orderFactory: OrderFactory; let signatureValidator: TestSignatureValidatorContract; - let testWallet: TestWalletContract; - let testValidator: TestValidatorContract; + let testWallet: WalletContract; + let testValidator: ValidatorContract; let signerAddress: string; let signerPrivateKey: Buffer; let notSignerAddress: string; @@ -53,14 +53,14 @@ describe('MixinSignatureValidator', () => { provider, txDefaults, ); - testWallet = await TestWalletContract.deployFrom0xArtifactAsync( - artifacts.TestWallet, + testWallet = await WalletContract.deployFrom0xArtifactAsync( + artifacts.Wallet, provider, txDefaults, signerAddress, ); - testValidator = await TestValidatorContract.deployFrom0xArtifactAsync( - artifacts.TestValidator, + testValidator = await ValidatorContract.deployFrom0xArtifactAsync( + artifacts.Validator, provider, txDefaults, signerAddress, |