Skip to content

Commit

Permalink
fix: acn dialogues
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Sep 2, 2023
1 parent 7f8e437 commit 5163fb6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"dev": {
"connection/valory/websocket_client/0.1.0": "bafybeicz53kzs5uvyiod2azntl76zwgmpgr22ven4wl5fnwt2m546j3wsu",
"skill/valory/contract_subscription/0.1.0": "bafybeifbgzfrhtdtendqzwmh3o436nyexwkif6mbvsouvk2ktdfk5lhe7y",
"agent/valory/mech/0.1.0": "bafybeiccvl77ouzi6ehjztmydnh5zukg72mntapsh7zkgslhf7475rdq5y",
"agent/valory/mech/0.1.0": "bafybeicgijhvdn7bj6edtbwipvyjzgae72i7ysj7ed5lzlz3oaupphdmo4",
"skill/valory/mech_abci/0.1.0": "bafybeigzfa5pr647fg4nflzgie3xla4araotperomibfp2totzpaxwgmje",
"contract/valory/agent_mech/0.1.0": "bafybeidl6kwc3sgcxiphgb3osjqlqwylhqetv2nyv2fu6zxcgn5qctv2ju",
"service/valory/mech/0.1.0": "bafybeiedaobns2t46xnbzgfiwp7cueq4mdn6vbrjsmn75f7xvyq245otny",
"service/valory/mech/0.1.0": "bafybeicppsguscj67mqtadyhzzzs6bpseicaafdwgnelrxvxupxka4iw4i",
"protocol/valory/acn_data_share/0.1.0": "bafybeieyixetwvz767zekhvg7r6etumyanzys6xbalx2brrfswybinnlhi",
"protocol/valory/default/1.0.0": "bafybeiecmut3235aen7wxukllv424f3dysvvlgfmn562kzdunc5hdj3hxu",
"skill/valory/task_submission_abci/0.1.0": "bafybeidcjfmhtgwh24sgf3gmk6soiyr2fmaebjvphhz6xob6d5m6aeguce",
"skill/valory/task_execution/0.1.0": "bafybeibrkntfaj4a3zdgolsz7ni7vrtx6wj7s3stoshj2dluhjdoeshgji"
"skill/valory/task_execution/0.1.0": "bafybeia4zlpvutoili4pdqrxtvpnuyhljxu2dyxjqsokw7umuccig5b72m"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m",
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/agents/mech/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ skills:
- valory/abstract_round_abci:0.1.0:bafybeigxjcci53vwytymzlhr37436yvenh7jup4astrn7dgyixo24aq2pq
- valory/contract_subscription:0.1.0:bafybeifbgzfrhtdtendqzwmh3o436nyexwkif6mbvsouvk2ktdfk5lhe7y
- valory/mech_abci:0.1.0:bafybeigzfa5pr647fg4nflzgie3xla4araotperomibfp2totzpaxwgmje
- valory/task_execution:0.1.0:bafybeibrkntfaj4a3zdgolsz7ni7vrtx6wj7s3stoshj2dluhjdoeshgji
- valory/task_execution:0.1.0:bafybeia4zlpvutoili4pdqrxtvpnuyhljxu2dyxjqsokw7umuccig5b72m
- valory/registration_abci:0.1.0:bafybeibc4kczqbh23sc6tufrzn3axmhp3vjav7fa3u6cnpvolrbbc2fd7i
- valory/reset_pause_abci:0.1.0:bafybeid445uy6wwvugf3byzl7r73c7teu6xr5ezxb4h7cxbenghg3copvy
- valory/task_submission_abci:0.1.0:bafybeidcjfmhtgwh24sgf3gmk6soiyr2fmaebjvphhz6xob6d5m6aeguce
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/mech/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeif7ia4jdlazy6745ke2k2x5yoqlwsgwr6sbztbgqtwvs3ndm2p7ba
fingerprint_ignore_patterns: []
agent: valory/mech:0.1.0:bafybeiccvl77ouzi6ehjztmydnh5zukg72mntapsh7zkgslhf7475rdq5y
agent: valory/mech:0.1.0:bafybeicgijhvdn7bj6edtbwipvyjzgae72i7ysj7ed5lzlz3oaupphdmo4
number_of_agents: 4
deployment:
agent:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/task_execution/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _check_for_new_reqs(self) -> None:
# or if we should not poll yet
return

contract_api_msg, _ = self.context.contract_dialogues.create(
contract_api_msg, _ = self.context.contract_api_dialogues.create(
performative=ContractApiMessage.Performative.GET_STATE,
contract_address=self.params.agent_mech_contract_address,
contract_id=str(AgentMechContract.contract_id),
Expand Down
1 change: 0 additions & 1 deletion packages/valory/skills/task_execution/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def handle(self, message: Message) -> None:
"""Handle the message."""
# we don't respond to ACN messages at this point
self.context.logger.info(f"Received message: {message}")
self.context.acn_data_share_dialogues.update(cast(AcnDataShareMessage, message))
self.on_message_handled(message)


Expand Down
4 changes: 2 additions & 2 deletions packages/valory/skills/task_execution/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ license: Apache-2.0
aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeidqhvvlnthkbnmrdkdeyjyx2f2ab6z4xdgmagh7welqnh2v6wczx4
behaviours.py: bafybeifcdxzmpj7m642xn27wyogtgmfa4o5pwy6db2bcowh24gs5u3vsxe
behaviours.py: bafybeiebe4qepqayrffaq7dger67svmrv5vo3gejea5yxv73hlkv2ngcca
dialogues.py: bafybeihw3nvl2xqxgfgtbhskzxd2awvhiujoi5o7mefokn4ew3o3vo2t4u
handlers.py: bafybeih65i6edwro2fubzbd5romiy2y7rrbb36eqqmo3ohffblfy4vfmmy
handlers.py: bafybeiatb4zd3pg577leguyiqi3cjceu7ibp7fafctm4pte4jckbddmfby
models.py: bafybeiauvac5fxeiqxujfl6ocd4u2l2otb2xntygmn2b3k5v7tcj7ptaju
utils/__init__.py: bafybeiccdijaigu6e5p2iruwo5mkk224o7ywedc7nr6xeu5fpmhjqgk24e
utils/ipfs.py: bafybeicuaj23qrcdv6ly4j7yo6il2r5plozhd6mwvcp5acwqbjxb2t3u2i
Expand Down

0 comments on commit 5163fb6

Please sign in to comment.