From 27fafea70ad7a0f9e9cb71538e7c4e71371709ad Mon Sep 17 00:00:00 2001 From: Mohsinsiddi Date: Tue, 21 Jan 2025 18:42:33 +0530 Subject: [PATCH] update config file with perm hash --- configs/config_memeooorr.json | 2 +- tests/test_run_service.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/configs/config_memeooorr.json b/configs/config_memeooorr.json index f7d0c353..653dbe9f 100644 --- a/configs/config_memeooorr.json +++ b/configs/config_memeooorr.json @@ -1,7 +1,7 @@ { "name": "Memeooorr", "agent_id": 43, - "hash": "bafybeia34pecf46znvghrbq32trmjwurgxk5ybrslgx6c4xwkmoeqhhsta", + "hash": "bafybeicpoldxi2xsjbczckmhdinp3x4rttiz3mtw7slpaqs5zw3pdvzamq", "description": "Memeooorr @twitter_handle", "image": "https://gateway.autonolas.tech/ipfs/QmQYDGMg8m91QQkTWSSmANs5tZwKrmvUCawXZfXVVWQPcu", "service_version": "v0.2.0-alpha16", diff --git a/tests/test_run_service.py b/tests/test_run_service.py index 1602b468..da7991b6 100644 --- a/tests/test_run_service.py +++ b/tests/test_run_service.py @@ -714,7 +714,7 @@ def get_chain_rpc(output: str, logger: logging.Logger) -> str: lambda output, logger: create_funding_handler(test_config["RPC_URL"], "predict_trader")(output, logger) }) - return {"prompts": prompts, "test_config": test_config} + return {"prompts": prompts} def log_expect_match(child, pattern, match_index, logger): """Log minimal match information without exposing sensitive data.""" @@ -732,7 +732,6 @@ def send_input_safely(child, response, logger): # Clean the response response = response.strip() - # Send input with a small delay child.write(response + os.linesep) except Exception as e: @@ -812,8 +811,6 @@ def ignore_patterns(path, names): with open(temp_config_path, 'r') as f: config_data = json.load(f) - # Update hash - config_data['hash'] = "bafybeicpoldxi2xsjbczckmhdinp3x4rttiz3mtw7slpaqs5zw3pdvzamq" # Modify env variables - create new dict instead of modifying if 'env_variables' in config_data: