Skip to content

Commit

Permalink
Adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DelevoXDG committed Jan 24, 2024
1 parent 6ec156f commit 08c872f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/src/test/kotlin/network/account/AccountTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,9 @@ class AccountTest {
entrypoint = "put",
calldata = listOf(Felt.fromHex("0x1D2C3B7A8"), Felt.fromHex("0x451")),
)
val simulationFlags = emptySet<SimulationFlagForEstimateFee>()
val estimateFeeRequest = account.estimateFeeV1(
listOf(call),
simulationFlags,
skipValidate = false,
)
val estimateFeeResponse = estimateFeeRequest.send().first().overallFee
assertTrue(estimateFeeResponse.value > Felt.ONE.value)
Expand Down
3 changes: 1 addition & 2 deletions lib/src/test/kotlin/starknet/account/StandardAccountTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,9 @@ class StandardAccountTest {
calldata = listOf(Felt(10)),
)

val simulationFlags = emptySet<SimulationFlagForEstimateFee>()
val request = account.estimateFeeV3(
listOf(call),
simulationFlags,
skipValidate = false,
)
val response = request.send()
val feeEstimate = response.first()
Expand Down

0 comments on commit 08c872f

Please sign in to comment.