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 EffectResponse to parse single effect #36

Merged
merged 3 commits into from
Jun 9, 2022
Merged

Conversation

RohitK89
Copy link
Contributor

@RohitK89 RohitK89 commented Jun 9, 2022

Description

I've found this to be necessary to parse individual effects for an operation/ledger, as in some cases, the EffectsResponse parser breaks when a single effect fails validation.

I've basically modeled this exactly on the OperationResponse and have added tests for all supported Effects classes.

Testing

Ran pytest suite locally with full success.

@RohitK89 RohitK89 requested a review from overcat June 9, 2022 15:16
@overcat overcat merged commit d992fa8 into StellarCN:main Jun 9, 2022
@overcat
Copy link
Member

overcat commented Jun 9, 2022

Thanks @RohitK89! I will release it ASAP.

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.

None yet

2 participants