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

Introduce websocket protocol #60

Merged
merged 15 commits into from
Nov 16, 2023
Merged

Introduce websocket protocol #60

merged 15 commits into from
Nov 16, 2023

Conversation

angrybayblade
Copy link
Contributor

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

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

The header is missing.

Copy link
Collaborator

Choose a reason for hiding this comment

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

The recv part confused me. Shouldn't there be a way to check for data only with the connection id?

Update contract subscription skill to use new connection and websocket client skill
Introduce websocket subscription skill and update the websocket client connection to use subscription model
@DavidMinarsch DavidMinarsch changed the base branch from fix/ws-connection to main June 17, 2023 09:19

async def subscribe(self, url: str) -> "WebsocketSubcription":
"""Subscribe to websocket."""
# TODO: make these configurable
Copy link
Collaborator

Choose a reason for hiding this comment

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

you are addressing this in a future version I assume?

@8ball030
Copy link
Collaborator

This looks cool

# Conflicts:
#	packages/packages.json
#	packages/valory/agents/mech/aea-config.yaml
#	packages/valory/connections/websocket_client/connection.py
#	packages/valory/connections/websocket_client/connection.yaml
#	packages/valory/contracts/agent_mech/contract.py
#	packages/valory/skills/contract_subscription/dialogues.py
#	packages/valory/skills/contract_subscription/handlers.py
#	packages/valory/skills/contract_subscription/skill.yaml
#	packages/valory/skills/mech_abci/skill.yaml
#	packages/valory/skills/reset_pause_abci/skill.yaml
@0xArdi 0xArdi merged commit 0569bc8 into main Nov 16, 2023
6 checks passed
@0xArdi 0xArdi deleted the feat/ws-protocol branch November 16, 2023 08: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.

4 participants