Skip to content

Commit

Permalink
fix: mech tools serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Sep 26, 2023
1 parent fe029c4 commit a9494a8
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions packages/packages.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dev": {
"skill/valory/market_manager_abci/0.1.0": "bafybeig223xrxbtfx5adwhc7m6rpdbevsqm5osfq66oijucs2gzn4hehsm",
"skill/valory/decision_maker_abci/0.1.0": "bafybeig4ctfh2ye5lsynimy7i75mjqavdcleml2mji5sv3xo5uyczdvixi",
"skill/valory/trader_abci/0.1.0": "bafybeibthgo4iuw6skvnh2g3mnp2xa7szzoui4bnwwy4vay7entxxkrm7i",
"skill/valory/decision_maker_abci/0.1.0": "bafybeiag4ropp3majnbpvhggjm7djn2wkvvenxoczp7xh5sufuekpemvya",
"skill/valory/trader_abci/0.1.0": "bafybeicbll3usqjj6hszbgjclhgzbzdzctspegz5aexwq3f45xlssgjtc4",
"contract/valory/market_maker/0.1.0": "bafybeiftimqgvrbval2lxp7au6y72amioo4gtcdth2dflrbwa47i6opyb4",
"agent/valory/trader/0.1.0": "bafybeigqka2ns7ckvz4gdudp6n4i3ttslydvr47jwmru5kxya4vo2z6kv4",
"service/valory/trader/0.1.0": "bafybeiccimfsmpi2nu5nbdra4gee2ivkr4z3dzyvovjpxadngnc57vdt2u",
"agent/valory/trader/0.1.0": "bafybeiba4eedbh6er7hfsqthaiibg67qeduqlgpy2wxu2iiq5dvlftllkq",
"service/valory/trader/0.1.0": "bafybeidfflkxhqvr3nod5faxuciuy3vki4jhj24ktyuvjga66fmxoxe2hq",
"contract/valory/erc20/0.1.0": "bafybeifjwr6rwklgg2uk2zkfysn55qqy7dfi4jx7sek6lzdup37fynhpxe",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeihb5z5esjos42qbi26wnigegvuxclwbdwns5pwi7upldwj6ciyvua",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeiazyntyafd236ba5gwb2o2oycb5s33oqofnehllgwpwv3z7g57pwy",
"contract/valory/mech/0.1.0": "bafybeiehjnwd63xp6ttfsskhxsphnvpjpwrfqzfltjvqn6mjqkemoo2qge",
"contract/valory/realitio/0.1.0": "bafybeicdgm2a7evjw6szcpo3uaam5mzd6axtevtzwvejr6uaeymbg437da",
"contract/valory/realitio_proxy/0.1.0": "bafybeibvndq6756qck7forgeavhdbn6ykgqs2ufyg7n5g6qdfpveatxuwy",
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 @@ -41,10 +41,10 @@ skills:
- valory/reset_pause_abci:0.1.0:bafybeifoihgilpfr76hc5skzspm6qehkwivx7ld2cy3veipcsi4gr2c7na
- valory/termination_abci:0.1.0:bafybeigcsls72uosoui2y5ppmnvsljjhnxakkeh3fdohklcg66aqq4g7xu
- valory/transaction_settlement_abci:0.1.0:bafybeiglsnh2hvfau5gab7requh34k4sbqwbjvrhhqjpes4hakcwq46cpi
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeihb5z5esjos42qbi26wnigegvuxclwbdwns5pwi7upldwj6ciyvua
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeiazyntyafd236ba5gwb2o2oycb5s33oqofnehllgwpwv3z7g57pwy
- valory/market_manager_abci:0.1.0:bafybeig223xrxbtfx5adwhc7m6rpdbevsqm5osfq66oijucs2gzn4hehsm
- valory/decision_maker_abci:0.1.0:bafybeig4ctfh2ye5lsynimy7i75mjqavdcleml2mji5sv3xo5uyczdvixi
- valory/trader_abci:0.1.0:bafybeibthgo4iuw6skvnh2g3mnp2xa7szzoui4bnwwy4vay7entxxkrm7i
- valory/decision_maker_abci:0.1.0:bafybeiag4ropp3majnbpvhggjm7djn2wkvvenxoczp7xh5sufuekpemvya
- valory/trader_abci:0.1.0:bafybeicbll3usqjj6hszbgjclhgzbzdzctspegz5aexwq3f45xlssgjtc4
default_ledger: ethereum
required_ledgers:
- ethereum
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:bafybeigqka2ns7ckvz4gdudp6n4i3ttslydvr47jwmru5kxya4vo2z6kv4
agent: valory/trader:0.1.0:bafybeiba4eedbh6er7hfsqthaiibg67qeduqlgpy2wxu2iiq5dvlftllkq
number_of_agents: 4
deployment: {}
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def _store_available_mech_tools(self) -> None:
"""Store the policy"""
policy_path = self.params.policy_store_path / self.AVAILABLE_TOOLS_STORE
with open(policy_path, "w") as f:
json.dump(self.utilized_tools, f)
json.dump(self.mech_tools, f)

def async_act(self) -> Generator:
"""Do the action."""
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 @@ -21,7 +21,7 @@ fingerprint:
behaviours/reedem.py: bafybeiccrnttqwf5vuf3lr55k5c6tsqsrekoypoag5gntyimjhbmuokkga
behaviours/round_behaviour.py: bafybeig4tdktyu6hapoqymnxh2bgpds547st6a44heue657wkctwe4gjvm
behaviours/sampling.py: bafybeiadikynvkaofbko72jc45xthhmmjfmlkpgramormhxwk5u47rnwdu
behaviours/tool_selection.py: bafybeicofcze5wrbbfgrcjvsl5rp7b5c2gt2ez3ru2tp2glwl2ze4ardaq
behaviours/tool_selection.py: bafybeib7dqzhpn6b7uwmrbjb3ep4paicriuxc2no7j4iqy75jts6qp5zg4
dialogues.py: bafybeigpwuzku3we7axmxeamg7vn656maww6emuztau5pg3ebsoquyfdqm
fsm_specification.yaml: bafybeifnob3ceim2mj7lqagtnpwqjqqxs5eg3oiwc73gwm6x5i2dvvlcya
handlers.py: bafybeihj33szgrcxnpd73s4nvluyxwwsvhjum2cuq3ilhhe6vfola3k7vy
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 @@ -25,8 +25,8 @@ skills:
- valory/transaction_settlement_abci:0.1.0:bafybeiglsnh2hvfau5gab7requh34k4sbqwbjvrhhqjpes4hakcwq46cpi
- valory/termination_abci:0.1.0:bafybeigcsls72uosoui2y5ppmnvsljjhnxakkeh3fdohklcg66aqq4g7xu
- valory/market_manager_abci:0.1.0:bafybeig223xrxbtfx5adwhc7m6rpdbevsqm5osfq66oijucs2gzn4hehsm
- valory/decision_maker_abci:0.1.0:bafybeig4ctfh2ye5lsynimy7i75mjqavdcleml2mji5sv3xo5uyczdvixi
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeihb5z5esjos42qbi26wnigegvuxclwbdwns5pwi7upldwj6ciyvua
- valory/decision_maker_abci:0.1.0:bafybeiag4ropp3majnbpvhggjm7djn2wkvvenxoczp7xh5sufuekpemvya
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeiazyntyafd236ba5gwb2o2oycb5s33oqofnehllgwpwv3z7g57pwy
behaviours:
main:
args: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ contracts: []
protocols: []
skills:
- valory/abstract_round_abci:0.1.0:bafybeif3cqkks5qx3lqi6nwwhebcirhazt2vidw3sueeqsyxvjeszjt3om
- valory/decision_maker_abci:0.1.0:bafybeig4ctfh2ye5lsynimy7i75mjqavdcleml2mji5sv3xo5uyczdvixi
- valory/decision_maker_abci:0.1.0:bafybeiag4ropp3majnbpvhggjm7djn2wkvvenxoczp7xh5sufuekpemvya
behaviours:
main:
args: {}
Expand Down

0 comments on commit a9494a8

Please sign in to comment.