You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current implementation, a dev needs to use the string values of the ledgers in order to access a non-default address of the agent. This is error-prone and needs code investigation to figure it out.
A potential solution would be to:
Make the identifiers public in aea/configurations/constants.py.
Optionally implement properties in the SkillContext, such as:
@propertydefsol_agent_address(self) ->str:
"""Get the agent's Solana address."""returnself.agent_addresses[SOLANA_IDENTIFIER]
The text was updated successfully, but these errors were encountered:
In the current implementation, a dev needs to use the string values of the ledgers in order to access a non-default address of the agent. This is error-prone and needs code investigation to figure it out.
A potential solution would be to:
aea/configurations/constants.py
.SkillContext
, such as:The text was updated successfully, but these errors were encountered: