Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vsuharnikov committed Nov 19, 2024
1 parent af04887 commit aeb09aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ class AlternativeChainTestSuite extends BaseDockerTestSuite {
elRewardAddress = miner21RewardAddress
)
)
waves1.api.waitForHeight(heightBeforeJoin + 1) // "designatedMiner" calculates correctly

step(s"Wait miner 2 (${miner21Account.toAddress}) epoch and issue a block confirmation")
waves1.api.waitForHeight(heightBeforeJoin + 1)
broadcastElBlockConfirmation(miner21Account)

step(s"Wait miner 1 (${miner11Account.toAddress}) epoch")
Expand All @@ -34,7 +34,7 @@ class AlternativeChainTestSuite extends BaseDockerTestSuite {
}

@tailrec private def broadcastElBlockConfirmation(minerAccount: KeyPair, maxAttempts: Int = 5)(implicit
loggingOptions: LoggingOptions = LoggingOptions(logCall = false, logRequest = false)
loggingOptions: LoggingOptions = LoggingOptions(logRequest = false)
): Unit = {
if (maxAttempts == 0) fail("Can't broadcast an EL-block confirmation: all attempts are out")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SyncingTestSuite extends BaseDockerTestSuite {
val txn1Result = sendTxn(0)
waitForTxn(txn1Result)

val height1 = waves1.api.height
val height1 = waves1.api.height()

step("Wait for next epoch")
waves1.api.waitForHeight(height1 + 1)
Expand Down

0 comments on commit aeb09aa

Please sign in to comment.