Skip to content

Commit

Permalink
more changes from PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberosa committed Oct 23, 2024
1 parent af79b6d commit 2dc13ae
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 17 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": "bafybeigwsffbzx62d3ikz5kyjsewcvknrrnq3bcqgktnbrcpz4g6lyu3eq",
"contract/valory/relayer/0.1.0": "bafybeicawmds6czx7db2lcktvexwrp245jpekgulndtos5s5zdid3ilvq4",
"skill/valory/market_manager_abci/0.1.0": "bafybeidmipituxl4xva6h3aeorhqstketwxd7ka7z5fog3jprfr6qx2d3i",
"skill/valory/decision_maker_abci/0.1.0": "bafybeihjl2g3ogzyn24eueny7oexemr5czf27zkehg4xxhhmv5bdmgx4aa",
"skill/valory/trader_abci/0.1.0": "bafybeiax352ru2vyvtmfjp35s3pgowdx625ktwnjr76kwpk3uad3kanu6e",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeiettc37nd2q3v2kz4l4bjcqtkb4kpq25tiqqk2ci7pbbczla2prpe",
"skill/valory/decision_maker_abci/0.1.0": "bafybeie6ddcrsjyf5lswx62mmul2pw7mmfu6tlvf72b2pvinu5uzufxztu",
"skill/valory/trader_abci/0.1.0": "bafybeiez4yehbfouw4awpujvv7qjaig6jdn5v7i3hjkmrxdgfdar2cp2fq",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeihlstlv6gvdxgastki5hsm3wtbnj5qjrhdcl3mltju2vt37qudgei",
"skill/valory/staking_abci/0.1.0": "bafybeifyqszbiccxwwfldrl6lz5dspuaxbqd5qnniyecusddwvxpfwiyr4",
"skill/valory/check_stop_trading_abci/0.1.0": "bafybeicsrrxjs6bup267jiek3r7eutd42ssfyjthyvxfku6qozw3xebxta",
"agent/valory/trader/0.1.0": "bafybeiba7ms7yen7dt7ghcjy7xued4cblldynhkub43o2rh3pp5vrqtkse",
"service/valory/trader/0.1.0": "bafybeid7uogbtqwhp2r3pz4uf3c47smx4oignomnazvab3hj6i6etbxzgq",
"service/valory/trader_pearl/0.1.0": "bafybeiai4k4vhnwtmmm5amuygcfuvsn62iukthl7v4db5nt4tdyxoewwjq"
"agent/valory/trader/0.1.0": "bafybeibx6x4sbhxv2o2e3k52nuk3dsscx76vgsl2bovuaflbh7qcb2osay",
"service/valory/trader/0.1.0": "bafybeifhtiogupfjfs2roy24rh3qzvx7yfj7apan3mrbugryz5mznoget4",
"service/valory/trader_pearl/0.1.0": "bafybeicd7egqjr2p5nd6ntzhxa45wugsed4cxleznnuuwom6sgvbd3twvq"
},
"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:bafybeiettc37nd2q3v2kz4l4bjcqtkb4kpq25tiqqk2ci7pbbczla2prpe
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeihlstlv6gvdxgastki5hsm3wtbnj5qjrhdcl3mltju2vt37qudgei
- valory/market_manager_abci:0.1.0:bafybeidmipituxl4xva6h3aeorhqstketwxd7ka7z5fog3jprfr6qx2d3i
- valory/decision_maker_abci:0.1.0:bafybeihjl2g3ogzyn24eueny7oexemr5czf27zkehg4xxhhmv5bdmgx4aa
- valory/trader_abci:0.1.0:bafybeiax352ru2vyvtmfjp35s3pgowdx625ktwnjr76kwpk3uad3kanu6e
- valory/decision_maker_abci:0.1.0:bafybeie6ddcrsjyf5lswx62mmul2pw7mmfu6tlvf72b2pvinu5uzufxztu
- valory/trader_abci:0.1.0:bafybeiez4yehbfouw4awpujvv7qjaig6jdn5v7i3hjkmrxdgfdar2cp2fq
- valory/staking_abci:0.1.0:bafybeifyqszbiccxwwfldrl6lz5dspuaxbqd5qnniyecusddwvxpfwiyr4
- valory/check_stop_trading_abci:0.1.0:bafybeicsrrxjs6bup267jiek3r7eutd42ssfyjthyvxfku6qozw3xebxta
- 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:bafybeiba7ms7yen7dt7ghcjy7xued4cblldynhkub43o2rh3pp5vrqtkse
agent: valory/trader:0.1.0:bafybeibx6x4sbhxv2o2e3k52nuk3dsscx76vgsl2bovuaflbh7qcb2osay
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:bafybeiba7ms7yen7dt7ghcjy7xued4cblldynhkub43o2rh3pp5vrqtkse
agent: valory/trader:0.1.0:bafybeibx6x4sbhxv2o2e3k52nuk3dsscx76vgsl2bovuaflbh7qcb2osay
number_of_agents: 1
deployment:
agent:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def _compute_new_tokens_distribution(
prices: List[float],
net_bet_amount: int,
vote: int,
) -> Tuple:
) -> Tuple[int, int, int, int, int]:
k = prod(token_amounts)
self.context.logger.info(f"k: {k}")

