uAgents icon indicating copy to clipboard operation
uAgents copied to clipboard

Almanac API does not differentiate between testnet and mainnet contract registrations.

Open Alejandro-Morales opened this issue 11 months ago • 0 comments
trafficstars

Prerequisites

  • [X] I checked the documentation and found no answer to my problem
  • [X] I checked the existing issues and made sure there are no similar bug reports

Category

Bug (unexpected behavior)

Expected Behavior

When resolving an endpoint for an address using the Almanac API, the user should be able to determine whether the retrieved agent address is registered on a testnet or mainnet contract.

Observed Behavior

Currently, the Almanac API returns the registered endpoint without specifying whether it belongs to a testnet or mainnet contract.

To Reproduce

requests.get(f"https://agentverse.ai/v1/almanac/agents/{address}")

Version

v0.17.1

Environment Details (Optional)

No response

Failure Logs (Optional)

No response

Additional Information (Optional)

No response

Alejandro-Morales avatar Dec 04 '24 13:12 Alejandro-Morales