Skip to content

Commit

Permalink
Merge pull request #118 from valory-xyz/chore/bump
Browse files Browse the repository at this point in the history
Chore/bump
  • Loading branch information
dvilelaf authored Sep 28, 2023
2 parents 4360924 + 6c6a2d7 commit dc520cc
Show file tree
Hide file tree
Showing 20 changed files with 183 additions and 103 deletions.
12 changes: 6 additions & 6 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ pytest-asyncio = "==0.20.3"
pytest-cov = "==4.0.0"
pytest-randomly = "==3.12.0"
requests = "==2.28.2"
open-aea = "==1.38.0"
open-aea-ledger-ethereum = "==1.38.0"
open-aea-ledger-cosmos = "==1.38.0"
open-aea-cli-ipfs = "==1.38.0"
open-aea-test-autonomy = "==0.11.1"
open-autonomy = {version = "==0.11.1", extras = ["all"]}
open-aea = "==1.39.0.post1"
open-aea-ledger-ethereum = "==1.39.0.post1"
open-aea-ledger-cosmos = "==1.39.0.post1"
open-aea-cli-ipfs = "==1.39.0.post1"
open-aea-test-autonomy = "==0.12.1.post4"
open-autonomy = {version = "==0.12.1.post4", extras = ["all"]}
tomte = {version = "==0.2.12", extras = ["cli", "tests"]}
openapi-core = "==0.13.2"
openapi-spec-validator = "==0.2.8"
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ In order to run a local demo based on the SMPKit:
mkdir your_workspace && cd your_workspace
touch Pipfile && pipenv --python 3.10 && pipenv shell

