Skip to content

Commit

Permalink
correct signing key. active at genesis, not (missing) assemble
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Apr 15, 2024
1 parent 39fabd1 commit 6e1e5be
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion choam/src/main/java/com/salesforce/apollo/choam/CHOAM.java
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public boolean active() {
final var c = current.get();
HashedCertifiedBlock h = head.get();
return (c != null && h != null && transitions.fsm().getCurrentState() == Mercantile.OPERATIONAL)
&& c instanceof Administration && h.height().compareTo(ULong.valueOf(1)) >= 0;
&& c instanceof Administration && h.height().compareTo(ULong.valueOf(0)) >= 0;
}

public DelegatedContext<Member> context() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ public void checkAssembly() {
log.debug("Final view assembly election on: {}", params().member().getId());
if (assembled.get()) {
assembled();
controller.completeIt();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private Builder params() {
.setMaxBatchCount(3000)
.build())
.setCheckpointBlockDelta(200);
params.getProducer().ethereal().setNumberOfEpochs(4);
params.getProducer().ethereal().setEpochLength(4).setNumberOfEpochs(4);
return params;
}
}
2 changes: 1 addition & 1 deletion model/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<appender-ref ref="STDOUT"/>
</logger>

<logger name="com.salesforce.apollo.choam.CHOAM" level="warn" additivity="false">
<logger name="com.salesforce.apollo.choam.CHOAM" level="info" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>

Expand Down

0 comments on commit 6e1e5be

Please sign in to comment.