def _get_reputation_registry_abi(self) -> list:
"""Get embedded Reputation Registry ABI."""
return [
{
"inputs": [
{"name": "agentClientId", "type": "uint256"},
{"name": "agentServerId", "type": "uint256"}
],
"name": "acceptFeedback",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{"name": "agentId", "type": "uint256"}],
"name": "getReputation",
"outputs": [
{"name": "score", "type": "uint256"},
{"name": "count", "type": "uint256"}
],
"stateMutability": "view",
"type": "function"
}
]
Hey, I don't think the function
getReputationmatches the 8004 spec. From my understanding, feedback lives on the client AgentCard, not on the ReputationRegistry (https://eips.ethereum.org/EIPS/eip-8004#feedback-data-structure). This is discussed somewhat ad nauseam in the Ethereum Magicians Discussion (https://ethereum-magicians.org/t/erc-8004-trustless-agents/25098/15)