Skip to content

Commit

Permalink
fixing loop
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberosa committed Nov 27, 2024
1 parent 73ae01b commit 6294e84
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 27 deletions.
12 changes: 6 additions & 6 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"contract/valory/staking_token/0.1.0": "bafybeiep4r6qyilbfgzdvx6t7zvpgaioxqktmxm7puwtnbpb2ftlib43gy",
"contract/valory/relayer/0.1.0": "bafybeicawmds6czx7db2lcktvexwrp245jpekgulndtos5s5zdid3ilvq4",
"skill/valory/market_manager_abci/0.1.0": "bafybeicztk62pslofv6ui3aw3giw2tnvlfwfmatqbyvvzv4ampneu6isqa",
"skill/valory/decision_maker_abci/0.1.0": "bafybeiam3ggpx2s4hpt27vrf5lidbyoyugs64wwogrdiktl6wczmfjuh5y",
"skill/valory/trader_abci/0.1.0": "bafybeieafmrf6h4h2x5ecbm2ecvltuxngwoizvtylzopagiygcrzotx6ga",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeify5ccoioibq3jhwqg27hq2exwggyrhp2oydysmz5ozno2qlvjbca",
"skill/valory/decision_maker_abci/0.1.0": "bafybeihrtc73yvsfqvh7zc45wxj5afdjlnh244gwadcexhw5b34bbcv5sq",
"skill/valory/trader_abci/0.1.0": "bafybeicydsrvurid2cwcgz6ewrhf7nmttf2gq7bdq663q4kroq5sxla7vy",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeiarista5nmt5izykb53ilhjocxry2k2c3ujlutbirm6fb2ijs54ki",
"skill/valory/staking_abci/0.1.0": "bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne",
"skill/valory/check_stop_trading_abci/0.1.0": "bafybeifmi64g4ki6zwbcncb35ovhd4sllw4xrszrkturpeqdhgf5bkiini",
"agent/valory/trader/0.1.0": "bafybeida6qbaceie3wvznffej7xf6y4t3tlwbzloas4n3vr2e27yc4h23i",
"service/valory/trader/0.1.0": "bafybeih5wgjo2k4vlew7jcws7aneik6gkxvtnpxdcge3iyabjxhcfabr3a",
"service/valory/trader_pearl/0.1.0": "bafybeiautovxcckeikj2s4cuuvuy2u2edc7wlhww4vlwhr5nmxyi5iyxsa"
"agent/valory/trader/0.1.0": "bafybeigpvjxtajo25cnpij2bnlkfe2biingh4onbsft232lv4oof52455y",
"service/valory/trader/0.1.0": "bafybeiejbeprj7sofmoeljz54piupkhpvpvb4ovch4tkxnnyu2jolf4rii",
"service/valory/trader_pearl/0.1.0": "bafybeiapptved6bmzxjzexgx3mlcdaqapxsgkqtv46dfol32ppwpiuhy6m"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down
6 changes: 3 additions & 3 deletions packages/valory/agents/trader/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ skills:
- valory/reset_pause_abci:0.1.0:bafybeigrdlxed3xlsnxtjhnsbl3cojruihxcqx4jxhgivkd5i2fkjncgba
- valory/termination_abci:0.1.0:bafybeib5l7jhew5ic6iq24dd23nidcoimzqkrk556gqywhoziatj33zvwm
- valory/transaction_settlement_abci:0.1.0:bafybeic7q7recyka272udwcupblwbkc3jkodgp74fvcdxb7urametg5dae
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeify5ccoioibq3jhwqg27hq2exwggyrhp2oydysmz5ozno2qlvjbca
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeiarista5nmt5izykb53ilhjocxry2k2c3ujlutbirm6fb2ijs54ki
- valory/market_manager_abci:0.1.0:bafybeicztk62pslofv6ui3aw3giw2tnvlfwfmatqbyvvzv4ampneu6isqa
- valory/decision_maker_abci:0.1.0:bafybeiam3ggpx2s4hpt27vrf5lidbyoyugs64wwogrdiktl6wczmfjuh5y
- valory/trader_abci:0.1.0:bafybeieafmrf6h4h2x5ecbm2ecvltuxngwoizvtylzopagiygcrzotx6ga
- valory/decision_maker_abci:0.1.0:bafybeihrtc73yvsfqvh7zc45wxj5afdjlnh244gwadcexhw5b34bbcv5sq
- valory/trader_abci:0.1.0:bafybeicydsrvurid2cwcgz6ewrhf7nmttf2gq7bdq663q4kroq5sxla7vy
- valory/staking_abci:0.1.0:bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne
- valory/check_stop_trading_abci:0.1.0:bafybeifmi64g4ki6zwbcncb35ovhd4sllw4xrszrkturpeqdhgf5bkiini
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/trader/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: bafybeigtuothskwyvrhfosps2bu6suauycolj67dpuxqvnicdrdu7yhtvq
fingerprint_ignore_patterns: []
agent: valory/trader:0.1.0:bafybeida6qbaceie3wvznffej7xf6y4t3tlwbzloas4n3vr2e27yc4h23i
agent: valory/trader:0.1.0:bafybeigpvjxtajo25cnpij2bnlkfe2biingh4onbsft232lv4oof52455y
number_of_agents: 4
deployment:
agent:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/trader_pearl/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: bafybeibg7bdqpioh4lmvknw3ygnllfku32oca4eq5pqtvdrdsgw6buko7e
fingerprint_ignore_patterns: []
agent: valory/trader:0.1.0:bafybeida6qbaceie3wvznffej7xf6y4t3tlwbzloas4n3vr2e27yc4h23i
agent: valory/trader:0.1.0:bafybeigpvjxtajo25cnpij2bnlkfe2biingh4onbsft232lv4oof52455y
number_of_agents: 1
deployment:
agent:
Expand Down
24 changes: 12 additions & 12 deletions packages/valory/skills/decision_maker_abci/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,12 @@ def current_liquidity_amounts(self, value: List[int]) -> None:
@property
def bet_id_row_manager(self) -> Dict[str, List[int]]:
"""Get the next_mock_data_row."""
return self.bet_id_row_manager
return self._bet_id_row_manager

