From 9d773ef40b18304315b1410f136eb50f9ec3afbe Mon Sep 17 00:00:00 2001 From: David Vilela Date: Tue, 3 Oct 2023 17:50:21 +0200 Subject: [PATCH] fix: tests --- 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 +- packages/valory/skills/decision_making_abci/skill.yaml | 2 +- .../decision_making_abci/tests/centaur_configs.py | 8 ++++---- .../valory/skills/impact_evaluator_abci/skill.yaml | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/index.md b/docs/index.md index 45e981be..e7693189 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:bafybeich23brfsdkpzdc5rafmssydw7k3pfclexvt2pz6htrqqch46e3bm --service + autonomy fetch valory/impact_evaluator:0.1.0:bafybeiddgvtasb4knjbzzkar6ogh3ccklbdfi2l2kma6iaajv4pew7e32e --service ``` 3. Build the Docker image of the service agents diff --git a/packages/packages.json b/packages/packages.json index bd0c5639..b0f4ea73 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -1,13 +1,13 @@ { "dev": { - "agent/valory/impact_evaluator/0.1.0": "bafybeibpp2scwbojktak5yoadksnlg466toup7po67rgyoydvv4ciddk5i", + "agent/valory/impact_evaluator/0.1.0": "bafybeicwomvmljc6a5c653dfxcisc6abzxakmjo5aq3hchtfzeuvr3w6hm", "contract/valory/dynamic_contribution/0.1.0": "bafybeihjnddpy24wpqtsrf57qdxvku7l5w6sm36u6hkm7i2um7ln664ice", - "service/valory/impact_evaluator/0.1.0": "bafybeich23brfsdkpzdc5rafmssydw7k3pfclexvt2pz6htrqqch46e3bm", + "service/valory/impact_evaluator/0.1.0": "bafybeiddgvtasb4knjbzzkar6ogh3ccklbdfi2l2kma6iaajv4pew7e32e", "skill/valory/dynamic_nft_abci/0.1.0": "bafybeihe7rav55tlymizd5ltiwwvqzqrfqswm5sxsaw6bioal35lecwhny", "skill/valory/twitter_scoring_abci/0.1.0": "bafybeidccv4tsye4i45f443p7dkidfpw3ifu4jzi4gk4jiz2cscusondhy", "skill/valory/ceramic_read_abci/0.1.0": "bafybeide5tbobzkwfdi7yzw6bsau36h43hdlgbnk2bfqvvhmq3hl3ucjmm", "skill/valory/ceramic_write_abci/0.1.0": "bafybeihnalj6zhl5pbf7x2lkznuhivwj45jzrafbtxatwebrpb7st2v6oa", - "skill/valory/impact_evaluator_abci/0.1.0": "bafybeialunznf4p53aymf6xvt7vb6au6v5r3aa3gu55rxh7kqmzmnk7rn4", + "skill/valory/impact_evaluator_abci/0.1.0": "bafybeid4dbo3e4yfil2yd6kgc4p57etun3anux3ntduvkjcuhvoxwg3k34", "skill/valory/generic_scoring_abci/0.1.0": "bafybeig4hoc5gjiyuwh2ye3mwneegq3s3cghl5j7yokvngacvn7ixwdoga", "protocol/valory/twitter/0.1.0": "bafybeib4eyf7qbs7kdntqzhwqsaaj4o2mzcokcztaza6qgwt7sbxgkqu2m", "protocol/valory/llm/1.0.0": "bafybeigqybmg75vsxexmp57hkms7lkp7iwpf54r7wpygizxryvrhfqqpb4", @@ -15,8 +15,8 @@ "connection/valory/openai/0.1.0": "bafybeibn42k4zebenmjsumkngfxllxbofkwdno2fm65o6zf5y2uihmo2dq", "skill/valory/twitter_write_abci/0.1.0": "bafybeidjumloxy2yvoyymgzuwbua3ks2p66fyybna2qhrz2upzkxzjrznq", "skill/valory/llm_abci/0.1.0": "bafybeifesvwe5ya7imxefijpawgtd7aje5hhr4oh2bzgfsm2ucjp3lxije", - "skill/valory/decision_making_abci/0.1.0": "bafybeig34xccgq7tg5ykrzo4nimax6jfq2ed4vhjf2eefo6mc7kzxxlppu", - "service/valory/impact_evaluator_local/0.1.0": "bafybeig4vnumjqvd2bu5bjlcmo7cak5hll7j4rmfm5alfcuyrbsrssqejm" + "skill/valory/decision_making_abci/0.1.0": "bafybeih5soqave6d7bl2a2f7ainyfrts3bldc4jabzjl4rlrti226bsae4", + "service/valory/impact_evaluator_local/0.1.0": "bafybeigim7icaelxce62c4gz4v3s4k5svyzebyrxyj6stafifjghejlnfy" }, "third_party": { "protocol/open_aea/signing/1.0.0": "bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m", diff --git a/packages/valory/agents/impact_evaluator/aea-config.yaml b/packages/valory/agents/impact_evaluator/aea-config.yaml index 848a29a5..ccc343c5 100644 --- a/packages/valory/agents/impact_evaluator/aea-config.yaml +++ b/packages/valory/agents/impact_evaluator/aea-config.yaml @@ -42,7 +42,7 @@ protocols: skills: - valory/abstract_abci:0.1.0:bafybeigafjci7m7ezwzasav5xqo7v2mbxxn7qb4y7vnuc2wr2irzvn7wsy - valory/abstract_round_abci:0.1.0:bafybeih2fyfb6kkf7r45pvdk7pyyebr5xloia4xiqxtb3qsrasnstqmepq -- valory/impact_evaluator_abci:0.1.0:bafybeialunznf4p53aymf6xvt7vb6au6v5r3aa3gu55rxh7kqmzmnk7rn4 +- valory/impact_evaluator_abci:0.1.0:bafybeid4dbo3e4yfil2yd6kgc4p57etun3anux3ntduvkjcuhvoxwg3k34 - valory/generic_scoring_abci:0.1.0:bafybeig4hoc5gjiyuwh2ye3mwneegq3s3cghl5j7yokvngacvn7ixwdoga - valory/twitter_scoring_abci:0.1.0:bafybeidccv4tsye4i45f443p7dkidfpw3ifu4jzi4gk4jiz2cscusondhy - valory/ceramic_read_abci:0.1.0:bafybeide5tbobzkwfdi7yzw6bsau36h43hdlgbnk2bfqvvhmq3hl3ucjmm @@ -53,7 +53,7 @@ skills: - valory/termination_abci:0.1.0:bafybeigqpij2sgrpnilqjljfciixop4fldq5qceixc7534q6af4potdmdm - valory/transaction_settlement_abci:0.1.0:bafybeia7rzsbea3ch4gcafyp3z6uvqh4npws2xpdwbkkdbrqqpjops7nui - valory/twitter_write_abci:0.1.0:bafybeidjumloxy2yvoyymgzuwbua3ks2p66fyybna2qhrz2upzkxzjrznq -- valory/decision_making_abci:0.1.0:bafybeig34xccgq7tg5ykrzo4nimax6jfq2ed4vhjf2eefo6mc7kzxxlppu +- valory/decision_making_abci:0.1.0:bafybeih5soqave6d7bl2a2f7ainyfrts3bldc4jabzjl4rlrti226bsae4 - valory/llm_abci:0.1.0:bafybeifesvwe5ya7imxefijpawgtd7aje5hhr4oh2bzgfsm2ucjp3lxije default_ledger: ethereum required_ledgers: diff --git a/packages/valory/services/impact_evaluator/service.yaml b/packages/valory/services/impact_evaluator/service.yaml index 165fe227..f99927c0 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:bafybeibpp2scwbojktak5yoadksnlg466toup7po67rgyoydvv4ciddk5i +agent: valory/impact_evaluator:0.1.0:bafybeicwomvmljc6a5c653dfxcisc6abzxakmjo5aq3hchtfzeuvr3w6hm 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 fcf76af8..ae977194 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:bafybeibpp2scwbojktak5yoadksnlg466toup7po67rgyoydvv4ciddk5i +agent: valory/impact_evaluator:0.1.0:bafybeicwomvmljc6a5c653dfxcisc6abzxakmjo5aq3hchtfzeuvr3w6hm number_of_agents: 1 deployment: agent: diff --git a/packages/valory/skills/decision_making_abci/skill.yaml b/packages/valory/skills/decision_making_abci/skill.yaml index 54e85626..05795046 100644 --- a/packages/valory/skills/decision_making_abci/skill.yaml +++ b/packages/valory/skills/decision_making_abci/skill.yaml @@ -22,7 +22,7 @@ fingerprint: tasks/twitter_preparation.py: bafybeidxtqohzlcyr3gwr5gzhdgz37t2mfpxshx57vcweakhdpgvt5jzkq tasks/write_stream_preparation.py: bafybeifl4j7s575ts6x4msntymkempwguj4yypmxy2xjmffknn7qhkzfo4 tests/__init__.py: bafybeiff447fuzkdgyp5yoqqstzv2pyi2uiokng6lzrtfnsgspocghwypi - tests/centaur_configs.py: bafybeidwiu7wsbh5luehpf4uwff35eupet7qq4cnhhs2p3pqbxxkydwoim + tests/centaur_configs.py: bafybeifgmz5nlpfj4ynpzywbwnnuhz2dxookezwhxmvzlucjbhugv3tgma tests/test_behaviours.py: bafybeigddwn7uts6zb46lpk4j7eetp6sniwtclfzngkgws52yomue4cdvy tests/test_dialogues.py: bafybeihxzcyy7xvg4lte4bv5hy2h4mozdzwvyaa36feu3oxv67jfvsyuoi tests/test_handlers.py: bafybeie6q3l6zyf356uvhldobhiir5ang5ybmi7lcao3556n3bnlpfqhfm diff --git a/packages/valory/skills/decision_making_abci/tests/centaur_configs.py b/packages/valory/skills/decision_making_abci/tests/centaur_configs.py index 31d2d2ea..7e2b1667 100644 --- a/packages/valory/skills/decision_making_abci/tests/centaur_configs.py +++ b/packages/valory/skills/decision_making_abci/tests/centaur_configs.py @@ -55,8 +55,8 @@ "execute": True, "text": "My agreed tweet: execute", "voters": [ - "0x6c6766E04eF971367D27E720d1d161a9B495D647", - "0x7885d121ed8Aa3c919AA4d407F197Dc29E33cAf0", + {"0x6c6766E04eF971367D27E720d1d161a9B495D647": 0}, + {"0x7885d121ed8Aa3c919AA4d407F197Dc29E33cAf0": 0}, ], }, { @@ -65,8 +65,8 @@ "execute": False, "text": "My agreed tweet: dont execute", "voters": [ - "0x6c6766E04eF971367D27E720d1d161a9B495D647", - "0x7885d121ed8Aa3c919AA4d407F197Dc29E33cAf0", + {"0x6c6766E04eF971367D27E720d1d161a9B495D647": 0}, + {"0x7885d121ed8Aa3c919AA4d407F197Dc29E33cAf0": 0}, ], }, ] diff --git a/packages/valory/skills/impact_evaluator_abci/skill.yaml b/packages/valory/skills/impact_evaluator_abci/skill.yaml index 938955e5..314b4861 100644 --- a/packages/valory/skills/impact_evaluator_abci/skill.yaml +++ b/packages/valory/skills/impact_evaluator_abci/skill.yaml @@ -33,7 +33,7 @@ skills: - valory/reset_pause_abci:0.1.0:bafybeigeoc363gv3wp2rrmk6p2fdxney33nxd3owtpfugzapgruwe4klyu - valory/termination_abci:0.1.0:bafybeigqpij2sgrpnilqjljfciixop4fldq5qceixc7534q6af4potdmdm - valory/transaction_settlement_abci:0.1.0:bafybeia7rzsbea3ch4gcafyp3z6uvqh4npws2xpdwbkkdbrqqpjops7nui -- valory/decision_making_abci:0.1.0:bafybeig34xccgq7tg5ykrzo4nimax6jfq2ed4vhjf2eefo6mc7kzxxlppu +- valory/decision_making_abci:0.1.0:bafybeih5soqave6d7bl2a2f7ainyfrts3bldc4jabzjl4rlrti226bsae4 - valory/llm_abci:0.1.0:bafybeifesvwe5ya7imxefijpawgtd7aje5hhr4oh2bzgfsm2ucjp3lxije - valory/twitter_write_abci:0.1.0:bafybeidjumloxy2yvoyymgzuwbua3ks2p66fyybna2qhrz2upzkxzjrznq behaviours: