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

Encodes the correct field name in the RevokeLiquidityPoolSponsorship type #522

Merged
merged 3 commits into from
Apr 11, 2022

Conversation

Shaptic
Copy link
Contributor

@Shaptic Shaptic commented Apr 6, 2022

Closes #502.

@Shaptic Shaptic requested a review from a team April 11, 2022 18:39
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

Looks fine, no test though?

@@ -747,7 +747,7 @@ export namespace Operation {
): xdr.Operation<RevokeClaimableBalanceSponsorship>;

interface RevokeLiquidityPoolSponsorship extends BaseOperation<OperationType.RevokeSponsorship> {
balanceId: string;
liquidityPoolId: string;
Copy link
Member

Choose a reason for hiding this comment

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

No test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeahh.. unfortunately the entire set of operations doesn't have tests. This is a one-off fix but I have a long list of how we can get better TypeScript testing in this library (and better API testing in general...). Unfortunately, it's a behemoth of a task.

@Shaptic Shaptic merged commit cbfa1c0 into master Apr 11, 2022
@Shaptic Shaptic deleted the fix-field-name branch April 11, 2022 18:44
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.

RevokeLiquidityPoolSponsorship interface returns balanceId instead of liquidityPoolId
3 participants