Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/termination #113

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ packages/valory/skills/registration_abci
packages/valory/skills/reset_pause_abci
packages/valory/skills/safe_deployment_abci
packages/valory/skills/transaction_settlement_abci
packages/valory/skills/termination_abci
packages/open_aea
*.pyc
.vscode/
Expand Down
1 change: 1 addition & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ f91f017c41d644b87699fb06619d5bdb3b568838:packages/valory/services/impact_evaluat
549de14725c5e9059ce72242aa00451714ff2296:packages/valory/skills/olas_week_abci/skill.yaml:generic-api-key:88
8fd2e768a581e5119a50d39d0dde43848bffb148:packages/valory/skills/termination_abci/skill.yaml:generic-api-key:84
8fd2e768a581e5119a50d39d0dde43848bffb148:packages/valory/skills/transaction_settlement_abci/skill.yaml:generic-api-key:92
580e513a26e54df7b4ec3d299106ce82f5af02a7:packages/valory/skills/termination_abci/skill.yaml:generic-api-key:84
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:bafybeicvfsemgxzd4ae3btk46yeijkrqzlamapg6onjl7ujlnluivpgbi4 --service
autonomy fetch valory/impact_evaluator:0.1.0:bafybeicmtaev2fr3qqoeb54jfea3egda2kej2yxokmdcmcl2rifuo3vdwi --service
```

3. Build the Docker image of the service agents
Expand Down
12 changes: 6 additions & 6 deletions packages/packages.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dev": {
"agent/valory/impact_evaluator/0.1.0": "bafybeidvjesrs2j7qfs3qy5ehnhxdgc6v4gi2zu52xvvbxpxrxuaq2t2hq",
"agent/valory/impact_evaluator/0.1.0": "bafybeifnuyqrznddpymmcvpjgdnsg4cvamv4gbbtlltukppcfjtff5gj7q",
"contract/valory/dynamic_contribution/0.1.0": "bafybeier3msdnx2mwn5g77y7zqlxz47f6ksozyzpmnx34pcgt52jq6wpim",
"service/valory/impact_evaluator/0.1.0": "bafybeicvfsemgxzd4ae3btk46yeijkrqzlamapg6onjl7ujlnluivpgbi4",
"service/valory/impact_evaluator/0.1.0": "bafybeicmtaev2fr3qqoeb54jfea3egda2kej2yxokmdcmcl2rifuo3vdwi",
"skill/valory/dynamic_nft_abci/0.1.0": "bafybeigbqomn5weffi5ns4vkfde6gghnx7wjvpmuawrsfbmdhtgoxrkxb4",
"skill/valory/twitter_scoring_abci/0.1.0": "bafybeieojsiu2r4g37d542xlm7tbrvjk2isekcvzzzxg3joriwqgllvh44",
"skill/valory/ceramic_read_abci/0.1.0": "bafybeie7t7jk2hq2cjticbfujosfld3dlnbafxdv7owhxnnj4zmtaujpwa",
"skill/valory/ceramic_write_abci/0.1.0": "bafybeihj37dsm2n6uxf4kh5r7mc734aatfaok24ylk3g2s2bkah54scsiq",
"skill/valory/impact_evaluator_abci/0.1.0": "bafybeig4eojlp62qbjls2ym2m6kescynvjslfcw526rlbzl7h6bzscaf5y",
"skill/valory/impact_evaluator_abci/0.1.0": "bafybeieg2pjbfo75hwn2etrwa6hwxpwsktrc6hl2dhrspl6ppx33mt7ifq",
"skill/valory/generic_scoring_abci/0.1.0": "bafybeidwhspcx4634xwtdnz6xlxhonbyo57d5fvpa4wihfqrfopdcgr6ve",
"protocol/valory/twitter/0.1.0": "bafybeig7dugazhljpb4qtu4zfnoimttvivopiq574rogjz3qggf5eysnk4",
"protocol/valory/llm/1.0.0": "bafybeihj2orqapokafg7co3wlogwgf6cckaaj2bz3nuv4rm3opkoyhrlp4",
Expand All @@ -16,10 +16,11 @@
"skill/valory/twitter_write_abci/0.1.0": "bafybeibir25q4i5b3ncslpeifr2zozdxj4xslzvz7o5xhwt6ocszg5pgvm",
"skill/valory/llm_abci/0.1.0": "bafybeibhihrpovqozjofkyfywm2w6hduo2vzwhhfw4a37vkvx32djxdavy",
"skill/valory/decision_making_abci/0.1.0": "bafybeicgesosljwclm7hecqyba663fizzr4m64qivwa6lgzp57dnhuzxby",
"service/valory/impact_evaluator_local/0.1.0": "bafybeicwg4fnbtjzws2dveep5n4bj3hbesox42xpsmp2susrg6xpmp7u5u",
"service/valory/impact_evaluator_local/0.1.0": "bafybeifxlpxk2xz7d5nietuvqgra6x5bixy5jywoywkudo4n4f7b7cipve",
"skill/valory/olas_week_abci/0.1.0": "bafybeic3mwcdh746cxfcwnfwaaxaz6szibqfg6cmvcmyyrktzz35rpwk5m",
"skill/valory/mech_interact_abci/0.1.0": "bafybeifodymmh33fxpulj3mundj33gxq3psbgt3ndkyvyvs5xtaveoiuwa",
"contract/valory/mech/0.1.0": "bafybeiaofbjmqtd725dkowk6x5zbnczdlmyqttdxxzkdyqnjuvrdveb2qu"
"contract/valory/mech/0.1.0": "bafybeiaofbjmqtd725dkowk6x5zbnczdlmyqttdxxzkdyqnjuvrdveb2qu",
"skill/valory/termination_abci/0.1.0": "bafybeihvaoqt4vwjlwuj2yrylcde4writyhzgq5r5rg6gmollxq5ejzxeu"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeie7xyems76v5b4wc2lmaidcujizpxfzjnnwdeokmhje53g7ym25ii",
Expand All @@ -43,7 +44,6 @@
"connection/valory/http_server/0.22.0": "bafybeiesafy2af2wakqvsal4hz6ldycb73j5w62szhwy25iyhlf2wgyg44",
"contract/valory/gnosis_safe_proxy_factory/0.1.0": "bafybeid2dujvxf2aiys65jfbobu7r3p6jgsg3hvjuwtzuwlh2g5elkqg2y",
"contract/valory/multisend/0.1.0": "bafybeig5byt5urg2d2bsecufxe5ql7f4mezg3mekfleeh32nmuusx66p4y",
"skill/valory/termination_abci/0.1.0": "bafybeigainmpy37gb33ogbrpggjbkuasodhthh5oz4vbzjdfjozerpf224",
"contract/valory/gnosis_safe/0.1.0": "bafybeifpl2gaym4osfvqnmpewjr5hx2fbmwf6nomhkr5w2wkdosbynx53a",
"skill/valory/transaction_settlement_abci/0.1.0": "bafybeigk3debp6dswutqsuls2lqfvyj4ghe6kwjc2zfinnsvj6hujynxtq"
}
Expand Down
6 changes: 4 additions & 2 deletions packages/valory/agents/impact_evaluator/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ protocols:
skills:
- valory/abstract_abci:0.1.0:bafybeiazmtcljyffmxzbiiq7aw6dhsgcbahpwixbtjeqoqfrcqw3ypzrf4
- valory/abstract_round_abci:0.1.0:bafybeidau7loztcfy3mxvoqrv7otbpciemd2wf3lsxyjraq4dcvuvib25e
- valory/impact_evaluator_abci:0.1.0:bafybeig4eojlp62qbjls2ym2m6kescynvjslfcw526rlbzl7h6bzscaf5y
- valory/impact_evaluator_abci:0.1.0:bafybeieg2pjbfo75hwn2etrwa6hwxpwsktrc6hl2dhrspl6ppx33mt7ifq
- valory/generic_scoring_abci:0.1.0:bafybeidwhspcx4634xwtdnz6xlxhonbyo57d5fvpa4wihfqrfopdcgr6ve
- valory/twitter_scoring_abci:0.1.0:bafybeieojsiu2r4g37d542xlm7tbrvjk2isekcvzzzxg3joriwqgllvh44
- valory/ceramic_read_abci:0.1.0:bafybeie7t7jk2hq2cjticbfujosfld3dlnbafxdv7owhxnnj4zmtaujpwa
- valory/ceramic_write_abci:0.1.0:bafybeihj37dsm2n6uxf4kh5r7mc734aatfaok24ylk3g2s2bkah54scsiq
- valory/dynamic_nft_abci:0.1.0:bafybeigbqomn5weffi5ns4vkfde6gghnx7wjvpmuawrsfbmdhtgoxrkxb4
- valory/registration_abci:0.1.0:bafybeif4tgr7zqzguknrjzxr4h766fxp7vr4tod25xii4jzzwsbvyzdzkq
- valory/reset_pause_abci:0.1.0:bafybeiencz2uytz6fqj5wg7mcunevxjh4xg5gd6pqcgkshgqywhcimweyi
- valory/termination_abci:0.1.0:bafybeigainmpy37gb33ogbrpggjbkuasodhthh5oz4vbzjdfjozerpf224
- valory/termination_abci:0.1.0:bafybeihvaoqt4vwjlwuj2yrylcde4writyhzgq5r5rg6gmollxq5ejzxeu
- valory/transaction_settlement_abci:0.1.0:bafybeigk3debp6dswutqsuls2lqfvyj4ghe6kwjc2zfinnsvj6hujynxtq
- valory/twitter_write_abci:0.1.0:bafybeibir25q4i5b3ncslpeifr2zozdxj4xslzvz7o5xhwt6ocszg5pgvm
- valory/decision_making_abci:0.1.0:bafybeicgesosljwclm7hecqyba663fizzr4m64qivwa6lgzp57dnhuzxby
Expand Down Expand Up @@ -253,6 +253,8 @@ models:
mech_contract_address: ${str:0xff82123dfb52ab75c417195c5fdb87630145ae81}
ipfs_address: ${str:https://gateway.autonolas.tech/ipfs/}
default_chain_id: ${str:ethereum}
termination_from_block: ${int:0}
termination_chain: ${str:gnosis}
---
public_id: valory/http_server:0.22.0:bafybeicblltx7ha3ulthg7bzfccuqqyjmihhrvfeztlgrlcoxhr7kf6nbq
type: connection
Expand Down
10 changes: 9 additions & 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:bafybeidvjesrs2j7qfs3qy5ehnhxdgc6v4gi2zu52xvvbxpxrxuaq2t2hq
agent: valory/impact_evaluator:0.1.0:bafybeifnuyqrznddpymmcvpjgdnsg4cvamv4gbbtlltukppcfjtff5gj7q
number_of_agents: 4
deployment:
agent:
Expand Down Expand Up @@ -126,6 +126,8 @@ extra:
mech_contract_address: ${MECH_CONTRACT_ADDRESS:str:0xff82123dfb52ab75c417195c5fdb87630145ae81}
ipfs_address: ${IPFS_ADDRESS:str:https://gateway.autonolas.tech/ipfs/}
default_chain_id: ${DEFAULT_CHAIN_ID:str:ethereum}
termination_from_block: ${TERMINATION_FROM_BLOCK:int:31206099}
termination_chain: ${TERMINATION_CHAIN:str:gnosis}
1:
models:
benchmark_tool:
Expand Down Expand Up @@ -204,6 +206,8 @@ extra:
mech_contract_address: ${MECH_CONTRACT_ADDRESS:str:0xff82123dfb52ab75c417195c5fdb87630145ae81}
ipfs_address: ${IPFS_ADDRESS:str:https://gateway.autonolas.tech/ipfs/}
default_chain_id: ${DEFAULT_CHAIN_ID:str:ethereum}
termination_from_block: ${TERMINATION_FROM_BLOCK:int:31206099}
termination_chain: ${TERMINATION_CHAIN:str:gnosis}
2:
models:
benchmark_tool:
Expand Down Expand Up @@ -282,6 +286,8 @@ extra:
mech_contract_address: ${MECH_CONTRACT_ADDRESS:str:0xff82123dfb52ab75c417195c5fdb87630145ae81}
ipfs_address: ${IPFS_ADDRESS:str:https://gateway.autonolas.tech/ipfs/}
default_chain_id: ${DEFAULT_CHAIN_ID:str:ethereum}
termination_from_block: ${TERMINATION_FROM_BLOCK:int:31206099}
termination_chain: ${TERMINATION_CHAIN:str:gnosis}
3:
models:
benchmark_tool:
Expand Down Expand Up @@ -364,6 +370,8 @@ extra:
mech_contract_address: ${MECH_CONTRACT_ADDRESS:str:0xff82123dfb52ab75c417195c5fdb87630145ae81}
ipfs_address: ${IPFS_ADDRESS:str:https://gateway.autonolas.tech/ipfs/}
default_chain_id: ${DEFAULT_CHAIN_ID:str:ethereum}
termination_from_block: ${TERMINATION_FROM_BLOCK:int:31206099}
termination_chain: ${TERMINATION_CHAIN:str:gnosis}
---
public_id: valory/ledger:0.19.0
type: connection
Expand Down
4 changes: 3 additions & 1 deletion packages/valory/services/impact_evaluator_local/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:bafybeidvjesrs2j7qfs3qy5ehnhxdgc6v4gi2zu52xvvbxpxrxuaq2t2hq
agent: valory/impact_evaluator:0.1.0:bafybeifnuyqrznddpymmcvpjgdnsg4cvamv4gbbtlltukppcfjtff5gj7q
number_of_agents: 1
deployment:
agent:
Expand Down Expand Up @@ -120,6 +120,8 @@ models:
mech_contract_address: ${MECH_CONTRACT_ADDRESS:str:0xff82123dfb52ab75c417195c5fdb87630145ae81}
ipfs_address: ${IPFS_ADDRESS:str:https://gateway.autonolas.tech/ipfs/}
default_chain_id: ${DEFAULT_CHAIN_ID:str:ethereum}
termination_from_block: ${TERMINATION_FROM_BLOCK:int:31206099}
termination_chain: ${TERMINATION_CHAIN:str:gnosis}
---
public_id: valory/ledger:0.19.0
type: connection
Expand Down
4 changes: 3 additions & 1 deletion packages/valory/skills/impact_evaluator_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ skills:
- valory/dynamic_nft_abci:0.1.0:bafybeigbqomn5weffi5ns4vkfde6gghnx7wjvpmuawrsfbmdhtgoxrkxb4
- valory/registration_abci:0.1.0:bafybeif4tgr7zqzguknrjzxr4h766fxp7vr4tod25xii4jzzwsbvyzdzkq
- valory/reset_pause_abci:0.1.0:bafybeiencz2uytz6fqj5wg7mcunevxjh4xg5gd6pqcgkshgqywhcimweyi
- valory/termination_abci:0.1.0:bafybeigainmpy37gb33ogbrpggjbkuasodhthh5oz4vbzjdfjozerpf224
- valory/termination_abci:0.1.0:bafybeihvaoqt4vwjlwuj2yrylcde4writyhzgq5r5rg6gmollxq5ejzxeu
- valory/transaction_settlement_abci:0.1.0:bafybeigk3debp6dswutqsuls2lqfvyj4ghe6kwjc2zfinnsvj6hujynxtq
- valory/decision_making_abci:0.1.0:bafybeicgesosljwclm7hecqyba663fizzr4m64qivwa6lgzp57dnhuzxby
- valory/llm_abci:0.1.0:bafybeibhihrpovqozjofkyfywm2w6hduo2vzwhhfw4a37vkvx32djxdavy
Expand Down Expand Up @@ -194,6 +194,8 @@ models:
mech_contract_address: '0xff82123dfb52ab75c417195c5fdb87630145ae81'
ipfs_address: https://gateway.autonolas.tech/ipfs/
default_chain_id: ethereum
termination_from_block: 0
termination_chain: gnosis
class_name: Params
randomness_api:
args:
Expand Down
25 changes: 25 additions & 0 deletions packages/valory/skills/termination_abci/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2022 Valory AG
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# ------------------------------------------------------------------------------

"""This module contains the ABCI Termination skill for an AEA."""

from aea.configurations.base import PublicId


PUBLIC_ID = PublicId.from_str("valory/termination_abci:0.1.0")
Loading
Loading