Skip to content

Conversation

@Gohlub
Copy link
Contributor

@Gohlub Gohlub commented Sep 3, 2025

Pretty much followed the same pattern from the codebase. I haven't interfaced with the module a lot so I don't have intuition, but a question is how do we deserialize the message body? Do we restrict what can be put in the function signature of the eth handler (similar to WS handler)?

Copy link
Member

@nick1udwig nick1udwig left a comment

Choose a reason for hiding this comment

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

Please address comments, then ready for merge. Nice work ⚡

println!("ETH subscription error: id={}, error={}",
eth_sub_error.id, eth_sub_error.error);
"Subscription error handled".to_string()
}
Copy link
Member

Choose a reason for hiding this comment

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

show the conventional resubscribe logic here

// Handle error asynchronously
self.log_eth_error(&eth_sub_error).await;
"Error logged".to_string()
}
Copy link
Member

Choose a reason for hiding this comment

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

ditto: show resub

@Gohlub Gohlub merged commit 00fe0f1 into develop Sep 4, 2025
@Gohlub Gohlub deleted the feat/eth-handler branch September 4, 2025 21:42
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.

3 participants