pipenv install open-autonomy[all]==0.11.1
pipenv install open-autonomy[all]==0.12.1.post4
autonomy init --remote --ipfs --reset --author=your_name
```

2. Fetch the Smart Managed Pools service.

```bash
autonomy fetch balancer/autonomous_fund_goerli:0.1.0:bafybeieekrvrgqk6h3d36nizi7y23rw3b372uv4sh2nyb4f3bvgexpuvey --service
autonomy fetch balancer/autonomous_fund_goerli:0.1.0:bafybeiddgkzypctnveunlk74kopiwirdssk5bg7vwtwsxaicihy4d7hcjy --service
```

3. Build the Docker image of the service agents
Expand Down
35 changes: 20 additions & 15 deletions packages/balancer/agents/autonomous_fund/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,27 @@ fingerprint:
fingerprint_ignore_patterns: []
connections:
- fetchai/http_server:0.22.0:bafybeihp5umafxzx45aad5pj7s3343se2wjkgnbirt4pybrape22swm6de
- valory/abci:0.1.0:bafybeicasheudousm2unmh5qmy5n3qdq5hmkg2j42fxfm2crxmgq3nzjkq
- valory/abci:0.1.0:bafybeib3exj2vkz4u76rc2amtwz6veeozipr6zdgzlaqsovu3dorppcina
- valory/http_client:0.23.0:bafybeieoeuy4brzimtnubmokwirhrx27ezls6cdnl5qik4rkykfle3nn2y
- valory/ipfs:0.1.0:bafybeiau32pzy55ta6ugl2bebevlxudal6pnlfomhplfm5mph6reaw3krq
- valory/ipfs:0.1.0:bafybeidu3xd6rd5zysv2due2cnrc3sxx5vss2usxwaxxtxxuyha2kuhd3e
- valory/ledger:0.19.0:bafybeigfoz7d7si7s4jehvloq2zmiiocpbxcaathl3bxkyarxoerxq7g3a
- valory/p2p_libp2p_client:0.1.0:bafybeihdnfdth3qgltefgrem7xyi4b3ejzaz67xglm2hbma2rfvpl2annq
contracts:
- balancer/managed_pool:0.1.0:bafybeigmhefgzzdfmcaehntsl656b7knlksuykrepobxlshjypq64v2zxu
- balancer/managed_pool:0.1.0:bafybeia3g5lbnlx6vy43c7cwqvsikvztqxbzfmhcj2pe2qwob7yhb6y2me
protocols:
- open_aea/signing:1.0.0:bafybeifuxs7gdg2okbn7uofymenjlmnih2wxwkym44lsgwmklgwuckxm2m
- valory/ipfs:0.1.0:bafybeibjzhsengtxfofqpxy6syamplevp35obemwfp4c5lhag3v2bvgysa
skills:
- balancer/autonomous_fund_abci:0.1.0:bafybeidyf5npr7vu4jbgdjwewdni7p2jwmdxh2t7ukmukmkcblosy7nl3a
- balancer/fear_and_greed_oracle_abci:0.1.0:bafybeieinym5mocbwas7kwudsnywtxaclkfhcec5pgpxhxk4t5bw4oziwi
- balancer/liquidity_provision_abci:0.1.0:bafybeiaa6jtc7vka3gpktzc4jjq5f6znxj6o5qekbkxb4dq3tmtukqa3zq
- balancer/pool_manager_abci:0.1.0:bafybeibmm2kg4fzfvz776oezqisc44mqzkma6lhmrgbsqli6zi72amwzeq
- valory/abstract_abci:0.1.0:bafybeicg7dv7cff34nv2k2z47c4yp4kddsxp3wozonzow6tnvfvwndz3cy
- valory/abstract_round_abci:0.1.0:bafybeigxjcci53vwytymzlhr37436yvenh7jup4astrn7dgyixo24aq2pq
- valory/registration_abci:0.1.0:bafybeibc4kczqbh23sc6tufrzn3axmhp3vjav7fa3u6cnpvolrbbc2fd7i
- valory/reset_pause_abci:0.1.0:bafybeid445uy6wwvugf3byzl7r73c7teu6xr5ezxb4h7cxbenghg3copvy
- valory/termination_abci:0.1.0:bafybeiguy7pkrcptg6c754ioig4mlkr7truccym3fpv6jwpjx2tmpdbzhi
- valory/transaction_settlement_abci:0.1.0:bafybeidpsnguxizkpihtkqzojr3em7yy7c6qc7gxpbh5vglmwws5wke7bi
- balancer/autonomous_fund_abci:0.1.0:bafybeiaghipc5zz4532di4tyxn5iwwlgjcypxat4y2ibljvakuouurdgvi
- balancer/fear_and_greed_oracle_abci:0.1.0:bafybeigzkolsejdeccnrexkwm672se5vvzp46lgnu4g7kugommbarj6rdm
- balancer/liquidity_provision_abci:0.1.0:bafybeicqkovocno2zulkjqml67epmaj2c2xpex5hq2r3sulgwowxbtmj7a
- balancer/pool_manager_abci:0.1.0:bafybeif44z57l7u4qbbhgriazsfg4oxaopgner464nl4u565byjv5uaqdy
- valory/abstract_abci:0.1.0:bafybeigafjci7m7ezwzasav5xqo7v2mbxxn7qb4y7vnuc2wr2irzvn7wsy
- valory/abstract_round_abci:0.1.0:bafybeih2fyfb6kkf7r45pvdk7pyyebr5xloia4xiqxtb3qsrasnstqmepq
- valory/registration_abci:0.1.0:bafybeibndt6vxiwc2edgtaxpjbhwto3eyu33ujz3zmvtygvo2qz7xme5li
- valory/reset_pause_abci:0.1.0:bafybeigeoc363gv3wp2rrmk6p2fdxney33nxd3owtpfugzapgruwe4klyu
- valory/termination_abci:0.1.0:bafybeigqpij2sgrpnilqjljfciixop4fldq5qceixc7534q6af4potdmdm
- valory/transaction_settlement_abci:0.1.0:bafybeia7rzsbea3ch4gcafyp3z6uvqh4npws2xpdwbkkdbrqqpjops7nui
default_ledger: ethereum
required_ledgers:
- ethereum
Expand Down Expand Up @@ -73,9 +73,9 @@ logging_config:
skill_exception_policy: stop_and_exit
dependencies:
open-aea-ledger-cosmos:
version: <2.0.0,>=1.38.0
version: <2.0.0,>=1.39.0.post1
open-aea-ledger-ethereum:
version: <2.0.0,>=1.38.0
version: <2.0.0,>=1.39.0.post1
default_connection: null
---
public_id: valory/abci:0.1.0
Expand Down Expand Up @@ -190,6 +190,11 @@ models:
weight_update_timespan: 72000
managed_pool_address: ${str:0xb5f3FC2579b134D836271AC872de2DA83Fe6e6a1}
service_endpoint_base: ${str:https://dummy_service.autonolas.tech/}
use_slashing: ${bool:false}
slash_cooldown_hours: ${int:3}
slash_threshold_amount: ${int:10000000000000000}
light_slash_unit_amount: ${int:5000000000000000}
serious_slash_unit_amount: ${int:8000000000000000}
---
public_id: fetchai/http_server:0.22.0:bafybeicblltx7ha3ulthg7bzfccuqqyjmihhrvfeztlgrlcoxhr7kf6nbq
type: connection
Expand Down
2 changes: 1 addition & 1 deletion packages/balancer/contracts/managed_pool/contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ contract_interface_paths:
ethereum: build/IManagedPool.json
dependencies:
open-aea-ledger-ethereum:
version: ==1.38.0
version: ==1.39.0.post1
open-aea-web3:
version: ==6.0.1
7 changes: 6 additions & 1 deletion packages/balancer/services/autonomous_fund/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeibfahh3htjez7vf7lwx2s7tth26cwxgtalgn5hj7yg7akhk67f4ny
fingerprint_ignore_patterns: []
agent: balancer/autonomous_fund:0.1.0:bafybeiascrcf6wa6u276dkx2rjawbbpebfolsnghigcnjibsyxdvo6qtvm
agent: balancer/autonomous_fund:0.1.0:bafybeigsigpnn2dmnc7tcx6hrqajrtev5ck6x3p5sv2s2gsekhugvtc7ou
number_of_agents: 4
deployment: {}
---
Expand All @@ -30,6 +30,11 @@ models:
service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/}
consensus:
max_participants: 4
use_slashing: ${USE_SLASHING:bool:false}
slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3}
slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000}
light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000}
serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000}
---
public_id: valory/ledger:0.19.0
type: connection
Expand Down
22 changes: 21 additions & 1 deletion packages/balancer/services/autonomous_fund_gnosis/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeieehvmcyig6zmiwoueqihxgnwvwfsqhadxbgwk7olus3jfdw4cn3q
fingerprint_ignore_patterns: []
agent: balancer/autonomous_fund:0.1.0:bafybeiascrcf6wa6u276dkx2rjawbbpebfolsnghigcnjibsyxdvo6qtvm
agent: balancer/autonomous_fund:0.1.0:bafybeigsigpnn2dmnc7tcx6hrqajrtev5ck6x3p5sv2s2gsekhugvtc7ou
number_of_agents: 4
deployment: {}
---
Expand Down Expand Up @@ -45,6 +45,11 @@ extra:
consensus: *id002
tendermint_p2p_url: ${TENDERMINT_P2P_URL_0:str:node0:26656}
service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/}
use_slashing: ${USE_SLASHING:bool:false}
slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3}
slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000}
light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000}
serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000}
1:
models:
params:
Expand All @@ -61,6 +66,11 @@ extra:
consensus: *id002
tendermint_p2p_url: ${TENDERMINT_P2P_URL_1:str:node1:26656}
service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/}
use_slashing: ${USE_SLASHING:bool:false}
slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3}
slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000}
light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000}
serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000}
2:
models:
params:
Expand All @@ -77,6 +87,11 @@ extra:
consensus: *id002
tendermint_p2p_url: ${TENDERMINT_P2P_URL_2:str:node2:26656}
service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/}
use_slashing: ${USE_SLASHING:bool:false}
slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3}
slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000}
light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000}
serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000}
3:
models:
params:
Expand All @@ -93,6 +108,11 @@ extra:
consensus: *id002
tendermint_p2p_url: ${TENDERMINT_P2P_URL_3:str:node3:26656}
service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/}
use_slashing: ${USE_SLASHING:bool:false}
slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3}
slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000}
light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000}
serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000}
---
public_id: valory/ledger:0.19.0
type: connection
Expand Down
22 changes: 21 additions & 1 deletion packages/balancer/services/autonomous_fund_goerli/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeie36flrik7sho37ynqzv7vc4thd5daw7h3af6fvi4o467fddbwgte
fingerprint_ignore_patterns: []
agent: balancer/autonomous_fund:0.1.0:bafybeiascrcf6wa6u276dkx2rjawbbpebfolsnghigcnjibsyxdvo6qtvm
agent: balancer/autonomous_fund:0.1.0:bafybeigsigpnn2dmnc7tcx6hrqajrtev5ck6x3p5sv2s2gsekhugvtc7ou
number_of_agents: 4
deployment: {}
---
Expand Down Expand Up @@ -39,6 +39,11 @@ extra:
consensus: *id002
tendermint_p2p_url: ${TENDERMINT_P2P_URL_0:str:node0:26656}
service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/}
use_slashing: ${USE_SLASHING:bool:false}
slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3}
slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000}
light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000}
serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000}
1:
models:
params:
Expand All @@ -52,6 +57,11 @@ extra:
consensus: *id002
tendermint_p2p_url: ${TENDERMINT_P2P_URL_1:str:node1:26656}
service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/}
use_slashing: ${USE_SLASHING:bool:false}
slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3}
slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000}
light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000}
serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000}
2:
models:
params:
Expand All @@ -65,6 +75,11 @@ extra:
consensus: *id002
tendermint_p2p_url: ${TENDERMINT_P2P_URL_2:str:node2:26656}
service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/}
use_slashing: ${USE_SLASHING:bool:false}
slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3}
slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000}
light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000}
serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000}
3:
models:
params:
Expand All @@ -78,6 +93,11 @@ extra:
consensus: *id002
tendermint_p2p_url: ${TENDERMINT_P2P_URL_3:str:node3:26656}
service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/}
use_slashing: ${USE_SLASHING:bool:false}
slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3}
slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000}
light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000}
serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000}
---
public_id: valory/ledger:0.19.0
type: connection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ class AutonomousFundConsensusBehaviour(AbstractRoundBehaviour):
*ResetPauseABCIConsensusBehaviour.behaviours,
*TerminationAbciBehaviours.behaviours,
}
background_behaviour_cls = BackgroundBehaviour
background_behaviours_cls = {BackgroundBehaviour}
21 changes: 13 additions & 8 deletions packages/balancer/skills/autonomous_fund_abci/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
AbciAppTransitionMapping,
chain,
)
from packages.valory.skills.termination_abci.rounds import BackgroundRound
from packages.valory.skills.termination_abci.rounds import Event as TerminationEvent
from packages.valory.skills.termination_abci.rounds import TerminationAbciApp
from packages.valory.skills.abstract_round_abci.base import BackgroundAppConfig
from packages.valory.skills.termination_abci.rounds import (
BackgroundRound,
Event,
TerminationAbciApp,
)


# here we define how the transition between the FSMs should happen
Expand All @@ -51,6 +54,12 @@
ResetAndPauseAbci.FinishedResetAndPauseErrorRound: RegistrationAbci.RegistrationRound,
}

termination_config = BackgroundAppConfig(
round_cls=BackgroundRound,
start_event=Event.TERMINATE,
abci_app=TerminationAbciApp,
)


AutonomousFundAbciApp = chain(
(
Expand All @@ -63,8 +72,4 @@
LiqudityProvisionAbci.LiquidityProvisionAbciApp,
),
abci_app_transition_mapping,
).add_termination(
background_round_cls=BackgroundRound,
termination_event=TerminationEvent.TERMINATE,
termination_abci_app=TerminationAbciApp,
)
).add_background_app(termination_config)
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ transition_func:
(ValidateTransactionRound, NEGATIVE): CheckTransactionHistoryRound
(ValidateTransactionRound, NONE): SelectKeeperTransactionSubmissionBRound
(ValidateTransactionRound, NO_MAJORITY): ValidateTransactionRound
(ValidateTransactionRound, VALIDATE_TIMEOUT): SelectKeeperTransactionSubmissionBRound
(ValidateTransactionRound, VALIDATE_TIMEOUT): CheckTransactionHistoryRound
31 changes: 18 additions & 13 deletions packages/balancer/skills/autonomous_fund_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ license: Apache-2.0
aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeifx6ihh7vz7pp3swpfbxgp4fmspjshmu2ksua3w5yo5jdcleq2yhm
behaviours.py: bafybeibmt2g4n2wj6g4psox56cl4pzpqn7upzrjbftrni6favx5xarghny
composition.py: bafybeiel35h4qptnm6mqxc2vh2hjkhfqhbtcjg65ofa6qvjw3mb4mthxyq
behaviours.py: bafybeigvoeqdydrpmc4rmpar5p6iimdcqucsy77pvtvrz3zq6z64k73cxy
composition.py: bafybeibutsu26t5ut7l6ubeiv52jezvn4alg435fsbsxwgavembgv4qgbi
dialogues.py: bafybeiffd2prpsv5uk4xxr2qixgpbgy2flonh2etz2fdtnojj2mrey4qty
fsm_specification.yaml: bafybeibx2rfxxwyq6zixbtvbghu4mgxo2igt5vffu5tfmlkrmg7cm2677i
fsm_specification.yaml: bafybeidko26po77yapfol625vkpkxdeecib2m3iounzbn6q36ztveg4z4y
handlers.py: bafybeigozvyjknr3x4zknssh7p2aqigkq22vefc7uqs76knzmluhzbzsie
models.py: bafybeidjbf67nnjjwjrrk5rvt624nhabfl5c6iessgvywvxkvjmmgm4uny
multiplexer.py: bafybeigojtg2jbwnpqja6dseftwwf3udacdpaoz6jxv7gv4kx6bbzaueiq
Expand All @@ -19,22 +19,22 @@ fingerprint:
tests/test_dialogues.py: bafybeidqjnbjc6qs4pwxaljuzmn2edgiynzt5nubgwk3fabnjhpyqu4ibe
tests/test_handlers.py: bafybeieuhhzq67glblqzeos634w3c3rqgl2tqy3clctpwzvr7cedlzu7tq
tests/test_models.py: bafybeicrunh3ninsmis7eejbxauvqfxr4dlnu6zlyof462qjefjx37apvm
tests/test_multiplexer.py: bafybeic3sbhy7jp2dwiiersncdqtlmgqf5bkvkbqlf6y52v5kf43tse5wu
tests/test_multiplexer.py: bafybeidqskxfcqsxbjbfus2qcpsqtuo5ynh7quyyyoiz4vj5ckcqmql33y
fingerprint_ignore_patterns: []
connections:
- fetchai/http_server:0.22.0:bafybeihp5umafxzx45aad5pj7s3343se2wjkgnbirt4pybrape22swm6de
contracts: []
protocols:
- valory/http:1.0.0:bafybeia5bxdua2i6chw6pg47bvoljzcpuqxzy4rdrorbdmcbnwmnfdobtu
skills:
- balancer/fear_and_greed_oracle_abci:0.1.0:bafybeieinym5mocbwas7kwudsnywtxaclkfhcec5pgpxhxk4t5bw4oziwi
- balancer/liquidity_provision_abci:0.1.0:bafybeiaa6jtc7vka3gpktzc4jjq5f6znxj6o5qekbkxb4dq3tmtukqa3zq
- balancer/pool_manager_abci:0.1.0:bafybeibmm2kg4fzfvz776oezqisc44mqzkma6lhmrgbsqli6zi72amwzeq
- valory/abstract_round_abci:0.1.0:bafybeigxjcci53vwytymzlhr37436yvenh7jup4astrn7dgyixo24aq2pq
- valory/registration_abci:0.1.0:bafybeibc4kczqbh23sc6tufrzn3axmhp3vjav7fa3u6cnpvolrbbc2fd7i
- valory/reset_pause_abci:0.1.0:bafybeid445uy6wwvugf3byzl7r73c7teu6xr5ezxb4h7cxbenghg3copvy
- valory/termination_abci:0.1.0:bafybeiguy7pkrcptg6c754ioig4mlkr7truccym3fpv6jwpjx2tmpdbzhi
- valory/transaction_settlement_abci:0.1.0:bafybeidpsnguxizkpihtkqzojr3em7yy7c6qc7gxpbh5vglmwws5wke7bi
- balancer/fear_and_greed_oracle_abci:0.1.0:bafybeigzkolsejdeccnrexkwm672se5vvzp46lgnu4g7kugommbarj6rdm
- balancer/liquidity_provision_abci:0.1.0:bafybeicqkovocno2zulkjqml67epmaj2c2xpex5hq2r3sulgwowxbtmj7a
- balancer/pool_manager_abci:0.1.0:bafybeif44z57l7u4qbbhgriazsfg4oxaopgner464nl4u565byjv5uaqdy
- valory/abstract_round_abci:0.1.0:bafybeih2fyfb6kkf7r45pvdk7pyyebr5xloia4xiqxtb3qsrasnstqmepq
- valory/registration_abci:0.1.0:bafybeibndt6vxiwc2edgtaxpjbhwto3eyu33ujz3zmvtygvo2qz7xme5li
- valory/reset_pause_abci:0.1.0:bafybeigeoc363gv3wp2rrmk6p2fdxney33nxd3owtpfugzapgruwe4klyu
- valory/termination_abci:0.1.0:bafybeigqpij2sgrpnilqjljfciixop4fldq5qceixc7534q6af4potdmdm
- valory/transaction_settlement_abci:0.1.0:bafybeia7rzsbea3ch4gcafyp3z6uvqh4npws2xpdwbkkdbrqqpjops7nui
behaviours:
main:
args: {}
Expand Down Expand Up @@ -172,6 +172,11 @@ models:
validate_timeout: 1205
weight_tolerance: 0.1
weight_update_timespan: 72000
use_slashing: false
slash_cooldown_hours: 3
slash_threshold_amount: 10000000000000000
light_slash_unit_amount: 5000000000000000
serious_slash_unit_amount: 8000000000000000
class_name: Params
randomness_api:
args:
Expand All @@ -198,5 +203,5 @@ models:
class_name: TendermintDialogues
dependencies:
open-aea-cli-ipfs:
version: <2.0.0,>=1.38.0
version: <2.0.0,>=1.39.0.post1
is_abstract: false
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

"""This package contains the tests for TxMultiplexing."""

from unittest import mock

import pytest

from packages.balancer.skills.autonomous_fund_abci.multiplexer import (
Expand Down Expand Up @@ -60,7 +62,7 @@ def test_run(self, tx_submitter: str, expected_event: Event) -> None:
**{get_name(SynchronizedData.tx_submitter): tx_submitter} # type: ignore
)
test_round = self.round_class(
synchronized_data=self.synchronized_data,
synchronized_data=self.synchronized_data, context=mock.MagicMock()
)
res = test_round.end_block()
assert res is not None
Expand Down
Loading

0 comments on commit dc520cc

Please sign in to comment.