Skip to content

Commit

Permalink
chore: add logs for post anchoring steps
Browse files Browse the repository at this point in the history
  • Loading branch information
smrz2001 committed Apr 19, 2024
1 parent d370fd1 commit c458e46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/anchor-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ export class AnchorService {
logger.debug('Creating anchor commits')
const anchors = await this._createAnchorCommits(ipfsProofCid, merkleTree)

logger.debug('Importing Merkle CAR to IPFS')
try {
await this.ipfsService.importCAR(merkleTree.car)
} catch (e) {
Expand All @@ -327,6 +328,7 @@ export class AnchorService {
throw e
}

logger.debug('Storing Merkle CAR file')
try {
await this.merkleCarService.storeCarFile(ipfsProofCid, merkleTree.car)
} catch (e) {
Expand Down

0 comments on commit c458e46

Please sign in to comment.