aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-12 06:14:19 +0800
committerGitHub <noreply@github.com>2018-06-12 06:14:19 +0800
commitbc0ae6be318a15bf8670a6da9a59d9bdb12cadae (patch)
treed4d2ffbac9270c332b1e788c2ac39829a5e89359 /packages/contracts
parente0c0584c593e3d948652c1cb58f39042c5b8f488 (diff)
parentc03119d10ad0f2633a78980bd939c65fedfd0531 (diff)
downloaddexon-sol-tools-bc0ae6be318a15bf8670a6da9a59d9bdb12cadae.tar
dexon-sol-tools-bc0ae6be318a15bf8670a6da9a59d9bdb12cadae.tar.gz
dexon-sol-tools-bc0ae6be318a15bf8670a6da9a59d9bdb12cadae.tar.bz2
dexon-sol-tools-bc0ae6be318a15bf8670a6da9a59d9bdb12cadae.tar.lz
dexon-sol-tools-bc0ae6be318a15bf8670a6da9a59d9bdb12cadae.tar.xz
dexon-sol-tools-bc0ae6be318a15bf8670a6da9a59d9bdb12cadae.tar.zst
dexon-sol-tools-bc0ae6be318a15bf8670a6da9a59d9bdb12cadae.zip
Merge pull request #684 from 0xProject/fix/contract-wrappers/exchangeTransferSimulator
Move ExchangeTransferSimulator & OrderValidationUtils to Order-Utils
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/package.json2
-rw-r--r--packages/contracts/test/libraries/lib_mem.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index dcbeddbd8..d6ca3727b 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -24,7 +24,7 @@
"clean": "shx rm -rf lib src/generated_contract_wrappers",
"generate_contract_wrappers":
"abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated_contract_wrappers --backend ethers",
- "lint": "tslint --project . --exclude **/src/contract_wrappers/**/* --exclude **/lib/**/*",
+ "lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/* --exclude **/lib/**/*",
"coverage:report:text": "istanbul report text",
"coverage:report:html": "istanbul report html && open coverage/index.html",
"profiler:report:html": "istanbul report html && open coverage/index.html",
diff --git a/packages/contracts/test/libraries/lib_mem.ts b/packages/contracts/test/libraries/lib_mem.ts
index 90d54edcb..00f7c4d8b 100644
--- a/packages/contracts/test/libraries/lib_mem.ts
+++ b/packages/contracts/test/libraries/lib_mem.ts
@@ -30,7 +30,7 @@ describe('LibMem', () => {
const memHex = toHex(memory);
// Reference implementation to test against
- const refMemcpy = (mem: Uint8Array, dest: number, source: number, length: number): Uint8Array =>
+ const refMemcpy = (_mem: Uint8Array, dest: number, source: number, length: number): Uint8Array =>
Uint8Array.from(memory).copyWithin(dest, source, source + length);
// Test vectors: destination, source, length, job description