Skip to content

Commit

Permalink
feat: uodates on new V of name service contract
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Morales committed Jun 29, 2023
1 parent 73e751e commit fdf39a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/uagents/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AgentNetwork(Enum):
USER_PREFIX = "user"
CONTRACT_ALMANAC = "fetch1h5rhtj5m6dqjmufj5m3t4mq6l7cnd8dvaxclwmrk6tfdm0gy3lmszksf0s"
CONTRACT_NAME_SERVICE = (
"fetch1yrf4xpglq02fzj50m9wn44qdq89a5vr0ufa42qa506uhwal4n79s99sp87"
"fetch1mxz8kn3l5ksaftx8a9pj9a6prpzk2uhxnqdkwuqvuh37tw80xu6qges77l"
)
REGISTRATION_FEE = 500000000000000000
REGISTRATION_DENOM = "atestfet"
Expand Down
6 changes: 0 additions & 6 deletions src/uagents/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,8 @@ def get_registration_tx(self, name: str, wallet_address: str, agent_address: str

transaction = Transaction()

ownership_msg = self._get_ownership_msg(name, wallet_address)
registration_msg = self._get_registration_msg(name, agent_address)

transaction.add_message(
create_cosmwasm_execute_msg(
wallet_address, CONTRACT_NAME_SERVICE, ownership_msg
)
)
transaction.add_message(
create_cosmwasm_execute_msg(
wallet_address, CONTRACT_NAME_SERVICE, registration_msg
Expand Down

0 comments on commit fdf39a4

Please sign in to comment.