diff --git a/docs/index.md b/docs/index.md index 8cee897e..5a8a9310 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:bafybeicjnkwqoptmt2ctpu6s7y772hk3yj6qhffv2lnwyossxlqaadpls4 --service + autonomy fetch valory/impact_evaluator:0.1.0:bafybeih2g6eymoz5w2pyamauhi5vwgactmozqvwfjlbg4hzudqvjmuowsq --service ``` 3. Build the Docker image of the service agents diff --git a/packages/packages.json b/packages/packages.json index 89fd1413..e9d93f74 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": "bafybeidrfsjm75ixwhud4vrxaswj7rlviervh2waquafedrcr2mipts26y", - "skill/valory/twitter_scoring_abci/0.1.0": "bafybeic3gwxtzfx7mg4pbepe6zosjsjovbopztf5ynckaiux5uwhd5ox3y", + "skill/valory/twitter_scoring_abci/0.1.0": "bafybeidcetha4qwnbwsaj76zqcdixemxqy4dfh7kue6r3cgg7qphdsgjxu", "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": "bafybeicfewnjabl3iy74q3uejs643zc5ybhvi526yoorydij5n4q37jh3y", + "skill/valory/impact_evaluator_abci/0.1.0": "bafybeidsq7z6te77neofhaczgbwp4fbo4nb3ukzvabs66sg3o45ltqyfua", "skill/valory/generic_scoring_abci/0.1.0": "bafybeif46mwn3oxfqu7i5tg6trce3t7koa3vmbrub47ffz7gcr5p6qlvri", "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": "bafybeieutg3epfnqtaucw6rpkq7vzzt5pkziqt4zlpjmispz2gqzth45ay", - "agent/valory/impact_evaluator/0.1.0": "bafybeibussqbnigq3k3lsxu2z3mci4eis3uftl4jgwcin4nreynz4u26ty", + "agent/valory/impact_evaluator/0.1.0": "bafybeih2a4fc54ykg7g6skyckpfnl26xu62xl43ujs252fqi3j6tjh6aai", "agent/valory/farcaster_test/0.1.0": "bafybeiefui6dnhhy5leqyvfrbkeleb64gap5tzctkrzzggjf4ubbxamjvy", - "service/valory/impact_evaluator/0.1.0": "bafybeicjnkwqoptmt2ctpu6s7y772hk3yj6qhffv2lnwyossxlqaadpls4", - "service/valory/impact_evaluator_local/0.1.0": "bafybeibwu2hwmqovff6ldhhotznsmmxxp76xp6zv6wegqjhkx7yzxa7cqm" + "service/valory/impact_evaluator/0.1.0": "bafybeih2g6eymoz5w2pyamauhi5vwgactmozqvwfjlbg4hzudqvjmuowsq", + "service/valory/impact_evaluator_local/0.1.0": "bafybeicfcegfim4243jzkbgxmn5glpnjimtgw5ma3iovbdjsbuvehlpquy" }, "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 9cd74879..c77caae5 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:bafybeicfewnjabl3iy74q3uejs643zc5ybhvi526yoorydij5n4q37jh3y +- valory/impact_evaluator_abci:0.1.0:bafybeidsq7z6te77neofhaczgbwp4fbo4nb3ukzvabs66sg3o45ltqyfua - valory/generic_scoring_abci:0.1.0:bafybeif46mwn3oxfqu7i5tg6trce3t7koa3vmbrub47ffz7gcr5p6qlvri -- valory/twitter_scoring_abci:0.1.0:bafybeic3gwxtzfx7mg4pbepe6zosjsjovbopztf5ynckaiux5uwhd5ox3y +- valory/twitter_scoring_abci:0.1.0:bafybeidcetha4qwnbwsaj76zqcdixemxqy4dfh7kue6r3cgg7qphdsgjxu - valory/ceramic_read_abci:0.1.0:bafybeigz7rzfls3niv3urfb4z4vwr525ooxveelgg3djpvkg5jzetxlm2u - valory/ceramic_write_abci:0.1.0:bafybeic6c3iub3nsr5tmr7g5vzoixbin6w64ewudfiq6u4r2fiqwbg753i - valory/dynamic_nft_abci:0.1.0:bafybeidrfsjm75ixwhud4vrxaswj7rlviervh2waquafedrcr2mipts26y diff --git a/packages/valory/services/impact_evaluator/service.yaml b/packages/valory/services/impact_evaluator/service.yaml index 44891873..939257e6 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:bafybeibussqbnigq3k3lsxu2z3mci4eis3uftl4jgwcin4nreynz4u26ty +agent: valory/impact_evaluator:0.1.0:bafybeih2a4fc54ykg7g6skyckpfnl26xu62xl43ujs252fqi3j6tjh6aai 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 e911a6fe..ac7ebb1d 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:bafybeibussqbnigq3k3lsxu2z3mci4eis3uftl4jgwcin4nreynz4u26ty +agent: valory/impact_evaluator:0.1.0:bafybeih2a4fc54ykg7g6skyckpfnl26xu62xl43ujs252fqi3j6tjh6aai 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 19038568..e58ca7bc 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:bafybeif46mwn3oxfqu7i5tg6trce3t7koa3vmbrub47ffz7gcr5p6qlvri -- valory/twitter_scoring_abci:0.1.0:bafybeic3gwxtzfx7mg4pbepe6zosjsjovbopztf5ynckaiux5uwhd5ox3y +- valory/twitter_scoring_abci:0.1.0:bafybeidcetha4qwnbwsaj76zqcdixemxqy4dfh7kue6r3cgg7qphdsgjxu - valory/ceramic_write_abci:0.1.0:bafybeic6c3iub3nsr5tmr7g5vzoixbin6w64ewudfiq6u4r2fiqwbg753i - valory/dynamic_nft_abci:0.1.0:bafybeidrfsjm75ixwhud4vrxaswj7rlviervh2waquafedrcr2mipts26y - valory/registration_abci:0.1.0:bafybeib3n6vqkfbrcubcbliebjnuwyywdinxkbzt76n6gbn2kg7ace47dq diff --git a/packages/valory/skills/twitter_scoring_abci/behaviours.py b/packages/valory/skills/twitter_scoring_abci/behaviours.py index 1cee516b..f0fcb7d4 100644 --- a/packages/valory/skills/twitter_scoring_abci/behaviours.py +++ b/packages/valory/skills/twitter_scoring_abci/behaviours.py @@ -81,6 +81,7 @@ HTTP_OK = 200 HTTP_TOO_MANY_REQUESTS = 429 RETWEET_START = "RT @" +BASE_CHAIN_ID = "base" def extract_headers(header_str: str) -> dict: @@ -181,6 +182,7 @@ def get_staking_epoch( contract_address=staking_contract_address, contract_id=str(Staking.contract_id), contract_callable="get_epoch", + chain_id=BASE_CHAIN_ID ) if contract_api_msg.performative != ContractApiMessage.Performative.STATE: self.context.logger.error(f"Error getting the epoch: [{contract_api_msg}]") @@ -200,6 +202,7 @@ def get_staking_contract( contract_id=str(Staking.contract_id), contract_callable="get_account_to_service_map", wallet_address=wallet_address, + chain_id=BASE_CHAIN_ID ) if contract_api_msg.performative != ContractApiMessage.Performative.STATE: self.context.logger.error( diff --git a/packages/valory/skills/twitter_scoring_abci/skill.yaml b/packages/valory/skills/twitter_scoring_abci/skill.yaml index d3eb647c..b11c3e1a 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: bafybeibufmn2qylj6izxcc7scpx46oqd4udrvwrpap3nbkfidzkgwve7ha + behaviours.py: bafybeiftbjnxvhgvodsxnxt644ocngkhxyfbpnthomipb3o6q3gqsz2lna dialogues.py: bafybeibdqzn37hbo2cq4skww4uh2zvvsjyaxxvdhxisefbdvmjp7rh53si fsm_specification.yaml: bafybeihbq2olrdqx2x5lcvypxyi44ecog4nntsvw2v6oeab4imvj5nz6ae handlers.py: bafybeid3nqvcyotqj5g5hlgrz57nf7vpjysmgvsxe3p7644f4z5dcwqn6u