Expand Down Expand Up @@ -362,7 +362,6 @@ def _update_liquidity_info(
if liquidity_info is None:
return None

# linter checks
if liquidity_info.l0_start is None or liquidity_info.l1_start is None:
return None

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 @@ -17,7 +17,7 @@ fingerprint:
behaviours/blacklisting.py: bafybeicqwj7o4l7qcym5xjqwq45jngqkhyf44mn6qise2ysyfnlnwz7pdy
behaviours/check_benchmarking.py: bafybeiao2lyj7apezkqrpgsyzb3dwvrdgsrgtprf6iuhsmlsufvxfl5bci
behaviours/claim_subscription.py: bafybeigbqkhc6mb73rbwaks32tfiqx6u2xza43uiy6rvbtrnqd6m4fru3e
behaviours/decision_receive.py: bafybeihok6ooklu7eshk323rszpio32gh2ensitvjsw4wkpyintzffksum
behaviours/decision_receive.py: bafybeibip6km45cpw6fntih6zxznjcwbc5otj4hknurvh3mdge5hbffane
behaviours/decision_request.py: bafybeiabjzzcwcfbfmtoftjhewmkgbhxfnigbc5cwmmxl6cob5gv64jwwa
behaviours/handle_failed_tx.py: bafybeidxpc6u575ymct5tdwutvzov6zqfdoio5irgldn3fw7q3lg36mmxm
behaviours/order_subscription.py: bafybeicrmdvhci5prfldvuf3bclbbqi6j7lpv6hmphw3qwgmkmwat3od44
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:bafybeidmipituxl4xva6h3aeorhqstketwxd7ka7z5fog3jprfr6qx2d3i
- valory/decision_maker_abci:0.1.0:bafybeihjl2g3ogzyn24eueny7oexemr5czf27zkehg4xxhhmv5bdmgx4aa
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeiettc37nd2q3v2kz4l4bjcqtkb4kpq25tiqqk2ci7pbbczla2prpe
- valory/decision_maker_abci:0.1.0:bafybeie6ddcrsjyf5lswx62mmul2pw7mmfu6tlvf72b2pvinu5uzufxztu
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeihlstlv6gvdxgastki5hsm3wtbnj5qjrhdcl3mltju2vt37qudgei
- valory/staking_abci:0.1.0:bafybeifyqszbiccxwwfldrl6lz5dspuaxbqd5qnniyecusddwvxpfwiyr4
- valory/check_stop_trading_abci:0.1.0:bafybeicsrrxjs6bup267jiek3r7eutd42ssfyjthyvxfku6qozw3xebxta
- 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:bafybeihjl2g3ogzyn24eueny7oexemr5czf27zkehg4xxhhmv5bdmgx4aa
- valory/decision_maker_abci:0.1.0:bafybeie6ddcrsjyf5lswx62mmul2pw7mmfu6tlvf72b2pvinu5uzufxztu
- valory/staking_abci:0.1.0:bafybeifyqszbiccxwwfldrl6lz5dspuaxbqd5qnniyecusddwvxpfwiyr4
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
behaviours:
Expand Down

0 comments on commit 2dc13ae

Please sign in to comment.