Integrate Owner Ethereum Address Configuration into Hello World ABCI #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This pull request introduces a new configuration parameter for the Hello World ABCI service, aiming to enhance traceability by including the owner's Ethereum address in output messages. This feature allows better monitoring and identification of operations across different deployment environments.
Changes in Hello World ABCI
Added Owner Address Parameter:
owner
in theHelloWorldParams
class inmodels.py
.service.yaml
,aea-config.yaml
, andskill.yaml
to support dynamic setup via environment variables or direct configuration.Enhanced Behaviour:
PrintMessageBehaviour
inbehaviours.py
to include the owner's Ethereum address in the "Hello World" message.File Changes:
service.yaml
:HELLO_WORLD_OWNER_1
,HELLO_WORLD_OWNER_2
, etc.) for agent-specific owner addresses.aea-config.yaml
:skill.yaml
:owner
address parameter under theparams
section.behaviours.py
:owner
address from the shared state and included it in the output message.models.py
:owner
address parameter to theHelloWorldParams
class.Technical Details:
owner: str
address parameter inHelloWorldParams
.Testing:
How to Test:
service.yaml
,aea-config.yaml
, andskill.yaml
: