From f56ea6afb75f4794109d30c41b709468c2b5a9b6 Mon Sep 17 00:00:00 2001 From: Ardian Date: Mon, 26 Feb 2024 20:41:51 +0100 Subject: [PATCH 1/3] feat: split large block ranges --- packages/packages.json | 14 ++++++------- packages/valory/agents/mech/aea-config.yaml | 10 ++++----- .../valory/contracts/agent_mech/contract.py | 21 ++++++++++++------- .../valory/contracts/agent_mech/contract.yaml | 2 +- packages/valory/services/mech/service.yaml | 2 +- packages/valory/skills/mech_abci/skill.yaml | 4 ++-- .../skills/subscription_abci/skill.yaml | 2 +- .../valory/skills/task_execution/skill.yaml | 2 +- .../skills/task_submission_abci/skill.yaml | 2 +- 9 files changed, 33 insertions(+), 26 deletions(-) diff --git a/packages/packages.json b/packages/packages.json index 82e81291..8625a877 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -15,18 +15,18 @@ "custom/nickcom007/prediction_request_sme/0.1.0": "bafybeicswze7sobpdtpypcgt75b4wvxs3eex5sznswnopxwunyzki6ew5a", "protocol/valory/acn_data_share/0.1.0": "bafybeih5ydonnvrwvy2ygfqgfabkr47s4yw3uqxztmwyfprulwfsoe7ipq", "protocol/valory/websocket_client/0.1.0": "bafybeih43mnztdv3v2hetr2k3gezg7d3yj4ur7cxdvcyaqhg65e52s5sf4", - "contract/valory/agent_mech/0.1.0": "bafybeigidwivuynzbtakkzsnnxxls54qaycw2oef4yth5lmtmwotmrf6qq", + "contract/valory/agent_mech/0.1.0": "bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4", "contract/valory/agent_registry/0.1.0": "bafybeiargayav6yiztdnwzejoejstcx4idssch2h4f5arlgtzj3tgsgfmu", "contract/valory/hash_checkpoint/0.1.0": "bafybeianr3zy3bb464jwlwwxtk2daeeh4cefy7ihw5bfn7zrn7vjs3fyga", "connection/valory/websocket_client/0.1.0": "bafybeiflmystocxaqblhpzqlcop2vkhsknpzjx2jomohomaxamwskeokzm", "skill/valory/contract_subscription/0.1.0": "bafybeicyugrkx5glat4p4ezwf6i7oduh26eycfie6ftd4uxrknztzl3ik4", - "skill/valory/mech_abci/0.1.0": "bafybeiahkev6ur4otoeuprgedck3pk6ob4q44lyvdkvz733ftu54zicw3i", - "skill/valory/task_submission_abci/0.1.0": "bafybeifaqewhshy4xrm7nejtmwgm6wwm6k4ps2xn4v2kckpwqsr7wblslm", - "skill/valory/task_execution/0.1.0": "bafybeienkm3nxcyqllpnndsacaq27nhgwgs4v5vyynvqkyv5uc6aojatji", + "skill/valory/mech_abci/0.1.0": "bafybeihiwqcelimabxrcszvgszlvk4ibjkqsvqr2flsueccapudimyfhqa", + "skill/valory/task_submission_abci/0.1.0": "bafybeigvqvwyveifx7igpfsgu2kemx23yo4m6gdk22bqgj4frv3nzkqcly", + "skill/valory/task_execution/0.1.0": "bafybeigj2a7hae32kprtxmfi7b2alphionbskhqk5lfsrn3p3hxef6b4ie", "skill/valory/websocket_client/0.1.0": "bafybeidwntmkk4b2ixq5454ycbkknclqx7a6vpn7aqpm2nw3duszqrxvta", - "skill/valory/subscription_abci/0.1.0": "bafybeidtoiyzlenxawjkyogwbfjgui2a22srdo6zbajubgg6awgha5hm4m", - "agent/valory/mech/0.1.0": "bafybeigileaik3lno5mb3je2tfsmep33eq43qfxtp4razjfo7mzaxzqfxa", - "service/valory/mech/0.1.0": "bafybeianvggwocwrat6w6zirab44nwpptigb6aw533zawmqxgjg6eslkdm" + "skill/valory/subscription_abci/0.1.0": "bafybeibffhyly723sb65diu7iul2iclkkwp5egm3ybuqh65hylyyo5o53u", + "agent/valory/mech/0.1.0": "bafybeibbwadwlfbbnnusy55awfslntqnryl6rdgqpn5jcnlqhyrwudw35y", + "service/valory/mech/0.1.0": "bafybeihresw3nadqnn7gxo4fbh3vc4jnrshpsktianlinbmyfi5mer6zcq" }, "third_party": { "protocol/valory/default/1.0.0": "bafybeifqcqy5hfbnd7fjv4mqdjrtujh2vx3p2xhe33y67zoxa6ph7wdpaq", diff --git a/packages/valory/agents/mech/aea-config.yaml b/packages/valory/agents/mech/aea-config.yaml index 07bc79b3..27583604 100644 --- a/packages/valory/agents/mech/aea-config.yaml +++ b/packages/valory/agents/mech/aea-config.yaml @@ -15,7 +15,7 @@ connections: - valory/p2p_libp2p_client:0.1.0:bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e - valory/websocket_client:0.1.0:bafybeiflmystocxaqblhpzqlcop2vkhsknpzjx2jomohomaxamwskeokzm contracts: -- valory/agent_mech:0.1.0:bafybeigidwivuynzbtakkzsnnxxls54qaycw2oef4yth5lmtmwotmrf6qq +- valory/agent_mech:0.1.0:bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4 - valory/agent_registry:0.1.0:bafybeiargayav6yiztdnwzejoejstcx4idssch2h4f5arlgtzj3tgsgfmu - valory/gnosis_safe:0.1.0:bafybeictjc7saviboxbsdcey3trvokrgo7uoh76mcrxecxhlvcrp47aqg4 - valory/gnosis_safe_proxy_factory:0.1.0:bafybeie6ynnoavvk2fpbn426nlp32sxrj7pz5esgebtlezy4tmx5gjretm @@ -38,12 +38,12 @@ skills: - valory/abstract_abci:0.1.0:bafybeihljirk3d4rgvmx2nmz3p2mp27iwh2o5euce5gccwjwrpawyjzuaq - valory/abstract_round_abci:0.1.0:bafybeigjrepaqpb3m7zunmt4hryos4vto4yyj3u6iyofdb2fotwho3bqvm - valory/contract_subscription:0.1.0:bafybeicyugrkx5glat4p4ezwf6i7oduh26eycfie6ftd4uxrknztzl3ik4 -- valory/mech_abci:0.1.0:bafybeiahkev6ur4otoeuprgedck3pk6ob4q44lyvdkvz733ftu54zicw3i +- valory/mech_abci:0.1.0:bafybeihiwqcelimabxrcszvgszlvk4ibjkqsvqr2flsueccapudimyfhqa - valory/registration_abci:0.1.0:bafybeif3ln6eg53ebrfe6uicjew4uqp2ynyrcxkw5wi4jm3ixqv3ykte4a - valory/reset_pause_abci:0.1.0:bafybeicm7onl72rfnn33pbvzwjpkl5gafeieyobfcnyresxz7kunjwmqea -- valory/subscription_abci:0.1.0:bafybeidtoiyzlenxawjkyogwbfjgui2a22srdo6zbajubgg6awgha5hm4m -- valory/task_execution:0.1.0:bafybeienkm3nxcyqllpnndsacaq27nhgwgs4v5vyynvqkyv5uc6aojatji -- valory/task_submission_abci:0.1.0:bafybeifaqewhshy4xrm7nejtmwgm6wwm6k4ps2xn4v2kckpwqsr7wblslm +- valory/subscription_abci:0.1.0:bafybeibffhyly723sb65diu7iul2iclkkwp5egm3ybuqh65hylyyo5o53u +- valory/task_execution:0.1.0:bafybeigj2a7hae32kprtxmfi7b2alphionbskhqk5lfsrn3p3hxef6b4ie +- valory/task_submission_abci:0.1.0:bafybeigvqvwyveifx7igpfsgu2kemx23yo4m6gdk22bqgj4frv3nzkqcly - valory/termination_abci:0.1.0:bafybeie6h7j4hyhgj2wte64n3xyudxq4pgqcqjmslxi5tff4mb6vce2tay - valory/transaction_settlement_abci:0.1.0:bafybeid57tozt5f3kgzmu22nbr3c3oy4p7bi2bu66rqsgnlylq6xgh2ixe - valory/websocket_client:0.1.0:bafybeidwntmkk4b2ixq5454ycbkknclqx7a6vpn7aqpm2nw3duszqrxvta diff --git a/packages/valory/contracts/agent_mech/contract.py b/packages/valory/contracts/agent_mech/contract.py index a118fe10..7a8f6b8d 100644 --- a/packages/valory/contracts/agent_mech/contract.py +++ b/packages/valory/contracts/agent_mech/contract.py @@ -367,14 +367,21 @@ def get_multiple_undelivered_reqs( ) -> JSONLike: """Get the requests that are not delivered.""" current_block = ledger_api.api.eth.block_number - if from_block != "earliest" and current_block - from_block > max_block_window: - from_block = current_block - max_block_window + if from_block == "earliest": + from_block = 0 + + from_block = int(from_block) pending_tasks: List[Dict[str, Any]] = [] - for contract_address in contract_addresses: - pending_tasks_batch = cls.get_undelivered_reqs( - ledger_api, contract_address, from_block - ).get("data") - pending_tasks.extend(pending_tasks_batch) + for from_block_batch in range(from_block, current_block, max_block_window): + for contract_address in contract_addresses: + to_block_batch = from_block_batch + max_block_window + if to_block_batch >= current_block: + to_block_batch = "latest" + to_block_batch = cast(BlockIdentifier, to_block_batch) + pending_tasks_batch = cls.get_undelivered_reqs( + ledger_api, contract_address, from_block_batch, to_block_batch + ).get("data") + pending_tasks.extend(pending_tasks_batch) return {"data": pending_tasks} @classmethod diff --git a/packages/valory/contracts/agent_mech/contract.yaml b/packages/valory/contracts/agent_mech/contract.yaml index d99057a7..2a9cd099 100644 --- a/packages/valory/contracts/agent_mech/contract.yaml +++ b/packages/valory/contracts/agent_mech/contract.yaml @@ -8,7 +8,7 @@ aea_version: '>=1.0.0, <2.0.0' fingerprint: __init__.py: bafybeigpq5lxfj2aza6ok3fjuywtdafelkbvoqwaits7regfbgu4oynmku build/AgentMech.json: bafybeifw3whznwg6i6sa6cicivsfmqchfwfdodxwaqzepd3h6otq5qpktq - contract.py: bafybeiawilbhsix4ui3whuoyk6sgundbbpeatbidv4krp2c45cpayhfu7m + contract.py: bafybeif3hapd4kpstk6czwu265egrbxfni6tqvmyti4d7bng7gxr6r4ioi fingerprint_ignore_patterns: [] class_name: AgentMechContract contract_interface_paths: diff --git a/packages/valory/services/mech/service.yaml b/packages/valory/services/mech/service.yaml index c675d9aa..ba124195 100644 --- a/packages/valory/services/mech/service.yaml +++ b/packages/valory/services/mech/service.yaml @@ -7,7 +7,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeif7ia4jdlazy6745ke2k2x5yoqlwsgwr6sbztbgqtwvs3ndm2p7ba fingerprint_ignore_patterns: [] -agent: valory/mech:0.1.0:bafybeigileaik3lno5mb3je2tfsmep33eq43qfxtp4razjfo7mzaxzqfxa +agent: valory/mech:0.1.0:bafybeibbwadwlfbbnnusy55awfslntqnryl6rdgqpn5jcnlqhyrwudw35y number_of_agents: 4 deployment: agent: diff --git a/packages/valory/skills/mech_abci/skill.yaml b/packages/valory/skills/mech_abci/skill.yaml index 5eae32d8..937400a4 100644 --- a/packages/valory/skills/mech_abci/skill.yaml +++ b/packages/valory/skills/mech_abci/skill.yaml @@ -23,10 +23,10 @@ skills: - valory/abstract_round_abci:0.1.0:bafybeigjrepaqpb3m7zunmt4hryos4vto4yyj3u6iyofdb2fotwho3bqvm - valory/registration_abci:0.1.0:bafybeif3ln6eg53ebrfe6uicjew4uqp2ynyrcxkw5wi4jm3ixqv3ykte4a - valory/reset_pause_abci:0.1.0:bafybeicm7onl72rfnn33pbvzwjpkl5gafeieyobfcnyresxz7kunjwmqea -- valory/task_submission_abci:0.1.0:bafybeifaqewhshy4xrm7nejtmwgm6wwm6k4ps2xn4v2kckpwqsr7wblslm +- valory/task_submission_abci:0.1.0:bafybeigvqvwyveifx7igpfsgu2kemx23yo4m6gdk22bqgj4frv3nzkqcly - valory/termination_abci:0.1.0:bafybeie6h7j4hyhgj2wte64n3xyudxq4pgqcqjmslxi5tff4mb6vce2tay - valory/transaction_settlement_abci:0.1.0:bafybeid57tozt5f3kgzmu22nbr3c3oy4p7bi2bu66rqsgnlylq6xgh2ixe -- valory/subscription_abci:0.1.0:bafybeidtoiyzlenxawjkyogwbfjgui2a22srdo6zbajubgg6awgha5hm4m +- valory/subscription_abci:0.1.0:bafybeibffhyly723sb65diu7iul2iclkkwp5egm3ybuqh65hylyyo5o53u behaviours: main: args: {} diff --git a/packages/valory/skills/subscription_abci/skill.yaml b/packages/valory/skills/subscription_abci/skill.yaml index 08c6dd89..7386e551 100644 --- a/packages/valory/skills/subscription_abci/skill.yaml +++ b/packages/valory/skills/subscription_abci/skill.yaml @@ -18,7 +18,7 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] contracts: -- valory/agent_mech:0.1.0:bafybeigidwivuynzbtakkzsnnxxls54qaycw2oef4yth5lmtmwotmrf6qq +- valory/agent_mech:0.1.0:bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4 - valory/gnosis_safe:0.1.0:bafybeictjc7saviboxbsdcey3trvokrgo7uoh76mcrxecxhlvcrp47aqg4 - valory/multisend:0.1.0:bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y protocols: diff --git a/packages/valory/skills/task_execution/skill.yaml b/packages/valory/skills/task_execution/skill.yaml index 189270dc..86fdc03c 100644 --- a/packages/valory/skills/task_execution/skill.yaml +++ b/packages/valory/skills/task_execution/skill.yaml @@ -22,7 +22,7 @@ connections: - valory/ipfs:0.1.0:bafybeiflaxrnepfn4hcnq5pieuc7ki7d422y3iqb54lv4tpgs7oywnuhhq - valory/p2p_libp2p_client:0.1.0:bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e contracts: -- valory/agent_mech:0.1.0:bafybeigidwivuynzbtakkzsnnxxls54qaycw2oef4yth5lmtmwotmrf6qq +- valory/agent_mech:0.1.0:bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4 protocols: - valory/acn_data_share:0.1.0:bafybeih5ydonnvrwvy2ygfqgfabkr47s4yw3uqxztmwyfprulwfsoe7ipq - valory/contract_api:1.0.0:bafybeidgu7o5llh26xp3u3ebq3yluull5lupiyeu6iooi2xyymdrgnzq5i diff --git a/packages/valory/skills/task_submission_abci/skill.yaml b/packages/valory/skills/task_submission_abci/skill.yaml index 4c8e1466..c2142232 100644 --- a/packages/valory/skills/task_submission_abci/skill.yaml +++ b/packages/valory/skills/task_submission_abci/skill.yaml @@ -19,7 +19,7 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] contracts: -- valory/agent_mech:0.1.0:bafybeigidwivuynzbtakkzsnnxxls54qaycw2oef4yth5lmtmwotmrf6qq +- valory/agent_mech:0.1.0:bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4 - valory/agent_registry:0.1.0:bafybeiargayav6yiztdnwzejoejstcx4idssch2h4f5arlgtzj3tgsgfmu - valory/gnosis_safe:0.1.0:bafybeictjc7saviboxbsdcey3trvokrgo7uoh76mcrxecxhlvcrp47aqg4 - valory/multisend:0.1.0:bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y From f061eea9b257843c76c9107cab7081669a17ede6 Mon Sep 17 00:00:00 2001 From: Ardian Date: Mon, 26 Feb 2024 21:14:04 +0100 Subject: [PATCH 2/3] fix: avoid duplicate events at window edges --- packages/packages.json | 14 +++++++------- packages/valory/agents/mech/aea-config.yaml | 10 +++++----- packages/valory/contracts/agent_mech/contract.py | 2 +- packages/valory/contracts/agent_mech/contract.yaml | 2 +- packages/valory/services/mech/service.yaml | 2 +- packages/valory/skills/mech_abci/skill.yaml | 4 ++-- .../valory/skills/subscription_abci/skill.yaml | 2 +- packages/valory/skills/task_execution/skill.yaml | 2 +- .../valory/skills/task_submission_abci/skill.yaml | 2 +- 9 files changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/packages.json b/packages/packages.json index 8625a877..a5f362a6 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -15,18 +15,18 @@ "custom/nickcom007/prediction_request_sme/0.1.0": "bafybeicswze7sobpdtpypcgt75b4wvxs3eex5sznswnopxwunyzki6ew5a", "protocol/valory/acn_data_share/0.1.0": "bafybeih5ydonnvrwvy2ygfqgfabkr47s4yw3uqxztmwyfprulwfsoe7ipq", "protocol/valory/websocket_client/0.1.0": "bafybeih43mnztdv3v2hetr2k3gezg7d3yj4ur7cxdvcyaqhg65e52s5sf4", - "contract/valory/agent_mech/0.1.0": "bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4", + "contract/valory/agent_mech/0.1.0": "bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny", "contract/valory/agent_registry/0.1.0": "bafybeiargayav6yiztdnwzejoejstcx4idssch2h4f5arlgtzj3tgsgfmu", "contract/valory/hash_checkpoint/0.1.0": "bafybeianr3zy3bb464jwlwwxtk2daeeh4cefy7ihw5bfn7zrn7vjs3fyga", "connection/valory/websocket_client/0.1.0": "bafybeiflmystocxaqblhpzqlcop2vkhsknpzjx2jomohomaxamwskeokzm", "skill/valory/contract_subscription/0.1.0": "bafybeicyugrkx5glat4p4ezwf6i7oduh26eycfie6ftd4uxrknztzl3ik4", - "skill/valory/mech_abci/0.1.0": "bafybeihiwqcelimabxrcszvgszlvk4ibjkqsvqr2flsueccapudimyfhqa", - "skill/valory/task_submission_abci/0.1.0": "bafybeigvqvwyveifx7igpfsgu2kemx23yo4m6gdk22bqgj4frv3nzkqcly", - "skill/valory/task_execution/0.1.0": "bafybeigj2a7hae32kprtxmfi7b2alphionbskhqk5lfsrn3p3hxef6b4ie", + "skill/valory/mech_abci/0.1.0": "bafybeifvnaage6mym36zzp3heh72av4u3burw3wbl25cee2phmjdi4kkcq", + "skill/valory/task_submission_abci/0.1.0": "bafybeieycbmi4ajlcxkwu3urtbk3zwhyv5aynlk2jfcuveocswet5tywtu", + "skill/valory/task_execution/0.1.0": "bafybeifikderqjkeingptn3lpsddd4p243agzjqqxbiir4lagi5nytyz5y", "skill/valory/websocket_client/0.1.0": "bafybeidwntmkk4b2ixq5454ycbkknclqx7a6vpn7aqpm2nw3duszqrxvta", - "skill/valory/subscription_abci/0.1.0": "bafybeibffhyly723sb65diu7iul2iclkkwp5egm3ybuqh65hylyyo5o53u", - "agent/valory/mech/0.1.0": "bafybeibbwadwlfbbnnusy55awfslntqnryl6rdgqpn5jcnlqhyrwudw35y", - "service/valory/mech/0.1.0": "bafybeihresw3nadqnn7gxo4fbh3vc4jnrshpsktianlinbmyfi5mer6zcq" + "skill/valory/subscription_abci/0.1.0": "bafybeiblpujvco53aiciasl5wg4nw37jta7qsp53flbq5a2zq4f4tts7fq", + "agent/valory/mech/0.1.0": "bafybeiheqfnhqwz32plxemfzmlswqahpvujj5dt5fzchljdxaesgatudpm", + "service/valory/mech/0.1.0": "bafybeibssfvcsc4v5whngbyitrq7727cpq5zr2wrppri5lt3tqqkvfn7de" }, "third_party": { "protocol/valory/default/1.0.0": "bafybeifqcqy5hfbnd7fjv4mqdjrtujh2vx3p2xhe33y67zoxa6ph7wdpaq", diff --git a/packages/valory/agents/mech/aea-config.yaml b/packages/valory/agents/mech/aea-config.yaml index 27583604..477af96a 100644 --- a/packages/valory/agents/mech/aea-config.yaml +++ b/packages/valory/agents/mech/aea-config.yaml @@ -15,7 +15,7 @@ connections: - valory/p2p_libp2p_client:0.1.0:bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e - valory/websocket_client:0.1.0:bafybeiflmystocxaqblhpzqlcop2vkhsknpzjx2jomohomaxamwskeokzm contracts: -- valory/agent_mech:0.1.0:bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4 +- valory/agent_mech:0.1.0:bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny - valory/agent_registry:0.1.0:bafybeiargayav6yiztdnwzejoejstcx4idssch2h4f5arlgtzj3tgsgfmu - valory/gnosis_safe:0.1.0:bafybeictjc7saviboxbsdcey3trvokrgo7uoh76mcrxecxhlvcrp47aqg4 - valory/gnosis_safe_proxy_factory:0.1.0:bafybeie6ynnoavvk2fpbn426nlp32sxrj7pz5esgebtlezy4tmx5gjretm @@ -38,12 +38,12 @@ skills: - valory/abstract_abci:0.1.0:bafybeihljirk3d4rgvmx2nmz3p2mp27iwh2o5euce5gccwjwrpawyjzuaq - valory/abstract_round_abci:0.1.0:bafybeigjrepaqpb3m7zunmt4hryos4vto4yyj3u6iyofdb2fotwho3bqvm - valory/contract_subscription:0.1.0:bafybeicyugrkx5glat4p4ezwf6i7oduh26eycfie6ftd4uxrknztzl3ik4 -- valory/mech_abci:0.1.0:bafybeihiwqcelimabxrcszvgszlvk4ibjkqsvqr2flsueccapudimyfhqa +- valory/mech_abci:0.1.0:bafybeifvnaage6mym36zzp3heh72av4u3burw3wbl25cee2phmjdi4kkcq - valory/registration_abci:0.1.0:bafybeif3ln6eg53ebrfe6uicjew4uqp2ynyrcxkw5wi4jm3ixqv3ykte4a - valory/reset_pause_abci:0.1.0:bafybeicm7onl72rfnn33pbvzwjpkl5gafeieyobfcnyresxz7kunjwmqea -- valory/subscription_abci:0.1.0:bafybeibffhyly723sb65diu7iul2iclkkwp5egm3ybuqh65hylyyo5o53u -- valory/task_execution:0.1.0:bafybeigj2a7hae32kprtxmfi7b2alphionbskhqk5lfsrn3p3hxef6b4ie -- valory/task_submission_abci:0.1.0:bafybeigvqvwyveifx7igpfsgu2kemx23yo4m6gdk22bqgj4frv3nzkqcly +- valory/subscription_abci:0.1.0:bafybeiblpujvco53aiciasl5wg4nw37jta7qsp53flbq5a2zq4f4tts7fq +- valory/task_execution:0.1.0:bafybeifikderqjkeingptn3lpsddd4p243agzjqqxbiir4lagi5nytyz5y +- valory/task_submission_abci:0.1.0:bafybeieycbmi4ajlcxkwu3urtbk3zwhyv5aynlk2jfcuveocswet5tywtu - valory/termination_abci:0.1.0:bafybeie6h7j4hyhgj2wte64n3xyudxq4pgqcqjmslxi5tff4mb6vce2tay - valory/transaction_settlement_abci:0.1.0:bafybeid57tozt5f3kgzmu22nbr3c3oy4p7bi2bu66rqsgnlylq6xgh2ixe - valory/websocket_client:0.1.0:bafybeidwntmkk4b2ixq5454ycbkknclqx7a6vpn7aqpm2nw3duszqrxvta diff --git a/packages/valory/contracts/agent_mech/contract.py b/packages/valory/contracts/agent_mech/contract.py index 7a8f6b8d..a74c6249 100644 --- a/packages/valory/contracts/agent_mech/contract.py +++ b/packages/valory/contracts/agent_mech/contract.py @@ -374,7 +374,7 @@ def get_multiple_undelivered_reqs( pending_tasks: List[Dict[str, Any]] = [] for from_block_batch in range(from_block, current_block, max_block_window): for contract_address in contract_addresses: - to_block_batch = from_block_batch + max_block_window + to_block_batch = (from_block_batch + max_block_window) - 1 if to_block_batch >= current_block: to_block_batch = "latest" to_block_batch = cast(BlockIdentifier, to_block_batch) diff --git a/packages/valory/contracts/agent_mech/contract.yaml b/packages/valory/contracts/agent_mech/contract.yaml index 2a9cd099..41542f2c 100644 --- a/packages/valory/contracts/agent_mech/contract.yaml +++ b/packages/valory/contracts/agent_mech/contract.yaml @@ -8,7 +8,7 @@ aea_version: '>=1.0.0, <2.0.0' fingerprint: __init__.py: bafybeigpq5lxfj2aza6ok3fjuywtdafelkbvoqwaits7regfbgu4oynmku build/AgentMech.json: bafybeifw3whznwg6i6sa6cicivsfmqchfwfdodxwaqzepd3h6otq5qpktq - contract.py: bafybeif3hapd4kpstk6czwu265egrbxfni6tqvmyti4d7bng7gxr6r4ioi + contract.py: bafybeidt3if6sbchszeuyslcilmuhyb2yclyoy75t3dtwilmd5yfkgytvy fingerprint_ignore_patterns: [] class_name: AgentMechContract contract_interface_paths: diff --git a/packages/valory/services/mech/service.yaml b/packages/valory/services/mech/service.yaml index ba124195..d7f0ef8d 100644 --- a/packages/valory/services/mech/service.yaml +++ b/packages/valory/services/mech/service.yaml @@ -7,7 +7,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeif7ia4jdlazy6745ke2k2x5yoqlwsgwr6sbztbgqtwvs3ndm2p7ba fingerprint_ignore_patterns: [] -agent: valory/mech:0.1.0:bafybeibbwadwlfbbnnusy55awfslntqnryl6rdgqpn5jcnlqhyrwudw35y +agent: valory/mech:0.1.0:bafybeiheqfnhqwz32plxemfzmlswqahpvujj5dt5fzchljdxaesgatudpm number_of_agents: 4 deployment: agent: diff --git a/packages/valory/skills/mech_abci/skill.yaml b/packages/valory/skills/mech_abci/skill.yaml index 937400a4..e9dff558 100644 --- a/packages/valory/skills/mech_abci/skill.yaml +++ b/packages/valory/skills/mech_abci/skill.yaml @@ -23,10 +23,10 @@ skills: - valory/abstract_round_abci:0.1.0:bafybeigjrepaqpb3m7zunmt4hryos4vto4yyj3u6iyofdb2fotwho3bqvm - valory/registration_abci:0.1.0:bafybeif3ln6eg53ebrfe6uicjew4uqp2ynyrcxkw5wi4jm3ixqv3ykte4a - valory/reset_pause_abci:0.1.0:bafybeicm7onl72rfnn33pbvzwjpkl5gafeieyobfcnyresxz7kunjwmqea -- valory/task_submission_abci:0.1.0:bafybeigvqvwyveifx7igpfsgu2kemx23yo4m6gdk22bqgj4frv3nzkqcly +- valory/task_submission_abci:0.1.0:bafybeieycbmi4ajlcxkwu3urtbk3zwhyv5aynlk2jfcuveocswet5tywtu - valory/termination_abci:0.1.0:bafybeie6h7j4hyhgj2wte64n3xyudxq4pgqcqjmslxi5tff4mb6vce2tay - valory/transaction_settlement_abci:0.1.0:bafybeid57tozt5f3kgzmu22nbr3c3oy4p7bi2bu66rqsgnlylq6xgh2ixe -- valory/subscription_abci:0.1.0:bafybeibffhyly723sb65diu7iul2iclkkwp5egm3ybuqh65hylyyo5o53u +- valory/subscription_abci:0.1.0:bafybeiblpujvco53aiciasl5wg4nw37jta7qsp53flbq5a2zq4f4tts7fq behaviours: main: args: {} diff --git a/packages/valory/skills/subscription_abci/skill.yaml b/packages/valory/skills/subscription_abci/skill.yaml index 7386e551..32c1c9c0 100644 --- a/packages/valory/skills/subscription_abci/skill.yaml +++ b/packages/valory/skills/subscription_abci/skill.yaml @@ -18,7 +18,7 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] contracts: -- valory/agent_mech:0.1.0:bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4 +- valory/agent_mech:0.1.0:bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny - valory/gnosis_safe:0.1.0:bafybeictjc7saviboxbsdcey3trvokrgo7uoh76mcrxecxhlvcrp47aqg4 - valory/multisend:0.1.0:bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y protocols: diff --git a/packages/valory/skills/task_execution/skill.yaml b/packages/valory/skills/task_execution/skill.yaml index 86fdc03c..e35127bd 100644 --- a/packages/valory/skills/task_execution/skill.yaml +++ b/packages/valory/skills/task_execution/skill.yaml @@ -22,7 +22,7 @@ connections: - valory/ipfs:0.1.0:bafybeiflaxrnepfn4hcnq5pieuc7ki7d422y3iqb54lv4tpgs7oywnuhhq - valory/p2p_libp2p_client:0.1.0:bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e contracts: -- valory/agent_mech:0.1.0:bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4 +- valory/agent_mech:0.1.0:bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny protocols: - valory/acn_data_share:0.1.0:bafybeih5ydonnvrwvy2ygfqgfabkr47s4yw3uqxztmwyfprulwfsoe7ipq - valory/contract_api:1.0.0:bafybeidgu7o5llh26xp3u3ebq3yluull5lupiyeu6iooi2xyymdrgnzq5i diff --git a/packages/valory/skills/task_submission_abci/skill.yaml b/packages/valory/skills/task_submission_abci/skill.yaml index c2142232..3488890c 100644 --- a/packages/valory/skills/task_submission_abci/skill.yaml +++ b/packages/valory/skills/task_submission_abci/skill.yaml @@ -19,7 +19,7 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] contracts: -- valory/agent_mech:0.1.0:bafybeicv5zqu3pxy26qisewcphqulsfe6dc4hwanlcmdbxiq3zybhosvb4 +- valory/agent_mech:0.1.0:bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny - valory/agent_registry:0.1.0:bafybeiargayav6yiztdnwzejoejstcx4idssch2h4f5arlgtzj3tgsgfmu - valory/gnosis_safe:0.1.0:bafybeictjc7saviboxbsdcey3trvokrgo7uoh76mcrxecxhlvcrp47aqg4 - valory/multisend:0.1.0:bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y From 43a83b9503f28bc080b8f0bf67a5ce232b9bd65a Mon Sep 17 00:00:00 2001 From: Ardian Date: Tue, 27 Feb 2024 00:03:09 +0100 Subject: [PATCH 3/3] fix: check delivers for full window --- packages/packages.json | 14 +++--- packages/valory/agents/mech/aea-config.yaml | 10 ++--- .../valory/contracts/agent_mech/contract.py | 44 ++++++++++--------- .../valory/contracts/agent_mech/contract.yaml | 2 +- packages/valory/services/mech/service.yaml | 2 +- packages/valory/skills/mech_abci/skill.yaml | 4 +- .../skills/subscription_abci/skill.yaml | 2 +- .../valory/skills/task_execution/skill.yaml | 2 +- .../skills/task_submission_abci/skill.yaml | 2 +- 9 files changed, 42 insertions(+), 40 deletions(-) diff --git a/packages/packages.json b/packages/packages.json index a5f362a6..701f2928 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -15,18 +15,18 @@ "custom/nickcom007/prediction_request_sme/0.1.0": "bafybeicswze7sobpdtpypcgt75b4wvxs3eex5sznswnopxwunyzki6ew5a", "protocol/valory/acn_data_share/0.1.0": "bafybeih5ydonnvrwvy2ygfqgfabkr47s4yw3uqxztmwyfprulwfsoe7ipq", "protocol/valory/websocket_client/0.1.0": "bafybeih43mnztdv3v2hetr2k3gezg7d3yj4ur7cxdvcyaqhg65e52s5sf4", - "contract/valory/agent_mech/0.1.0": "bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny", + "contract/valory/agent_mech/0.1.0": "bafybeicbhvrlug56qvwlh6b4y35xg6fytvtahhaae7xm7jssecbie576mu", "contract/valory/agent_registry/0.1.0": "bafybeiargayav6yiztdnwzejoejstcx4idssch2h4f5arlgtzj3tgsgfmu", "contract/valory/hash_checkpoint/0.1.0": "bafybeianr3zy3bb464jwlwwxtk2daeeh4cefy7ihw5bfn7zrn7vjs3fyga", "connection/valory/websocket_client/0.1.0": "bafybeiflmystocxaqblhpzqlcop2vkhsknpzjx2jomohomaxamwskeokzm", "skill/valory/contract_subscription/0.1.0": "bafybeicyugrkx5glat4p4ezwf6i7oduh26eycfie6ftd4uxrknztzl3ik4", - "skill/valory/mech_abci/0.1.0": "bafybeifvnaage6mym36zzp3heh72av4u3burw3wbl25cee2phmjdi4kkcq", - "skill/valory/task_submission_abci/0.1.0": "bafybeieycbmi4ajlcxkwu3urtbk3zwhyv5aynlk2jfcuveocswet5tywtu", - "skill/valory/task_execution/0.1.0": "bafybeifikderqjkeingptn3lpsddd4p243agzjqqxbiir4lagi5nytyz5y", + "skill/valory/mech_abci/0.1.0": "bafybeiagit2v4swvgwsulrqpr75qgkxhzjjkyc7yevqkggb3jblcjymytq", + "skill/valory/task_submission_abci/0.1.0": "bafybeib6yijhh5ss7mufpjghjwobxjynuaz2mf52jo54dtpyer4ovowei4", + "skill/valory/task_execution/0.1.0": "bafybeih3emwjdqorctgizmxj7r53uiyfzpkvlchdmxfm5oyxvyxpxnd4km", "skill/valory/websocket_client/0.1.0": "bafybeidwntmkk4b2ixq5454ycbkknclqx7a6vpn7aqpm2nw3duszqrxvta", - "skill/valory/subscription_abci/0.1.0": "bafybeiblpujvco53aiciasl5wg4nw37jta7qsp53flbq5a2zq4f4tts7fq", - "agent/valory/mech/0.1.0": "bafybeiheqfnhqwz32plxemfzmlswqahpvujj5dt5fzchljdxaesgatudpm", - "service/valory/mech/0.1.0": "bafybeibssfvcsc4v5whngbyitrq7727cpq5zr2wrppri5lt3tqqkvfn7de" + "skill/valory/subscription_abci/0.1.0": "bafybeiclwa2u24nv4yzke6s24qxz2uxc6tpniyjxzprlb7oinkiijdhlgy", + "agent/valory/mech/0.1.0": "bafybeicajxejujc42cqojtzkltpdelkeya53qwjdruxx3d77xn5m66b3um", + "service/valory/mech/0.1.0": "bafybeif2pihcwqrm4ecyoc4r3yukt2bincx2b3ktsf7mg3givi2otei5eq" }, "third_party": { "protocol/valory/default/1.0.0": "bafybeifqcqy5hfbnd7fjv4mqdjrtujh2vx3p2xhe33y67zoxa6ph7wdpaq", diff --git a/packages/valory/agents/mech/aea-config.yaml b/packages/valory/agents/mech/aea-config.yaml index 477af96a..675a6996 100644 --- a/packages/valory/agents/mech/aea-config.yaml +++ b/packages/valory/agents/mech/aea-config.yaml @@ -15,7 +15,7 @@ connections: - valory/p2p_libp2p_client:0.1.0:bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e - valory/websocket_client:0.1.0:bafybeiflmystocxaqblhpzqlcop2vkhsknpzjx2jomohomaxamwskeokzm contracts: -- valory/agent_mech:0.1.0:bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny +- valory/agent_mech:0.1.0:bafybeicbhvrlug56qvwlh6b4y35xg6fytvtahhaae7xm7jssecbie576mu - valory/agent_registry:0.1.0:bafybeiargayav6yiztdnwzejoejstcx4idssch2h4f5arlgtzj3tgsgfmu - valory/gnosis_safe:0.1.0:bafybeictjc7saviboxbsdcey3trvokrgo7uoh76mcrxecxhlvcrp47aqg4 - valory/gnosis_safe_proxy_factory:0.1.0:bafybeie6ynnoavvk2fpbn426nlp32sxrj7pz5esgebtlezy4tmx5gjretm @@ -38,12 +38,12 @@ skills: - valory/abstract_abci:0.1.0:bafybeihljirk3d4rgvmx2nmz3p2mp27iwh2o5euce5gccwjwrpawyjzuaq - valory/abstract_round_abci:0.1.0:bafybeigjrepaqpb3m7zunmt4hryos4vto4yyj3u6iyofdb2fotwho3bqvm - valory/contract_subscription:0.1.0:bafybeicyugrkx5glat4p4ezwf6i7oduh26eycfie6ftd4uxrknztzl3ik4 -- valory/mech_abci:0.1.0:bafybeifvnaage6mym36zzp3heh72av4u3burw3wbl25cee2phmjdi4kkcq +- valory/mech_abci:0.1.0:bafybeiagit2v4swvgwsulrqpr75qgkxhzjjkyc7yevqkggb3jblcjymytq - valory/registration_abci:0.1.0:bafybeif3ln6eg53ebrfe6uicjew4uqp2ynyrcxkw5wi4jm3ixqv3ykte4a - valory/reset_pause_abci:0.1.0:bafybeicm7onl72rfnn33pbvzwjpkl5gafeieyobfcnyresxz7kunjwmqea -- valory/subscription_abci:0.1.0:bafybeiblpujvco53aiciasl5wg4nw37jta7qsp53flbq5a2zq4f4tts7fq -- valory/task_execution:0.1.0:bafybeifikderqjkeingptn3lpsddd4p243agzjqqxbiir4lagi5nytyz5y -- valory/task_submission_abci:0.1.0:bafybeieycbmi4ajlcxkwu3urtbk3zwhyv5aynlk2jfcuveocswet5tywtu +- valory/subscription_abci:0.1.0:bafybeiclwa2u24nv4yzke6s24qxz2uxc6tpniyjxzprlb7oinkiijdhlgy +- valory/task_execution:0.1.0:bafybeih3emwjdqorctgizmxj7r53uiyfzpkvlchdmxfm5oyxvyxpxnd4km +- valory/task_submission_abci:0.1.0:bafybeib6yijhh5ss7mufpjghjwobxjynuaz2mf52jo54dtpyer4ovowei4 - valory/termination_abci:0.1.0:bafybeie6h7j4hyhgj2wte64n3xyudxq4pgqcqjmslxi5tff4mb6vce2tay - valory/transaction_settlement_abci:0.1.0:bafybeid57tozt5f3kgzmu22nbr3c3oy4p7bi2bu66rqsgnlylq6xgh2ixe - valory/websocket_client:0.1.0:bafybeidwntmkk4b2ixq5454ycbkknclqx7a6vpn7aqpm2nw3duszqrxvta diff --git a/packages/valory/contracts/agent_mech/contract.py b/packages/valory/contracts/agent_mech/contract.py index a74c6249..7bffc175 100644 --- a/packages/valory/contracts/agent_mech/contract.py +++ b/packages/valory/contracts/agent_mech/contract.py @@ -337,15 +337,27 @@ def get_undelivered_reqs( contract_address: str, from_block: BlockIdentifier = "earliest", to_block: BlockIdentifier = "latest", + max_block_window: int = 1000, **kwargs: Any, ) -> JSONLike: """Get the requests that are not delivered.""" - requests: List[Dict[str, Any]] = cls.get_request_events( - ledger_api, contract_address, from_block, to_block - )["data"] - delivers: List[Dict[str, Any]] = cls.get_deliver_events( - ledger_api, contract_address, from_block, to_block - )["data"] + if from_block == "earliest": + from_block = 0 + + current_block = ledger_api.api.eth.block_number + requests, delivers = [], [] + for from_block_batch in range(int(from_block), current_block, max_block_window): + to_block_batch = (from_block_batch + max_block_window) - 1 + if to_block_batch >= current_block: + to_block_batch = "latest" + requests_batch: List[Dict[str, Any]] = cls.get_request_events( + ledger_api, contract_address, from_block_batch, to_block_batch + )["data"] + delivers_batch: List[Dict[str, Any]] = cls.get_deliver_events( + ledger_api, contract_address, from_block_batch, to_block_batch + )["data"] + requests.extend(requests_batch) + delivers.extend(delivers_batch) pending_tasks: List[Dict[str, Any]] = [] for request in requests: if request["requestId"] not in [ @@ -366,22 +378,12 @@ def get_multiple_undelivered_reqs( **kwargs: Any, ) -> JSONLike: """Get the requests that are not delivered.""" - current_block = ledger_api.api.eth.block_number - if from_block == "earliest": - from_block = 0 - - from_block = int(from_block) pending_tasks: List[Dict[str, Any]] = [] - for from_block_batch in range(from_block, current_block, max_block_window): - for contract_address in contract_addresses: - to_block_batch = (from_block_batch + max_block_window) - 1 - if to_block_batch >= current_block: - to_block_batch = "latest" - to_block_batch = cast(BlockIdentifier, to_block_batch) - pending_tasks_batch = cls.get_undelivered_reqs( - ledger_api, contract_address, from_block_batch, to_block_batch - ).get("data") - pending_tasks.extend(pending_tasks_batch) + for contract_address in contract_addresses: + pending_tasks_batch = cls.get_undelivered_reqs( + ledger_api, contract_address, from_block, max_block_window + ).get("data") + pending_tasks.extend(pending_tasks_batch) return {"data": pending_tasks} @classmethod diff --git a/packages/valory/contracts/agent_mech/contract.yaml b/packages/valory/contracts/agent_mech/contract.yaml index 41542f2c..fcb20c3c 100644 --- a/packages/valory/contracts/agent_mech/contract.yaml +++ b/packages/valory/contracts/agent_mech/contract.yaml @@ -8,7 +8,7 @@ aea_version: '>=1.0.0, <2.0.0' fingerprint: __init__.py: bafybeigpq5lxfj2aza6ok3fjuywtdafelkbvoqwaits7regfbgu4oynmku build/AgentMech.json: bafybeifw3whznwg6i6sa6cicivsfmqchfwfdodxwaqzepd3h6otq5qpktq - contract.py: bafybeidt3if6sbchszeuyslcilmuhyb2yclyoy75t3dtwilmd5yfkgytvy + contract.py: bafybeifb3d7uzgjkffk4j2hgc6beeesoa5e527pme6v45lofliljxtibt4 fingerprint_ignore_patterns: [] class_name: AgentMechContract contract_interface_paths: diff --git a/packages/valory/services/mech/service.yaml b/packages/valory/services/mech/service.yaml index d7f0ef8d..b6304836 100644 --- a/packages/valory/services/mech/service.yaml +++ b/packages/valory/services/mech/service.yaml @@ -7,7 +7,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeif7ia4jdlazy6745ke2k2x5yoqlwsgwr6sbztbgqtwvs3ndm2p7ba fingerprint_ignore_patterns: [] -agent: valory/mech:0.1.0:bafybeiheqfnhqwz32plxemfzmlswqahpvujj5dt5fzchljdxaesgatudpm +agent: valory/mech:0.1.0:bafybeicajxejujc42cqojtzkltpdelkeya53qwjdruxx3d77xn5m66b3um number_of_agents: 4 deployment: agent: diff --git a/packages/valory/skills/mech_abci/skill.yaml b/packages/valory/skills/mech_abci/skill.yaml index e9dff558..e11706fa 100644 --- a/packages/valory/skills/mech_abci/skill.yaml +++ b/packages/valory/skills/mech_abci/skill.yaml @@ -23,10 +23,10 @@ skills: - valory/abstract_round_abci:0.1.0:bafybeigjrepaqpb3m7zunmt4hryos4vto4yyj3u6iyofdb2fotwho3bqvm - valory/registration_abci:0.1.0:bafybeif3ln6eg53ebrfe6uicjew4uqp2ynyrcxkw5wi4jm3ixqv3ykte4a - valory/reset_pause_abci:0.1.0:bafybeicm7onl72rfnn33pbvzwjpkl5gafeieyobfcnyresxz7kunjwmqea -- valory/task_submission_abci:0.1.0:bafybeieycbmi4ajlcxkwu3urtbk3zwhyv5aynlk2jfcuveocswet5tywtu +- valory/task_submission_abci:0.1.0:bafybeib6yijhh5ss7mufpjghjwobxjynuaz2mf52jo54dtpyer4ovowei4 - valory/termination_abci:0.1.0:bafybeie6h7j4hyhgj2wte64n3xyudxq4pgqcqjmslxi5tff4mb6vce2tay - valory/transaction_settlement_abci:0.1.0:bafybeid57tozt5f3kgzmu22nbr3c3oy4p7bi2bu66rqsgnlylq6xgh2ixe -- valory/subscription_abci:0.1.0:bafybeiblpujvco53aiciasl5wg4nw37jta7qsp53flbq5a2zq4f4tts7fq +- valory/subscription_abci:0.1.0:bafybeiclwa2u24nv4yzke6s24qxz2uxc6tpniyjxzprlb7oinkiijdhlgy behaviours: main: args: {} diff --git a/packages/valory/skills/subscription_abci/skill.yaml b/packages/valory/skills/subscription_abci/skill.yaml index 32c1c9c0..dea8a257 100644 --- a/packages/valory/skills/subscription_abci/skill.yaml +++ b/packages/valory/skills/subscription_abci/skill.yaml @@ -18,7 +18,7 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] contracts: -- valory/agent_mech:0.1.0:bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny +- valory/agent_mech:0.1.0:bafybeicbhvrlug56qvwlh6b4y35xg6fytvtahhaae7xm7jssecbie576mu - valory/gnosis_safe:0.1.0:bafybeictjc7saviboxbsdcey3trvokrgo7uoh76mcrxecxhlvcrp47aqg4 - valory/multisend:0.1.0:bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y protocols: diff --git a/packages/valory/skills/task_execution/skill.yaml b/packages/valory/skills/task_execution/skill.yaml index e35127bd..44620d44 100644 --- a/packages/valory/skills/task_execution/skill.yaml +++ b/packages/valory/skills/task_execution/skill.yaml @@ -22,7 +22,7 @@ connections: - valory/ipfs:0.1.0:bafybeiflaxrnepfn4hcnq5pieuc7ki7d422y3iqb54lv4tpgs7oywnuhhq - valory/p2p_libp2p_client:0.1.0:bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e contracts: -- valory/agent_mech:0.1.0:bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny +- valory/agent_mech:0.1.0:bafybeicbhvrlug56qvwlh6b4y35xg6fytvtahhaae7xm7jssecbie576mu protocols: - valory/acn_data_share:0.1.0:bafybeih5ydonnvrwvy2ygfqgfabkr47s4yw3uqxztmwyfprulwfsoe7ipq - valory/contract_api:1.0.0:bafybeidgu7o5llh26xp3u3ebq3yluull5lupiyeu6iooi2xyymdrgnzq5i diff --git a/packages/valory/skills/task_submission_abci/skill.yaml b/packages/valory/skills/task_submission_abci/skill.yaml index 3488890c..14b7a4b8 100644 --- a/packages/valory/skills/task_submission_abci/skill.yaml +++ b/packages/valory/skills/task_submission_abci/skill.yaml @@ -19,7 +19,7 @@ fingerprint: fingerprint_ignore_patterns: [] connections: [] contracts: -- valory/agent_mech:0.1.0:bafybeidvjftyqwwmgxlywfek65dbcuphst66krzpa2ugeuzsuja63kygny +- valory/agent_mech:0.1.0:bafybeicbhvrlug56qvwlh6b4y35xg6fytvtahhaae7xm7jssecbie576mu - valory/agent_registry:0.1.0:bafybeiargayav6yiztdnwzejoejstcx4idssch2h4f5arlgtzj3tgsgfmu - valory/gnosis_safe:0.1.0:bafybeictjc7saviboxbsdcey3trvokrgo7uoh76mcrxecxhlvcrp47aqg4 - valory/multisend:0.1.0:bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y