aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-08-25 00:27:29 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-08-25 04:32:04 +0800
commit070eff6f3a2f3775ef72248c3f345c05cd833798 (patch)
tree434ea365997e41391c06c14630e3716ef20f2cb7 /packages/contracts/test
parent681ed822eca91085300e85e136ddcf4abd90495c (diff)
downloaddexon-sol-tools-070eff6f3a2f3775ef72248c3f345c05cd833798.tar
dexon-sol-tools-070eff6f3a2f3775ef72248c3f345c05cd833798.tar.gz
dexon-sol-tools-070eff6f3a2f3775ef72248c3f345c05cd833798.tar.bz2
dexon-sol-tools-070eff6f3a2f3775ef72248c3f345c05cd833798.tar.lz
dexon-sol-tools-070eff6f3a2f3775ef72248c3f345c05cd833798.tar.xz
dexon-sol-tools-070eff6f3a2f3775ef72248c3f345c05cd833798.tar.zst
dexon-sol-tools-070eff6f3a2f3775ef72248c3f345c05cd833798.zip
Rename TestStaticCall => TestStaticCallReceiver
Diffstat (limited to 'packages/contracts/test')
-rw-r--r--packages/contracts/test/exchange/core.ts10
-rw-r--r--packages/contracts/test/exchange/signature_validator.ts10
-rw-r--r--packages/contracts/test/utils/artifacts.ts4
3 files changed, 12 insertions, 12 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index d3f9b95af..fdfb40155 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -14,7 +14,7 @@ import { DummyNoReturnERC20TokenContract } from '../../generated_contract_wrappe
import { ERC20ProxyContract } from '../../generated_contract_wrappers/erc20_proxy';
import { ERC721ProxyContract } from '../../generated_contract_wrappers/erc721_proxy';
import { ExchangeCancelEventArgs, ExchangeContract } from '../../generated_contract_wrappers/exchange';
-import { TestStaticCallContract } from '../../generated_contract_wrappers/test_static_call';
+import { TestStaticCallReceiverContract } from '../../generated_contract_wrappers/test_static_call_receiver';
import { artifacts } from '../utils/artifacts';
import { expectTransactionFailedAsync } from '../utils/assertions';
import { getLatestBlockTimestampAsync, increaseTimeAndMineBlockAsync } from '../utils/block_timestamp';
@@ -45,8 +45,8 @@ describe('Exchange core', () => {
let exchange: ExchangeContract;
let erc20Proxy: ERC20ProxyContract;
let erc721Proxy: ERC721ProxyContract;
- let maliciousWallet: TestStaticCallContract;
- let maliciousValidator: TestStaticCallContract;
+ let maliciousWallet: TestStaticCallReceiverContract;
+ let maliciousValidator: TestStaticCallReceiverContract;
let signedOrder: SignedOrder;
let erc20Balances: ERC20BalancesByOwner;
@@ -112,8 +112,8 @@ describe('Exchange core', () => {
constants.AWAIT_TRANSACTION_MINED_MS,
);
- maliciousWallet = maliciousValidator = await TestStaticCallContract.deployFrom0xArtifactAsync(
- artifacts.TestStaticCall,
+ maliciousWallet = maliciousValidator = await TestStaticCallReceiverContract.deployFrom0xArtifactAsync(
+ artifacts.TestStaticCallReceiver,
provider,
txDefaults,
);
diff --git a/packages/contracts/test/exchange/signature_validator.ts b/packages/contracts/test/exchange/signature_validator.ts
index 75656d992..947ebffcc 100644
--- a/packages/contracts/test/exchange/signature_validator.ts
+++ b/packages/contracts/test/exchange/signature_validator.ts
@@ -9,7 +9,7 @@ import {
TestSignatureValidatorContract,
TestSignatureValidatorSignatureValidatorApprovalEventArgs,
} from '../../generated_contract_wrappers/test_signature_validator';
-import { TestStaticCallContract } from '../../generated_contract_wrappers/test_static_call';
+import { TestStaticCallReceiverContract } from '../../generated_contract_wrappers/test_static_call_receiver';
import { ValidatorContract } from '../../generated_contract_wrappers/validator';
import { WalletContract } from '../../generated_contract_wrappers/wallet';
import { addressUtils } from '../utils/address_utils';
@@ -32,8 +32,8 @@ describe('MixinSignatureValidator', () => {
let signatureValidator: TestSignatureValidatorContract;
let testWallet: WalletContract;
let testValidator: ValidatorContract;
- let maliciousWallet: TestStaticCallContract;
- let maliciousValidator: TestStaticCallContract;
+ let maliciousWallet: TestStaticCallReceiverContract;
+ let maliciousValidator: TestStaticCallReceiverContract;
let signerAddress: string;
let signerPrivateKey: Buffer;
let notSignerAddress: string;
@@ -68,8 +68,8 @@ describe('MixinSignatureValidator', () => {
txDefaults,
signerAddress,
);
- maliciousWallet = maliciousValidator = await TestStaticCallContract.deployFrom0xArtifactAsync(
- artifacts.TestStaticCall,
+ maliciousWallet = maliciousValidator = await TestStaticCallReceiverContract.deployFrom0xArtifactAsync(
+ artifacts.TestStaticCallReceiver,
provider,
txDefaults,
);
diff --git a/packages/contracts/test/utils/artifacts.ts b/packages/contracts/test/utils/artifacts.ts
index 1c922a3e4..2f6fcef71 100644
--- a/packages/contracts/test/utils/artifacts.ts
+++ b/packages/contracts/test/utils/artifacts.ts
@@ -23,7 +23,7 @@ import * as TestExchangeInternals from '../../artifacts/TestExchangeInternals.js
import * as TestLibBytes from '../../artifacts/TestLibBytes.json';
import * as TestLibs from '../../artifacts/TestLibs.json';
import * as TestSignatureValidator from '../../artifacts/TestSignatureValidator.json';
-import * as TestStaticCall from '../../artifacts/TestStaticCall.json';
+import * as TestStaticCallReceiver from '../../artifacts/TestStaticCallReceiver.json';
import * as TokenRegistry from '../../artifacts/TokenRegistry.json';
import * as Validator from '../../artifacts/Validator.json';
import * as Wallet from '../../artifacts/Wallet.json';
@@ -56,7 +56,7 @@ export const artifacts = {
TestLibs: (TestLibs as any) as ContractArtifact,
TestExchangeInternals: (TestExchangeInternals as any) as ContractArtifact,
TestSignatureValidator: (TestSignatureValidator as any) as ContractArtifact,
- TestStaticCall: (TestStaticCall as any) as ContractArtifact,
+ TestStaticCallReceiver: (TestStaticCallReceiver as any) as ContractArtifact,
Validator: (Validator as any) as ContractArtifact,
Wallet: (Wallet as any) as ContractArtifact,
TokenRegistry: (TokenRegistry as any) as ContractArtifact,