From dd25e1c6ba6e13b0ad4557895d626cd74a32c408 Mon Sep 17 00:00:00 2001 From: Rohan Agarwal Date: Thu, 7 Nov 2024 17:52:15 -0500 Subject: [PATCH] Fix --- cdp-langchain/cdp_langchain/utils/cdp_agentkit_wrapper.py | 3 +-- cdp-langchain/examples/chatbot/wallet_data_sepolia.txt | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 cdp-langchain/examples/chatbot/wallet_data_sepolia.txt diff --git a/cdp-langchain/cdp_langchain/utils/cdp_agentkit_wrapper.py b/cdp-langchain/cdp_langchain/utils/cdp_agentkit_wrapper.py index 50c6d8502..f4f6dfbff 100644 --- a/cdp-langchain/cdp_langchain/utils/cdp_agentkit_wrapper.py +++ b/cdp-langchain/cdp_langchain/utils/cdp_agentkit_wrapper.py @@ -27,8 +27,7 @@ def validate_environment(cls, values: dict) -> Any: cdp_api_key_private_key = get_from_dict_or_env( values, "cdp_api_key_private_key", "CDP_API_KEY_PRIVATE_KEY" ) - # network_id = get_from_dict_or_env(values, "network_id", "NETWORK_ID", "base-sepolia") - network_id = "base-mainnet" + network_id = get_from_dict_or_env(values, "network_id", "NETWORK_ID", "base-sepolia") wallet_data_json = values.get("cdp_wallet_data") try: diff --git a/cdp-langchain/examples/chatbot/wallet_data_sepolia.txt b/cdp-langchain/examples/chatbot/wallet_data_sepolia.txt deleted file mode 100644 index e7b50582c..000000000 --- a/cdp-langchain/examples/chatbot/wallet_data_sepolia.txt +++ /dev/null @@ -1 +0,0 @@ -{"wallet_id": "d3b0e4a5-6366-447b-9001-76faba2161eb", "seed": "0273caf744db367e910a258a490c277ba5289a36fcbcd34bb841188942fbee56f7c5a0bbaa447a7c826e820e73fc57588cff5ed2b4018ef5b72c873aebf970d7", "default_address_id": "0x64c6254D1744A82824Ca271A61Cc3A5D96A6e8Df"} \ No newline at end of file