Skip to content

Commit

Permalink
chore: add REDEEM_ROUND_TIMEOUT to event_to_timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Dec 1, 2023
1 parent dc54209 commit 83c3087
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 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": "bafybeic7o4pclkhnugyn7js5g3asxuqhkxpvunlp3mpup7aovhg2fto22i",
"skill/valory/decision_maker_abci/0.1.0": "bafybeibexxfncbkadishdsqidrmblj5jjxj2aocmwfx2ut7l74b34kn524",
"skill/valory/trader_abci/0.1.0": "bafybeifnyymftb6ucebk4nbmp4iujuiogfred7vxikimi3r7fqoukthqoy",
"skill/valory/decision_maker_abci/0.1.0": "bafybeibx6bru6ljg5dm7vcx5mgjr2gglqg572ivh3ryowxlwnck7aqghg4",
"skill/valory/trader_abci/0.1.0": "bafybeic3okfnhn5c7quazspyoqbqpqxgyvuimtvy3jfeihj7ti3b5iiuqu",
"contract/valory/market_maker/0.1.0": "bafybeid5jnetbsusgxkpqzwyiqlwut55xktfbeloipxcemcuu5oopmqtl4",
"agent/valory/trader/0.1.0": "bafybeif56wkjqzp4dfdgec3i5agdk4h2gilzctu4m6c2que5l4ncrzgohi",
"service/valory/trader/0.1.0": "bafybeibgd77ydohdnrwaoutj2bjqslle626z2m6vz3rhxsrruautry7qqy",
"agent/valory/trader/0.1.0": "bafybeianptubpdqs756a26dlf6qsqyuub4rfkfjqmftoiuybhzdner73ci",
"service/valory/trader/0.1.0": "bafybeifqzkhsi2mmc7gqmgvwxsgls4ingcaxwt5xqfqnshssz5hoxnstya",
"contract/valory/erc20/0.1.0": "bafybeiepg5ymxhtylgijs3mf3lezz6cwcsougbrv2gr4xcq3bp5wxusi64",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeietgjhq6qig5d5w6gcnzyluefxqeym3fvpjcmnnkzkucljcqz5tq4",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeiavaswm5hguwwjfczx7g7mv4stw3ibjq26pyinawvuhj2lrlyc6jy",
"contract/valory/mech/0.1.0": "bafybeieo65rtidzgrx22la7z7azoqbisd35hnoqfw7l3xxctotvctjlkju",
"contract/valory/realitio/0.1.0": "bafybeieoily22pasgkzzcyawhqyrsko7b52lghnvwuskhomavb7tlb6pxa",
"contract/valory/realitio_proxy/0.1.0": "bafybeidx37xzjjmapwacedgzhum6grfzhp5vhouz4zu3pvpgdy5pgb2fr4",
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 @@ -43,10 +43,10 @@ skills:
- valory/reset_pause_abci:0.1.0:bafybeiencz2uytz6fqj5wg7mcunevxjh4xg5gd6pqcgkshgqywhcimweyi
- valory/termination_abci:0.1.0:bafybeigainmpy37gb33ogbrpggjbkuasodhthh5oz4vbzjdfjozerpf224
- valory/transaction_settlement_abci:0.1.0:bafybeigk3debp6dswutqsuls2lqfvyj4ghe6kwjc2zfinnsvj6hujynxtq
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeietgjhq6qig5d5w6gcnzyluefxqeym3fvpjcmnnkzkucljcqz5tq4
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeiavaswm5hguwwjfczx7g7mv4stw3ibjq26pyinawvuhj2lrlyc6jy
- valory/market_manager_abci:0.1.0:bafybeic7o4pclkhnugyn7js5g3asxuqhkxpvunlp3mpup7aovhg2fto22i
- valory/decision_maker_abci:0.1.0:bafybeibexxfncbkadishdsqidrmblj5jjxj2aocmwfx2ut7l74b34kn524
- valory/trader_abci:0.1.0:bafybeifnyymftb6ucebk4nbmp4iujuiogfred7vxikimi3r7fqoukthqoy
- valory/decision_maker_abci:0.1.0:bafybeibx6bru6ljg5dm7vcx5mgjr2gglqg572ivh3ryowxlwnck7aqghg4
- valory/trader_abci:0.1.0:bafybeic3okfnhn5c7quazspyoqbqpqxgyvuimtvy3jfeihj7ti3b5iiuqu
- valory/staking_abci:0.1.0:bafybeia3acxumkjg566dvgagv3swz7htf5xpvwq6ovmecvp5j2zdxdoabe
default_ledger: ethereum
required_ledgers:
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:bafybeif56wkjqzp4dfdgec3i5agdk4h2gilzctu4m6c2que5l4ncrzgohi
agent: valory/trader:0.1.0:bafybeianptubpdqs756a26dlf6qsqyuub4rfkfjqmftoiuybhzdner73ci
number_of_agents: 4
deployment: {}
---
Expand Down
1 change: 1 addition & 0 deletions packages/valory/skills/decision_maker_abci/rounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ class DecisionMakerAbciApp(AbciApp[Event]):
}
event_to_timeout: Dict[Event, float] = {
Event.ROUND_TIMEOUT: 30.0,
Event.REDEEM_ROUND_TIMEOUT: 3600.0,
}
db_pre_conditions: Dict[AppState, Set[str]] = {
RedeemRound: set(),
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 @@ -29,7 +29,7 @@ fingerprint:
payloads.py: bafybeigcic4vewdglakzpyqevhfwsolh4ywnbvxo5bgned7gl5uo3jif7m
policy.py: bafybeidpmx4ek3qze63zpuwixyf6t7bdv62ewgkzt3ljrzadiwdw64cueq
redeem_info.py: bafybeibddfxwp3577c3dl2utaowwltquu5fg6crezpumoebw563wxpbfrm
rounds.py: bafybeidni2ejmrdhybtkmx7565553e362jtg56zxnczcx66bq5xkbjldtq
rounds.py: bafybeiepai73sso4vs75rxay3nsjnc7kppwkbzrnfs2orlzcwpej6rvrde
states/__init__.py: bafybeid23llnyp6j257dluxmrnztugo5llsrog7kua53hllyktz4dqhqoy
states/base.py: bafybeibhcc4pc3m6qelvdvxssnuglcwfaff55cr2kule74ekauyf3bahpq
states/bet_placement.py: bafybeibalhxhp2c4oljmiwqi6ds3g36fgtabmf42mb5sgq6z22znrcbhda
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:bafybeigk3debp6dswutqsuls2lqfvyj4ghe6kwjc2zfinnsvj6hujynxtq
- valory/termination_abci:0.1.0:bafybeigainmpy37gb33ogbrpggjbkuasodhthh5oz4vbzjdfjozerpf224
- valory/market_manager_abci:0.1.0:bafybeic7o4pclkhnugyn7js5g3asxuqhkxpvunlp3mpup7aovhg2fto22i
- valory/decision_maker_abci:0.1.0:bafybeibexxfncbkadishdsqidrmblj5jjxj2aocmwfx2ut7l74b34kn524
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeietgjhq6qig5d5w6gcnzyluefxqeym3fvpjcmnnkzkucljcqz5tq4
- valory/decision_maker_abci:0.1.0:bafybeibx6bru6ljg5dm7vcx5mgjr2gglqg572ivh3ryowxlwnck7aqghg4
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeiavaswm5hguwwjfczx7g7mv4stw3ibjq26pyinawvuhj2lrlyc6jy
- valory/staking_abci:0.1.0:bafybeia3acxumkjg566dvgagv3swz7htf5xpvwq6ovmecvp5j2zdxdoabe
behaviours:
main:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protocols:
- valory/ledger_api:1.0.0:bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru
skills:
- valory/abstract_round_abci:0.1.0:bafybeidau7loztcfy3mxvoqrv7otbpciemd2wf3lsxyjraq4dcvuvib25e
- valory/decision_maker_abci:0.1.0:bafybeibexxfncbkadishdsqidrmblj5jjxj2aocmwfx2ut7l74b34kn524
- valory/decision_maker_abci:0.1.0:bafybeibx6bru6ljg5dm7vcx5mgjr2gglqg572ivh3ryowxlwnck7aqghg4
- valory/staking_abci:0.1.0:bafybeia3acxumkjg566dvgagv3swz7htf5xpvwq6ovmecvp5j2zdxdoabe
behaviours:
main:
Expand Down

0 comments on commit 83c3087

Please sign in to comment.