From c79af80b0e9c307623fa9d5c1090142d01e1c748 Mon Sep 17 00:00:00 2001 From: Carlton N Hanna Date: Wed, 13 Nov 2024 08:49:20 -0700 Subject: [PATCH] wire in nav service --- .../explorer/service/async/BlockAndTxProcessor.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/service/src/main/kotlin/io/provenance/explorer/service/async/BlockAndTxProcessor.kt b/service/src/main/kotlin/io/provenance/explorer/service/async/BlockAndTxProcessor.kt index f31ff861..165cd527 100644 --- a/service/src/main/kotlin/io/provenance/explorer/service/async/BlockAndTxProcessor.kt +++ b/service/src/main/kotlin/io/provenance/explorer/service/async/BlockAndTxProcessor.kt @@ -112,6 +112,7 @@ import io.provenance.explorer.service.BlockService import io.provenance.explorer.service.GovService import io.provenance.explorer.service.GroupService import io.provenance.explorer.service.IbcService +import io.provenance.explorer.service.NavService import io.provenance.explorer.service.NftService import io.provenance.explorer.service.SmartContractService import io.provenance.explorer.service.ValidatorService @@ -137,7 +138,9 @@ class BlockAndTxProcessor( private val smContractService: SmartContractService, private val props: ExplorerProperties, private val msgFeeClient: MsgFeeGrpcClient, - private val groupService: GroupService + private val groupService: GroupService, + private val navService: NavService + ) { protected val logger = logger(BlockAndTxProcessor::class) @@ -298,6 +301,7 @@ class BlockAndTxProcessor( saveSmartContractData(res, txInfo, txUpdate) saveNameData(res, txInfo) groupService.saveGroups(res, txInfo, txUpdate) + navService.saveNavs(res, txInfo, txUpdate) saveSignaturesTx(res, txInfo, txUpdate) return TxUpdatedItems(addrs, markers, txUpdate)