From fd6120150871dbe732d30b890bf41959ab8f4b6e Mon Sep 17 00:00:00 2001 From: Jianlun Zhong <jianlun.zhong@coinbase.com> Date: Tue, 17 Dec 2024 12:40:50 -0800 Subject: [PATCH] update smart contract api --- cdp/client/api/smart_contracts_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdp/client/api/smart_contracts_api.py b/cdp/client/api/smart_contracts_api.py index 3fe3ac2..ac7096e 100644 --- a/cdp/client/api/smart_contracts_api.py +++ b/cdp/client/api/smart_contracts_api.py @@ -2123,7 +2123,7 @@ def _update_smart_contract_serialize( ] return self.api_client.param_serialize( - method='PATCH', + method='PUT', resource_path='/v1/networks/{network_id}/smart_contracts/{contract_address}', path_params=_path_params, query_params=_query_params,