From 10d1dbff151408961ed4249cb28a265e2371c527 Mon Sep 17 00:00:00 2001 From: Divya-Solulab Date: Fri, 22 Nov 2024 23:13:18 +0530 Subject: [PATCH] fix: update service hash --- run_service.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/run_service.py b/run_service.py index f54bd50..4a92b26 100644 --- a/run_service.py +++ b/run_service.py @@ -79,8 +79,8 @@ # this means default values will be used "FEE_HISTORY_PERCENTILE": "50", "DEFAULT_PRIORITY_FEE": "2000000", - "MAX_PRIORITY_FEE_PER_GAS": "20000000", - "MAX_FEE_PER_GAS": "3000000", + "MAX_PRIORITY_FEE_PER_GAS": "3000000", + "MAX_FEE_PER_GAS": "20000000", } }, } @@ -396,7 +396,7 @@ def get_service_template(config: OptimusConfig) -> ServiceTemplate: home_chain_id = "34443" return ServiceTemplate({ "name": "Optimus", - "hash": "bafybeifokbnipvf4epclritybmfjteqpyqhdhtyrol65j75qq5cv47he2m", + "hash": "bafybeiazaphqrn65tvscbubjvuh6mzmodqp3inwayjmye2jjweu3uea7wi", "description": "Optimus", "image": "https://gateway.autonolas.tech/ipfs/bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve", @@ -644,8 +644,6 @@ def main() -> None: if chain_config.ledger_config.rpc is not None: os.environ["CUSTOM_CHAIN_RPC"] = chain_config.ledger_config.rpc os.environ["OPEN_AUTONOMY_SUBGRAPH_URL"] = "https://subgraph.autonolas.tech/subgraphs/name/autonolas-staging" - os.environ["MAX_PRIORITY_FEE_PER_GAS"] = chain_metadata["gasParams"]["MAX_PRIORITY_FEE_PER_GAS"] - os.environ["MAX_FEE_PER_GAS"] = chain_metadata["gasParams"]["MAX_FEE_PER_GAS"] service_exists = manager._get_on_chain_state(chain_config) != OnChainState.NON_EXISTENT