aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-23 00:41:55 +0800
committerFabio Berger <me@fabioberger.com>2018-06-23 00:41:55 +0800
commit7a216901bec6f7f3640d41fb90dcc49ed673cc6f (patch)
treea7cc3cfa3adbca3be85c0f2802a52add2a51efef /packages
parent0e7c254b938045f0c6e0a57c78bb1db8a23557b6 (diff)
downloaddexon-sol-tools-7a216901bec6f7f3640d41fb90dcc49ed673cc6f.tar
dexon-sol-tools-7a216901bec6f7f3640d41fb90dcc49ed673cc6f.tar.gz
dexon-sol-tools-7a216901bec6f7f3640d41fb90dcc49ed673cc6f.tar.bz2
dexon-sol-tools-7a216901bec6f7f3640d41fb90dcc49ed673cc6f.tar.lz
dexon-sol-tools-7a216901bec6f7f3640d41fb90dcc49ed673cc6f.tar.xz
dexon-sol-tools-7a216901bec6f7f3640d41fb90dcc49ed673cc6f.tar.zst
dexon-sol-tools-7a216901bec6f7f3640d41fb90dcc49ed673cc6f.zip
Remove revert reason 'Exchange' prefix
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/utils/types.ts4
-rw-r--r--packages/contracts/test/exchange/signature_validator.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/src/utils/types.ts b/packages/contracts/src/utils/types.ts
index f65a9858b..b3da040c3 100644
--- a/packages/contracts/src/utils/types.ts
+++ b/packages/contracts/src/utils/types.ts
@@ -173,8 +173,8 @@ export enum ContractLibErrors {
AssetProxyMismatch = 'ASSET_PROXY_MISMATCH',
AssetProxyIdMismatch = 'ASSET_PROXY_ID_MISMATCH',
LengthGreaterThan0Required = 'LENGTH_GREATER_THAN_0_REQUIRED',
- ExchangeLength0Required = 'LENGTH_0_REQUIRED',
- ExchangeLength65Required = 'LENGTH_65_REQUIRED',
+ Length0Required = 'LENGTH_0_REQUIRED',
+ Length65Required = 'LENGTH_65_REQUIRED',
InvalidAmount = 'INVALID_AMOUNT',
TransferFailed = 'TRANSFER_FAILED',
SenderNotAuthorized = 'SENDER_NOT_AUTHORIZED',
diff --git a/packages/contracts/test/exchange/signature_validator.ts b/packages/contracts/test/exchange/signature_validator.ts
index d53e0758e..e3442a4c2 100644
--- a/packages/contracts/test/exchange/signature_validator.ts
+++ b/packages/contracts/test/exchange/signature_validator.ts
@@ -162,7 +162,7 @@ describe('MixinSignatureValidator', () => {
signedOrder.makerAddress,
signatureHex,
),
- ContractLibErrors.ExchangeLength0Required,
+ ContractLibErrors.Length0Required,
);
});