Skip to content

Commit

Permalink
Merge pull request #2294 from valory-xyz/fix/required-attributes
Browse files Browse the repository at this point in the history
Fail early when rounds' attributes are missing
  • Loading branch information
Adamantios authored Jan 17, 2025
2 parents aa04466 + ef84fd2 commit 005353b
Show file tree
Hide file tree
Showing 42 changed files with 246 additions and 207 deletions.
9 changes: 9 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Release History - `open-autonomy`

# 0.19.0 (TBD)

Docs:
- Performs general improvements #2291
- Fixes broken links #2293

Packages:
- Fails early when rounds' attributes are missing #2294

# 0.18.4 (2025-01-08)

Autonomy:
Expand Down
2 changes: 1 addition & 1 deletion autonomy/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@
ACN_IMAGE_NAME = os.environ.get("ACN_IMAGE_NAME", "valory/open-acn-node")
DEFAULT_DOCKER_IMAGE_AUTHOR = "valory"
OAR_IMAGE = "{image_author}/oar-{agent}:{version}"
ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeihyaubqrndsjkrplx4e2tn45jgddt52cxzuhb5iwiznz7qlhrbdbe"
ABSTRACT_ROUND_ABCI_SKILL_WITH_HASH = "valory/abstract_round_abci:0.1.0:bafybeiachppt4lnvu6nfwlmzhqzmnal6jgobanimz6jkcs4b2god5vtf2u"
OLAS_DOCS_URL = "https://docs.autonolas.network"
2 changes: 1 addition & 1 deletion docs/guides/overview_of_the_development_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To follow the next sections, you need to populate the local registry with a numb
"protocol/valory/ledger_api/1.0.0": "bafybeihdk6psr4guxmbcrc26jr2cbgzpd5aljkqvpwo64bvaz7tdti2oni",
"protocol/valory/tendermint/0.1.0": "bafybeigydrbfrlmr4f7shbtqx44kvmbg22im27mxdap2e3m5tkti6t445y",
"skill/valory/abstract_abci/0.1.0": "bafybeigygqg63cr4sboxz7xfakcfpz55id7ihmj434v5iz3r26t7q6qwie",
"skill/valory/abstract_round_abci/0.1.0": "bafybeihyaubqrndsjkrplx4e2tn45jgddt52cxzuhb5iwiznz7qlhrbdbe",
"skill/valory/abstract_round_abci/0.1.0": "bafybeiachppt4lnvu6nfwlmzhqzmnal6jgobanimz6jkcs4b2god5vtf2u",
"skill/valory/hello_world_abci/0.1.0": "bafybeiebittgfcz4idj633fkrvu6qle2ajekdjxpp7slggyur7vv7s7hrq",
"connection/valory/p2p_libp2p_client/0.1.0": "bafybeihs5zlwa5wlozct3rjlxsirm3ve3e4buse5nfehiky6ymnnfrobne"
}
Expand Down
48 changes: 24 additions & 24 deletions docs/package_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,37 @@
| contract/valory/multicall2/0.1.0 | `bafybeifth3kfovus6l5qsd2743e7n4zes7j7fns3ecliil7x5xiuiyf534` | The MakerDAO multicall2 contract. |
| connection/valory/abci/0.1.0 | `bafybeib5wliqsotle6onwaz63umadnu7lyjeyr2lz6xau2kcq6eirfnh7m` | connection to wrap communication with an ABCI server. |
| connection/valory/ipfs/0.1.0 | `bafybeibpcwc673evkpliwp35hmjwjx7obramg2chxityubevnhss3f5cfa` | A connection responsible for uploading and downloading files from IPFS. |
| skill/valory/test_ipfs_abci/0.1.0 | `bafybeibi45mb6u6wlpmdtpbtkvwxtp2unwaho6zzjutkmruflqvsnu3e7a` | IPFS e2e testing application. |
| skill/valory/test_ipfs_abci/0.1.0 | `bafybeigrzptijki5pgqplkxocp57ljrp3izrysq5kloz47f4mftordchsy` | IPFS e2e testing application. |
| skill/valory/abstract_abci/0.1.0 | `bafybeigygqg63cr4sboxz7xfakcfpz55id7ihmj434v5iz3r26t7q6qwie` | The abci skill provides a template of an ABCI application. |
| skill/valory/abstract_round_abci/0.1.0 | `bafybeihyaubqrndsjkrplx4e2tn45jgddt52cxzuhb5iwiznz7qlhrbdbe` | abstract round-based ABCI application |
| skill/valory/transaction_settlement_abci/0.1.0 | `bafybeidpzdtevjmqw7swdmk6mtz2ez47fvsit3choh5d4nzgioyfqkzgba` | ABCI application for transaction settlement. |
| skill/valory/registration_abci/0.1.0 | `bafybeib2qkzymrwklb3lfp6biqllsch4werp7e3wttjpmx4eizefpiwmhi` | ABCI application for common apps. |
| skill/valory/reset_pause_abci/0.1.0 | `bafybeigmyonotdry7q5uxt55xzcho2byp6u7seshisvrw6hhcgn7mzfti4` | ABCI application for resetting and pausing app executions. |
| skill/valory/termination_abci/0.1.0 | `bafybeifs4vorsmsulzgobr754od2omj6uphylslkrtuadxzludoexld6ny` | Termination skill. |
| skill/valory/abstract_round_abci/0.1.0 | `bafybeiachppt4lnvu6nfwlmzhqzmnal6jgobanimz6jkcs4b2god5vtf2u` | abstract round-based ABCI application |
| skill/valory/transaction_settlement_abci/0.1.0 | `bafybeicixpoxdgg3qm4tuykvqze7wrc7al2magbspbnupo24psvdqs2iha` | ABCI application for transaction settlement. |
| skill/valory/registration_abci/0.1.0 | `bafybeifzx5nkyiri5v2gltnqczkrrsqv24bz5lit22yifzmduwwf4n7xeq` | ABCI application for common apps. |
| skill/valory/reset_pause_abci/0.1.0 | `bafybeiatnafaxofysuxg7o3qsusognnbguoh2hlwhw34hawgabcfycwkjq` | ABCI application for resetting and pausing app executions. |
| skill/valory/termination_abci/0.1.0 | `bafybeiazwplrpnthgehnsetu6cqcqmf2odlnhcwixx6qt6kpzwrdcksfze` | Termination skill. |
| skill/valory/counter/0.1.0 | `bafybeidaevqhts3oobrld7bcvk44qoalzrjfrpmblaoommv6gtocymlvma` | The ABCI Counter application example. |
| skill/valory/counter_client/0.1.0 | `bafybeih2hz7bvltfnlw7cgjrwgjdw3xgejwcnkxry7i6ajcspwcw2hrb3e` | A client for the ABCI counter application. |
| skill/valory/register_reset_abci/0.1.0 | `bafybeigc6dq7mnbeuff6yep327zfht3vpcalr6myioo6wy227qgxpq4s54` | ABCI application for dummy skill that registers and resets |
| skill/valory/register_termination_abci/0.1.0 | `bafybeiedko6rzhj4s62ainq2q2ghmejvuic3lnajmvdvpvyg5yxbjd2fjm` | ABCI application for dummy skill that registers and resets |
| skill/valory/test_abci/0.1.0 | `bafybeidxfd6z2jg3timdop7o4r2vss76fi256op3r6cresse5gbtgphia4` | ABCI application for testing the ABCI connection. |
| skill/valory/register_reset_recovery_abci/0.1.0 | `bafybeifsxohw4ktk22pftyrn4s4kw5ecl6zhrlv2ew7jcampm7mopgvqcu` | ABCI application for dummy skill that registers and resets |
| skill/valory/slashing_abci/0.1.0 | `bafybeidws2mmr3j5gkyny6scvksgtobayy6lhagizznvwzs6fay34hmt5u` | Slashing skill. |
| skill/valory/offend_abci/0.1.0 | `bafybeic6nidzvebwiijeggfaazcuoupkzw4nyo7jrgwxograr6l4tjdbbu` | Offend ABCI application. |
| skill/valory/offend_slash_abci/0.1.0 | `bafybeic32od7s4dd5gablof6s44ok3tadubyocqwi47gom7hnx2ydwb4vi` | ABCI application used in order to test the slashing abci |
| skill/valory/squads_transaction_settlement_abci/0.1.0 | `bafybeiee4merpipmphtu6czapxmtt34ycgfqwinn3x4scqviwcp3oujvrq` | ABCI application for transaction settlement. |
| skill/valory/test_solana_tx_abci/0.1.0 | `bafybeie7w74c6pmuvtn773ba3efmeftifi6bdvxkxv6m3i2kj7buzlfnmy` | SOLANA e2e testing application. |
| agent/valory/test_ipfs/0.1.0 | `bafybeigm46rnisp32f6nxrludrctkqncjsrndgz72cxjiyp7aufeh3ouvu` | Agent for testing the ABCI connection. |
| skill/valory/register_reset_abci/0.1.0 | `bafybeidlwv54uvzerof2nbi4pz2ulc6lo4a5fixis5ocvonswo6kp6ss4q` | ABCI application for dummy skill that registers and resets |
| skill/valory/register_termination_abci/0.1.0 | `bafybeiahwpn2dfrvyfuq3lbyvvrcob4kb2i5jlwiunnkgvrh5gvkjcg5oy` | ABCI application for dummy skill that registers and resets |
| skill/valory/test_abci/0.1.0 | `bafybeif5atllekmvnmvmaoc5c27q64lnc6eoks5nilfbnl7qmncppxioum` | ABCI application for testing the ABCI connection. |
| skill/valory/register_reset_recovery_abci/0.1.0 | `bafybeia57asgzbshnmv5dkbg6wug4vlnbjhzxwyjgwk3buexjviqekshxi` | ABCI application for dummy skill that registers and resets |
| skill/valory/slashing_abci/0.1.0 | `bafybeiffuv7rcm55nzsj4w623crh4pm7r736esl4lwreveqrbobqsteyoe` | Slashing skill. |
| skill/valory/offend_abci/0.1.0 | `bafybeie7fbfd3itz36ey3gkbldohi4wxomtsds4o4gbqgrlzr4hu6x34li` | Offend ABCI application. |
| skill/valory/offend_slash_abci/0.1.0 | `bafybeiay3c53wahsbsrccoayi2moxpkt2gmvs4foh7jkj3o4xgw3koqow4` | ABCI application used in order to test the slashing abci |
| skill/valory/squads_transaction_settlement_abci/0.1.0 | `bafybeicdtt5lb44krxwawym5z5sdyrq6z2qsituqsq2jpwcfm56czm7jjm` | ABCI application for transaction settlement. |
| skill/valory/test_solana_tx_abci/0.1.0 | `bafybeihitp6ycdgq62leql7e5aoj3wwf5etnywugekdb37qurzfu3avdqu` | SOLANA e2e testing application. |
| agent/valory/test_ipfs/0.1.0 | `bafybeib2umk5p2xrlsr4zw2hwwcehcc67immvcnblkvmyrdbbkcsidf32a` | Agent for testing the ABCI connection. |
| agent/valory/abstract_abci/0.1.0 | `bafybeiajd2dy6nbn3srvwqsr56orso4t5zekk5hprpr7v4v5evi3gd2bre` | The abstract ABCI AEA - for testing purposes only. |
| agent/valory/counter/0.1.0 | `bafybeie64beshjtnoluie7hgc2lun7hc7b63dprdybny63pakddj774mv4` | The ABCI Counter example as an AEA |
| agent/valory/counter_client/0.1.0 | `bafybeicqpppldjxlw4ixs2opsfagdv5led6uamwdr53fsz25wqmuy4jewm` | The ABCI Counter example as an AEA |
| agent/valory/register_reset/0.1.0 | `bafybeic637xsrvbvo6todmssjrdan7lsihuy3f6xhoptfis54fezoen6om` | Register reset to replicate Tendermint issue. |
| agent/valory/register_termination/0.1.0 | `bafybeidpdxkow5ysvoolslsshpipdzvydvvct6bw643prxjnimdailnjbq` | Register terminate to test the termination feature. |
| agent/valory/registration_start_up/0.1.0 | `bafybeiazaz2zw3c5lqx7g2ylizedwzlamy5malvgyy2mhpccwod6d4fipi` | Registration start-up ABCI example. |
| agent/valory/test_abci/0.1.0 | `bafybeics6tx3hq2ocwfvta7fsetjcpxa566jy3zvftc6ulxeju2stcu3bm` | Agent for testing the ABCI connection. |
| agent/valory/register_reset_recovery/0.1.0 | `bafybeiao6dsc7z44gi35vn6xkkppicwnuixlvmqacsktxvijvxhpt7xadm` | Agent to showcase hard reset as a recovery mechanism. |
| agent/valory/offend_slash/0.1.0 | `bafybeiehgkjz3qjyhwwmnmy7jyu4fblwshnv4ewccy4fmvqgr4irvdao64` | Offend and slash to test the slashing feature. |
| agent/valory/solana_transfer_agent/0.1.0 | `bafybeigy44k3uvfobttjsbqdtyp3ky2crb3k5kl2xg4qdky3kdmrgogoge` | Register terminate to test the termination feature. |
| agent/valory/register_reset/0.1.0 | `bafybeiga7te66wswym3r2cmx7owgz4r4p55bse4jjazqmje6tmag5wipgu` | Register reset to replicate Tendermint issue. |
| agent/valory/register_termination/0.1.0 | `bafybeibvt5f3yhgrpzemdskhpnykbuzzrf7zrcbdpaakrh5bdiivixhmim` | Register terminate to test the termination feature. |
| agent/valory/registration_start_up/0.1.0 | `bafybeiedb57d4ofoa4tamuhfwtdnxfcdx7xhqgxuswifmvjf37koswugwi` | Registration start-up ABCI example. |
| agent/valory/test_abci/0.1.0 | `bafybeiffya52g3afcaj42khq7etytqodeldptjj62nnpohra46wkws4yiy` | Agent for testing the ABCI connection. |
| agent/valory/register_reset_recovery/0.1.0 | `bafybeichhy5jloyx67xobvob5r23qra22rqje2l57rkaxr3nok53jqapmq` | Agent to showcase hard reset as a recovery mechanism. |
| agent/valory/offend_slash/0.1.0 | `bafybeicj36iqrowgmoecktz5fc27ys57lplgfxijfjbxml53f4kep2hwg4` | Offend and slash to test the slashing feature. |
| agent/valory/solana_transfer_agent/0.1.0 | `bafybeigf3tbm6qoia7pl733fyw4fpq72vc6rrjb3yt2ry2ru7mfthukbv4` | Register terminate to test the termination feature. |
| service/valory/counter/0.1.0 | `bafybeibddcuehbtaexwqomxnxizg6z3xtreoiu4cldxf7yf7zulbuiqoua` | A set of agents incrementing a counter |
| service/valory/register_reset/0.1.0 | `bafybeibewixmcec7ys3genpoue3ka2s3zck4eoyq25cdzw7bm2ssnccxky` | Test and debug tendermint reset mechanism. |
| service/valory/register_reset/0.1.0 | `bafybeib5e3eui5zk3cryqpbakqywuy5z5czbbporytgx7mfkfv3txyqcwa` | Test and debug tendermint reset mechanism. |
| protocol/open_aea/signing/1.0.0 | `bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi` | A protocol for communication between skills and decision maker. |
| protocol/valory/acn/1.1.0 | `bafybeidluaoeakae3exseupaea4i3yvvk5vivyt227xshjlffywwxzcxqe` | The protocol used for envelope delivery on the ACN. |
| protocol/valory/http/1.0.0 | `bafybeifugzl63kfdmwrxwphrnrhj7bn6iruxieme3a4ntzejf6kmtuwmae` | A protocol for HTTP requests and responses. |
Expand Down
7 changes: 7 additions & 0 deletions docs/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ Below we describe the additional manual steps required to upgrade between differ

# Open Autonomy

## `v0.18.4` to `v0.19.0`

- The agent now performs an early failure check when attributes for rounds are missing.
This check is implemented in the metaclass using a specialized attribute named `extended_requirements`.
To customize the attributes being checked for a specific round,
developers must modify the `extended_requirements` attribute.

## `v0.18.3` to `v0.18.4`

No backwards incompatible changes.
Expand Down
Loading

0 comments on commit 005353b

Please sign in to comment.