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

Add async txsub endpoint in Horizon #989

Merged
merged 11 commits into from
Jun 26, 2024

Conversation

aditya1702
Copy link
Contributor

We recently added a new async transaction submission in Horizon: stellar/go#5188

This PR adds support for it in the JS SDK along with the relevant unittests.

@aditya1702 aditya1702 requested a review from Shaptic June 11, 2024 15:49
Copy link
Contributor

@Shaptic Shaptic left a comment

Choose a reason for hiding this comment

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

Looking great! Did a first pass review.

src/horizon/server.ts Outdated Show resolved Hide resolved
src/horizon/server.ts Show resolved Hide resolved
src/horizon/server.ts Outdated Show resolved Hide resolved
test/unit/server_async_transaction.test.js Outdated Show resolved Hide resolved
test/unit/server_async_transaction.test.js Outdated Show resolved Hide resolved
test/unit/server_async_transaction.test.js Outdated Show resolved Hide resolved
test/unit/server_async_transaction.test.js Outdated Show resolved Hide resolved
test/unit/server_async_transaction.test.js Outdated Show resolved Hide resolved
@aditya1702 aditya1702 requested a review from Shaptic June 24, 2024 19:09
Copy link
Contributor

@Shaptic Shaptic left a comment

Choose a reason for hiding this comment

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

Looks like there's a conflict in server.ts after the linting PR merge. I recommend just copying your submitAsyncTransaction implementation somewhere, checkout out the server.ts from master, then pasting your endpoint back in and running the linter on that new version. Otherwise LGTM! Great work! 👍

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