Skip to content

Commit

Permalink
Merge pull request #220 from valory-xyz/fix/campaign
Browse files Browse the repository at this point in the history
Fix/campaign
  • Loading branch information
dvilelaf authored Nov 11, 2024
2 parents 712e46c + f954a5c commit 06fb827
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:bafybeian6nqgrruh2m7hnq3bjwgskr3cqhmj24v4xnvs6ufgk4m2wo7zx4 --service
autonomy fetch valory/impact_evaluator:0.1.0:bafybeih5vepds7mcyfhtndq5whazz7q3uop4l6o3j7cqohjnjs42pzzwtu --service
```

3. Build the Docker image of the service agents
Expand Down
10 changes: 5 additions & 5 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "bafybeidwftwxwbummv2gd575xwbwazddjpylsesimgxyewi5lp6ulohvtu",
"skill/valory/twitter_scoring_abci/0.1.0": "bafybeiducngt5xv6ubkmearwom6wokgy3nwxemjnnzdyooxdjk73twepka",
"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": "bafybeieip6carez7jtubi6gdxexxrwd2iarfasp4a7gdfd7wwip5pf63a4",
"skill/valory/impact_evaluator_abci/0.1.0": "bafybeids5wj42cdlaawfemuvaepw7tyzcdrbzjy4nh27jz7gylulhzqniu",
"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",
Expand All @@ -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": "bafybeicvshtbdgjkki45qr67tx7wbi5thsqgiisr4m6h6dta5ox3lccyue",
"agent/valory/impact_evaluator/0.1.0": "bafybeifcetrx7cdusxyorf4mbwasz2ei37wqcre6lldpyejfmbm3wm6nmu",
"agent/valory/farcaster_test/0.1.0": "bafybeiefui6dnhhy5leqyvfrbkeleb64gap5tzctkrzzggjf4ubbxamjvy",
"service/valory/impact_evaluator/0.1.0": "bafybeian6nqgrruh2m7hnq3bjwgskr3cqhmj24v4xnvs6ufgk4m2wo7zx4",
"service/valory/impact_evaluator_local/0.1.0": "bafybeichjeaeczlxpymxsqqy54ijksoglxuy2assfxsszov43mfdf6vnri"
"service/valory/impact_evaluator/0.1.0": "bafybeih5vepds7mcyfhtndq5whazz7q3uop4l6o3j7cqohjnjs42pzzwtu",
"service/valory/impact_evaluator_local/0.1.0": "bafybeiddkkwkto7656vvwr4r3qudeevudn2vk4sdbcpckzr357xzsi5t4m"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/agents/impact_evaluator/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:bafybeieip6carez7jtubi6gdxexxrwd2iarfasp4a7gdfd7wwip5pf63a4
- valory/impact_evaluator_abci:0.1.0:bafybeids5wj42cdlaawfemuvaepw7tyzcdrbzjy4nh27jz7gylulhzqniu
- valory/generic_scoring_abci:0.1.0:bafybeiaihmptaalhpv55mzqdrg6asmclh7icw5vyqv3rio7gygocdx7doq
- valory/twitter_scoring_abci:0.1.0:bafybeidwftwxwbummv2gd575xwbwazddjpylsesimgxyewi5lp6ulohvtu
- valory/twitter_scoring_abci:0.1.0:bafybeiducngt5xv6ubkmearwom6wokgy3nwxemjnnzdyooxdjk73twepka
- valory/ceramic_read_abci:0.1.0:bafybeigz7rzfls3niv3urfb4z4vwr525ooxveelgg3djpvkg5jzetxlm2u
- valory/ceramic_write_abci:0.1.0:bafybeic6c3iub3nsr5tmr7g5vzoixbin6w64ewudfiq6u4r2fiqwbg753i
- valory/dynamic_nft_abci:0.1.0:bafybeihiujrp5papummfkfbabwuhziie2y5f3x7y2rats6i7iuncto3yhm
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/impact_evaluator/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeign56hilwuoa6bgos3uqabss4gew4vadkik7vhj3ucpqw6nxtqtpe
fingerprint_ignore_patterns: []
agent: valory/impact_evaluator:0.1.0:bafybeicvshtbdgjkki45qr67tx7wbi5thsqgiisr4m6h6dta5ox3lccyue
agent: valory/impact_evaluator:0.1.0:bafybeifcetrx7cdusxyorf4mbwasz2ei37wqcre6lldpyejfmbm3wm6nmu
number_of_agents: 4
deployment:
agent:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeign56hilwuoa6bgos3uqabss4gew4vadkik7vhj3ucpqw6nxtqtpe
fingerprint_ignore_patterns: []
agent: valory/impact_evaluator:0.1.0:bafybeicvshtbdgjkki45qr67tx7wbi5thsqgiisr4m6h6dta5ox3lccyue
agent: valory/impact_evaluator:0.1.0:bafybeifcetrx7cdusxyorf4mbwasz2ei37wqcre6lldpyejfmbm3wm6nmu
number_of_agents: 1
deployment:
agent:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/impact_evaluator_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:bafybeidwftwxwbummv2gd575xwbwazddjpylsesimgxyewi5lp6ulohvtu
- valory/twitter_scoring_abci:0.1.0:bafybeiducngt5xv6ubkmearwom6wokgy3nwxemjnnzdyooxdjk73twepka
- valory/ceramic_write_abci:0.1.0:bafybeic6c3iub3nsr5tmr7g5vzoixbin6w64ewudfiq6u4r2fiqwbg753i
- valory/dynamic_nft_abci:0.1.0:bafybeihiujrp5papummfkfbabwuhziie2y5f3x7y2rats6i7iuncto3yhm
- valory/registration_abci:0.1.0:bafybeib3n6vqkfbrcubcbliebjnuwyywdinxkbzt76n6gbn2kg7ace47dq
Expand Down
3 changes: 3 additions & 0 deletions packages/valory/skills/twitter_scoring_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -1088,6 +1088,9 @@ def get_update_diff(self) -> Generator[None, None, Dict]:

active_hashtags = self.get_active_hashtags()

# Replace the encoded %23 for #
active_hashtags = [i.replace("%23", "#") for i in active_hashtags]

# Get the staking epoch
staking_contract_to_epoch = {}
for staking_contract_address in self.params.staking_contract_addresses:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/twitter_scoring_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license: Apache-2.0
aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeifudgakkjoyahuewp2o4gvqayw7nsgpyxw2ayrpgmzexurh2xomaq
behaviours.py: bafybeihnccpyidj3gnkm3b64j54skcuhzivh4cc5kcejn4fowjnlkkz5qm
behaviours.py: bafybeiedkr6tkokdddtaybnbvz7sv4x27l4o5yxocvjp6pp3uuzexqygam
dialogues.py: bafybeibdqzn37hbo2cq4skww4uh2zvvsjyaxxvdhxisefbdvmjp7rh53si
fsm_specification.yaml: bafybeihbq2olrdqx2x5lcvypxyi44ecog4nntsvw2v6oeab4imvj5nz6ae
handlers.py: bafybeid3nqvcyotqj5g5hlgrz57nf7vpjysmgvsxe3p7644f4z5dcwqn6u
Expand Down

0 comments on commit 06fb827

Please sign in to comment.