From 14c1c54c24c67b55f39dec23c904aa320aa3e50e Mon Sep 17 00:00:00 2001 From: Ravleen-Solulab Date: Mon, 9 Sep 2024 12:19:00 +0530 Subject: [PATCH] generators --- packages/packages.json | 14 +++++------ packages/valory/agents/trader/aea-config.yaml | 8 +++---- packages/valory/services/trader/service.yaml | 2 +- .../valory/services/trader_pearl/service.yaml | 2 +- .../skills/check_stop_trading_abci/skill.yaml | 2 +- .../valory/skills/staking_abci/skill.yaml | 2 +- .../skills/staking_abci/tests/test_rounds.py | 24 +++++++++---------- packages/valory/skills/trader_abci/skill.yaml | 6 ++--- .../tx_settlement_multiplexer_abci/skill.yaml | 2 +- 9 files changed, 31 insertions(+), 31 deletions(-) diff --git a/packages/packages.json b/packages/packages.json index 2c6d75f4a..d9e30e734 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -17,13 +17,13 @@ "contract/valory/relayer/0.1.0": "bafybeihzgjyvhtorugjw3yldznqsbwo3aqpxowm7k2nrvj6qtwpsc7jl7u", "skill/valory/market_manager_abci/0.1.0": "bafybeicymkyk7e5rohauml6xazai6mv2rqd3euz3ifbk2ftfkylhpgo4ra", "skill/valory/decision_maker_abci/0.1.0": "bafybeicr3o4z5ytp6njmsxlj3p6cbaxyad6tdv5kyoxaeon5da2wn6hxqy", - "skill/valory/trader_abci/0.1.0": "bafybeigkq76ttun6kczaup2opgrxo33f4zhpc3k22ln6ncr425liezreuu", - "skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeibc6m45ha3tuvui3rbsdqz7k5kzjitk2fnjzxqr57dy7dw3iv42qe", - "skill/valory/staking_abci/0.1.0": "bafybeibqntjuxwj5aer5v7l7njbdiimu33jr6cfcc2ju7duufypobg2dfe", - "skill/valory/check_stop_trading_abci/0.1.0": "bafybeia2m2tinhubnyzujr7o3v6nuvg5ivsr55miuuthfhs57lrz3x53ha", - "agent/valory/trader/0.1.0": "bafybeid5e4lfxj5ipprgowmbohzxwun4jetsnq2umm77zrh5kdil4j62ua", - "service/valory/trader/0.1.0": "bafybeial2lgh5uiherbbytrsxduouqd3zl3b4ukigaxedlb5mojmes5d4u", - "service/valory/trader_pearl/0.1.0": "bafybeighruorx5sa5d4dsv7wo4mjvlgpwrdmi4mphyaxejaju6ojzcpeba" + "skill/valory/trader_abci/0.1.0": "bafybeiayx4uag65yuni7xz5v6dbtscbkcfjyvqpbfnm423jok7kofhz4ta", + "skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeigv5gxaizendphmwmmkfilbad7f6uej5ey2p6c6marw5etgmppyfu", + "skill/valory/staking_abci/0.1.0": "bafybeiftd3mrvquvo3mr3tv5pwkj64gc7bfwuoks5yhs2jtamov2vxjcoe", + "skill/valory/check_stop_trading_abci/0.1.0": "bafybeid5ihloxfmnmgr44kaxxqdprrkag4mfub6l3fqhabdktlcwtejk6y", + "agent/valory/trader/0.1.0": "bafybeifpazl4oy42yzb3pujy7ak5kfsh4f7m2s4y4huqwru34qk6fhiaju", + "service/valory/trader/0.1.0": "bafybeid75rpd7lahelnanicjc66kqzmovf5gm56qtbgvkaq3qlwq3xitoa", + "service/valory/trader_pearl/0.1.0": "bafybeic6mg67nrevcdzzvgmlxvvbotmuuctng3axlj3atfzxoodqw6c62e" }, "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 0f610941c..a256b7569 100644 --- a/packages/valory/agents/trader/aea-config.yaml +++ b/packages/valory/agents/trader/aea-config.yaml @@ -47,12 +47,12 @@ skills: - valory/reset_pause_abci:0.1.0:bafybeiameewywqigpupy3u2iwnkfczeiiucue74x2l5lbge74rmw6bgaie - valory/termination_abci:0.1.0:bafybeif2zim2de356eo3sipkmoev5emwadpqqzk3huwqarywh4tmqt3vzq - valory/transaction_settlement_abci:0.1.0:bafybeic3tccdjypuge2lewtlgprwkbb53lhgsgn7oiwzyrcrrptrbeyote -- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeibc6m45ha3tuvui3rbsdqz7k5kzjitk2fnjzxqr57dy7dw3iv42qe +- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeigv5gxaizendphmwmmkfilbad7f6uej5ey2p6c6marw5etgmppyfu - valory/market_manager_abci:0.1.0:bafybeicymkyk7e5rohauml6xazai6mv2rqd3euz3ifbk2ftfkylhpgo4ra - valory/decision_maker_abci:0.1.0:bafybeicr3o4z5ytp6njmsxlj3p6cbaxyad6tdv5kyoxaeon5da2wn6hxqy -- valory/trader_abci:0.1.0:bafybeigkq76ttun6kczaup2opgrxo33f4zhpc3k22ln6ncr425liezreuu -- valory/staking_abci:0.1.0:bafybeibqntjuxwj5aer5v7l7njbdiimu33jr6cfcc2ju7duufypobg2dfe -- valory/check_stop_trading_abci:0.1.0:bafybeia2m2tinhubnyzujr7o3v6nuvg5ivsr55miuuthfhs57lrz3x53ha +- valory/trader_abci:0.1.0:bafybeiayx4uag65yuni7xz5v6dbtscbkcfjyvqpbfnm423jok7kofhz4ta +- valory/staking_abci:0.1.0:bafybeiftd3mrvquvo3mr3tv5pwkj64gc7bfwuoks5yhs2jtamov2vxjcoe +- valory/check_stop_trading_abci:0.1.0:bafybeid5ihloxfmnmgr44kaxxqdprrkag4mfub6l3fqhabdktlcwtejk6y - valory/mech_interact_abci:0.1.0:bafybeih2cck5xu6yaibomwtm5zbcp6llghr3ighdnk56fzwu3ihu5xx35e customs: - valory/mike_strat:0.1.0:bafybeihjiol7f4ch4piwfikurdtfwzsh6qydkbsztpbwbwb2yrqdqf726m diff --git a/packages/valory/services/trader/service.yaml b/packages/valory/services/trader/service.yaml index 9e45a219f..92e2bd72d 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:bafybeid5e4lfxj5ipprgowmbohzxwun4jetsnq2umm77zrh5kdil4j62ua +agent: valory/trader:0.1.0:bafybeifpazl4oy42yzb3pujy7ak5kfsh4f7m2s4y4huqwru34qk6fhiaju 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 2726a92d9..8b6d5acb0 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:bafybeid5e4lfxj5ipprgowmbohzxwun4jetsnq2umm77zrh5kdil4j62ua +agent: valory/trader:0.1.0:bafybeifpazl4oy42yzb3pujy7ak5kfsh4f7m2s4y4huqwru34qk6fhiaju number_of_agents: 1 deployment: agent: diff --git a/packages/valory/skills/check_stop_trading_abci/skill.yaml b/packages/valory/skills/check_stop_trading_abci/skill.yaml index 01076987e..04dc51e65 100644 --- a/packages/valory/skills/check_stop_trading_abci/skill.yaml +++ b/packages/valory/skills/check_stop_trading_abci/skill.yaml @@ -27,7 +27,7 @@ contracts: protocols: [] skills: - valory/abstract_round_abci:0.1.0:bafybeiar2yhzxacfe3qqamqhaihtlcimquwedffctw55sowx6rac3cm3ui -- valory/staking_abci:0.1.0:bafybeibqntjuxwj5aer5v7l7njbdiimu33jr6cfcc2ju7duufypobg2dfe +- valory/staking_abci:0.1.0:bafybeiftd3mrvquvo3mr3tv5pwkj64gc7bfwuoks5yhs2jtamov2vxjcoe behaviours: main: args: {} diff --git a/packages/valory/skills/staking_abci/skill.yaml b/packages/valory/skills/staking_abci/skill.yaml index 8c3d558a1..07b251595 100644 --- a/packages/valory/skills/staking_abci/skill.yaml +++ b/packages/valory/skills/staking_abci/skill.yaml @@ -19,7 +19,7 @@ fingerprint: tests/test_dialogues.py: bafybeidwjk52mufwvkj4cr3xgqycbdzxc6gvosmqyuqdjarnrgwth6wcai tests/test_handers.py: bafybeibnxlwznx3tsdpjpzh62bnp6lq7zdpolyjxfvxeumzz52ljxfzpme tests/test_payloads.py: bafybeiaq2dxpbein6qhipalibi57x6niiydxi6kvbpeqripzlngcgpb3qq - tests/test_rounds.py: bafybeiazmgr4uwq2ayiq4az2ojfscpxouyawrf6yjsu3baz6pr6ziaqs74 + tests/test_rounds.py: bafybeig4vys5fjyk4ytif64cxljulbeilfpvvzg3sq4gnv6s6psujkzuh4 fingerprint_ignore_patterns: [] connections: [] contracts: diff --git a/packages/valory/skills/staking_abci/tests/test_rounds.py b/packages/valory/skills/staking_abci/tests/test_rounds.py index e46ed2bec..a9a69aebf 100644 --- a/packages/valory/skills/staking_abci/tests/test_rounds.py +++ b/packages/valory/skills/staking_abci/tests/test_rounds.py @@ -110,7 +110,7 @@ class BaseStakingRoundTestClass(BaseCollectSameUntilThresholdRoundTest): def run_test(self, test_case: RoundTestCase) -> None: """Run the test""" - + # Set initial data self.synchronized_data.update( self._synchronized_data_class, **test_case.initial_data ) @@ -119,19 +119,19 @@ def run_test(self, test_case: RoundTestCase) -> None: synchronized_data=self.synchronized_data, context=mock.MagicMock() ) - result = self._test_round( - test_round=test_round, - round_payloads=test_case.payloads, - synchronized_data_update_fn=lambda sync_data, _: sync_data.update( - **test_case.final_data - ), - synchronized_data_attr_checks=test_case.synchronized_data_attr_checks, - most_voted_payload=test_case.most_voted_payload, - exit_event=test_case.event, + self._complete_run( + self._test_round( + test_round=test_round, + round_payloads=test_case.payloads, + synchronized_data_update_fn=lambda sync_data, _: sync_data.update( + **test_case.final_data + ), + synchronized_data_attr_checks=test_case.synchronized_data_attr_checks, + most_voted_payload=test_case.most_voted_payload, + exit_event=test_case.event, + ) ) - self._complete_run(result) - class TestCallCheckpointRound(BaseStakingRoundTestClass): """Tests for CallCheckpointRound.""" diff --git a/packages/valory/skills/trader_abci/skill.yaml b/packages/valory/skills/trader_abci/skill.yaml index b132a6936..b8257dae4 100644 --- a/packages/valory/skills/trader_abci/skill.yaml +++ b/packages/valory/skills/trader_abci/skill.yaml @@ -28,9 +28,9 @@ skills: - valory/termination_abci:0.1.0:bafybeif2zim2de356eo3sipkmoev5emwadpqqzk3huwqarywh4tmqt3vzq - valory/market_manager_abci:0.1.0:bafybeicymkyk7e5rohauml6xazai6mv2rqd3euz3ifbk2ftfkylhpgo4ra - valory/decision_maker_abci:0.1.0:bafybeicr3o4z5ytp6njmsxlj3p6cbaxyad6tdv5kyoxaeon5da2wn6hxqy -- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeibc6m45ha3tuvui3rbsdqz7k5kzjitk2fnjzxqr57dy7dw3iv42qe -- valory/staking_abci:0.1.0:bafybeibqntjuxwj5aer5v7l7njbdiimu33jr6cfcc2ju7duufypobg2dfe -- valory/check_stop_trading_abci:0.1.0:bafybeia2m2tinhubnyzujr7o3v6nuvg5ivsr55miuuthfhs57lrz3x53ha +- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeigv5gxaizendphmwmmkfilbad7f6uej5ey2p6c6marw5etgmppyfu +- valory/staking_abci:0.1.0:bafybeiftd3mrvquvo3mr3tv5pwkj64gc7bfwuoks5yhs2jtamov2vxjcoe +- valory/check_stop_trading_abci:0.1.0:bafybeid5ihloxfmnmgr44kaxxqdprrkag4mfub6l3fqhabdktlcwtejk6y - valory/mech_interact_abci:0.1.0:bafybeih2cck5xu6yaibomwtm5zbcp6llghr3ighdnk56fzwu3ihu5xx35e behaviours: main: diff --git a/packages/valory/skills/tx_settlement_multiplexer_abci/skill.yaml b/packages/valory/skills/tx_settlement_multiplexer_abci/skill.yaml index 2425357a0..e41016a5f 100644 --- a/packages/valory/skills/tx_settlement_multiplexer_abci/skill.yaml +++ b/packages/valory/skills/tx_settlement_multiplexer_abci/skill.yaml @@ -24,7 +24,7 @@ protocols: skills: - valory/abstract_round_abci:0.1.0:bafybeiar2yhzxacfe3qqamqhaihtlcimquwedffctw55sowx6rac3cm3ui - valory/decision_maker_abci:0.1.0:bafybeicr3o4z5ytp6njmsxlj3p6cbaxyad6tdv5kyoxaeon5da2wn6hxqy -- valory/staking_abci:0.1.0:bafybeibqntjuxwj5aer5v7l7njbdiimu33jr6cfcc2ju7duufypobg2dfe +- valory/staking_abci:0.1.0:bafybeiftd3mrvquvo3mr3tv5pwkj64gc7bfwuoks5yhs2jtamov2vxjcoe - valory/mech_interact_abci:0.1.0:bafybeih2cck5xu6yaibomwtm5zbcp6llghr3ighdnk56fzwu3ihu5xx35e behaviours: main: