From 5fa65c870b99e3c7a2b7413ab3f85f88eb7f180a Mon Sep 17 00:00:00 2001 From: ali Date: Thu, 1 Dec 2022 15:46:35 +0000 Subject: [PATCH 1/3] bump versions and update hashe --- docs/aggregation-demo.md | 24 +- docs/aries-cloud-agent-demo.md | 26 +-- docs/build-aea-programmatically.md | 2 +- docs/car-park-skills.md | 38 ++-- docs/cli-vs-programmatic-aeas.md | 2 +- docs/config.md | 6 +- docs/connect-a-frontend.md | 4 +- docs/connection.md | 2 +- docs/contract.md | 22 +- docs/core-components-1.md | 2 +- docs/erc1155-skills.md | 38 ++-- docs/generic-skills-step-by-step.md | 56 ++--- docs/generic-skills.md | 34 +-- docs/gym-skill.md | 6 +- docs/http-connection-and-skill.md | 8 +- docs/language-agnostic-definition.md | 4 +- docs/ledger-integration.md | 2 +- docs/logging.md | 4 +- docs/ml-skills.md | 36 +-- docs/multi-agent-manager.md | 8 +- docs/oracle-demo.md | 36 +-- docs/orm-integration.md | 36 +-- docs/p2p-connection.md | 20 +- docs/prometheus.md | 4 +- docs/protocol.md | 20 +- docs/questions-and-answers.md | 2 +- docs/quickstart.md | 6 +- docs/simple-oef-usage.md | 2 +- docs/skill-guide.md | 18 +- docs/skill.md | 2 +- docs/tac-skills-contract.md | 120 +++++----- docs/tac-skills.md | 52 ++--- docs/thermometer-skills.md | 38 ++-- docs/weather-skills.md | 38 ++-- examples/tac_deploy/tac_run.sh | 2 +- .../agents/aries_alice/aea-config.yaml | 28 +-- .../agents/aries_faber/aea-config.yaml | 28 +-- .../agents/car_data_buyer/aea-config.yaml | 30 +-- .../agents/car_detector/aea-config.yaml | 30 +-- .../agents/coin_price_feed/aea-config.yaml | 32 +-- .../agents/coin_price_oracle/aea-config.yaml | 40 ++-- .../coin_price_oracle_client/aea-config.yaml | 30 +-- .../confirmation_aea_aw1/aea-config.yaml | 44 ++-- .../confirmation_aea_aw2/aea-config.yaml | 36 +-- .../confirmation_aea_aw3/aea-config.yaml | 46 ++-- .../confirmation_aea_aw5/aea-config.yaml | 44 ++-- .../agents/erc1155_client/aea-config.yaml | 36 +-- .../agents/erc1155_deployer/aea-config.yaml | 36 +-- .../agents/fipa_dummy_buyer/aea-config.yaml | 14 +- .../agents/generic_buyer/aea-config.yaml | 28 +-- .../agents/generic_seller/aea-config.yaml | 28 +-- .../fetchai/agents/gym_aea/aea-config.yaml | 16 +- .../agents/hello_world/aea-config.yaml | 8 +- .../agents/latest_block_feed/aea-config.yaml | 18 +- .../agents/ml_data_provider/aea-config.yaml | 30 +-- .../agents/ml_model_trainer/aea-config.yaml | 30 +-- .../agents/my_first_aea/aea-config.yaml | 10 +- .../registration_aea_aw1/aea-config.yaml | 40 ++-- .../agents/simple_aggregator/aea-config.yaml | 40 ++-- .../agents/simple_buyer_aw2/aea-config.yaml | 40 ++-- .../agents/simple_buyer_aw5/aea-config.yaml | 46 ++-- .../agents/simple_seller_aw2/aea-config.yaml | 50 ++--- .../agents/simple_seller_aw5/aea-config.yaml | 64 +++--- .../aea-config.yaml | 22 +- .../simple_service_search/aea-config.yaml | 22 +- .../agents/tac_controller/aea-config.yaml | 22 +- .../tac_controller_contract/aea-config.yaml | 40 ++-- .../agents/tac_participant/aea-config.yaml | 30 +-- .../tac_participant_contract/aea-config.yaml | 40 ++-- .../agents/thermometer_aea/aea-config.yaml | 30 +-- .../agents/thermometer_client/aea-config.yaml | 30 +-- .../agents/weather_client/aea-config.yaml | 30 +-- .../agents/weather_station/aea-config.yaml | 30 +-- packages/fetchai/connections/gym/README.md | 2 +- .../fetchai/connections/gym/connection.py | 2 +- .../fetchai/connections/gym/connection.yaml | 10 +- .../fetchai/connections/http_client/README.md | 2 +- .../connections/http_client/connection.py | 2 +- .../connections/http_client/connection.yaml | 10 +- .../fetchai/connections/http_server/README.md | 2 +- .../connections/http_server/connection.py | 2 +- .../connections/http_server/connection.yaml | 10 +- packages/fetchai/connections/ledger/README.md | 2 +- packages/fetchai/connections/ledger/base.py | 2 +- .../connections/ledger/connection.yaml | 14 +- .../fetchai/connections/local/connection.py | 2 +- .../fetchai/connections/local/connection.yaml | 6 +- packages/fetchai/connections/oef/README.md | 2 +- .../fetchai/connections/oef/connection.py | 2 +- .../fetchai/connections/oef/connection.yaml | 10 +- .../fetchai/connections/p2p_libp2p/README.md | 4 +- .../connections/p2p_libp2p/connection.py | 2 +- .../connections/p2p_libp2p/connection.yaml | 8 +- .../connections/p2p_libp2p_client/README.md | 2 +- .../p2p_libp2p_client/connection.py | 2 +- .../p2p_libp2p_client/connection.yaml | 8 +- .../connections/p2p_libp2p_mailbox/README.md | 2 +- .../p2p_libp2p_mailbox/connection.py | 2 +- .../p2p_libp2p_mailbox/connection.yaml | 8 +- .../fetchai/connections/prometheus/README.md | 2 +- .../connections/prometheus/connection.py | 2 +- .../connections/prometheus/connection.yaml | 10 +- packages/fetchai/connections/soef/README.md | 4 +- .../fetchai/connections/soef/connection.py | 2 +- .../fetchai/connections/soef/connection.yaml | 10 +- .../fetchai/connections/webhook/README.md | 2 +- .../fetchai/connections/webhook/connection.py | 2 +- .../connections/webhook/connection.yaml | 10 +- packages/fetchai/protocols/acn/README.md | 2 +- packages/fetchai/protocols/acn/message.py | 2 +- packages/fetchai/protocols/acn/protocol.yaml | 6 +- .../fetchai/protocols/aggregation/README.md | 4 +- .../fetchai/protocols/aggregation/message.py | 4 +- .../protocols/aggregation/protocol.yaml | 8 +- .../fetchai/protocols/contract_api/README.md | 2 +- .../fetchai/protocols/contract_api/message.py | 2 +- .../protocols/contract_api/protocol.yaml | 6 +- .../fetchai/protocols/cosm_trade/README.md | 2 +- .../fetchai/protocols/cosm_trade/message.py | 2 +- .../protocols/cosm_trade/protocol.yaml | 6 +- packages/fetchai/protocols/default/README.md | 2 +- packages/fetchai/protocols/default/message.py | 2 +- .../fetchai/protocols/default/protocol.yaml | 6 +- packages/fetchai/protocols/fipa/README.md | 2 +- packages/fetchai/protocols/fipa/message.py | 2 +- packages/fetchai/protocols/fipa/protocol.yaml | 6 +- packages/fetchai/protocols/gym/README.md | 2 +- packages/fetchai/protocols/gym/message.py | 2 +- packages/fetchai/protocols/gym/protocol.yaml | 6 +- packages/fetchai/protocols/http/README.md | 2 +- packages/fetchai/protocols/http/message.py | 2 +- packages/fetchai/protocols/http/protocol.yaml | 6 +- .../fetchai/protocols/ledger_api/README.md | 2 +- .../fetchai/protocols/ledger_api/message.py | 2 +- .../protocols/ledger_api/protocol.yaml | 6 +- packages/fetchai/protocols/ml_trade/README.md | 2 +- .../fetchai/protocols/ml_trade/message.py | 2 +- .../fetchai/protocols/ml_trade/protocol.yaml | 6 +- .../fetchai/protocols/oef_search/README.md | 2 +- .../fetchai/protocols/oef_search/message.py | 2 +- .../protocols/oef_search/protocol.yaml | 6 +- .../fetchai/protocols/prometheus/README.md | 2 +- .../fetchai/protocols/prometheus/message.py | 2 +- .../protocols/prometheus/protocol.yaml | 6 +- packages/fetchai/protocols/register/README.md | 2 +- .../fetchai/protocols/register/message.py | 2 +- .../fetchai/protocols/register/protocol.yaml | 6 +- packages/fetchai/protocols/signing/README.md | 2 +- packages/fetchai/protocols/signing/message.py | 2 +- .../fetchai/protocols/signing/protocol.yaml | 6 +- .../fetchai/protocols/state_update/README.md | 2 +- .../fetchai/protocols/state_update/message.py | 2 +- .../protocols/state_update/protocol.yaml | 6 +- packages/fetchai/protocols/tac/README.md | 2 +- packages/fetchai/protocols/tac/message.py | 2 +- packages/fetchai/protocols/tac/protocol.yaml | 6 +- .../skills/advanced_data_request/__init__.py | 2 +- .../skills/advanced_data_request/skill.yaml | 8 +- .../fetchai/skills/aries_alice/__init__.py | 2 +- .../fetchai/skills/aries_alice/skill.yaml | 12 +- .../fetchai/skills/aries_faber/__init__.py | 2 +- .../fetchai/skills/aries_faber/skill.yaml | 12 +- .../fetchai/skills/carpark_client/__init__.py | 2 +- .../fetchai/skills/carpark_client/skill.yaml | 16 +- .../skills/carpark_detection/__init__.py | 2 +- .../skills/carpark_detection/skill.yaml | 14 +- .../skills/confirmation_aw1/__init__.py | 2 +- .../skills/confirmation_aw1/skill.yaml | 14 +- .../skills/confirmation_aw2/__init__.py | 2 +- .../skills/confirmation_aw2/skill.yaml | 18 +- .../skills/confirmation_aw3/__init__.py | 2 +- .../skills/confirmation_aw3/skill.yaml | 20 +- packages/fetchai/skills/echo/__init__.py | 2 +- packages/fetchai/skills/echo/skill.yaml | 6 +- .../fetchai/skills/erc1155_client/__init__.py | 2 +- .../fetchai/skills/erc1155_client/skill.yaml | 18 +- .../fetchai/skills/erc1155_deploy/__init__.py | 2 +- .../fetchai/skills/erc1155_deploy/skill.yaml | 18 +- packages/fetchai/skills/error/__init__.py | 2 +- packages/fetchai/skills/error/skill.yaml | 6 +- .../fetchai/skills/fetch_block/__init__.py | 2 +- .../fetchai/skills/fetch_block/skill.yaml | 8 +- .../skills/fipa_dummy_buyer/__init__.py | 2 +- .../skills/fipa_dummy_buyer/skill.yaml | 6 +- .../fetchai/skills/generic_buyer/__init__.py | 2 +- .../fetchai/skills/generic_buyer/skill.yaml | 16 +- .../fetchai/skills/generic_seller/__init__.py | 2 +- .../fetchai/skills/generic_seller/skill.yaml | 14 +- packages/fetchai/skills/gym/__init__.py | 2 +- packages/fetchai/skills/gym/skill.yaml | 8 +- .../fetchai/skills/hello_world/__init__.py | 2 +- .../fetchai/skills/hello_world/skill.yaml | 4 +- packages/fetchai/skills/http_echo/__init__.py | 2 +- packages/fetchai/skills/http_echo/skill.yaml | 8 +- .../skills/ml_data_provider/__init__.py | 2 +- .../skills/ml_data_provider/skill.yaml | 14 +- packages/fetchai/skills/ml_train/__init__.py | 2 +- packages/fetchai/skills/ml_train/skill.yaml | 18 +- .../skills/registration_aw1/__init__.py | 2 +- .../skills/registration_aw1/skill.yaml | 10 +- .../skills/simple_aggregation/__init__.py | 2 +- .../skills/simple_aggregation/skill.yaml | 10 +- .../fetchai/skills/simple_buyer/__init__.py | 2 +- .../fetchai/skills/simple_buyer/skill.yaml | 18 +- .../skills/simple_data_request/__init__.py | 2 +- .../skills/simple_data_request/skill.yaml | 8 +- .../fetchai/skills/simple_oracle/__init__.py | 2 +- .../fetchai/skills/simple_oracle/skill.yaml | 14 +- .../skills/simple_oracle_client/__init__.py | 2 +- .../skills/simple_oracle_client/skill.yaml | 12 +- .../fetchai/skills/simple_seller/__init__.py | 2 +- .../fetchai/skills/simple_seller/skill.yaml | 16 +- .../simple_service_registration/__init__.py | 2 +- .../simple_service_registration/skill.yaml | 6 +- .../skills/simple_service_search/__init__.py | 2 +- .../skills/simple_service_search/skill.yaml | 6 +- .../fetchai/skills/tac_control/__init__.py | 2 +- .../fetchai/skills/tac_control/skill.yaml | 10 +- .../skills/tac_control_contract/__init__.py | 2 +- .../skills/tac_control_contract/skill.yaml | 20 +- .../skills/tac_negotiation/__init__.py | 2 +- .../fetchai/skills/tac_negotiation/skill.yaml | 22 +- .../skills/tac_participation/__init__.py | 2 +- .../skills/tac_participation/skill.yaml | 10 +- .../fetchai/skills/thermometer/__init__.py | 2 +- .../fetchai/skills/thermometer/skill.yaml | 14 +- .../skills/thermometer_client/__init__.py | 2 +- .../skills/thermometer_client/skill.yaml | 16 +- .../fetchai/skills/weather_client/__init__.py | 2 +- .../fetchai/skills/weather_client/skill.yaml | 16 +- .../skills/weather_station/__init__.py | 2 +- .../fetchai/skills/weather_station/skill.yaml | 14 +- packages/hashes.csv | 208 +++++++++--------- tests/conftest.py | 2 +- tests/data/aea-config.example.yaml | 14 +- tests/data/aea-config.example_w_keys.yaml | 14 +- tests/data/dependencies_skill/skill.yaml | 2 +- tests/data/dummy_aea/aea-config.yaml | 20 +- tests/data/dummy_connection/connection.yaml | 2 +- tests/data/dummy_skill/skill.yaml | 6 +- tests/data/gym-connection.yaml | 4 +- tests/data/hashes.csv | 8 +- tests/test_aea/test_aea_builder.py | 2 +- tests/test_aea/test_cli/test_upgrade.py | 8 +- .../test_cli/test_utils/test_utils.py | 10 +- tests/test_aea/test_components/test_loader.py | 2 +- .../test_configurations/test_manager.py | 8 +- .../test_skills_integration/test_echo.py | 2 +- .../test_skills_integration/test_generic.py | 52 ++--- .../test_hello_world.py | 2 +- .../test_skills_integration/test_http_echo.py | 8 +- .../test_manager/test_manager.py | 2 +- .../md_files/bash-aggregation-demo.md | 22 +- .../md_files/bash-aries-cloud-agent-demo.md | 24 +- .../md_files/bash-car-park-skills.md | 34 +-- .../md_files/bash-cli-vs-programmatic-aeas.md | 2 +- .../test_bash_yaml/md_files/bash-config.md | 6 +- .../md_files/bash-erc1155-skills.md | 50 ++--- .../bash-generic-skills-step-by-step.md | 56 ++--- .../md_files/bash-generic-skills.md | 34 +-- .../test_bash_yaml/md_files/bash-gym-skill.md | 6 +- .../bash-http-connection-and-skill.md | 6 +- .../test_bash_yaml/md_files/bash-logging.md | 4 +- .../test_bash_yaml/md_files/bash-ml-skills.md | 34 +-- .../md_files/bash-oracle-demo.md | 36 +-- .../md_files/bash-orm-integration.md | 36 +-- .../md_files/bash-p2p-connection.md | 14 +- .../md_files/bash-quickstart.md | 4 +- .../md_files/bash-skill-guide.md | 16 +- .../test_bash_yaml/md_files/bash-skill.md | 2 +- .../md_files/bash-tac-skills-contract.md | 120 +++++----- .../md_files/bash-tac-skills.md | 54 ++--- .../md_files/bash-thermometer-skills.md | 34 +-- .../md_files/bash-weather-skills.md | 34 +-- .../test_cli_vs_programmatic_aea.py | 2 +- tests/test_docs/test_docs_protocol.py | 4 +- .../test_orm_integration.py | 26 +-- .../test_skill_guide/test_skill_guide.py | 10 +- .../test_prometheus/test_prometheus.py | 2 +- .../test_skills_integration/test_carpark.py | 52 ++--- .../test_coin_price.py | 18 +- .../test_skills_integration/test_erc1155.py | 30 +-- .../test_fetch_block.py | 6 +- .../test_skills_integration/test_generic.py | 52 ++--- .../test_skills_integration/test_gym.py | 6 +- .../test_skills_integration/test_ml_skills.py | 52 ++--- .../test_simple_aggregation.py | 20 +- .../test_simple_oracle.py | 72 +++--- .../test_skills_integration/test_tac.py | 94 ++++---- .../test_thermometer.py | 52 ++--- .../test_skills_integration/test_weather.py | 54 ++--- 291 files changed, 2190 insertions(+), 2190 deletions(-) diff --git a/docs/aggregation-demo.md b/docs/aggregation-demo.md index a8ba82d26d..c5bf1c7b58 100644 --- a/docs/aggregation-demo.md +++ b/docs/aggregation-demo.md @@ -19,7 +19,7 @@ Repeat the following process four times in four different terminals (for each {` Fetch the aggregator AEA: ``` bash agent_name="agg$i" -aea fetch fetchai/simple_aggregator:0.5.3 --alias $agent_name +aea fetch fetchai/simple_aggregator:0.5.4 --alias $agent_name cd $agent_name aea install aea build @@ -34,15 +34,15 @@ Create the AEA. agent_name="agg$i" aea create agent_name cd agent_name -aea add connection fetchai/http_client:0.24.4 -aea add connection fetchai/http_server:0.23.4 -aea add connection fetchai/p2p_libp2p:0.27.3 -aea add connection fetchai/soef:0.27.4 -aea add connection fetchai/prometheus:0.9.4 -aea add skill fetchai/advanced_data_request:0.7.4 -aea add skill fetchai/simple_aggregation:0.3.4 - -aea config set agent.default_connection fetchai/p2p_libp2p:0.27.3 +aea add connection fetchai/http_client:0.24.5 +aea add connection fetchai/http_server:0.23.5 +aea add connection fetchai/p2p_libp2p:0.27.4 +aea add connection fetchai/soef:0.27.5 +aea add connection fetchai/prometheus:0.9.5 +aea add skill fetchai/advanced_data_request:0.7.5 +aea add skill fetchai/simple_aggregation:0.3.5 + +aea config set agent.default_connection fetchai/p2p_libp2p:0.27.4 aea install aea build ``` @@ -126,8 +126,8 @@ aea config set vendor.fetchai.connections.http_server.config.port $((8000+i)) To publish the aggregated value to an oracle smart contract, add the ledger connection and simple oracle skill to one of the aggregators: ``` bash -aea add connection fetchai/ledger:0.21.3 -aea add skill fetchai/simple_oracle:0.16.3 +aea add connection fetchai/ledger:0.21.4 +aea add skill fetchai/simple_oracle:0.16.4 ``` Configure the simple oracle skill for the `fetchai` ledger: diff --git a/docs/aries-cloud-agent-demo.md b/docs/aries-cloud-agent-demo.md index 08266d258c..d81f0d9de3 100644 --- a/docs/aries-cloud-agent-demo.md +++ b/docs/aries-cloud-agent-demo.md @@ -180,7 +180,7 @@ Now you can create **Alice_AEA** and **Faber_AEA** in terminals 3 and 4 respecti In the third terminal, fetch **Alice_AEA** and move into its project folder: ``` bash -aea fetch fetchai/aries_alice:0.32.3 +aea fetch fetchai/aries_alice:0.32.4 cd aries_alice ``` @@ -191,11 +191,11 @@ The following steps create Alice_AEA from scratch: ``` bash aea create aries_alice cd aries_alice -aea add connection fetchai/p2p_libp2p:0.27.3 -aea add connection fetchai/soef:0.27.4 -aea add connection fetchai/http_client:0.24.4 -aea add connection fetchai/webhook:0.20.4 -aea add skill fetchai/aries_alice:0.26.4 +aea add connection fetchai/p2p_libp2p:0.27.4 +aea add connection fetchai/soef:0.27.5 +aea add connection fetchai/http_client:0.24.5 +aea add connection fetchai/webhook:0.20.5 +aea add skill fetchai/aries_alice:0.26.5 ```

@@ -257,14 +257,14 @@ Finally run **Alice_AEA**: aea run ``` -Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.27.3 -u public_uri` to retrieve the address.) We will refer to this as **Alice_AEA's P2P address**. +Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.27.4 -u public_uri` to retrieve the address.) We will refer to this as **Alice_AEA's P2P address**. ### Faber_AEA In the fourth terminal, fetch **Faber_AEA** and move into its project folder: ``` bash -aea fetch fetchai/aries_faber:0.32.3 +aea fetch fetchai/aries_faber:0.32.4 cd aries_faber ``` @@ -275,11 +275,11 @@ The following steps create Faber_AEA from scratch: ``` bash aea create aries_faber cd aries_faber -aea add connection fetchai/p2p_libp2p:0.27.3 -aea add connection fetchai/soef:0.27.4 -aea add connection fetchai/http_client:0.24.4 -aea add connection fetchai/webhook:0.20.4 -aea add skill fetchai/aries_faber:0.24.3 +aea add connection fetchai/p2p_libp2p:0.27.4 +aea add connection fetchai/soef:0.27.5 +aea add connection fetchai/http_client:0.24.5 +aea add connection fetchai/webhook:0.20.5 +aea add skill fetchai/aries_faber:0.24.4 ```

diff --git a/docs/build-aea-programmatically.md b/docs/build-aea-programmatically.md index 3385451b39..4b9afdb69d 100644 --- a/docs/build-aea-programmatically.md +++ b/docs/build-aea-programmatically.md @@ -62,7 +62,7 @@ We will use the stub connection to pass envelopes in and out of the AEA. Ensure ``` ## Initialise the AEA -We use the `AEABuilder` to readily build an AEA. By default, the `AEABuilder` adds the `fetchai/default:1.1.5`, `fetchai/state_update:1.1.5` and `fetchai/signing:1.1.5` protocols. +We use the `AEABuilder` to readily build an AEA. By default, the `AEABuilder` adds the `fetchai/default:1.1.6`, `fetchai/state_update:1.1.6` and `fetchai/signing:1.1.6` protocols. ``` python # Instantiate the builder and build the AEA # By default, the default protocol, error skill and stub connection are added diff --git a/docs/car-park-skills.md b/docs/car-park-skills.md index 19b12af55d..7fffa1bb1f 100644 --- a/docs/car-park-skills.md +++ b/docs/car-park-skills.md @@ -57,9 +57,9 @@ Install the AEA ManagerDorado block explorer and request some test tokens via `Get Funds`. @@ -97,7 +97,7 @@ Follow the Preliminaries and =1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.27.3 +aea config set agent.default_connection fetchai/p2p_libp2p:0.27.4 aea config set --type dict agent.default_routing \ '{ - "fetchai/ledger_api:1.1.5": "fetchai/ledger:0.21.3", - "fetchai/oef_search:1.1.5": "fetchai/soef:0.27.4" + "fetchai/ledger_api:1.1.6": "fetchai/ledger:0.21.4", + "fetchai/oef_search:1.1.6": "fetchai/soef:0.27.5" }' aea install aea build @@ -135,7 +135,7 @@ aea build Then, fetch the car data client AEA: ``` bash -aea fetch fetchai/car_data_buyer:0.33.3 +aea fetch fetchai/car_data_buyer:0.33.4 cd car_data_buyer aea install aea build @@ -148,19 +148,19 @@ The following steps create the car data client from scratch: ``` bash aea create car_data_buyer cd car_data_buyer -aea add connection fetchai/p2p_libp2p:0.27.3 -aea add connection fetchai/soef:0.27.4 -aea add connection fetchai/ledger:0.21.3 -aea add skill fetchai/carpark_client:0.27.4 +aea add connection fetchai/p2p_libp2p:0.27.4 +aea add connection fetchai/soef:0.27.5 +aea add connection fetchai/ledger:0.21.4 +aea add skill fetchai/carpark_client:0.27.5 aea config set --type dict agent.dependencies \ '{ "aea-ledger-fetchai": {"version": "<2.0.0,>=1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.27.3 +aea config set agent.default_connection fetchai/p2p_libp2p:0.27.4 aea config set --type dict agent.default_routing \ '{ - "fetchai/ledger_api:1.1.5": "fetchai/ledger:0.21.3", - "fetchai/oef_search:1.1.5": "fetchai/soef:0.27.4" + "fetchai/ledger_api:1.1.6": "fetchai/ledger:0.21.4", + "fetchai/oef_search:1.1.6": "fetchai/soef:0.27.5" }' aea install aea build @@ -225,7 +225,7 @@ First, run the car data seller AEA: aea run ``` -Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.27.3 -u public_uri` to retrieve the address.) +Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of the address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.27.4 -u public_uri` to retrieve the address.) This is the entry peer address for the local agent communication network created by the car data seller. Then, in the car data buyer, run this command (replace `SOME_ADDRESS` with the correct value as described above): diff --git a/docs/cli-vs-programmatic-aeas.md b/docs/cli-vs-programmatic-aeas.md index bb47bea29d..1779944f73 100644 --- a/docs/cli-vs-programmatic-aeas.md +++ b/docs/cli-vs-programmatic-aeas.md @@ -33,7 +33,7 @@ If you want to create the weather station AEA step by step you can follow this g Fetch the weather station AEA with the following command : ``` bash -aea fetch fetchai/weather_station:0.32.3 +aea fetch fetchai/weather_station:0.32.4 cd weather_station aea install aea build diff --git a/docs/config.md b/docs/config.md index 990834be6a..6b53437969 100644 --- a/docs/config.md +++ b/docs/config.md @@ -24,10 +24,10 @@ connections: # The list of connection public - fetchai/stub:0.21.2 contracts: [] # The list of contract public ids the AEA project depends on (each public id must satisfy PUBLIC_ID_REGEX). protocols: # The list of protocol public ids the AEA project depends on (each public id must satisfy PUBLIC_ID_REGEX). -- fetchai/default:1.1.5 +- fetchai/default:1.1.6 skills: # The list of skill public ids the AEA project depends on (each public id must satisfy PUBLIC_ID_REGEX). -- fetchai/error:0.18.4 -default_connection: fetchai/p2p_libp2p:0.27.3 # The default connection used for envelopes sent by the AEA (must satisfy PUBLIC_ID_REGEX). +- fetchai/error:0.18.5 +default_connection: fetchai/p2p_libp2p:0.27.4 # The default connection used for envelopes sent by the AEA (must satisfy PUBLIC_ID_REGEX). default_ledger: fetchai # The default ledger identifier the AEA project uses (must satisfy LEDGER_ID_REGEX) required_ledgers: [fetchai] # the list of identifiers of ledgers that the AEA project requires key pairs for (each item must satisfy LEDGER_ID_REGEX) default_routing: {} # The default routing scheme applied to envelopes sent by the AEA, it maps from protocol public ids to connection public ids (both keys and values must satisfy PUBLIC_ID_REGEX) diff --git a/docs/connect-a-frontend.md b/docs/connect-a-frontend.md index fcb8246fb8..8f151af39f 100644 --- a/docs/connect-a-frontend.md +++ b/docs/connect-a-frontend.md @@ -3,7 +3,7 @@ This page lays out two options for connecting a front-end to an AEA. The followi How to connect front-end to your AEA ## Case 1 -The first option is to create a `HTTP Server` connection that handles incoming requests from a REST API. In this scenario, the REST API communicates with the AEA and requests are handled by the `HTTP Server` connection package. The REST API should send CRUD requests to the `HTTP Server` connection (`fetchai/http_server:0.23.4`) which translates these into Envelopes to be consumed by the correct skill. +The first option is to create a `HTTP Server` connection that handles incoming requests from a REST API. In this scenario, the REST API communicates with the AEA and requests are handled by the `HTTP Server` connection package. The REST API should send CRUD requests to the `HTTP Server` connection (`fetchai/http_server:0.23.5`) which translates these into Envelopes to be consumed by the correct skill. ## Case 2 -The second option is to create a front-end comprising a stand-alone `Multiplexer` with a `P2P` connection (`fetchai/p2p_libp2p:0.27.3`). In this scenario the Agent Communication Network can be used to send Envelopes from the AEA to the front-end. \ No newline at end of file +The second option is to create a front-end comprising a stand-alone `Multiplexer` with a `P2P` connection (`fetchai/p2p_libp2p:0.27.4`). In this scenario the Agent Communication Network can be used to send Envelopes from the AEA to the front-end. \ No newline at end of file diff --git a/docs/connection.md b/docs/connection.md index 66f1bb641b..3d612afacb 100644 --- a/docs/connection.md +++ b/docs/connection.md @@ -36,7 +36,7 @@ The developer needs to implement four public coroutines: - The `receive` coroutine is continuously called by the AEA framework. It either returns `None` or an envelope. The `receive` coroutine must implement the logic of data being received by the agent, and if necessary, its translation into a relevant protocol. -The framework provides a demo `stub` connection which implements an I/O reader and writer to send and receive messages between the agent and a local file. To gain inspiration and become familiar with the structure of connection packages, you may find it useful to check out `fetchai/stub:0.21.2`, `fetchai/http_server:0.23.4` or `fetchai/http_client:0.24.4` connections. The latter two connections are for external clients to connect with an agent, and for the agent to connect with external servers, respectively. +The framework provides a demo `stub` connection which implements an I/O reader and writer to send and receive messages between the agent and a local file. To gain inspiration and become familiar with the structure of connection packages, you may find it useful to check out `fetchai/stub:0.21.2`, `fetchai/http_server:0.23.5` or `fetchai/http_client:0.24.5` connections. The latter two connections are for external clients to connect with an agent, and for the agent to connect with external servers, respectively. ### Primary methods to develop - sync connection interface diff --git a/docs/contract.md b/docs/contract.md index 7186ef47fd..327941a55d 100644 --- a/docs/contract.md +++ b/docs/contract.md @@ -18,9 +18,9 @@ Interacting with contracts in almost all cases requires network access. Therefor Message flow for contract and ledger interactions -In particular, the `fetchai/ledger:0.21.3` connection can be used to execute contract related logic. The skills communicate with the `fetchai/ledger:0.21.3` connection via the `fetchai/contract_api:1.0.0` protocol. This protocol implements a request-response pattern to serve the four types of methods listed above: +In particular, the `fetchai/ledger:0.21.4` connection can be used to execute contract related logic. The skills communicate with the `fetchai/ledger:0.21.4` connection via the `fetchai/contract_api:1.0.0` protocol. This protocol implements a request-response pattern to serve the four types of methods listed above: -- the `get_deploy_transaction` message is used to request a deploy transaction for a specific contract. For instance, to request a deploy transaction for the deployment of the smart contract wrapped in the `fetchai/erc1155:0.23.2` package, we send the following message to the `fetchai/ledger:0.21.3`: +- the `get_deploy_transaction` message is used to request a deploy transaction for a specific contract. For instance, to request a deploy transaction for the deployment of the smart contract wrapped in the `fetchai/erc1155:0.23.2` package, we send the following message to the `fetchai/ledger:0.21.4`: ``` python contract_api_msg = ContractApiMessage( @@ -37,7 +37,7 @@ contract_api_msg = ContractApiMessage( Any additional arguments needed by the contract's constructor method should be added to `kwargs`. -This message will be handled by the `fetchai/ledger:0.21.3` connection and then a `raw_transaction` message will be returned with the matching raw transaction. To send this transaction to the ledger for processing, we first sign the message with the decision maker and then send the signed transaction to the `fetchai/ledger:0.21.3` connection using the `fetchai/ledger_api:1.0.0` protocol. For details on how to implement the message handling, see the handlers in the `erc1155_deploy` skill. +This message will be handled by the `fetchai/ledger:0.21.4` connection and then a `raw_transaction` message will be returned with the matching raw transaction. To send this transaction to the ledger for processing, we first sign the message with the decision maker and then send the signed transaction to the `fetchai/ledger:0.21.4` connection using the `fetchai/ledger_api:1.0.0` protocol. For details on how to implement the message handling, see the handlers in the `erc1155_deploy` skill.

CosmWasm based smart contract deployments

@@ -45,7 +45,7 @@ This message will be handled by the `fetchai/ledger:0.21.3` connection and then

-- the `get_raw_transaction` message is used to request any transaction for a specific contract which changes state in the contract. For instance, to request a transaction for the creation of token in the deployed `erc1155` smart contract wrapped in the `fetchai/erc1155:0.23.2` package, we send the following message to the `fetchai/ledger:0.21.3`: +- the `get_raw_transaction` message is used to request any transaction for a specific contract which changes state in the contract. For instance, to request a transaction for the creation of token in the deployed `erc1155` smart contract wrapped in the `fetchai/erc1155:0.23.2` package, we send the following message to the `fetchai/ledger:0.21.4`: ``` python contract_api_msg = ContractApiMessage( @@ -64,9 +64,9 @@ contract_api_msg = ContractApiMessage( ) ``` -This message will be handled by the `fetchai/ledger:0.21.3` connection and then a `raw_transaction` message will be returned with the matching raw transaction. For this to be executed correctly, the `fetchai/erc1155:0.23.2` contract package needs to implement the `get_create_batch_transaction` method with the specified key word arguments (see example in *Deploy your own*, below). Similarly to above, to send this transaction to the ledger for processing, we first sign the message with the decision maker and then send the signed transaction to the `fetchai/ledger:0.21.3` connection using the `fetchai/ledger_api:1.0.0` protocol. +This message will be handled by the `fetchai/ledger:0.21.4` connection and then a `raw_transaction` message will be returned with the matching raw transaction. For this to be executed correctly, the `fetchai/erc1155:0.23.2` contract package needs to implement the `get_create_batch_transaction` method with the specified key word arguments (see example in *Deploy your own*, below). Similarly to above, to send this transaction to the ledger for processing, we first sign the message with the decision maker and then send the signed transaction to the `fetchai/ledger:0.21.4` connection using the `fetchai/ledger_api:1.0.0` protocol. -- the `get_raw_message` message is used to request any contract method call for a specific contract which does not change state in the contract. For instance, to request a call to get a hash from some input data in the deployed `erc1155` smart contract wrapped in the `fetchai/erc1155:0.23.2` package, we send the following message to the `fetchai/ledger:0.21.3`: +- the `get_raw_message` message is used to request any contract method call for a specific contract which does not change state in the contract. For instance, to request a call to get a hash from some input data in the deployed `erc1155` smart contract wrapped in the `fetchai/erc1155:0.23.2` package, we send the following message to the `fetchai/ledger:0.21.4`: ``` python contract_api_msg = ContractApiMessage( @@ -89,10 +89,10 @@ contract_api_msg = ContractApiMessage( ), ) ``` -This message will be handled by the `fetchai/ledger:0.21.3` connection and then a `raw_message` message will be returned with the matching raw message. For this to be executed correctly, the `fetchai/erc1155:0.23.2` contract package needs to implement the `get_hash_single` method with the specified key word arguments. We can then send the raw message to the `fetchai/ledger:0.21.3` connection using the `fetchai/ledger_api:1.0.0` protocol. In this case, signing is not required. +This message will be handled by the `fetchai/ledger:0.21.4` connection and then a `raw_message` message will be returned with the matching raw message. For this to be executed correctly, the `fetchai/erc1155:0.23.2` contract package needs to implement the `get_hash_single` method with the specified key word arguments. We can then send the raw message to the `fetchai/ledger:0.21.4` connection using the `fetchai/ledger_api:1.0.0` protocol. In this case, signing is not required. -- the `get_state` message is used to request any contract method call to query state in the deployed contract. For instance, to request a call to get the balances in the deployed `erc1155` smart contract wrapped in the `fetchai/erc1155:0.23.2` package, we send the following message to the `fetchai/ledger:0.21.3`: +- the `get_state` message is used to request any contract method call to query state in the deployed contract. For instance, to request a call to get the balances in the deployed `erc1155` smart contract wrapped in the `fetchai/erc1155:0.23.2` package, we send the following message to the `fetchai/ledger:0.21.4`: ``` python contract_api_msg = ContractApiMessage( @@ -107,7 +107,7 @@ contract_api_msg = ContractApiMessage( ), ) ``` -This message will be handled by the `fetchai/ledger:0.21.3` connection and then a `state` message will be returned with the matching state. For this to be executed correctly, the `fetchai/erc1155:0.23.2` contract package needs to implement the `get_balance` method with the specified key word arguments. We can then send the raw message to the `fetchai/ledger:0.21.3` connection using the `fetchai/ledger_api:1.0.0` protocol. In this case, signing is not required. +This message will be handled by the `fetchai/ledger:0.21.4` connection and then a `state` message will be returned with the matching state. For this to be executed correctly, the `fetchai/erc1155:0.23.2` contract package needs to implement the `get_balance` method with the specified key word arguments. We can then send the raw message to the `fetchai/ledger:0.21.4` connection using the `fetchai/ledger_api:1.0.0` protocol. In this case, signing is not required. ## Developing your own @@ -180,6 +180,6 @@ class MyContract(Contract): tx = cls._try_estimate_gas(ledger_api, tx) return tx ``` -Above, we implement a method to create a transaction, in this case a transaction to create a batch of tokens. The method will be called by the framework, specifically the `fetchai/ledger:0.21.3` connection once it receives a message (see bullet point 2 above). The method first gets the latest transaction nonce of the `deployer_address`, then constructs the contract instance, then uses the instance to build the transaction and finally updates the gas on the transaction. +Above, we implement a method to create a transaction, in this case a transaction to create a batch of tokens. The method will be called by the framework, specifically the `fetchai/ledger:0.21.4` connection once it receives a message (see bullet point 2 above). The method first gets the latest transaction nonce of the `deployer_address`, then constructs the contract instance, then uses the instance to build the transaction and finally updates the gas on the transaction. -It helps to look at existing contract packages, like `fetchai/erc1155:0.23.2`, and skills using them, like `fetchai/erc1155_client:0.11.0` and `fetchai/erc1155_deploy:0.31.4`, for inspiration and guidance. +It helps to look at existing contract packages, like `fetchai/erc1155:0.23.2`, and skills using them, like `fetchai/erc1155_client:0.11.0` and `fetchai/erc1155_deploy:0.31.5`, for inspiration and guidance. diff --git a/docs/core-components-1.md b/docs/core-components-1.md index 4137105670..2ded1b513d 100644 --- a/docs/core-components-1.md +++ b/docs/core-components-1.md @@ -34,7 +34,7 @@ An `Envelope` is the core object * `Dialogues`, which define rules over `Message` sequences. -The framework provides one default `Protocol`, called `default` (current version `fetchai/default:1.1.5`). This `Protocol` provides a bare-bones implementation for an AEA `Protocol` which includes a `DefaultMessage` class and associated `DefaultSerializer` and `DefaultDialogue` classes. +The framework provides one default `Protocol`, called `default` (current version `fetchai/default:1.1.6`). This `Protocol` provides a bare-bones implementation for an AEA `Protocol` which includes a `DefaultMessage` class and associated `DefaultSerializer` and `DefaultDialogue` classes. Additional `Protocols`, for new types of interactions, can be added as packages. For more details on `Protocols` you can read the protocol guide. To learn how you can easily automate protocol definition, head to the guide for the protocol generator. diff --git a/docs/erc1155-skills.md b/docs/erc1155-skills.md index 7e7088f2b2..2ccb214906 100644 --- a/docs/erc1155-skills.md +++ b/docs/erc1155-skills.md @@ -25,7 +25,7 @@ The scope of this guide is demonstrating how you can deploy a smart contract and Fetch the AEA that will deploy the contract: ``` bash -aea fetch fetchai/erc1155_deployer:0.34.3 +aea fetch fetchai/erc1155_deployer:0.34.4 cd erc1155_deployer aea install aea build @@ -39,22 +39,22 @@ Create the AEA that will deploy the contract. ``` bash aea create erc1155_deployer cd erc1155_deployer -aea add connection fetchai/p2p_libp2p:0.27.3 -aea add connection fetchai/soef:0.27.4 -aea add connection fetchai/ledger:0.21.3 -aea add skill fetchai/erc1155_deploy:0.31.4 +aea add connection fetchai/p2p_libp2p:0.27.4 +aea add connection fetchai/soef:0.27.5 +aea add connection fetchai/ledger:0.21.4 +aea add skill fetchai/erc1155_deploy:0.31.5 aea config set --type dict agent.dependencies \ '{ "aea-ledger-fetchai": {"version": "<2.0.0,>=1.0.0"}, "aea-ledger-ethereum": {"version": "<2.0.0,>=1.0.0"}, "aea-ledger-cosmos": {"version": "<2.0.0,>=1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.27.3 +aea config set agent.default_connection fetchai/p2p_libp2p:0.27.4 aea config set --type dict agent.default_routing \ '{ - "fetchai/contract_api:1.1.5": "fetchai/ledger:0.21.3", - "fetchai/ledger_api:1.1.5": "fetchai/ledger:0.21.3", - "fetchai/oef_search:1.1.5": "fetchai/soef:0.27.4" + "fetchai/contract_api:1.1.6": "fetchai/ledger:0.21.4", + "fetchai/ledger_api:1.1.6": "fetchai/ledger:0.21.4", + "fetchai/oef_search:1.1.6": "fetchai/soef:0.27.5" }' aea config set --type list vendor.fetchai.connections.p2p_libp2p.cert_requests \ '[{"identifier": "acn", "ledger_id": "ethereum", "not_after": "2023-01-01", "not_before": "2022-01-01", "public_key": "fetchai", "save_path": ".certs/conn_cert.txt"}]' @@ -95,7 +95,7 @@ aea issue-certificates In another terminal, fetch the client AEA which will receive some tokens from the deployer. ``` bash -aea fetch fetchai/erc1155_client:0.34.3 +aea fetch fetchai/erc1155_client:0.34.4 cd erc1155_client aea install aea build @@ -109,22 +109,22 @@ Create the AEA that will get some tokens from the deployer. ``` bash aea create erc1155_client cd erc1155_client -aea add connection fetchai/p2p_libp2p:0.27.3 -aea add connection fetchai/soef:0.27.4 -aea add connection fetchai/ledger:0.21.3 -aea add skill fetchai/erc1155_client:0.29.4 +aea add connection fetchai/p2p_libp2p:0.27.4 +aea add connection fetchai/soef:0.27.5 +aea add connection fetchai/ledger:0.21.4 +aea add skill fetchai/erc1155_client:0.29.5 aea config set --type dict agent.dependencies \ '{ "aea-ledger-fetchai": {"version": "<2.0.0,>=1.0.0"}, "aea-ledger-ethereum": {"version": "<2.0.0,>=1.0.0"}, "aea-ledger-cosmos": {"version": "<2.0.0,>=1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.27.3 +aea config set agent.default_connection fetchai/p2p_libp2p:0.27.4 aea config set --type dict agent.default_routing \ '{ - "fetchai/contract_api:1.1.5": "fetchai/ledger:0.21.3", - "fetchai/ledger_api:1.1.5": "fetchai/ledger:0.21.3", - "fetchai/oef_search:1.1.5": "fetchai/soef:0.27.4" + "fetchai/contract_api:1.1.6": "fetchai/ledger:0.21.4", + "fetchai/ledger_api:1.1.6": "fetchai/ledger:0.21.4", + "fetchai/oef_search:1.1.6": "fetchai/soef:0.27.5" }' aea config set --type list vendor.fetchai.connections.p2p_libp2p.cert_requests \ '[{"identifier": "acn", "ledger_id": "ethereum", "not_after": "2023-01-01", "not_before": "2022-01-01", "public_key": "fetchai", "save_path": ".certs/conn_cert.txt"}]' @@ -199,7 +199,7 @@ aea run Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of this address. -Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.27.3 -u public_uri` to retrieve the address. The output will be something like `/dns4/127.0.0.1/tcp/9000/p2p/16Uiu2HAm2JPsUX1Su59YVDXJQizYkNSe8JCusqRpLeeTbvY76fE5`. +Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.27.4 -u public_uri` to retrieve the address. The output will be something like `/dns4/127.0.0.1/tcp/9000/p2p/16Uiu2HAm2JPsUX1Su59YVDXJQizYkNSe8JCusqRpLeeTbvY76fE5`. This is the entry peer address for the local agent communication network created by the deployer. diff --git a/docs/generic-skills-step-by-step.md b/docs/generic-skills-step-by-step.md index 862ceca346..0e2eea4fe6 100644 --- a/docs/generic-skills-step-by-step.md +++ b/docs/generic-skills-step-by-step.md @@ -11,16 +11,16 @@ Follow the Preliminaries and Preliminaries and =1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.27.3 +aea config set agent.default_connection fetchai/p2p_libp2p:0.27.4 aea config set --type dict agent.default_routing \ '{ - "fetchai/ledger_api:1.1.5": "fetchai/ledger:0.21.3", - "fetchai/oef_search:1.1.5": "fetchai/soef:0.27.4" + "fetchai/ledger_api:1.1.6": "fetchai/ledger:0.21.4", + "fetchai/oef_search:1.1.6": "fetchai/soef:0.27.5" }' aea install aea build @@ -96,7 +96,7 @@ aea build Then, in another terminal fetch the buyer AEA: ``` bash -aea fetch fetchai/generic_buyer:0.30.3 --alias my_buyer_aea +aea fetch fetchai/generic_buyer:0.30.4 --alias my_buyer_aea cd my_buyer_aea aea install aea build @@ -109,19 +109,19 @@ The following steps create the buyer from scratch: ``` bash aea create my_buyer_aea cd my_buyer_aea -aea add connection fetchai/p2p_libp2p:0.27.3 -aea add connection fetchai/soef:0.27.4 -aea add connection fetchai/ledger:0.21.3 -aea add skill fetchai/generic_buyer:0.27.4 +aea add connection fetchai/p2p_libp2p:0.27.4 +aea add connection fetchai/soef:0.27.5 +aea add connection fetchai/ledger:0.21.4 +aea add skill fetchai/generic_buyer:0.27.5 aea config set --type dict agent.dependencies \ '{ "aea-ledger-fetchai": {"version": "<2.0.0,>=1.0.0"} }' -aea config set agent.default_connection fetchai/p2p_libp2p:0.27.3 +aea config set agent.default_connection fetchai/p2p_libp2p:0.27.4 aea config set --type dict agent.default_routing \ '{ - "fetchai/ledger_api:1.1.5": "fetchai/ledger:0.21.3", - "fetchai/oef_search:1.1.5": "fetchai/soef:0.27.4" + "fetchai/ledger_api:1.1.6": "fetchai/ledger:0.21.4", + "fetchai/oef_search:1.1.6": "fetchai/soef:0.27.5" }' aea install aea build @@ -252,7 +252,7 @@ First, run the seller AEA: aea run ``` -Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of this address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.27.3 -u public_uri` to retrieve the address.) +Once you see a message of the form `To join its network use multiaddr 'SOME_ADDRESS'` take note of this address. (Alternatively, use `aea get-multiaddress fetchai -c -i fetchai/p2p_libp2p:0.27.4 -u public_uri` to retrieve the address.) This is the entry peer address for the local agent communication network created by the seller. Then, configure the buyer to connect to this same local ACN by running the following command in the buyer terminal, replacing `SOME_ADDRESS` with the value you noted above: diff --git a/docs/gym-skill.md b/docs/gym-skill.md index 573203cdfa..882ef0a4c5 100644 --- a/docs/gym-skill.md +++ b/docs/gym-skill.md @@ -32,7 +32,7 @@ pip install numpy gym First, fetch the gym AEA: ``` bash -aea fetch fetchai/gym_aea:0.26.3 --alias my_gym_aea +aea fetch fetchai/gym_aea:0.26.4 --alias my_gym_aea cd my_gym_aea aea install ``` @@ -49,12 +49,12 @@ cd my_gym_aea ### Add the gym skill ``` bash -aea add skill fetchai/gym:0.21.4 +aea add skill fetchai/gym:0.21.5 ``` ### Set gym connection as default ``` bash -aea config set agent.default_connection fetchai/gym:0.20.4 +aea config set agent.default_connection fetchai/gym:0.20.5 ``` ### Install the skill dependencies diff --git a/docs/http-connection-and-skill.md b/docs/http-connection-and-skill.md index 226744c5f5..cd3ed4f14f 100644 --- a/docs/http-connection-and-skill.md +++ b/docs/http-connection-and-skill.md @@ -8,7 +8,7 @@ The HTTP server connection allows you to run a server inside the connection itse ## HTTP Client -The `fetchai/simple_data_request:0.14.4` skill demonstrates a simple use case of the HTTP Client connection. +The `fetchai/simple_data_request:0.14.5` skill demonstrates a simple use case of the HTTP Client connection. The `HttpRequestBehaviour` in `behaviours.py` periodically sends HTTP envelops to the HTTP client connection. Its `act()` method, periodically called, simply calls `_generate_http_request` which contains the logic for enqueueing an HTTP request envelop. @@ -26,13 +26,13 @@ cd my_aea Add the http server connection package: ``` bash -aea add connection fetchai/http_server:0.23.4 +aea add connection fetchai/http_server:0.23.5 ``` Update the default connection: ``` bash -aea config set agent.default_connection fetchai/http_server:0.23.4 +aea config set agent.default_connection fetchai/http_server:0.23.5 ``` Modify the `api_spec_path`: @@ -317,7 +317,7 @@ models: Run the fingerprinter (note, you will have to replace the author name with your author handle): ``` bash -aea fingerprint skill fetchai/http_echo:0.21.4 +aea fingerprint skill fetchai/http_echo:0.21.5 ``` diff --git a/docs/language-agnostic-definition.md b/docs/language-agnostic-definition.md index 540f81bdf7..4ee4b6b428 100644 --- a/docs/language-agnostic-definition.md +++ b/docs/language-agnostic-definition.md @@ -71,7 +71,7 @@ message Envelope{
  • It MUST implement protocols according to their specification (see here for details). -
  • It SHOULD implement the fetchai/default:1.1.5 protocol which satisfies the following protobuf schema: +
  • It SHOULD implement the fetchai/default:1.1.6 protocol which satisfies the following protobuf schema: ``` proto syntax = "proto3"; @@ -121,7 +121,7 @@ message DefaultMessage{
  • It MUST have an identity in the form of, at a minimum, an address derived from a public key and its associated private key (where the elliptic curve must be of type SECP256k1).
  • -
  • It SHOULD implement handling of errors using the fetchai/default:1.1.5 protocol. The protobuf schema is given above. +
  • It SHOULD implement handling of errors using the fetchai/default:1.1.6 protocol. The protobuf schema is given above.
  • It MUST implement the following principles when handling messages: