Skip to content

Commit

Permalink
bumped time (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
moo-onthelawn authored May 1, 2024
1 parent 815d909 commit ff5deb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import exchange.dydx.abacus.utils.safeSet
import kotlin.math.abs

internal object TriggerOrdersConstants {
const val TRIGGER_ORDER_DEFAULT_DURATION_DAYS = 28.0
const val TRIGGER_ORDER_DEFAULT_DURATION_DAYS = 90.0
}

@Suppress("UNCHECKED_CAST")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class V4TransactionTests : NetworkTests() {
fun validateLimitOrderDefaults(payload: HumanReadablePlaceOrderPayload) {
assertEquals(payload.execution, "DEFAULT")
assertEquals(payload.timeInForce, null)
assertEquals(payload.goodTilTimeInSeconds, 2419200)
assertEquals(payload.goodTilTimeInSeconds, 7776000)
assertEquals(payload.reduceOnly, true)
assertEquals(payload.postOnly, false)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class V4TransactionTests : NetworkTests() {
fun validateLimitOrderDefaults(payload: HumanReadablePlaceOrderPayload) {
assertEquals(payload.execution, "DEFAULT")
assertEquals(payload.timeInForce, null)
assertEquals(payload.goodTilTimeInSeconds, 2419200)
assertEquals(payload.goodTilTimeInSeconds, 7776000)
assertEquals(payload.reduceOnly, true)
assertEquals(payload.postOnly, false)
}
Expand Down

0 comments on commit ff5deb1

Please sign in to comment.