-
Notifications
You must be signed in to change notification settings - Fork 33
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-686] Add user_action_required_by
#1368
Conversation
user_action_required_by
Code Coverage
|
core/src/test/kotlin/org/stellar/anchor/sep24/Sep24ServiceTest.kt
Outdated
Show resolved
Hide resolved
core/src/test/kotlin/org/stellar/anchor/sep24/Sep24ServiceTest.kt
Outdated
Show resolved
Hide resolved
every { sep24Config.initialUserDeadlineSeconds } returns deadline | ||
sep24Service.withdraw(createTestSep10JwtWithMemo(), createTestTransactionRequest()) | ||
val dbDeadline = slotTxn.captured.userActionRequiredBy.epochSecond | ||
val expectedDeadline = Instant.now().plusSeconds(deadline).epochSecond |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really should be injecting a Clock everywhere 😢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created a task for that
https://stellarorg.atlassian.net/browse/ANCHOR-705
Description
user_action_required_by
to SEP-6/24/31 transactions and related DB entries.user_action_required_by
fieldContext
Implements stellar/stellar-protocol#1484
Testing
./gradlew test
Documentation
https://stellarorg.atlassian.net/browse/ANCHOR-688
https://stellarorg.atlassian.net/browse/ANCHOR-704
Known limitations
N/A