Skip to content

Commit

Permalink
chore: fix register drep test as document
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-DucPhung committed May 8, 2024
1 parent 5804efd commit 49fd713
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<version.snakeyaml>2.0</version.snakeyaml>
<version.mapstruct>1.5.3.Final</version.mapstruct>
<version.lombok-mapstruct-binding>0.2.0</version.lombok-mapstruct-binding>
<version.explorer-common>0.9.0-PR202</version.explorer-common>
<version.explorer-common>0.9.0-PR212</version.explorer-common>
<sonar.coverage.jacoco.xmlReportPaths>../cardano-explorer-api/target/site/jacoco-aggregate/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
<sonar.coverage.exclusions>**/entity/*, **/validation/*</sonar.coverage.exclusions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ void registerDrep(Account drep, Anchor anchor) {
Result<String> result =
quickTxBuilder
.compose(drepRegTx)
.withSigner(SignerProviders.drepKeySignerFrom(drep))
.withSigner(SignerProviders.signerFrom(drep))
.withSigner(SignerProviders.signerFrom(drep.drepHdKeyPair()))
.complete();

System.out.println("DRepId : " + drep.drepId());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ void testGetGovernanceActions_withVoterIsPool() {
.voteType(Vote.ANY)
.actionStatus(GovActionStatus.ANY)
.actionType(GovActionType.INFO_ACTION)
.fromDate(Date.from(Instant.now().minus(5, ChronoUnit.DAYS)))
.toDate(Date.from(Instant.now()))
.build();
Long slot = 0L;
when(poolHashRepository.getSlotNoWhenFirstDelegationByPoolHash(poolHash)).thenReturn(slot);
Expand Down

0 comments on commit 49fd713

Please sign in to comment.