Skip to content

Commit

Permalink
generators
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravleen-Solulab committed Sep 9, 2024
1 parent fe71945 commit 14c1c54
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 31 deletions.
14 changes: 7 additions & 7 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions packages/valory/agents/trader/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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:bafybeid5e4lfxj5ipprgowmbohzxwun4jetsnq2umm77zrh5kdil4j62ua
agent: valory/trader:0.1.0:bafybeifpazl4oy42yzb3pujy7ak5kfsh4f7m2s4y4huqwru34qk6fhiaju
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:bafybeid5e4lfxj5ipprgowmbohzxwun4jetsnq2umm77zrh5kdil4j62ua
agent: valory/trader:0.1.0:bafybeifpazl4oy42yzb3pujy7ak5kfsh4f7m2s4y4huqwru34qk6fhiaju
number_of_agents: 1
deployment:
agent:
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/check_stop_trading_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/staking_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
24 changes: 12 additions & 12 deletions packages/valory/skills/staking_abci/tests/test_rounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand All @@ -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."""
Expand Down
6 changes: 3 additions & 3 deletions packages/valory/skills/trader_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 14c1c54

Please sign in to comment.