Skip to content

Commit

Permalink
fix: check stop trading payload test
Browse files Browse the repository at this point in the history
  • Loading branch information
annasambrook committed Dec 19, 2024
1 parent eddd0fa commit 7132eb2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 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": "bafybeicawmds6czx7db2lcktvexwrp245jpekgulndtos5s5zdid3ilvq4",
"skill/valory/market_manager_abci/0.1.0": "bafybeih5r5dstwiouiv2ue3pezu6mf77b5n64rge6vm3y3cvy336lu7kyq",
"skill/valory/decision_maker_abci/0.1.0": "bafybeicqgue6mens3colokwycsmznlk5fobheteqghmzczbkmlpwm45c7q",
"skill/valory/trader_abci/0.1.0": "bafybeib32d3jg3wymbuhu27iocasrrmwmb2cwbcn7tbfph4j2r6ovxqa3i",
"skill/valory/trader_abci/0.1.0": "bafybeifrwvcbjb5l4aeidod3liqpjki7unvxj2muntsjgk3bklfpnuq6e4",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeichwngeh3wiqxxp34zdbx77gzw2bhc5dkovsmwogtppenn3kyk4ym",
"skill/valory/staking_abci/0.1.0": "bafybeif2cwf2bcjczbj4fykzyogtvfbfwo3u3ot2gfmeh4cygdenzvt2d4",
"skill/valory/check_stop_trading_abci/0.1.0": "bafybeiggs243oehh736f3j4lwuahgperjfnkv6clxdmqdqjbt62g46q254",
"agent/valory/trader/0.1.0": "bafybeie6dxxvszzrkcqv44fzdektifeuadoekwflxllepxocyuuot3tbpu",
"service/valory/trader/0.1.0": "bafybeiclcbbpbkmx62w4emtdwfbxzg7jvk2up47g4d3j734tbpobc7g7jm",
"service/valory/trader_pearl/0.1.0": "bafybeig2mwuisvaa5ddcxio65twqp5rezucv3e4tmkv3ssltizx62adbuy"
"skill/valory/check_stop_trading_abci/0.1.0": "bafybeia5uldu4na4qtrli7sbahrsdc56egagltvtrrvaiivvsceljd5uje",
"agent/valory/trader/0.1.0": "bafybeibokakryadwpryl6byoet2u7rhz2danebgf5mxx3rh6ybyoqbdouq",
"service/valory/trader/0.1.0": "bafybeibxojlj4pviipsgqttkmpt5k4izjsug554pn5yy4lses3ppxlgtxi",
"service/valory/trader_pearl/0.1.0": "bafybeiggxhsjbcpmz26kju7ifujr4st2z2k2qry62zs3zoyoyrdzq7jvau"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/agents/trader/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ skills:
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeichwngeh3wiqxxp34zdbx77gzw2bhc5dkovsmwogtppenn3kyk4ym
- valory/market_manager_abci:0.1.0:bafybeih5r5dstwiouiv2ue3pezu6mf77b5n64rge6vm3y3cvy336lu7kyq
- valory/decision_maker_abci:0.1.0:bafybeicqgue6mens3colokwycsmznlk5fobheteqghmzczbkmlpwm45c7q
- valory/trader_abci:0.1.0:bafybeib32d3jg3wymbuhu27iocasrrmwmb2cwbcn7tbfph4j2r6ovxqa3i
- valory/trader_abci:0.1.0:bafybeifrwvcbjb5l4aeidod3liqpjki7unvxj2muntsjgk3bklfpnuq6e4
- valory/staking_abci:0.1.0:bafybeif2cwf2bcjczbj4fykzyogtvfbfwo3u3ot2gfmeh4cygdenzvt2d4
- valory/check_stop_trading_abci:0.1.0:bafybeiggs243oehh736f3j4lwuahgperjfnkv6clxdmqdqjbt62g46q254
- valory/check_stop_trading_abci:0.1.0:bafybeia5uldu4na4qtrli7sbahrsdc56egagltvtrrvaiivvsceljd5uje
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
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:bafybeie6dxxvszzrkcqv44fzdektifeuadoekwflxllepxocyuuot3tbpu
agent: valory/trader:0.1.0:bafybeibokakryadwpryl6byoet2u7rhz2danebgf5mxx3rh6ybyoqbdouq
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:bafybeie6dxxvszzrkcqv44fzdektifeuadoekwflxllepxocyuuot3tbpu
agent: valory/trader:0.1.0:bafybeibokakryadwpryl6byoet2u7rhz2danebgf5mxx3rh6ybyoqbdouq
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 @@ -18,7 +18,7 @@ fingerprint:
tests/__init__.py: bafybeihv2cjk4va5bc5ncqtppqg2xmmxcro34bma36trtvk32gtmhdycxu
tests/test_dialogues.py: bafybeia5ac27w7ijx2nyx5dqyrnv4troo4572gjq7nrcxdncexoxucnqti
tests/test_handlers.py: bafybeigpmtx2hyunzn6nxk2x4bvvybek7jvuhbk34fqlj7fgfsszcoqhxy
tests/test_payloads.py: bafybeibygk4xox7itkxwypolxp6yak2hpbtvhtpdaqey2zj6qxqnzo4uqm
tests/test_payloads.py: bafybeic3sbhm7maqyrxkr7pshtzi3tt2prnyb5nvaywj36ttkd5nw7sate
tests/test_rounds.py: bafybeigxv27wqlpf4si2xcpe7bgn6k6ubr5nt37w7sskiapbuht5miz3wq
fingerprint_ignore_patterns: []
connections: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ def test_check_stop_trading_payload() -> None:
payload = CheckStopTradingPayload(sender="sender", vote=True, mech_request_count=1)

assert payload.vote
assert payload.data == {"vote": True}
assert payload.mech_request_count == 1
assert payload.mech_request_count
assert payload.data == {"vote": True, "mech_request_count": 1}
assert CheckStopTradingPayload.from_json(payload.json) == payload
2 changes: 1 addition & 1 deletion packages/valory/skills/trader_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ skills:
- valory/decision_maker_abci:0.1.0:bafybeicqgue6mens3colokwycsmznlk5fobheteqghmzczbkmlpwm45c7q
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeichwngeh3wiqxxp34zdbx77gzw2bhc5dkovsmwogtppenn3kyk4ym
- valory/staking_abci:0.1.0:bafybeif2cwf2bcjczbj4fykzyogtvfbfwo3u3ot2gfmeh4cygdenzvt2d4
- valory/check_stop_trading_abci:0.1.0:bafybeiggs243oehh736f3j4lwuahgperjfnkv6clxdmqdqjbt62g46q254
- valory/check_stop_trading_abci:0.1.0:bafybeia5uldu4na4qtrli7sbahrsdc56egagltvtrrvaiivvsceljd5uje
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
behaviours:
main:
Expand Down

0 comments on commit 7132eb2

Please sign in to comment.