@bet_id_row_manager.setter
def bet_id_row_manager(self, mapping: Dict[str, List[int]]) -> None:
"""Set the next_mock_data_row."""
self.bet_id_row_manager = mapping
self._bet_id_row_manager = mapping

def _initialize_simulated_now_timestamps(
self, bets: List[Bet], safe_voting_range: int
Expand Down Expand Up @@ -455,11 +455,11 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
"tool_punishment_multiplier", kwargs, int
)
self.contract_timeout: float = self._ensure("contract_timeout", kwargs, float)
self.file_hash_to_strategies: Dict[
str, List[str]
] = nested_list_todict_workaround(
kwargs,
"file_hash_to_strategies_json",
self.file_hash_to_strategies: Dict[str, List[str]] = (
nested_list_todict_workaround(
kwargs,
"file_hash_to_strategies_json",
)
)
self.strategies_kwargs: Dict[str, List[Any]] = nested_list_todict_workaround(
kwargs, "strategies_kwargs"
Expand All @@ -471,11 +471,11 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
)
self.use_nevermined = self._ensure("use_nevermined", kwargs, bool)
self.rpc_sleep_time: int = self._ensure("rpc_sleep_time", kwargs, int)
self.mech_to_subscription_params: Dict[
str, Any
] = nested_list_todict_workaround(
kwargs,
"mech_to_subscription_params",
self.mech_to_subscription_params: Dict[str, Any] = (
nested_list_todict_workaround(
kwargs,
"mech_to_subscription_params",
)
)
self.service_endpoint = self._ensure("service_endpoint", kwargs, str)
self.safe_voting_range = self._ensure("safe_voting_range", kwargs, int)
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/decision_maker_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fingerprint:
handlers.py: bafybeigod6gbjrxy4mbmulbzsbokeaoycoqys64vqtxnumishfukzf73za
io_/__init__.py: bafybeifxgmmwjqzezzn3e6keh2bfo4cyo7y5dq2ept3stfmgglbrzfl5rq
io_/loader.py: bafybeih3sdsx5dhe4kzhtoafexjgkutsujwqy3zcdrlrkhtdks45bc7exa
models.py: bafybeibicq2fiu4hn27dfiw2xs3qs273yq7c5epngmzcv2fqwxgskbuzma
models.py: bafybeigd6ybcwup5edtiasbdex4hz5dj3e5mgnfw554or52pfq2tzbyszy
payloads.py: bafybeihzwxhdc6a6ek2lvsyzkex4ypsl7fnahszal3dxtr7ce6wp7nmgmm
policy.py: bafybeihlzs4o5e7yfmfzcvvrzkf4bhxfsg5gxnzsrpepwgfugh45gafye4
redeem_info.py: bafybeifiiix4gihfo4avraxt34sfw35v6dqq45do2drrssei2shbps63mm
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/skills/trader_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ skills:
- valory/transaction_settlement_abci:0.1.0:bafybeic7q7recyka272udwcupblwbkc3jkodgp74fvcdxb7urametg5dae
- valory/termination_abci:0.1.0:bafybeib5l7jhew5ic6iq24dd23nidcoimzqkrk556gqywhoziatj33zvwm
- valory/market_manager_abci:0.1.0:bafybeicztk62pslofv6ui3aw3giw2tnvlfwfmatqbyvvzv4ampneu6isqa
- valory/decision_maker_abci:0.1.0:bafybeiam3ggpx2s4hpt27vrf5lidbyoyugs64wwogrdiktl6wczmfjuh5y
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeify5ccoioibq3jhwqg27hq2exwggyrhp2oydysmz5ozno2qlvjbca
- valory/decision_maker_abci:0.1.0:bafybeihrtc73yvsfqvh7zc45wxj5afdjlnh244gwadcexhw5b34bbcv5sq
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeiarista5nmt5izykb53ilhjocxry2k2c3ujlutbirm6fb2ijs54ki
- valory/staking_abci:0.1.0:bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne
- valory/check_stop_trading_abci:0.1.0:bafybeifmi64g4ki6zwbcncb35ovhd4sllw4xrszrkturpeqdhgf5bkiini
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protocols:
- valory/ledger_api:1.0.0:bafybeihdk6psr4guxmbcrc26jr2cbgzpd5aljkqvpwo64bvaz7tdti2oni
skills:
- valory/abstract_round_abci:0.1.0:bafybeib733xfbndtpvkf44mtk7oyodnficgloo6xhn7xmqxxeos33es65u
- valory/decision_maker_abci:0.1.0:bafybeiam3ggpx2s4hpt27vrf5lidbyoyugs64wwogrdiktl6wczmfjuh5y
- valory/decision_maker_abci:0.1.0:bafybeihrtc73yvsfqvh7zc45wxj5afdjlnh244gwadcexhw5b34bbcv5sq
- valory/staking_abci:0.1.0:bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
behaviours:
Expand Down

0 comments on commit 6294e84

Please sign in to comment.