diff --git a/service/src/main/kotlin/io/provenance/explorer/domain/entities/Transactions.kt b/service/src/main/kotlin/io/provenance/explorer/domain/entities/Transactions.kt index fa509e4c..b3bf4986 100644 --- a/service/src/main/kotlin/io/provenance/explorer/domain/entities/Transactions.kt +++ b/service/src/main/kotlin/io/provenance/explorer/domain/entities/Transactions.kt @@ -6,6 +6,7 @@ import cosmos.tx.v1beta1.ServiceOuterClass import io.provenance.explorer.OBJECT_MAPPER import io.provenance.explorer.VANILLA_MAPPER import io.provenance.explorer.config.ExplorerProperties +import io.provenance.explorer.domain.core.logger import io.provenance.explorer.domain.core.sql.Distinct import io.provenance.explorer.domain.core.sql.jsonb import io.provenance.explorer.domain.core.sql.toProcedureObject @@ -405,6 +406,8 @@ class TxMessageRecord(id: EntityID) : IntEntity(id) { } private fun findByQueryParams(tqp: TxQueryParams, distinctQuery: List>?) = transaction { + logger().info("Query Params: $tqp"); + var join: ColumnSet = TxMessageTable if (tqp.msgTypes.isNotEmpty()) diff --git a/service/src/main/kotlin/io/provenance/explorer/service/TransactionService.kt b/service/src/main/kotlin/io/provenance/explorer/service/TransactionService.kt index ac11f7e7..6d8c8299 100644 --- a/service/src/main/kotlin/io/provenance/explorer/service/TransactionService.kt +++ b/service/src/main/kotlin/io/provenance/explorer/service/TransactionService.kt @@ -111,6 +111,7 @@ class TransactionService( ibcSrcPort: String? = null, ibcSrcChannel: String? = null ): PagedResults { + logger.info("Fetching transactions with address: $address, denom: $denom, module: $module, msgType: $msgType, txHeight: $txHeight, txStatus: $txStatus, count: $count, page: $page, fromDate: $fromDate, toDate: $toDate, nftAddr: $nftAddr, ibcChain: $ibcChain, ibcSrcPort: $ibcSrcPort, ibcSrcChannel: $ibcSrcChannel"); val msgTypes = if (msgType != null) listOf(msgType) else (module?.getValuesPlusAddtnl() ?: listOf()) val msgTypeIds = transaction { TxMessageTypeRecord.findByType(msgTypes).map { it.id.value } }.toList() val addr = transaction { address?.getAddressType(valService.getActiveSet()) }