Skip to content

Commit

Permalink
changed segmentThreshold value leading to extra indexer rollback test…
Browse files Browse the repository at this point in the history
… failure
  • Loading branch information
kushti committed Nov 5, 2024
1 parent bc89d83 commit 31a26a9
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 @@ -330,7 +330,7 @@ trait ExtraIndexerBase extends Actor with Stash with ScorexLogging {
* Remove all indexes after a given height and revert address balances.
*
* @param state - current state of indexer
* @param height - starting height
* @param height - forking height (height of last common block)
*/
private def removeAfter(state: IndexerState, height: Int): IndexerState = {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ abstract class Segment[T <: Segment[_] : ClassTag](val parentId: ModifierId,
* @param offset - number of items to skip from the start
* @param limit - max number of item to be returned
* @param segmentCount - number of segments of the parent address
* @param array - the indexes already in memory
* @param arr - the indexes already in memory
* @param idOf - function to calculate segment ids, either [[txSegmentId]] or [[boxSegmentId]]
* @param arraySelector - function to select index array from retreived segments
* @param retrieve - function to retrieve indexes from database
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ExtraIndexerSpecification extends ErgoCorePropertyTest {

val HEIGHT: Int = 50
val BRANCHPOINT: Int = HEIGHT / 2
implicit val segmentThreshold: Int = 8
implicit val segmentThreshold: Int = 16

val system: ActorSystem = ActorSystem.create("indexer-test")
val indexer: ActorRef = system.actorOf(Props.create(classOf[ExtraIndexerTestActor], this))
Expand Down

0 comments on commit 31a26a9

Please sign in to comment.