From bc2dc9e33f299f1c73881aa311fc00a469d47520 Mon Sep 17 00:00:00 2001 From: Ardian Date: Thu, 3 Oct 2024 21:23:34 +0200 Subject: [PATCH] fix: add mech interact params to `decision_maker_abci` --- packages/packages.json | 12 ++++++------ packages/valory/agents/trader/aea-config.yaml | 6 +++--- packages/valory/services/trader/service.yaml | 2 +- packages/valory/services/trader_pearl/service.yaml | 2 +- .../valory/skills/decision_maker_abci/skill.yaml | 8 ++++++++ packages/valory/skills/trader_abci/skill.yaml | 4 ++-- .../skills/tx_settlement_multiplexer_abci/skill.yaml | 2 +- 7 files changed, 22 insertions(+), 14 deletions(-) diff --git a/packages/packages.json b/packages/packages.json index 568ea3b64..d84213b74 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -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": "bafybeifcuh4qnpckl6cbbkubye7vc5ytvnxm66kzvfmnndvpim5kuoo4dq", - "skill/valory/trader_abci/0.1.0": "bafybeign4gu3gvhjibswpgdor6qgme27ztu6476xy3crrkmafivvoj55ni", - "skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeidtxnx7663jntjcea4qu3l7qsjdlnzjohyfoi4k6gt72djgljljii", + "skill/valory/decision_maker_abci/0.1.0": "bafybeihc6vzoyh3ovhmqiwhm4hen3bbybfskut4ef5i3il36kxqlwt66yq", + "skill/valory/trader_abci/0.1.0": "bafybeid3bvj4kz4qbrvn3k2tinpfkz7trtu3ox47jr5ffcdyxjempmetse", + "skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeih6uiqec5buugsxh2zi4geadrqlc6l6q5czltzxoexpthxgylc764", "skill/valory/staking_abci/0.1.0": "bafybeifyqszbiccxwwfldrl6lz5dspuaxbqd5qnniyecusddwvxpfwiyr4", "skill/valory/check_stop_trading_abci/0.1.0": "bafybeicsrrxjs6bup267jiek3r7eutd42ssfyjthyvxfku6qozw3xebxta", - "agent/valory/trader/0.1.0": "bafybeiauyllvs6c3uhywoeksrwapz3yglji33mphabviwedivhwmvwyoly", - "service/valory/trader/0.1.0": "bafybeigxsyalbd6k2dst2x7spfqvhszzadrqjqmlhfxnxfo6vaefcpq5aq", - "service/valory/trader_pearl/0.1.0": "bafybeieus6ylwdyl5wyd7kgaj7egld2frjwna4z2ywa4kmu5hxowgilylm" + "agent/valory/trader/0.1.0": "bafybeiboflcvl66ddqbr7jxphryrncb5u2xntb4h44vvjc4pvbqtgdztoa", + "service/valory/trader/0.1.0": "bafybeidlxwbxpp6o4p2wnyhm5g4edmifvnnehv3f26zlr3vd3gry2ipfvm", + "service/valory/trader_pearl/0.1.0": "bafybeifc3vm2j3dntitr2wtmosbpxemxfk2bj7nzgs2ppvbr4dm2m6iyu4" }, "third_party": { "protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi", diff --git a/packages/valory/agents/trader/aea-config.yaml b/packages/valory/agents/trader/aea-config.yaml index 4e0a0c0b9..b7776abce 100644 --- a/packages/valory/agents/trader/aea-config.yaml +++ b/packages/valory/agents/trader/aea-config.yaml @@ -47,10 +47,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:bafybeidtxnx7663jntjcea4qu3l7qsjdlnzjohyfoi4k6gt72djgljljii +- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeih6uiqec5buugsxh2zi4geadrqlc6l6q5czltzxoexpthxgylc764 - valory/market_manager_abci:0.1.0:bafybeidmipituxl4xva6h3aeorhqstketwxd7ka7z5fog3jprfr6qx2d3i -- valory/decision_maker_abci:0.1.0:bafybeifcuh4qnpckl6cbbkubye7vc5ytvnxm66kzvfmnndvpim5kuoo4dq -- valory/trader_abci:0.1.0:bafybeign4gu3gvhjibswpgdor6qgme27ztu6476xy3crrkmafivvoj55ni +- valory/decision_maker_abci:0.1.0:bafybeihc6vzoyh3ovhmqiwhm4hen3bbybfskut4ef5i3il36kxqlwt66yq +- valory/trader_abci:0.1.0:bafybeid3bvj4kz4qbrvn3k2tinpfkz7trtu3ox47jr5ffcdyxjempmetse - valory/staking_abci:0.1.0:bafybeifyqszbiccxwwfldrl6lz5dspuaxbqd5qnniyecusddwvxpfwiyr4 - valory/check_stop_trading_abci:0.1.0:bafybeicsrrxjs6bup267jiek3r7eutd42ssfyjthyvxfku6qozw3xebxta - valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm diff --git a/packages/valory/services/trader/service.yaml b/packages/valory/services/trader/service.yaml index e59e835cc..d0b8d9c23 100644 --- a/packages/valory/services/trader/service.yaml +++ b/packages/valory/services/trader/service.yaml @@ -7,7 +7,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeigtuothskwyvrhfosps2bu6suauycolj67dpuxqvnicdrdu7yhtvq fingerprint_ignore_patterns: [] -agent: valory/trader:0.1.0:bafybeiauyllvs6c3uhywoeksrwapz3yglji33mphabviwedivhwmvwyoly +agent: valory/trader:0.1.0:bafybeiboflcvl66ddqbr7jxphryrncb5u2xntb4h44vvjc4pvbqtgdztoa number_of_agents: 4 deployment: agent: diff --git a/packages/valory/services/trader_pearl/service.yaml b/packages/valory/services/trader_pearl/service.yaml index 4fc631dcd..0dd25b8d1 100644 --- a/packages/valory/services/trader_pearl/service.yaml +++ b/packages/valory/services/trader_pearl/service.yaml @@ -8,7 +8,7 @@ license: Apache-2.0 fingerprint: README.md: bafybeibg7bdqpioh4lmvknw3ygnllfku32oca4eq5pqtvdrdsgw6buko7e fingerprint_ignore_patterns: [] -agent: valory/trader:0.1.0:bafybeiauyllvs6c3uhywoeksrwapz3yglji33mphabviwedivhwmvwyoly +agent: valory/trader:0.1.0:bafybeiboflcvl66ddqbr7jxphryrncb5u2xntb4h44vvjc4pvbqtgdztoa number_of_agents: 1 deployment: agent: diff --git a/packages/valory/skills/decision_maker_abci/skill.yaml b/packages/valory/skills/decision_maker_abci/skill.yaml index 2ef045d50..b1084792a 100644 --- a/packages/valory/skills/decision_maker_abci/skill.yaml +++ b/packages/valory/skills/decision_maker_abci/skill.yaml @@ -289,6 +289,14 @@ models: rpc_sleep_time: 10 safe_voting_range: 600 rebet_chance: 0.6 + use_mech_marketplace: false + mech_marketplace_config: + mech_marketplace_address: '0x0000000000000000000000000000000000000000' + priority_mech_address: '0x0000000000000000000000000000000000000000' + priority_mech_staking_instance_address: '0x0000000000000000000000000000000000000000' + priority_mech_service_id: 0 + requester_staking_instance_address: '0x0000000000000000000000000000000000000000' + response_timeout: 300 class_name: DecisionMakerParams benchmarking_mode: args: diff --git a/packages/valory/skills/trader_abci/skill.yaml b/packages/valory/skills/trader_abci/skill.yaml index 186830ecf..0dc07c45d 100644 --- a/packages/valory/skills/trader_abci/skill.yaml +++ b/packages/valory/skills/trader_abci/skill.yaml @@ -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:bafybeifcuh4qnpckl6cbbkubye7vc5ytvnxm66kzvfmnndvpim5kuoo4dq -- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeidtxnx7663jntjcea4qu3l7qsjdlnzjohyfoi4k6gt72djgljljii +- valory/decision_maker_abci:0.1.0:bafybeihc6vzoyh3ovhmqiwhm4hen3bbybfskut4ef5i3il36kxqlwt66yq +- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeih6uiqec5buugsxh2zi4geadrqlc6l6q5czltzxoexpthxgylc764 - valory/staking_abci:0.1.0:bafybeifyqszbiccxwwfldrl6lz5dspuaxbqd5qnniyecusddwvxpfwiyr4 - valory/check_stop_trading_abci:0.1.0:bafybeicsrrxjs6bup267jiek3r7eutd42ssfyjthyvxfku6qozw3xebxta - valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm diff --git a/packages/valory/skills/tx_settlement_multiplexer_abci/skill.yaml b/packages/valory/skills/tx_settlement_multiplexer_abci/skill.yaml index 2668b9897..7f54b41c4 100644 --- a/packages/valory/skills/tx_settlement_multiplexer_abci/skill.yaml +++ b/packages/valory/skills/tx_settlement_multiplexer_abci/skill.yaml @@ -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:bafybeifcuh4qnpckl6cbbkubye7vc5ytvnxm66kzvfmnndvpim5kuoo4dq +- valory/decision_maker_abci:0.1.0:bafybeihc6vzoyh3ovhmqiwhm4hen3bbybfskut4ef5i3il36kxqlwt66yq - valory/staking_abci:0.1.0:bafybeifyqszbiccxwwfldrl6lz5dspuaxbqd5qnniyecusddwvxpfwiyr4 - valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm behaviours: