Skip to content

Commit

Permalink
fix: time as integer
Browse files Browse the repository at this point in the history
  • Loading branch information
dvilelaf committed May 23, 2024
1 parent de8f3d9 commit 5c90aca
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions packages/packages.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"dev": {
"skill/valory/learning_abci/0.1.0": "bafybeieaerwdlpbdz5il7wltmrm7rbgjfwgtobryd725pwptotjbaqobfm",
"skill/valory/learning_chained_abci/0.1.0": "bafybeicuz5a4ury2rjp7z2tjnq3zwohaszmduhh25e6kx6ho4zdarayb5m",
"agent/valory/learning_agent/0.1.0": "bafybeiheatm4agpny32dxfw6xx5dgjx4axgdfkm3psfxoqxl3secmkxzza",
"service/valory/learning_service/0.1.0": "bafybeiadh7xltxryqpthpkxjfmj5n3r7vwlhc5g6kqtcctz3deq2bqs2ze"
"skill/valory/learning_abci/0.1.0": "bafybeifynnxdic2avwf3sbj3yvtklrveomqpofnumzua7deb3ikskcapya",
"skill/valory/learning_chained_abci/0.1.0": "bafybeigega4ri347jppyi4rs2fkzmbzwpsnrn3h7che3wjbezfpqttkz5a",
"agent/valory/learning_agent/0.1.0": "bafybeibhiqzdjcm5s7thbvd2uceymj7tolu4her73fufqqpewmujkffjeu",
"service/valory/learning_service/0.1.0": "bafybeifgyljnsua5jgl5mupdwei4onh4i2ooxaye5ow3rk2vjkiud34ycm"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/agents/learning_agent/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ protocols:
skills:
- valory/abstract_abci:0.1.0:bafybeihat4giyc4bz6zopvahcj4iw53356pbtwfn7p4d5yflwly2qhahum
- valory/abstract_round_abci:0.1.0:bafybeih3enhagoql7kzpeyzzu2scpkif6y3ubakpralfnwxcvxexdyvy5i
- valory/learning_abci:0.1.0:bafybeieaerwdlpbdz5il7wltmrm7rbgjfwgtobryd725pwptotjbaqobfm
- valory/learning_chained_abci:0.1.0:bafybeicuz5a4ury2rjp7z2tjnq3zwohaszmduhh25e6kx6ho4zdarayb5m
- valory/learning_abci:0.1.0:bafybeifynnxdic2avwf3sbj3yvtklrveomqpofnumzua7deb3ikskcapya
- valory/learning_chained_abci:0.1.0:bafybeigega4ri347jppyi4rs2fkzmbzwpsnrn3h7che3wjbezfpqttkz5a
- valory/registration_abci:0.1.0:bafybeiek7zcsxbucjwzgqfftafhfrocvc7q4yxllh2q44jeemsjxg3rcfm
- valory/reset_pause_abci:0.1.0:bafybeidw4mbx3os3hmv7ley7b3g3gja7ydpitr7mxbjpwzxin2mzyt5yam
- valory/termination_abci:0.1.0:bafybeihq6qtbwt6i53ayqym63vhjexkcppy26gguzhhjqywfmiuqghvv44
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/learning_service/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: bafybeid42pdrf6qrohedylj4ijrss236ai6geqgf3he44huowiuf7pl464
fingerprint_ignore_patterns: []
agent: valory/learning_agent:0.1.0:bafybeiheatm4agpny32dxfw6xx5dgjx4axgdfkm3psfxoqxl3secmkxzza
agent: valory/learning_agent:0.1.0:bafybeibhiqzdjcm5s7thbvd2uceymj7tolu4her73fufqqpewmujkffjeu
number_of_agents: 4
deployment:
agent:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/learning_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def get_next_event(self) -> Generator[None, None, str]:
now = self.get_sync_timestamp()
self.context.logger.info(f"Timestamp is {now}")

if now % 5 != 0:
if int(now) % 5 != 0:
self.context.logger.info(
"Timestamp does not end in 0. Sending the DONE event..."
)
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/learning_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeiho3lkochqpmes4f235chq26oggmwnol3vjuvhosleoubbjirbwaq
behaviours.py: bafybeiccrtpgbzfnhjkaloe56qgmzzsi6wcmkwr6cztueaopzz6nynyhoe
behaviours.py: bafybeifqotfk6amsmxixlsc4cf7fm6rf35yuaheoy5zsytmhyctpt7al6i
dialogues.py: bafybeifqjbumctlffx2xvpga2kcenezhe47qhksvgmaylyp5ypwqgfar5u
fsm_specification.yaml: bafybeicxvornc7gpvpotob6z46fl7qmataxydn22fr22qnb4ausfg6vppe
handlers.py: bafybeigjadr4thz6hfpfx5abezbwnqhbxmachf4efasrn4z2vqhsqgnyvi
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/learning_chained_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ skills:
- valory/registration_abci:0.1.0:bafybeiek7zcsxbucjwzgqfftafhfrocvc7q4yxllh2q44jeemsjxg3rcfm
- valory/reset_pause_abci:0.1.0:bafybeidw4mbx3os3hmv7ley7b3g3gja7ydpitr7mxbjpwzxin2mzyt5yam
- valory/termination_abci:0.1.0:bafybeihq6qtbwt6i53ayqym63vhjexkcppy26gguzhhjqywfmiuqghvv44
- valory/learning_abci:0.1.0:bafybeieaerwdlpbdz5il7wltmrm7rbgjfwgtobryd725pwptotjbaqobfm
- valory/learning_abci:0.1.0:bafybeifynnxdic2avwf3sbj3yvtklrveomqpofnumzua7deb3ikskcapya
- valory/transaction_settlement_abci:0.1.0:bafybeigtzlk4uakmd54rxnznorcrstsr52kta474lgrnvx5ovr546vj7sq
behaviours:
main:
Expand Down

0 comments on commit 5c90aca

Please sign in to comment.