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: Subscription Service for Auto-Swap #8

Merged

Conversation

Gerson2102
Copy link
Contributor

@Gerson2102 Gerson2102 commented Nov 27, 2024

Issue:

Closes #2

Changes

Adding the subscription file handling all the logic related to the requirements.
Adding new types
Adding new route

Notes

I tested locally and is working. But I'm not 100% sure if this is what you guys want. Is my first time doing something like this.

@Abeeujah
Copy link
Collaborator

Hi @Gerson2102 Great job so far, Could you add tests, and also run cargo fmt before you push, this should fix your CI build issue.

@Gerson2102
Copy link
Contributor Author

Gerson2102 commented Nov 28, 2024

Aight! @Abeeujah currently working on the tests.

@Abeeujah
Copy link
Collaborator

Hi @Gerson2102 can you please fix CI issue?

@Gerson2102
Copy link
Contributor Author

@Abeeujah can you run the the CI again to see what happens now please?

@sprtd
Copy link
Contributor

sprtd commented Nov 29, 2024

@Gerson2102 Kindly run cargo fmt -- --check locally; then fix the fmt error

src/http/subscription.rs Show resolved Hide resolved
src/http/subscription.rs Show resolved Hide resolved
tests/api/subscription.rs Show resolved Hide resolved
@Gerson2102
Copy link
Contributor Author

I dont know how to make the tests working from the first time that we run cargo test. @Abeeujah

@Abeeujah Abeeujah merged commit 030fb81 into BlockheaderWeb3-Community:main Nov 29, 2024
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.

Implement Subscription Service for Auto-Swap
3 participants