Skip to content

Commit

Permalink
Merge pull request #275 from valory-xyz/fix/misc
Browse files Browse the repository at this point in the history
fix: misc
  • Loading branch information
0xArdi authored Dec 4, 2024
2 parents f537cda + a509308 commit e1f6197
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 13 deletions.
10 changes: 5 additions & 5 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"contract/valory/mech_marketplace/0.1.0": "bafybeigulghv7bvx4evl6kmogvv6gjxovyt22tkwlbdmeretmop2crdmem",
"connection/valory/websocket_client/0.1.0": "bafybeic4ag3gqc7kd3k2o3pucddj2odck5yrfbgmwh5veqny7zao5qayli",
"skill/valory/contract_subscription/0.1.0": "bafybeiefuemlp75obgpxrp6iuleb3hn6vcviwh5oetk5djbuprf4xsmgjy",
"skill/valory/mech_abci/0.1.0": "bafybeib3b4zwlzzmoombr4wttiwcc52j6htfr42ibmhl6oishstrsxpjdi",
"skill/valory/task_submission_abci/0.1.0": "bafybeiesrss5ee6ef3azjddm5r244a5hrjvutuc6ci7s3cbegcj72rbegu",
"skill/valory/mech_abci/0.1.0": "bafybeihhfs2wvxwy7it6jbsg3wo2kagbz5fmdvlib3d65y4hmbdql2hnae",
"skill/valory/task_submission_abci/0.1.0": "bafybeihvxyg5icihy2umgkbyiuuymeucjtg4lmzc2liwojq6b4rdqycd2q",
"skill/valory/task_execution/0.1.0": "bafybeia2fp6evs3tz3u7ky75yr5jlsc7rrisandkwuoi3cephi4jq6fuey",
"skill/valory/websocket_client/0.1.0": "bafybeif7rrvsu6z4evqkhblxj3u6wwv2eqou576hgkyoehxuj7cntw7o2m",
"skill/valory/subscription_abci/0.1.0": "bafybeifilanuxfvuypcccjku7nphurgp27i2iwncdmug3in6xuzfmslgaq",
"agent/valory/mech/0.1.0": "bafybeie2nknviqfsuvqgkphtpczmua6lvasbmxhox7s45z3wfuvrfs6hmy",
"service/valory/mech/0.1.0": "bafybeia4ta2zmz6n4dltnxvsp7nfttuswyht6caglkbnd6n6jtlfiv3v3i",
"service/valory/mech_quickstart/0.1.0": "bafybeial7457z4c52qhwdjctatqtdrhufsiijdej2rabuazhlpggcy4iyu"
"agent/valory/mech/0.1.0": "bafybeibfl4lny7ras65vhpz33hyjlbv2g23ovx7wgtqaef56ocu2qh473q",
"service/valory/mech/0.1.0": "bafybeicv7lad7sg2acn7ij5mfzmdoznbuma3xj2qeilj6rldeenckbvdsa",
"service/valory/mech_quickstart/0.1.0": "bafybeid6xlkemy3hziubkd6e2rzsf3ufgsaxhsldk2vjeo7rluacncc5uq"
},
"third_party": {
"protocol/valory/default/1.0.0": "bafybeifqcqy5hfbnd7fjv4mqdjrtujh2vx3p2xhe33y67zoxa6ph7wdpaq",
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/agents/mech/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ skills:
- valory/abstract_abci:0.1.0:bafybeieo7pe5wqjphs5izpz5aujjbubymlxub62b3rhx6yglu65ibalffu
- valory/abstract_round_abci:0.1.0:bafybeibiw4oqwqvo4jccwz5fb73iardzychgvcl66tceiildohoju2ikti
- valory/contract_subscription:0.1.0:bafybeiefuemlp75obgpxrp6iuleb3hn6vcviwh5oetk5djbuprf4xsmgjy
- valory/mech_abci:0.1.0:bafybeib3b4zwlzzmoombr4wttiwcc52j6htfr42ibmhl6oishstrsxpjdi
- valory/mech_abci:0.1.0:bafybeihhfs2wvxwy7it6jbsg3wo2kagbz5fmdvlib3d65y4hmbdql2hnae
- valory/registration_abci:0.1.0:bafybeib3n6vqkfbrcubcbliebjnuwyywdinxkbzt76n6gbn2kg7ace47dq
- valory/reset_pause_abci:0.1.0:bafybeihkj6lmaypspyxe5qqrjgnolyck62pyvqoylr24ab6ue4steqcw7e
- valory/subscription_abci:0.1.0:bafybeifilanuxfvuypcccjku7nphurgp27i2iwncdmug3in6xuzfmslgaq
- valory/task_execution:0.1.0:bafybeia2fp6evs3tz3u7ky75yr5jlsc7rrisandkwuoi3cephi4jq6fuey
- valory/task_submission_abci:0.1.0:bafybeiesrss5ee6ef3azjddm5r244a5hrjvutuc6ci7s3cbegcj72rbegu
- valory/task_submission_abci:0.1.0:bafybeihvxyg5icihy2umgkbyiuuymeucjtg4lmzc2liwojq6b4rdqycd2q
- valory/termination_abci:0.1.0:bafybeifi2uodnrjsrivj53g3sjutocmyusbx6mlsb6oanqdyt2mfbyvusy
- valory/transaction_settlement_abci:0.1.0:bafybeigh2vkt74jrad5gtsczrgqcuhcqe7jkgjy7jdw56yamlzwwnaymjy
- valory/websocket_client:0.1.0:bafybeif7rrvsu6z4evqkhblxj3u6wwv2eqou576hgkyoehxuj7cntw7o2m
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:bafybeie2nknviqfsuvqgkphtpczmua6lvasbmxhox7s45z3wfuvrfs6hmy
agent: valory/mech:0.1.0:bafybeibfl4lny7ras65vhpz33hyjlbv2g23ovx7wgtqaef56ocu2qh473q
number_of_agents: 4
deployment:
agent:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/mech_quickstart/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: bafybeiaqaedhfzjxxdfxtygjulorvd4x2h3cbwtiw3xgbigjgsc6qfn7zy
fingerprint_ignore_patterns: []
agent: valory/mech:0.1.0:bafybeie2nknviqfsuvqgkphtpczmua6lvasbmxhox7s45z3wfuvrfs6hmy
agent: valory/mech:0.1.0:bafybeibfl4lny7ras65vhpz33hyjlbv2g23ovx7wgtqaef56ocu2qh473q
number_of_agents: 1
deployment:
agent:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/mech_abci/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def _handle_get_health(
else time.time() + grace_period * 2
)
last_tx_made = self.last_tx[1] if self.last_tx else time.time()
we_are_delivering = last_executed_task > last_tx_made + grace_period
we_are_delivering = last_executed_task < last_tx_made + grace_period

# ensure we can get new reqs
last_successful_read = (
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/skills/mech_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fingerprint:
composition.py: bafybeiaorp75iva5xgl4ebk3lg7oenqmd6wg2dxlm33oserb7aszyujml4
dialogues.py: bafybeifhydd6xmstbh2jx5igj33upip5a3hhlcaxttfsc77heszqmru7ri
fsm_specification.yaml: bafybeib5yne2ke3oc4amgehhn75vajexr3sedehdzmuabhyrovfqpmuipe
handlers.py: bafybeidldql7dchykfm322t4rsjhnbrejirjolke74iq2et3gu7u6uap6q
handlers.py: bafybeidqjq52ejhnbdgiadfzxilrrcyzub2dfbd75a4jkkq6mmaexmey5u
models.py: bafybeigpimz5vhgzelhc7c3ipo56wh2o7d7whyqcjd2kjigtxos5d6bwqa
fingerprint_ignore_patterns: []
connections:
Expand All @@ -23,7 +23,7 @@ skills:
- valory/abstract_round_abci:0.1.0:bafybeibiw4oqwqvo4jccwz5fb73iardzychgvcl66tceiildohoju2ikti
- valory/registration_abci:0.1.0:bafybeib3n6vqkfbrcubcbliebjnuwyywdinxkbzt76n6gbn2kg7ace47dq
- valory/reset_pause_abci:0.1.0:bafybeihkj6lmaypspyxe5qqrjgnolyck62pyvqoylr24ab6ue4steqcw7e
- valory/task_submission_abci:0.1.0:bafybeiesrss5ee6ef3azjddm5r244a5hrjvutuc6ci7s3cbegcj72rbegu
- valory/task_submission_abci:0.1.0:bafybeihvxyg5icihy2umgkbyiuuymeucjtg4lmzc2liwojq6b4rdqycd2q
- valory/termination_abci:0.1.0:bafybeifi2uodnrjsrivj53g3sjutocmyusbx6mlsb6oanqdyt2mfbyvusy
- valory/transaction_settlement_abci:0.1.0:bafybeigh2vkt74jrad5gtsczrgqcuhcqe7jkgjy7jdw56yamlzwwnaymjy
- valory/subscription_abci:0.1.0:bafybeifilanuxfvuypcccjku7nphurgp27i2iwncdmug3in6xuzfmslgaq
Expand Down
1 change: 1 addition & 0 deletions packages/valory/skills/task_submission_abci/rounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def end_block(self) -> Optional[Tuple[BaseSynchronizedData, Event]]:
synchronized_data_class=SynchronizedData,
**{
get_name(SynchronizedData.done_tasks): unique_done_tasks,
get_name(SynchronizedData.final_tx_hash): None,
}
)
if len(unique_done_tasks) > 0:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/task_submission_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fingerprint:
handlers.py: bafybeibe5n7my2vd2wlwo73sbma65epjqc7kxgtittewlylcmvnmoxtxzq
models.py: bafybeicoes4rtg2edxpdxlrow5dmnof2lm6xscagzp55mocrkbxy2xlxwe
payloads.py: bafybeia2yorri2u5rwh6vukb6iwdrbn53ygsuuhthns2txptvjipyb6f4e
rounds.py: bafybeicsh6fagw7yv37nsyqcwvqztgwugbndqv5w7kzs6p36qntthmkyfa
rounds.py: bafybeid54ztiorvdtbzkke32vcthhuflq5crcsdbigqhnbyd6kltkq3yzy
tasks.py: bafybeicu5t5cvfhbndgpxbbtmp4vbmtyb6fba6vsnlewftvuderxp5lwcy
fingerprint_ignore_patterns: []
connections: []
Expand Down

0 comments on commit e1f6197

Please sign in to comment.