Skip to content

Commit

Permalink
fix: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dvilelaf committed Oct 18, 2023
1 parent f08aeb3 commit 4bd64f0
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 13 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:bafybeiakvgp3uo7hnaubggac7e256wxjccfsjx6ifiqfgbcu2glixawqsm --service
autonomy fetch valory/impact_evaluator:0.1.0:bafybeiaf6mv6isov5ztx357pafwj7zcbld6yykfjuufrzayqwmrwn4n52a --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
@@ -1,14 +1,14 @@
{
"dev": {
"agent/valory/impact_evaluator/0.1.0": "bafybeidruvnaxycadbycek7wgmu3m27w2lu7cjinsf2esx775kcisvooee",
"agent/valory/impact_evaluator/0.1.0": "bafybeihe5b35nbv4nezdjyhxsvwsgckhjnacg5vntygtrhmm7tyos64nx4",
"contract/valory/dynamic_contribution/0.1.0": "bafybeiht364qavknmnuz7pwkw4zjzrkkugyzymgxrjvtasfcy7eya3nbxa",
"contract/valory/mech/0.1.0": "bafybeigzn7lxj52qvqlcwrwp2hd5j4i7khiz4qybds3wu57lela3tvcmxa",
"service/valory/impact_evaluator/0.1.0": "bafybeiakvgp3uo7hnaubggac7e256wxjccfsjx6ifiqfgbcu2glixawqsm",
"service/valory/impact_evaluator/0.1.0": "bafybeiaf6mv6isov5ztx357pafwj7zcbld6yykfjuufrzayqwmrwn4n52a",
"skill/valory/dynamic_nft_abci/0.1.0": "bafybeiexenlxvf32jjlxrow35qlo4xtmi2ezznulczhayux2n2mx27ya6i",
"skill/valory/twitter_scoring_abci/0.1.0": "bafybeibpywh4euzd3i35vmfdc43ic2jaw5m3qvttmfl76pyfitukpkk2am",
"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": "bafybeibmddnz5jpawz7275z6qrfqqs4na4xqsmmw7fpwve2ezgi3ytzfym",
"skill/valory/impact_evaluator_abci/0.1.0": "bafybeicinu5rvfixzq7pgrc5l26v6cb357r2bty2nqge54z33tjhf4hl4u",
"skill/valory/generic_scoring_abci/0.1.0": "bafybeig4hoc5gjiyuwh2ye3mwneegq3s3cghl5j7yokvngacvn7ixwdoga",
"protocol/valory/twitter/0.1.0": "bafybeib4eyf7qbs7kdntqzhwqsaaj4o2mzcokcztaza6qgwt7sbxgkqu2m",
"protocol/valory/llm/1.0.0": "bafybeigqybmg75vsxexmp57hkms7lkp7iwpf54r7wpygizxryvrhfqqpb4",
Expand All @@ -17,9 +17,9 @@
"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": "bafybeicjrztkcvqjnk6odukj3j2dr6ee4j2jaaw5nsga6byjhjyuxhng5m",
"service/valory/impact_evaluator_local/0.1.0": "bafybeic2klz26wnpiw3zmrcv2rjinznwgrdgcmcq7uib76acnmyfquotta",
"service/valory/impact_evaluator_local/0.1.0": "bafybeighcxamvq224e7h5v3kf34lsfbjxdvsxstr4zh3egzodktyzghz2u",
"skill/valory/olas_week_abci/0.1.0": "bafybeidegg3yi5qww6q6r24pgjmmbkgconyfnecuohacljvferqqg3tc2e",
"skill/valory/mech_interact_abci/0.1.0": "bafybeidzhefkwmvswpswd5bid4je2lqtasdtwwbzi7nwacu56rxjo4nqkm"
"skill/valory/mech_interact_abci/0.1.0": "bafybeifbvoyjkdsgtf5fzzmwfdyenx26m7yrglcogp5efikeincf42n2u4"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m",
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 @@ -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:bafybeibmddnz5jpawz7275z6qrfqqs4na4xqsmmw7fpwve2ezgi3ytzfym
- valory/impact_evaluator_abci:0.1.0:bafybeicinu5rvfixzq7pgrc5l26v6cb357r2bty2nqge54z33tjhf4hl4u
- valory/generic_scoring_abci:0.1.0:bafybeig4hoc5gjiyuwh2ye3mwneegq3s3cghl5j7yokvngacvn7ixwdoga
- valory/twitter_scoring_abci:0.1.0:bafybeibpywh4euzd3i35vmfdc43ic2jaw5m3qvttmfl76pyfitukpkk2am
- valory/ceramic_read_abci:0.1.0:bafybeide5tbobzkwfdi7yzw6bsau36h43hdlgbnk2bfqvvhmq3hl3ucjmm
Expand All @@ -56,7 +56,7 @@ skills:
- valory/decision_making_abci:0.1.0:bafybeicjrztkcvqjnk6odukj3j2dr6ee4j2jaaw5nsga6byjhjyuxhng5m
- valory/llm_abci:0.1.0:bafybeifesvwe5ya7imxefijpawgtd7aje5hhr4oh2bzgfsm2ucjp3lxije
- valory/olas_week_abci:0.1.0:bafybeidegg3yi5qww6q6r24pgjmmbkgconyfnecuohacljvferqqg3tc2e
- valory/mech_interact_abci:0.1.0:bafybeidzhefkwmvswpswd5bid4je2lqtasdtwwbzi7nwacu56rxjo4nqkm
- valory/mech_interact_abci:0.1.0:bafybeifbvoyjkdsgtf5fzzmwfdyenx26m7yrglcogp5efikeincf42n2u4
default_ledger: ethereum
required_ledgers:
- ethereum
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:bafybeidruvnaxycadbycek7wgmu3m27w2lu7cjinsf2esx775kcisvooee
agent: valory/impact_evaluator:0.1.0:bafybeihe5b35nbv4nezdjyhxsvwsgckhjnacg5vntygtrhmm7tyos64nx4
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:bafybeidruvnaxycadbycek7wgmu3m27w2lu7cjinsf2esx775kcisvooee
agent: valory/impact_evaluator:0.1.0:bafybeihe5b35nbv4nezdjyhxsvwsgckhjnacg5vntygtrhmm7tyos64nx4
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 @@ -37,7 +37,7 @@ skills:
- valory/llm_abci:0.1.0:bafybeifesvwe5ya7imxefijpawgtd7aje5hhr4oh2bzgfsm2ucjp3lxije
- valory/twitter_write_abci:0.1.0:bafybeidjumloxy2yvoyymgzuwbua3ks2p66fyybna2qhrz2upzkxzjrznq
- valory/olas_week_abci:0.1.0:bafybeidegg3yi5qww6q6r24pgjmmbkgconyfnecuohacljvferqqg3tc2e
- valory/mech_interact_abci:0.1.0:bafybeidzhefkwmvswpswd5bid4je2lqtasdtwwbzi7nwacu56rxjo4nqkm
- valory/mech_interact_abci:0.1.0:bafybeifbvoyjkdsgtf5fzzmwfdyenx26m7yrglcogp5efikeincf42n2u4
behaviours:
main:
args: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ def _build_multisend_safe_tx_hash(self) -> WaitableConditionType:
def setup(self) -> None:
"""Set up the `MechRequest` behaviour."""
self._mech_requests = self.synchronized_data.mech_requests
self.context.logger.info(f"Processing mech requests: {self._mech_requests}")

def _send_metadata_to_ipfs(
self,
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/mech_interact_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fingerprint:
__init__.py: bafybeidf3nlv5fpvfy4libtscayhirdw64shgmhfmvjiftjmjkmhu7auxq
behaviours/__init__.py: bafybeie3zsi6p3yanz5mqwpkdrcgywaqvkit3hdintsb4awnvalgxpxa4i
behaviours/base.py: bafybeihysoxxv7tz5ecty3b72fttphz7mt2oprtjsep2plpr6sp5c2ne44
behaviours/request.py: bafybeih2pvoa6rvlpz66wyontt4z7l7xoljmi6trsovnwu4ctrl42j2eti
behaviours/request.py: bafybeicjseglqhjlrstp6e5tmjillbea7vqrrwxxvstgtdh4iyzw4e4cqy
behaviours/response.py: bafybeib4obenzersqjqdyvsyc6p6mhypakampo7tn5nafh7xkngtz5gxeq
behaviours/round_behaviour.py: bafybeib33inrpyzzlx7k7i3okkslsx4p46dgdaww2m5k7rno57o5nndage
dialogues.py: bafybeigjmyzd2bx6mgqiet2c223k6wkc5jk7kdkstbhpaxlqxatey26tlm
Expand Down
2 changes: 1 addition & 1 deletion run_service_single.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ autonomy fetch --local --service valory/impact_evaluator_local && cd impact_eval
autonomy build-image

# Copy the keys and build the deployment
cp $KEY_DIR/keys1.json ./keys.json
cp $KEY_DIR/keys1_gnosis.json ./keys.json
autonomy deploy build -ltm

# Run the deployment
Expand Down

0 comments on commit 4bd64f0

Please sign in to comment.