Skip to content

Commit

Permalink
Merge pull request #2057 from valory-xyz/chore/remove-hello-world
Browse files Browse the repository at this point in the history
Remove hello world service
  • Loading branch information
angrybayblade authored Oct 11, 2023
2 parents 7f048c4 + 64cf7a8 commit 3e9b1fe
Show file tree
Hide file tree
Showing 77 changed files with 217 additions and 4,266 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ jobs:
tox -e check-abciapp-specs
tox -e check-handlers
tox -e check-dialogues
tox -e analyse-services
scan:
name: gitleaks
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ fix-abci-app-specs:
autonomy analyse fsm-specs --update --app-class AgentRegistrationAbciApp --package packages/valory/skills/registration_abci || (echo "Failed to check registration_abci consistency" && exit 1)
autonomy analyse fsm-specs --update --app-class ResetPauseAbciApp --package packages/valory/skills/reset_pause_abci || (echo "Failed to check reset_pause_abci consistency" && exit 1)
autonomy analyse fsm-specs --update --app-class RegisterResetAbciApp --package packages/valory/skills/register_reset_abci || (echo "Failed to check register_reset_abci consistency" && exit 1)
autonomy analyse fsm-specs --update --app-class HelloWorldAbciApp --package packages/valory/skills/hello_world_abci || (echo "Failed to check hello_world_abci consistency" && exit 1)
autonomy analyse fsm-specs --update --app-class TransactionSubmissionAbciApp --package packages/valory/skills/transaction_settlement_abci || (echo "Failed to check transaction_settlement_abci consistency" && exit 1)
autonomy analyse fsm-specs --update --app-class OffendAbciApp --package packages/valory/skills/offend_abci || (echo "Failed to check offend_abci consistency" && exit 1)
echo "Successfully validated abcis!"
Expand Down
12 changes: 6 additions & 6 deletions docs/advanced_reference/commands/autonomy_analyse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This command verifies that the [`AbciApp` class](../../key_concepts/abci_app_cla

??? example

The docstring corresponding to the [Hello World agent service](../../demos/hello_world_demo.md) is
The docstring corresponding to the [Hello World agent service](https://docs.autonolas.network/demos/hello-world/) is


```python
Expand All @@ -23,20 +23,20 @@ This command verifies that the [`AbciApp` class](../../key_concepts/abci_app_cla
Initial states: {RegistrationRound}

Transition states:
0. RegistrationRound
1. RegistrationRound
- done: 1.
1. CollectRandomnessRound
2. CollectRandomnessRound
- done: 2.
- no majority: 1.
- round timeout: 1.
2. SelectKeeperRound
3. SelectKeeperRound
- done: 3.
- no majority: 0.
- round timeout: 0.
3. PrintMessageRound
4. PrintMessageRound
- done: 4.
- round timeout: 0.
4. ResetAndPauseRound
5. ResetAndPauseRound
- done: 1.
- no majority: 0.
- reset timeout: 0.
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced_reference/commands/autonomy_fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ autonomy --registry-path=./packages fetch valory/hello_world:0.1.0 --service --l

Fetch the agent service `hello_world` from a remote registry ([IPFS](https://ipfs.io)):
```bash
autonomy fetch valory/hello_world:0.1.0:bafybeieoqhbwqmg5oiqgkxf6dlizncjvaermwtun4aijqcbyc6ulfl7o4q --service --remote
autonomy fetch valory/hello_world:0.1.0:bafybeicdcrhpekqbwzeam2fi7npnl6qfwejgo73ftwoy4tofwbrsl5ene4 --service --remote
```
File renamed without changes.
6 changes: 2 additions & 4 deletions docs/configure_service/analise_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ The `valory/abstract_round_abci` skill packages come with a number of testing to
Fetch the `hello_world` agent, which comes with the `hello_world_abci` {{fsm_app}} skill within:

```bash
autonomy fetch valory/hello_world:0.1.0:bafybeibwluqq2yywd3stax2kuiqnv4zxxu3rprfkbn7f7e6sf2gelpkdqa
mv hello_world hello_world_agent
autonomy fetch valory/hello_world:0.1.0:bafybeiakoj6jpj5gqyjk5qz2ibgvplgd4azqwxmi56aei7xpu5z47np3e4 --alias hello_world_agent
```

Look at the unit tests for the `hello_world_abci` skill, located in the folder
Expand All @@ -77,8 +76,7 @@ The same plugin also provides tools for writing end-to-end tests for agents. The
Fetch the `hello_world` agent:

```bash
autonomy fetch valory/hello_world:0.1.0:bafybeibwluqq2yywd3stax2kuiqnv4zxxu3rprfkbn7f7e6sf2gelpkdqa
mv hello_world hello_world_agent
autonomy fetch valory/hello_world:0.1.0:bafybeiakoj6jpj5gqyjk5qz2ibgvplgd4azqwxmi56aei7xpu5z47np3e4 --alias hello_world_agent
```

Look at the end-to-end tests, located in the folder
Expand Down
6 changes: 3 additions & 3 deletions docs/configure_service/service_configuration_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The service configuration file `service.yaml` is typically composed of service-s

???+ example

Here is an example of the service configuration file of the [Hello World service](../demos/hello_world_demo.md):
Here is an example of the service configuration file of the [Hello World service](https://docs.autonolas.network/demos/hello-world/):

```yaml title="service.yaml"
name: hello_world
Expand Down Expand Up @@ -96,7 +96,7 @@ The {{open_aea}} framework already has the notion of [component overrides](https
Similarly, the {{open_autonomy}} framework has the notion of service-level overrides. You can define them in the service configuration file `service.yaml`, which will be used to generate the deployment environment for the agents.

Service-level overrides follow the mandatory service-specific attributes, separated by `---`.
You can, for example, override the default `HELLO_WORLD!` string that each agent prints on their console in the [Hello World service](../demos/hello_world_demo.md), which is originally defined in the `hello_world_abci` skill.
You can, for example, override the default `HELLO_WORLD!` string that each agent prints on their console in the [Hello World service](https://docs.autonolas.network/demos/hello-world/), which is originally defined in the `hello_world_abci` skill.

```yaml title="service.yaml"
name: hello_world
Expand Down Expand Up @@ -163,7 +163,7 @@ type: skill

???+ example

If you wish that each agent outputs a different message in the [Hello World service](../demos/hello_world_demo.md) with four agents, you can define the following multiple override in the `service.yaml` file:
If you wish that each agent outputs a different message in the [Hello World service](https://docs.autonolas.network/demos/hello-world/) with four agents, you can define the following multiple override in the `service.yaml` file:

```yaml title="service.yaml"
# (...)
Expand Down
3 changes: 0 additions & 3 deletions docs/delegate_call.md

This file was deleted.

Loading

0 comments on commit 3e9b1fe

Please sign in to comment.