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

[ANCHOR-454][Easy] Fix copy paste bug in SEP24 #1267

Merged
merged 4 commits into from
Feb 2, 2024

Conversation

JiahuiWho
Copy link
Contributor

@JiahuiWho JiahuiWho commented Feb 1, 2024

Description

Fix the copy paste bug in Sep24Service and Sep24ServiceTest

Context

In the Sep24Service.deposit(...) method, we’re asserting for minAmount and maxAmount from the withdrawal config instead of the deposit config

Testing

  • ./gradlew test
  • This bug slipped through because majority of the parameter in our profile are set to the same. Having a variety of test scenarios helps us identify bugs in different conditions

@JiahuiWho JiahuiWho changed the title [ANCHOR-454] Fix copy paste bug in SEP24 deposits() [ANCHOR-454][Easy] Fix copy paste bug in SEP24 deposits() Feb 1, 2024
@JiahuiWho JiahuiWho changed the title [ANCHOR-454][Easy] Fix copy paste bug in SEP24 deposits() [ANCHOR-454][Easy] Fix copy paste bug in SEP24 Feb 1, 2024
@JiahuiWho JiahuiWho marked this pull request as ready for review February 2, 2024 00:29
@JiahuiWho JiahuiWho merged commit c0e4fba into stellar:develop Feb 2, 2024
7 checks passed
@JiahuiWho JiahuiWho deleted the anchor-454 branch February 2, 2024 19: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.

None yet

2 participants