Skip to content

Commit

Permalink
fix: update service hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya-Solulab committed Nov 22, 2024
1 parent 6634297 commit 10d1dbf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions run_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
},
}
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 10d1dbf

Please sign in to comment.