Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/acn #237

Merged
merged 11 commits into from
Nov 29, 2024
Merged

Feat/acn #237

merged 11 commits into from
Nov 29, 2024

Conversation

0xArdi
Copy link
Collaborator

@0xArdi 0xArdi commented Nov 21, 2024

Proposed changes

This PR adds support for ACN delivers on mech_interact_abci.

Types of changes

What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

  • Non-breaking fix (non-breaking change which fixes an issue)
  • Breaking fix (breaking change which fixes an issue)
  • Non-breaking feature (non-breaking change which adds functionality)
  • Breaking feature (breaking change which adds functionality)
  • Refactor (non-breaking change which changes implementation)
  • Messy (mixture of the above - requires explanation!)

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING doc
  • I am making a pull request against the main branch (left side). Also you should start your branch off our main.
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have locally run services that could be impacted and they do not present failures derived from my changes

# Conflicts:
#	docs/index.md
#	packages/packages.json
#	packages/valory/agents/impact_evaluator/aea-config.yaml
#	packages/valory/services/impact_evaluator/service.yaml
#	packages/valory/services/impact_evaluator_local/service.yaml
#	packages/valory/skills/dynamic_nft_abci/skill.yaml
#	packages/valory/skills/generic_scoring_abci/skill.yaml
#	packages/valory/skills/impact_evaluator_abci/skill.yaml
#	packages/valory/skills/olas_week_abci/skill.yaml
#	packages/valory/skills/twitter_scoring_abci/skill.yaml
Comment on lines 154 to 158

def _check_required_attributes(self) -> None:
"""Check that required attributes are set."""
# skip the checks for this round
...
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likely related to a breaking change

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYM?

@@ -497,7 +497,6 @@ def async_act(self) -> Generator:
self.tx_hex,
self.price,
self.params.mech_chain_id,
self.synchronized_data.safe_contract_address,
Copy link
Collaborator

@dvilelaf dvilelaf Nov 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break the service (contribute uses multiple safes on different chains and therefore needs to update the one in synced_data before each transaction). Why has it been removed?

# Conflicts:
#	docs/index.md
#	packages/packages.json
#	packages/valory/agents/impact_evaluator/aea-config.yaml
#	packages/valory/services/impact_evaluator/service.yaml
#	packages/valory/services/impact_evaluator_local/service.yaml
#	packages/valory/skills/impact_evaluator_abci/skill.yaml
@@ -73,6 +73,7 @@ class StreamReadRound(CollectSameUntilThresholdRound):

payload_class = StreamReadPayload
synchronized_data_class = SynchronizedData
required_class_attributes = ()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this? Some new requireme from newer versions of Open Autonomy?

@dvilelaf dvilelaf merged commit 4d03010 into main Nov 29, 2024
19 checks passed
@dvilelaf dvilelaf deleted the feat/acn branch November 29, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants