Apply RFC from #3576 that caught a bug.

Co-authored-by: vzotova <vikki.zta@gmail.com>
pull/3576/head
derekpierre 2025-02-04 12:21:16 -05:00
parent a074f676ff
commit 4ccfe68c36
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ def _make_rest_app(this_node, log: Logger) -> Flask:
"""
# TODO: When non-evm chains are supported, bump the version.
# this can return a list of chain names or other verifiable identifiers.
providers = this_node.condition_providers.providers
providers = this_node.condition_provider_manager.providers
sorted_chain_ids = sorted(list(providers))
payload = {"version": 1.0, "evm": sorted_chain_ids}
return Response(json.dumps(payload), mimetype="application/json")

View File

@ -186,7 +186,7 @@ def setup_multichain_ursulas(chain_ids: List[int], ursulas: List[Ursula]) -> Non
}
)
for ursula in ursulas:
ursula.condition_providers = mocked_condition_providers
ursula.condition_provider_manager = mocked_condition_providers
MOCK_KNOWN_URSULAS_CACHE = dict()