From d926e966d5c6c8b5bee36a2629a888e757b4f8c1 Mon Sep 17 00:00:00 2001 From: adrianoVal <90184519+adrianoVal@users.noreply.github.com> Date: Fri, 15 Mar 2024 13:13:26 +0100 Subject: [PATCH] Update README.md Co-authored-by: jmoreira-valory <96571377+jmoreira-valory@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ac0ac1a6..cc152139 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ To perform mech requests from your service, use the [mech_interact_abci skill](h - Import [MechInteractParams and MechResponseSpecs in your `models.py` file](https://github.com/valory-xyz/IEKit/blob/main/packages/valory/skills/impact_evaluator_abci/models.py#L88). You will also need to copy[ some dataclasses to your rounds.py](https://github.com/valory-xyz/IEKit/blob/main/packages/valory/skills/twitter_scoring_abci/rounds.py#L66-L97). -- Add mech_requests and mech_responses to your skills' SynchonizedData class ([see here](https://github.com/valory-xyz/IEKit/blob/main/packages/valory/skills/twitter_scoring_abci/rounds.py#L181-193)) +- Add mech_requests and mech_responses to your skills' `SynchonizedData` class ([see here](https://github.com/valory-xyz/IEKit/blob/main/packages/valory/skills/twitter_scoring_abci/rounds.py#L181-193)) - To send a request, [prepare the request metadata](https://github.com/valory-xyz/IEKit/blob/main/packages/valory/skills/twitter_scoring_abci/behaviours.py#L857), write it to [synchronized_data.mech_requests](https://github.com/valory-xyz/IEKit/blob/main/packages/valory/skills/twitter_scoring_abci/rounds.py#L535) and [transition into mech_interact](https://github.com/valory-xyz/IEKit/blob/main/packages/valory/skills/twitter_scoring_abci/rounds.py#L736).