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

fix(router): fix recursion bug in straight through algorithm #1080

Merged
merged 1 commit into from
May 9, 2023

Conversation

vspecky
Copy link
Member

@vspecky vspecky commented May 8, 2023

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Usage of an inner enum type for serialization and deserialization of the straight through routing algorithm in the payments request.

Additional Changes

None

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

This PR fixes an infinite recursion bug in deserialization of the straight through routing algorithm in the payments request.

How did you test it?

Local testing, test recursion edge case locally.

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed submitted code
  • I added unit tests for my changes where possible
  • I added a CHANGELOG entry if applicable

@vspecky vspecky added A-core Area: Core flows C-bug Category: Bug S-waiting-on-review Status: This PR has been implemented and needs to be reviewed R-waiting-on-L1 Review: Waiting on L1 reviewer labels May 8, 2023
@vspecky vspecky added this to the May 2023 Release milestone May 8, 2023
@vspecky vspecky self-assigned this May 8, 2023
@vspecky vspecky requested a review from ashokkjag as a code owner May 8, 2023 20:57
@ashokkjag ashokkjag added this pull request to the merge queue May 9, 2023
@ashokkjag ashokkjag removed this pull request from the merge queue due to a manual request May 9, 2023
@ashokkjag ashokkjag added this pull request to the merge queue May 9, 2023
Merged via the queue into main with commit aa610c4 May 9, 2023
@SanchithHegde SanchithHegde removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed R-waiting-on-L1 Review: Waiting on L1 reviewer labels May 9, 2023
@SanchithHegde SanchithHegde deleted the fix-recursion-bug-in-straight-through-algorithm branch May 9, 2023 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-core Area: Core flows C-bug Category: Bug
Projects
No open projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

4 participants