From a69abc511fbe6b77e897bee76085867ce231717b Mon Sep 17 00:00:00 2001 From: David Vilela Date: Mon, 11 Nov 2024 12:20:35 +0100 Subject: [PATCH 1/2] fix: timestamp --- packages/valory/skills/twitter_scoring_abci/behaviours.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/valory/skills/twitter_scoring_abci/behaviours.py b/packages/valory/skills/twitter_scoring_abci/behaviours.py index 7c32d161..451c5a5b 100644 --- a/packages/valory/skills/twitter_scoring_abci/behaviours.py +++ b/packages/valory/skills/twitter_scoring_abci/behaviours.py @@ -1143,7 +1143,11 @@ def get_update_diff(self) -> Generator[None, None, Dict]: "points": new_points, "campaign": campaign, "epoch": epoch, - "timestamp": int(tweet["created_at"]), + "timestamp": int( + datetime.fromisoformat( + tweet["created_at"].replace("Z", "+00:00") + ).timestamp() + ), } # User data to update From c56be91010f1552c1da708e5850a767ea039963d Mon Sep 17 00:00:00 2001 From: David Vilela Date: Mon, 11 Nov 2024 12:20:56 +0100 Subject: [PATCH 2/2] fix: hashes --- docs/index.md | 2 +- packages/packages.json | 10 +++++----- .../valory/agents/impact_evaluator/aea-config.yaml | 4 ++-- packages/valory/services/impact_evaluator/service.yaml | 2 +- .../services/impact_evaluator_local/service.yaml | 2 +- .../valory/skills/impact_evaluator_abci/skill.yaml | 2 +- packages/valory/skills/twitter_scoring_abci/skill.yaml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/index.md b/docs/index.md index 75a3eafe..3c37fbf1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -31,7 +31,7 @@ In order to run a local demo service based on the IEKit: 2. Fetch the IEKit. ```bash - autonomy fetch valory/impact_evaluator:0.1.0:bafybeicqjht7lv7susynigqpk7medj7l76jhlycukdjdmvyv2anyxypceq --service + autonomy fetch valory/impact_evaluator:0.1.0:bafybeibongg67wnnlps56updca4khygtrieowy66p2wnwjbwsehjlbatda --service ``` 3. Build the Docker image of the service agents diff --git a/packages/packages.json b/packages/packages.json index aebfeb37..651b1539 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -15,10 +15,10 @@ "connection/valory/openai/0.1.0": "bafybeifz2n6s6u3zvvryhhxpkvn6guyp2jwpagtyjducvgwoldtmz7ea64", "connection/valory/farcaster/0.1.0": "bafybeibbdas7lxbipksodaphjms3uop7vnzjqkroktjq2g6wbvgtlldaxi", "skill/valory/dynamic_nft_abci/0.1.0": "bafybeihiujrp5papummfkfbabwuhziie2y5f3x7y2rats6i7iuncto3yhm", - "skill/valory/twitter_scoring_abci/0.1.0": "bafybeihp5bptxwd24evavx6rxuow4tqjdi75vm3msahxgliiyh725si6me", + "skill/valory/twitter_scoring_abci/0.1.0": "bafybeibointqix2t35cge7aznjbqmgq3gdiadcz3qhkswuxkzbtsle22da", "skill/valory/ceramic_read_abci/0.1.0": "bafybeigz7rzfls3niv3urfb4z4vwr525ooxveelgg3djpvkg5jzetxlm2u", "skill/valory/ceramic_write_abci/0.1.0": "bafybeic6c3iub3nsr5tmr7g5vzoixbin6w64ewudfiq6u4r2fiqwbg753i", - "skill/valory/impact_evaluator_abci/0.1.0": "bafybeiajjtrikrvkqg7w7lniqew2jrwwll5vc2wiznodwr2cklce5kd6ky", + "skill/valory/impact_evaluator_abci/0.1.0": "bafybeie74yqiu5jn6nyexse2wek7a4nc3bul7tcf2aystjycf7fgtjix4u", "skill/valory/generic_scoring_abci/0.1.0": "bafybeiaihmptaalhpv55mzqdrg6asmclh7icw5vyqv3rio7gygocdx7doq", "skill/valory/twitter_write_abci/0.1.0": "bafybeibp7zai2qwvfjd5fgpayx44x5c2zshbukpobvz2la7ws2l5f5fjde", "skill/valory/llm_abci/0.1.0": "bafybeib2k62hilwglfad33bzxkjlviw5bxwiw7z3rjvweyeamatdjznpeq", @@ -28,10 +28,10 @@ "skill/valory/farcaster_write_abci/0.1.0": "bafybeigx2wyujnojer7er7g2eufm5lojon2dckotvsgwb6tn5iyiwdfgsu", "skill/valory/farcaster_test_abci/0.1.0": "bafybeihd3h37ngkxlqo6o3vuvdik54bwmbrjmqcxtgsr5is3tqgbk73yoa", "skill/valory/staking_abci/0.1.0": "bafybeidgmviq6inwwjachktoeddmyuo7iyg7yfyhvhvy3znndkvuuudllq", - "agent/valory/impact_evaluator/0.1.0": "bafybeihtrquvoirk7bhg3i34hdyqbjpdeekoxt5k3pt6ytxgt4pdzlpgme", + "agent/valory/impact_evaluator/0.1.0": "bafybeieuc76igbp35lgkjb7nzfaqmtvbsuolt2dx3mawmkupm57l5aqgm4", "agent/valory/farcaster_test/0.1.0": "bafybeiefui6dnhhy5leqyvfrbkeleb64gap5tzctkrzzggjf4ubbxamjvy", - "service/valory/impact_evaluator/0.1.0": "bafybeicqjht7lv7susynigqpk7medj7l76jhlycukdjdmvyv2anyxypceq", - "service/valory/impact_evaluator_local/0.1.0": "bafybeid5qbl5ch5522xeallodavxo7ovxh7ofcxifo4kes2zsg5tx3e2vu" + "service/valory/impact_evaluator/0.1.0": "bafybeibongg67wnnlps56updca4khygtrieowy66p2wnwjbwsehjlbatda", + "service/valory/impact_evaluator_local/0.1.0": "bafybeichs6ihhwfjlp536naccf6tbote3wvtiicbj2w4rjjihgv2kixroy" }, "third_party": { "protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi", diff --git a/packages/valory/agents/impact_evaluator/aea-config.yaml b/packages/valory/agents/impact_evaluator/aea-config.yaml index c3989726..5acde96e 100644 --- a/packages/valory/agents/impact_evaluator/aea-config.yaml +++ b/packages/valory/agents/impact_evaluator/aea-config.yaml @@ -45,9 +45,9 @@ protocols: skills: - valory/abstract_abci:0.1.0:bafybeieo7pe5wqjphs5izpz5aujjbubymlxub62b3rhx6yglu65ibalffu - valory/abstract_round_abci:0.1.0:bafybeibiw4oqwqvo4jccwz5fb73iardzychgvcl66tceiildohoju2ikti -- valory/impact_evaluator_abci:0.1.0:bafybeiajjtrikrvkqg7w7lniqew2jrwwll5vc2wiznodwr2cklce5kd6ky +- valory/impact_evaluator_abci:0.1.0:bafybeie74yqiu5jn6nyexse2wek7a4nc3bul7tcf2aystjycf7fgtjix4u - valory/generic_scoring_abci:0.1.0:bafybeiaihmptaalhpv55mzqdrg6asmclh7icw5vyqv3rio7gygocdx7doq -- valory/twitter_scoring_abci:0.1.0:bafybeihp5bptxwd24evavx6rxuow4tqjdi75vm3msahxgliiyh725si6me +- valory/twitter_scoring_abci:0.1.0:bafybeibointqix2t35cge7aznjbqmgq3gdiadcz3qhkswuxkzbtsle22da - valory/ceramic_read_abci:0.1.0:bafybeigz7rzfls3niv3urfb4z4vwr525ooxveelgg3djpvkg5jzetxlm2u - valory/ceramic_write_abci:0.1.0:bafybeic6c3iub3nsr5tmr7g5vzoixbin6w64ewudfiq6u4r2fiqwbg753i - valory/dynamic_nft_abci:0.1.0:bafybeihiujrp5papummfkfbabwuhziie2y5f3x7y2rats6i7iuncto3yhm diff --git a/packages/valory/services/impact_evaluator/service.yaml b/packages/valory/services/impact_evaluator/service.yaml index a9c74215..2359cbe2 100644 --- a/packages/valory/services/impact_evaluator/service.yaml +++ b/packages/valory/services/impact_evaluator/service.yaml @@ -8,7 +8,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeign56hilwuoa6bgos3uqabss4gew4vadkik7vhj3ucpqw6nxtqtpe fingerprint_ignore_patterns: [] -agent: valory/impact_evaluator:0.1.0:bafybeihtrquvoirk7bhg3i34hdyqbjpdeekoxt5k3pt6ytxgt4pdzlpgme +agent: valory/impact_evaluator:0.1.0:bafybeieuc76igbp35lgkjb7nzfaqmtvbsuolt2dx3mawmkupm57l5aqgm4 number_of_agents: 4 deployment: agent: diff --git a/packages/valory/services/impact_evaluator_local/service.yaml b/packages/valory/services/impact_evaluator_local/service.yaml index dfc2cd32..25b3aae5 100644 --- a/packages/valory/services/impact_evaluator_local/service.yaml +++ b/packages/valory/services/impact_evaluator_local/service.yaml @@ -8,7 +8,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeign56hilwuoa6bgos3uqabss4gew4vadkik7vhj3ucpqw6nxtqtpe fingerprint_ignore_patterns: [] -agent: valory/impact_evaluator:0.1.0:bafybeihtrquvoirk7bhg3i34hdyqbjpdeekoxt5k3pt6ytxgt4pdzlpgme +agent: valory/impact_evaluator:0.1.0:bafybeieuc76igbp35lgkjb7nzfaqmtvbsuolt2dx3mawmkupm57l5aqgm4 number_of_agents: 1 deployment: agent: diff --git a/packages/valory/skills/impact_evaluator_abci/skill.yaml b/packages/valory/skills/impact_evaluator_abci/skill.yaml index 2ee4ef12..142c150a 100644 --- a/packages/valory/skills/impact_evaluator_abci/skill.yaml +++ b/packages/valory/skills/impact_evaluator_abci/skill.yaml @@ -26,7 +26,7 @@ skills: - valory/abstract_round_abci:0.1.0:bafybeibiw4oqwqvo4jccwz5fb73iardzychgvcl66tceiildohoju2ikti - valory/ceramic_read_abci:0.1.0:bafybeigz7rzfls3niv3urfb4z4vwr525ooxveelgg3djpvkg5jzetxlm2u - valory/generic_scoring_abci:0.1.0:bafybeiaihmptaalhpv55mzqdrg6asmclh7icw5vyqv3rio7gygocdx7doq -- valory/twitter_scoring_abci:0.1.0:bafybeihp5bptxwd24evavx6rxuow4tqjdi75vm3msahxgliiyh725si6me +- valory/twitter_scoring_abci:0.1.0:bafybeibointqix2t35cge7aznjbqmgq3gdiadcz3qhkswuxkzbtsle22da - valory/ceramic_write_abci:0.1.0:bafybeic6c3iub3nsr5tmr7g5vzoixbin6w64ewudfiq6u4r2fiqwbg753i - valory/dynamic_nft_abci:0.1.0:bafybeihiujrp5papummfkfbabwuhziie2y5f3x7y2rats6i7iuncto3yhm - valory/registration_abci:0.1.0:bafybeib3n6vqkfbrcubcbliebjnuwyywdinxkbzt76n6gbn2kg7ace47dq diff --git a/packages/valory/skills/twitter_scoring_abci/skill.yaml b/packages/valory/skills/twitter_scoring_abci/skill.yaml index b706e434..576f3085 100644 --- a/packages/valory/skills/twitter_scoring_abci/skill.yaml +++ b/packages/valory/skills/twitter_scoring_abci/skill.yaml @@ -8,7 +8,7 @@ license: Apache-2.0 aea_version: '>=1.0.0, <2.0.0' fingerprint: __init__.py: bafybeifudgakkjoyahuewp2o4gvqayw7nsgpyxw2ayrpgmzexurh2xomaq - behaviours.py: bafybeiccnkls7zdqdpnzdjosqgtwdrv5bl7hy7pbtoci6eca5lmezpbpii + behaviours.py: bafybeibshq7st7fix66vit7vdldwuzm2i4h6jkfv7soxv2exxqy363zhju dialogues.py: bafybeibdqzn37hbo2cq4skww4uh2zvvsjyaxxvdhxisefbdvmjp7rh53si fsm_specification.yaml: bafybeihbq2olrdqx2x5lcvypxyi44ecog4nntsvw2v6oeab4imvj5nz6ae handlers.py: bafybeid3nqvcyotqj5g5hlgrz57nf7vpjysmgvsxe3p7644f4z5dcwqn6u