Skip to content

Commit bfcd65d

Browse files
authored
Merge pull request #2241 from valory-xyz/fix/cross-period
Fix cross-period persisted keys' defaults
2 parents 687ca5b + a788246 commit bfcd65d

File tree

31 files changed

+222
-121
lines changed

31 files changed

+222
-121
lines changed

autonomy/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@
6565
ACN_IMAGE_NAME = os.environ.get("ACN_IMAGE_NAME", "valory/open-acn-node")
6666
DEFAULT_DOCKER_IMAGE_AUTHOR = "valory"
6767
OAR_IMAGE = "{image_author}/oar-{agent}:{version}"
68-
ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeih2soag6gy472x7vbbxmetmr532jqzm2efcapymi3725as33fvjvu"
68+
ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeicekn6ifx5mxsxwfttgeuym2wb4uhwrdlvdh4n4nqzxnex6hbxewe"

docs/api/skills/abstract_round_abci/base.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,17 @@ before instantiating this class.
607607
- `cross_period_persisted_keys`: data keys that will be kept after a new period starts
608608
- `logger`: the logger of the abci app
609609

610+
<a id="packages.valory.skills.abstract_round_abci.base.AbciAppDB.normalize"></a>
611+
612+
#### normalize
613+
614+
```python
615+
@staticmethod
616+
def normalize(value: Any) -> str
617+
```
618+
619+
Attempt to normalize a non-primitive type to insert it into the db.
620+
610621
<a id="packages.valory.skills.abstract_round_abci.base.AbciAppDB.setup_data"></a>
611622

612623
#### setup`_`data

docs/guides/overview_of_the_development_process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To follow the next sections, you need to populate the local registry with a numb
4646
"protocol/valory/ledger_api/1.0.0": "bafybeihdk6psr4guxmbcrc26jr2cbgzpd5aljkqvpwo64bvaz7tdti2oni",
4747
"protocol/valory/tendermint/0.1.0": "bafybeig4mi3vmlv5zpbjbfuzcgida6j5f2nhrpedxicmrrfjweqc5r7cra",
4848
"skill/valory/abstract_abci/0.1.0": "bafybeibzxex6md6xp5eibvp23cmkk7xgdyd44r5lxhfhlquwe3nb22ujgy",
49-
"skill/valory/abstract_round_abci/0.1.0": "bafybeih2soag6gy472x7vbbxmetmr532jqzm2efcapymi3725as33fvjvu",
49+
"skill/valory/abstract_round_abci/0.1.0": "bafybeicekn6ifx5mxsxwfttgeuym2wb4uhwrdlvdh4n4nqzxnex6hbxewe",
5050
"skill/valory/hello_world_abci/0.1.0": "bafybeiagjdjp5ut4svjyitsrkr4l7gosfefx5ebphrlkaa6a765fwuljai",
5151
"connection/valory/p2p_libp2p_client/0.1.0": "bafybeid3xg5k2ol5adflqloy75ibgljmol6xsvzvezebsg7oudxeeolz7e"
5252
}

