From b6c8126589a94c2986c591ad7741cd3787a96e58 Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Wed, 12 Dec 2018 17:47:25 -0800 Subject: Move zero_ex.json_schemas to its own package --- .prettierignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.prettierignore') diff --git a/.prettierignore b/.prettierignore index 7f8662b0a..c2ebff4a0 100644 --- a/.prettierignore +++ b/.prettierignore @@ -20,7 +20,7 @@ lib /packages/contract-artifacts/artifacts /python-packages/order_utils/src/zero_ex/contract_artifacts/artifacts /packages/json-schemas/schemas -/python-packages/order_utils/src/zero_ex/json_schemas/schemas +/python-packages/json_schemas/src/zero_ex/json_schemas/schemas /packages/metacoin/src/contract_wrappers /packages/metacoin/artifacts /packages/sra-spec/public/ -- cgit From a3eab71908cd2e188438b4d411b7c426c874f0b2 Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Fri, 28 Dec 2018 15:08:15 -0500 Subject: Correct inconsistencies in JSON schema names In both ref ID's and file names. --- .prettierignore | 3 +++ 1 file changed, 3 insertions(+) (limited to '.prettierignore') diff --git a/.prettierignore b/.prettierignore index c2ebff4a0..d0be9ca09 100644 --- a/.prettierignore +++ b/.prettierignore @@ -27,3 +27,6 @@ lib package.json scripts/postpublish_utils.js packages/sol-cov/test/fixtures/artifacts +.pytest_cache +.mypy_cache +.tox -- cgit From 5868c91cfb54cfa9177572b201d88d1168bf5b06 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 9 Jan 2019 10:54:32 +0100 Subject: Fix static tests --- .prettierignore | 1 + 1 file changed, 1 insertion(+) (limited to '.prettierignore') diff --git a/.prettierignore b/.prettierignore index db389bdb9..3ce7713cc 100644 --- a/.prettierignore +++ b/.prettierignore @@ -10,6 +10,7 @@ lib /packages/metacoin/src/contract_wrappers /packages/metacoin/artifacts /packages/sra-spec/public/ +/packages/dev-tools-pages/ts/**/data.json package.json scripts/postpublish_utils.js packages/sol-cov/test/fixtures/artifacts -- cgit From aa5af04447dfae24731557c6beead55bd8ff99a9 Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Wed, 9 Jan 2019 09:58:29 -0500 Subject: Python contract demo, with lots of refactoring (#1485) * Refine Order for Web3 compat. & add conversions Changed some of the fields in the Order class so that it can be passed to our contracts via Web3. Added conversion utilities so that an Order can be easily converted to and from a JSON-compatible dict (specifically by encoding/decoding the `bytes` fields), to facilitate validation against the JSON schema. Also modified JSON order schema to accept integers in addition to stringified integers. * Fixes for json_schemas Has-types indicator file, py.typed, was not being included in package. Schemas were not being properly gathered into package installation. * Add test/demo of Exchange.getOrderInfo() * web3 bug workaround * Fix problem packaging contract artifacts * Move contract addresses to their own package * Move contract artifacts to their own package * Add scripts to install, test & lint all components * prettierignore files in local python dev env * Correct missing coverage analysis for sra_client * CI cache lint: don't save, re-use from test-python * tag hacks as hacks * correct merge mistake * remove local strip_0x() in favor of eth_utils * remove json schemas from old order_utils location * correct merge mistake * doctest json schemas via command-line, not code --- .prettierignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.prettierignore') diff --git a/.prettierignore b/.prettierignore index d0be9ca09..235ac4ced 100644 --- a/.prettierignore +++ b/.prettierignore @@ -18,7 +18,7 @@ lib /contracts/extensions/generated-artifacts /packages/abi-gen-wrappers/src/generated-wrappers /packages/contract-artifacts/artifacts -/python-packages/order_utils/src/zero_ex/contract_artifacts/artifacts +/python-packages/contract_artifacts/src/zero_ex/contract_artifacts/artifacts /packages/json-schemas/schemas /python-packages/json_schemas/src/zero_ex/json_schemas/schemas /packages/metacoin/src/contract_wrappers -- cgit