From 6ce0e2d2acf820dd23071269a0a58ddb14b44760 Mon Sep 17 00:00:00 2001 From: JonathanAmenechi <7217608+JonathanAmenechi@users.noreply.github.com> Date: Tue, 29 Mar 2022 15:31:10 -0400 Subject: [PATCH] fix: enforce executor as taker address --- py_clob_client/orders/builder.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/py_clob_client/orders/builder.py b/py_clob_client/orders/builder.py index 43b0a97..459c95b 100644 --- a/py_clob_client/orders/builder.py +++ b/py_clob_client/orders/builder.py @@ -58,6 +58,7 @@ def create_limit_order(self, order_args: LimitOrderArgs): taker_asset_address=taker_asset, taker_asset_id=taker_asset_id, maker_address=self.funder, + taker_address=self.contract_config.get_executor(), maker_amount=maker_amount, taker_amount=taker_amount, signer=self.signer.address, diff --git a/setup.py b/setup.py index 8c61923..ca18847 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="py_clob_client", - version="0.0.10", + version="0.0.11", author="Jonathan Amenechi", author_email="jonathanamenechi@gmail.com", description="Python client for the Polymarket CLOB",