docs/package_list.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,37 +17,37 @@
1717
| contract/valory/multicall2/0.1.0 | `bafybeiceiyfwtgr2zqel6krlbditsexzpmsqlfwbedtmj2ojye6yekdcqi` | The MakerDAO multicall2 contract. |
1818
| connection/valory/abci/0.1.0 | `bafybeifr35jcajq2lqnj2rd5lueo4g5nysbvbaacdchfecwgtcojqx3mie` | connection to wrap communication with an ABCI server. |
1919
| connection/valory/ipfs/0.1.0 | `bafybeigcijdbwgdekow5c2ikeltetoteabfp52ewy3xfkd7ygaqbl7j3ke` | A connection responsible for uploading and downloading files from IPFS. |
20-
| skill/valory/test_ipfs_abci/0.1.0 | `bafybeiaiiabegk26rg5w2vinmmvnoaqappe3jqodgvocd4fnbfsjpvzz34` | IPFS e2e testing application. |
20+
| skill/valory/test_ipfs_abci/0.1.0 | `bafybeih24fqbwjvisbaclk4mhrp6eiuyxvwvdok7nxaid53n3pzswtt2yi` | IPFS e2e testing application. |
2121
| skill/valory/abstract_abci/0.1.0 | `bafybeibzxex6md6xp5eibvp23cmkk7xgdyd44r5lxhfhlquwe3nb22ujgy` | The abci skill provides a template of an ABCI application. |
22-
| skill/valory/abstract_round_abci/0.1.0 | `bafybeih2soag6gy472x7vbbxmetmr532jqzm2efcapymi3725as33fvjvu` | abstract round-based ABCI application |
23-
| skill/valory/transaction_settlement_abci/0.1.0 | `bafybeicq4ttsarwurbll4xqabjb26g3po2ntrcxkwi7vac6d2kmvt6hati` | ABCI application for transaction settlement. |
24-
| skill/valory/registration_abci/0.1.0 | `bafybeiaxomjnv2h7ozc7mvmz5wysfinfgtqnniznpcdunijb5iiekv4mzi` | ABCI application for common apps. |
25-
| skill/valory/reset_pause_abci/0.1.0 | `bafybeiatyhxriq2gzny3s5by2plk7tyw4o5uvabzuhvhvwrl2pburbdjcm` | ABCI application for resetting and pausing app executions. |
26-
| skill/valory/termination_abci/0.1.0 | `bafybeig3gpsgm4c2ibywmriv2py6224xxsfw5b6p6j3gc7szz3qv22bhce` | Termination skill. |
22+
| skill/valory/abstract_round_abci/0.1.0 | `bafybeicekn6ifx5mxsxwfttgeuym2wb4uhwrdlvdh4n4nqzxnex6hbxewe` | abstract round-based ABCI application |
23+
| skill/valory/transaction_settlement_abci/0.1.0 | `bafybeifu5n662szykawmvve74rl72ka3uwfianvzxelwhbelmktud4cghe` | ABCI application for transaction settlement. |
24+
| skill/valory/registration_abci/0.1.0 | `bafybeid73eqmuq5mxozsueeoxhe3dmknsalzcesbeosgsyu26caeuflv5u` | ABCI application for common apps. |
25+
| skill/valory/reset_pause_abci/0.1.0 | `bafybeibfr26mnqm2e7gbqb63m5g5blxsnhtommsm2gzlyg6jwzucupwvoa` | ABCI application for resetting and pausing app executions. |
26+
| skill/valory/termination_abci/0.1.0 | `bafybeifvdpq2qu3r6i55lcyuyk3dk2qk7mq33glhdm7uxdozqjitb47ps4` | Termination skill. |
2727
| skill/valory/counter/0.1.0 | `bafybeic5z3adavbpptndt4bred3jorbnbxphbnqs3ysiwnunkzfb2b4b3e` | The ABCI Counter application example. |
2828
| skill/valory/counter_client/0.1.0 | `bafybeih2hz7bvltfnlw7cgjrwgjdw3xgejwcnkxry7i6ajcspwcw2hrb3e` | A client for the ABCI counter application. |
29-
| skill/valory/register_reset_abci/0.1.0 | `bafybeifg33urqlndhyxoilajxiwrsvyuviv44j2jhbev2bgfd6mh5igt2q` | ABCI application for dummy skill that registers and resets |
30-
| skill/valory/register_termination_abci/0.1.0 | `bafybeifd5mwndrof4y2v2qcuv6omzm2iwyjgvevqabqigi7cdzm3paowoy` | ABCI application for dummy skill that registers and resets |
31-
| skill/valory/test_abci/0.1.0 | `bafybeibuja26fshbedj6cbpqzbhrugmaxjcfah3mirl6jdvzmvvcepitom` | ABCI application for testing the ABCI connection. |
32-
| skill/valory/register_reset_recovery_abci/0.1.0 | `bafybeihfdqfcryhnmmgmehdnblzwubot7scrsf3poc22zzyge2ugdmpfny` | ABCI application for dummy skill that registers and resets |
33-
| skill/valory/slashing_abci/0.1.0 | `bafybeid5ngib3e6iq6f34x5auvrwytx5fonl664wu3n3bwua3bachgie5a` | Slashing skill. |
34-
| skill/valory/offend_abci/0.1.0 | `bafybeigu65gh2lipplbrittuab5xtietrfqkipib5pi5hrw47aio3p7zhu` | Offend ABCI application. |
35-
| skill/valory/offend_slash_abci/0.1.0 | `bafybeiasmkr6ckcjvnedqr2npgtcneptywynrshephnndj5ceihrorf3xe` | ABCI application used in order to test the slashing abci |
36-
| skill/valory/squads_transaction_settlement_abci/0.1.0 | `bafybeiftcohlsrcqw677glkhdj4lezf7ngckylpido37wn4sakjdszi6am` | ABCI application for transaction settlement. |
37-
| skill/valory/test_solana_tx_abci/0.1.0 | `bafybeihwtn63nbwx5wbcf6ebg36hsucjdyzdkprrxxclwz4jeknnkmkcn4` | SOLANA e2e testing application. |
38-
| agent/valory/test_ipfs/0.1.0 | `bafybeibn2yayf7jplja5idhynykf2s7aclbpejacqkkmh2oqlf3fm2h5i4` | Agent for testing the ABCI connection. |
29+
| skill/valory/register_reset_abci/0.1.0 | `bafybeib45zheayyh2t4hmphmkhfphxm7ok3zg2agrtqlzeyajkvt645xtu` | ABCI application for dummy skill that registers and resets |
30+
| skill/valory/register_termination_abci/0.1.0 | `bafybeifxuerbb4es6ggfiftpjv2uy5d3w7glzu6kxvgojjdy426e7svzmq` | ABCI application for dummy skill that registers and resets |
31+
| skill/valory/test_abci/0.1.0 | `bafybeiev6tedi76ovovz765l5drakmuuadhxydxnwyvvdy6j7zh2vip5jq` | ABCI application for testing the ABCI connection. |
32+
| skill/valory/register_reset_recovery_abci/0.1.0 | `bafybeigmvns3ekgzvq2f5gvmkebs3nwcgzeyvjocrdjqlg2l5orsthroba` | ABCI application for dummy skill that registers and resets |
33+
| skill/valory/slashing_abci/0.1.0 | `bafybeibxyz5hcelzirxmzagnb5fteff233q6uxepxdkaiqtnvkqyyi7o3y` | Slashing skill. |
34+
| skill/valory/offend_abci/0.1.0 | `bafybeiaww25qzkuokdc5a6e7eya4n2zzw3k2ss2vepkmvrmi7rr2mgcth4` | Offend ABCI application. |
35+
| skill/valory/offend_slash_abci/0.1.0 | `bafybeiazjgexobedpt7oblhglwsasluoenm7fuyff5xdghxngnpfsz3e24` | ABCI application used in order to test the slashing abci |
36+
| skill/valory/squads_transaction_settlement_abci/0.1.0 | `bafybeie5u6thvjwgttmmqa3i7denffgux5oofbjrozb7y4ywzph42bjxhm` | ABCI application for transaction settlement. |
37+
| skill/valory/test_solana_tx_abci/0.1.0 | `bafybeiai4nxfvv7qxqc3wirpu3nmupmxeln53gsnlekqyw4jki3u4murlu` | SOLANA e2e testing application. |
38+
| agent/valory/test_ipfs/0.1.0 | `bafybeidwrvpo2dbkh5p6qc5ek4jkzx2kcb4sj7w5ofjpkziz4p6jpqzzli` | Agent for testing the ABCI connection. |
3939
| agent/valory/abstract_abci/0.1.0 | `bafybeidzmn64g56kyfb2hwvahk5n76oprwqlmemmtwkcwzg7w36bu2voga` | The abstract ABCI AEA - for testing purposes only. |
4040
| agent/valory/counter/0.1.0 | `bafybeibg7e354htmil6j54m2mrmdmjkryzmomjqidha6lg6tuakbpv6qka` | The ABCI Counter example as an AEA |
4141
| agent/valory/counter_client/0.1.0 | `bafybeiadsylwhba5dfn57sbmreoxqu5xxxyafgkktkbcv2pbg7pfxlbe3q` | The ABCI Counter example as an AEA |
42-
| agent/valory/register_reset/0.1.0 | `bafybeib4x6r6bybwwvplkxn6tu7wauoa6jqcaxvjjvcnp3jrudbdviati4` | Register reset to replicate Tendermint issue. |
43-
| agent/valory/register_termination/0.1.0 | `bafybeigkp4hg5lh4ne3suu5qtno22muhlvqg75bt4mmztkfx4bwxeayvhe` | Register terminate to test the termination feature. |
44-
| agent/valory/registration_start_up/0.1.0 | `bafybeie5qtqykr2epejhkozo34t7uiffqe52svxrgewcqyepsukniylwge` | Registration start-up ABCI example. |
45-
| agent/valory/test_abci/0.1.0 | `bafybeibcnz275dpd23mfvqruxi3wqlk3of5a3mzn2fmkv53mkbt3g36ukm` | Agent for testing the ABCI connection. |
46-
| agent/valory/register_reset_recovery/0.1.0 | `bafybeihohtx5mdtyebxqbdakaqcxs4lh4bngzqs3bl3wc5bp4ttd7jlktu` | Agent to showcase hard reset as a recovery mechanism. |
47-
| agent/valory/offend_slash/0.1.0 | `bafybeiff4ef3uhgfowoes77mno2lafaajmfpr5kzfqy57oam4x62co5jge` | Offend and slash to test the slashing feature. |
48-
| agent/valory/solana_transfer_agent/0.1.0 | `bafybeigimzgj7z2o3ke5577sycc5nrd2zdw3vg5etxiqmz3qvhsos3uqzm` | Register terminate to test the termination feature. |
42+
| agent/valory/register_reset/0.1.0 | `bafybeifundwzmufxzf4hbswf4fqlrkhuckjqmm5vwz6zdhp4pei6m2c764` | Register reset to replicate Tendermint issue. |
43+
| agent/valory/register_termination/0.1.0 | `bafybeibd2qheszgj2sjji3oabr3fpnal3tq5trxzhwbc2u22h7rbcehfja` | Register terminate to test the termination feature. |
44+
| agent/valory/registration_start_up/0.1.0 | `bafybeie3gvx5jzkrb7ldzyytoswbu7ncs4tjcmfc4eehzvhvpeffusua6y` | Registration start-up ABCI example. |
45+
| agent/valory/test_abci/0.1.0 | `bafybeia4obgl3smbpyku77edar67ne2quyoyhnpi2phxo5nwjuw224lrra` | Agent for testing the ABCI connection. |
46+
| agent/valory/register_reset_recovery/0.1.0 | `bafybeiaufmyfxdyx67vd4dishp7k2wpas5wfsgoceaetqbecam2fxvof4y` | Agent to showcase hard reset as a recovery mechanism. |
47+
| agent/valory/offend_slash/0.1.0 | `bafybeihkwgfmzgx4heexjjo7gpqjxgy7c2acjcy2spgvmpzqbtagmtwq3q` | Offend and slash to test the slashing feature. |
48+
| agent/valory/solana_transfer_agent/0.1.0 | `bafybeid6bh5lneksevbdmz4avd35jxo4jgsluytbx4rd22fpnu4kj4z5yi` | Register terminate to test the termination feature. |
4949
| service/valory/counter/0.1.0 | `bafybeibwt4vmeaxsu3d4xhynilh6mqmlw7vlh2nkzusimjgd6fry4aqjgq` | A set of agents incrementing a counter |
50-
| service/valory/register_reset/0.1.0 | `bafybeidog2ectqnf2vhv4emodnp7fvnv6q3lq2keoiya7iost6o5hl3eqi` | Test and debug tendermint reset mechanism. |
50+
| service/valory/register_reset/0.1.0 | `bafybeihiyqvatqun2b34um3uajhfvne4dftrnwxho2i4fa4d7rwjiuo6gi` | Test and debug tendermint reset mechanism. |
5151
| protocol/open_aea/signing/1.0.0 | `bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi` | A protocol for communication between skills and decision maker. |
5252
| protocol/valory/acn/1.1.0 | `bafybeidluaoeakae3exseupaea4i3yvvk5vivyt227xshjlffywwxzcxqe` | The protocol used for envelope delivery on the ACN. |
5353
| protocol/valory/http/1.0.0 | `bafybeifugzl63kfdmwrxwphrnrhj7bn6iruxieme3a4ntzejf6kmtuwmae` | A protocol for HTTP requests and responses. |

0 commit comments

Comments
 (0)