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 agent loop #34

Merged
merged 1 commit into from
Jul 27, 2023
Merged
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
8 changes: 4 additions & 4 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"contract/valory/conditional_tokens/0.1.0": "bafybeig5vtn7bzpegfrzehdgeezqcnox3xlb5i54ehnqndazhcfh3bkdcq",
"contract/valory/fpmm_deterministic_factory/0.1.0": "bafybeig4ztnqgyaespzlcmcom56nvmi4c4paddsxsjsh5q7olnylu3z7ou",
"contract/valory/realtio/0.1.0": "bafybeihoj7w5dqdyo6ds2rdmi326cvl5wuc7xp6yms7lwks35m4nqypk4q",
"skill/valory/market_creation_manager_abci/0.1.0": "bafybeie3p4jxjye6qgykiuq4eve5v37tje4oj5fihxay2vb64px5b6qcri",
"skill/valory/market_maker_abci/0.1.0": "bafybeig7y647k24ksnbspz23fbjnxivpyjpb5dym3krnhtaosefdzsexrm",
"agent/valory/market_maker/0.1.0": "bafybeihwdk4wkdlhdji5bjtf6k6yjzyl2b373rmhy4jxbqyz5h22alolxq",
"service/valory/market_maker/0.1.0": "bafybeifbmtx5h2y7pk7zze2emv6wpftsxjwhbxhq3f5uxr7656mmexo5ea",
"skill/valory/market_creation_manager_abci/0.1.0": "bafybeichgshhxeigjb46pyfbeokdkiwrc4jongf225bcwopkw7ka2azuda",
"skill/valory/market_maker_abci/0.1.0": "bafybeig4hmaqu3hka6ynblqvms6jpq4qbn6ofc2rdocwbxpeobyhyccwe4",
"agent/valory/market_maker/0.1.0": "bafybeicbjdxea7y5dndpsekx5rtovdzyjf4vsex5f5gy3urcgjx2lnmiou",
"service/valory/market_maker/0.1.0": "bafybeiawlstpxj2fjkeu2izza7xniynmfhmfqbow4vsnol5wbbuznwuof4",
"contract/valory/wxdai/0.1.0": "bafybeie3c5enerf54jt75xc62mbzck4kjqxpjx2mzo6v4rrz4dmcy4xdgy",
"skill/valory/market_validation_abci/0.1.0": "bafybeifyfwynotmzg6wypbzbwsfnrplhjhumfx32dm2j3ddasp7ygrfoqa"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/agents/market_maker/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ protocols:
skills:
- valory/abstract_abci:0.1.0:bafybeiamr3cwetayz6lr72buhq6iviabtboj4hhpq47tlumimxolvvqjcy
- valory/abstract_round_abci:0.1.0:bafybeiaseziuvbzh3trjggl5hx2tv3fduqrpiwiyksudaf6nvuxmwrg74i
- valory/market_maker_abci:0.1.0:bafybeig7y647k24ksnbspz23fbjnxivpyjpb5dym3krnhtaosefdzsexrm
- valory/market_maker_abci:0.1.0:bafybeig4hmaqu3hka6ynblqvms6jpq4qbn6ofc2rdocwbxpeobyhyccwe4
- valory/registration_abci:0.1.0:bafybeibafy7qmcvvzaykimy3mbqdwtcuajmbghqilaa7zwkh6wla33cfce
- valory/market_creation_manager_abci:0.1.0:bafybeie3p4jxjye6qgykiuq4eve5v37tje4oj5fihxay2vb64px5b6qcri
- valory/market_creation_manager_abci:0.1.0:bafybeichgshhxeigjb46pyfbeokdkiwrc4jongf225bcwopkw7ka2azuda
- valory/market_validation_abci:0.1.0:bafybeifyfwynotmzg6wypbzbwsfnrplhjhumfx32dm2j3ddasp7ygrfoqa
- valory/reset_pause_abci:0.1.0:bafybeialcwck7fahrr23jckv5qjwg3cdq4ai2ihyjsofnbj44jzyl4cjmm
- valory/termination_abci:0.1.0:bafybeifqsogqiar4yook5bu3j6z66dbdcizey7dr3e5oxeocdjijvfbaja
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/market_maker/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: bafybeibwz3af6326msp4h3kqehijvmyhaytvyfbo3o2npc2w4b6zrg6pfq
fingerprint_ignore_patterns: []
agent: valory/market_maker:0.1.0:bafybeihwdk4wkdlhdji5bjtf6k6yjzyl2b373rmhy4jxbqyz5h22alolxq
agent: valory/market_maker:0.1.0:bafybeicbjdxea7y5dndpsekx5rtovdzyjf4vsex5f5gy3urcgjx2lnmiou
number_of_agents: 1
deployment:
agent:
Expand Down
12 changes: 6 additions & 6 deletions packages/valory/skills/market_creation_manager_abci/rounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,19 +336,19 @@ class MarketCreationManagerAbciApp(AbciApp[Event]):
initial_states: Set[AppState] = {CollectRandomnessRound}
transition_function: AbciAppTransitionFunction = {
CollectRandomnessRound: {
Event.DONE: DataGatheringRound,
Event.DONE: SelectKeeperRound,
Event.NO_MAJORITY: CollectRandomnessRound,
Event.ROUND_TIMEOUT: CollectRandomnessRound,
},
DataGatheringRound: {
Event.DONE: SelectKeeperRound,
Event.MAX_MARKETS_REACHED: RetrieveApprovedMarketRound,
Event.API_ERROR: CollectRandomnessRound,
SelectKeeperRound: {
Event.DONE: DataGatheringRound,
Event.NO_MAJORITY: CollectRandomnessRound,
Event.ROUND_TIMEOUT: CollectRandomnessRound,
},
SelectKeeperRound: {
DataGatheringRound: {
Event.DONE: MarketProposalRound,
Event.MAX_MARKETS_REACHED: RetrieveApprovedMarketRound,
Event.API_ERROR: CollectRandomnessRound,
Event.NO_MAJORITY: CollectRandomnessRound,
Event.ROUND_TIMEOUT: CollectRandomnessRound,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fingerprint:
handlers.py: bafybeietxjfli2i57kb7heoy772rcq2znusl36gg7jjj5g3pddw7egny3q
models.py: bafybeidpprylojhopdp4aoxwxri2kp7nmv5f3acdok4n5c6ak3a5wnn5cu
payloads.py: bafybeihk7pgygq775k2o6p4wohlgrqigbgvgfg5p6m3q5c65guhbq3it6y
rounds.py: bafybeie6mmshtgz7nqpytbpqzaqhfadeqm53ugjw6tf2uzyyricofkpvhy
rounds.py: bafybeigwycte5b6wgv67v23zanhbrznfujtpa7o2t6ekiz7kgten7iii7i
tests/__init__.py: bafybeihfxvqnyfly72tbxnnnglshcilm2kanihqnjiasvcz3ec3csw32ti
fingerprint_ignore_patterns: []
connections:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/market_maker_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ skills:
- valory/abstract_round_abci:0.1.0:bafybeiaseziuvbzh3trjggl5hx2tv3fduqrpiwiyksudaf6nvuxmwrg74i
- valory/registration_abci:0.1.0:bafybeibafy7qmcvvzaykimy3mbqdwtcuajmbghqilaa7zwkh6wla33cfce
- valory/reset_pause_abci:0.1.0:bafybeialcwck7fahrr23jckv5qjwg3cdq4ai2ihyjsofnbj44jzyl4cjmm
- valory/market_creation_manager_abci:0.1.0:bafybeie3p4jxjye6qgykiuq4eve5v37tje4oj5fihxay2vb64px5b6qcri
- valory/market_creation_manager_abci:0.1.0:bafybeichgshhxeigjb46pyfbeokdkiwrc4jongf225bcwopkw7ka2azuda
- valory/market_validation_abci:0.1.0:bafybeifyfwynotmzg6wypbzbwsfnrplhjhumfx32dm2j3ddasp7ygrfoqa
- valory/termination_abci:0.1.0:bafybeifqsogqiar4yook5bu3j6z66dbdcizey7dr3e5oxeocdjijvfbaja
- valory/transaction_settlement_abci:0.1.0:bafybeiacwr7p4nhhufoey7uz2jqkegrlykdrmc7mm3rzkvh2mslu66gyle
Expand Down