• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tari-project / tari / 15998966652
62%

Build:
DEFAULT BRANCH: development
Ran 01 Jul 2025 05:04PM UTC
Jobs 1
Files 697
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jul 2025 12:13PM UTC coverage: 71.633% (-0.05%) from 71.686%
15998966652

push

github

web-flow
fix!: payref migration and indexes, add grpc query via output hash (#7266)

Description
---
- Added gRPC method to retrieve output information via output hash
- Updated the gRPC payref search to return spent and unspent output
information
- Added migration to rebuild payref indexes due to missing payrefs
(_added periodic call to `LMDBStore::resize_if_required`_)
- Fixed error in lmdb migration counter where it recorded a higher
version done than what it should

Fixes #7263 

Motivation and Context
---
- Payref information was deleted when the outputs were spent.
- With migrations, payref information was only created for the current
output set, not all outputs.
- Payref lookups for spent outputs were not possible.
- Output and payref information was not possible via output hash.

How Has This Been Tested?
---
- New lmdb migration tested at the system level for fresh and existing
base nodes.
- New gRPC method system-level testing [_tested with block explorer
upgrade_].
- General system-level testing.

Fresh base node with a restart afterwards
```rust
2025-06-27 09:09:24.013840800 [c::cs::lmdb_db::lmdb_db] INFO  [MIGRATIONS] Blockchain database is at v0 (required version: 5)
2025-06-27 09:09:24.013873800 [c::cs::lmdb_db::lmdb_db] INFO  [MIGRATIONS] v1: No accumulated difficulty found for block height 14999
2025-06-27 09:09:24.013877800 [c::cs::lmdb_db::lmdb_db] INFO  [MIGRATIONS] v1: No migration to perform for version network
2025-06-27 09:09:24.013883100 [c::cs::lmdb_db::lmdb_db] INFO  [MIGRATIONS] v2: Starting PayRef migration
2025-06-27 09:09:24.013899700 [c::cs::lmdb_db::lmdb_db] INFO  [MIGRATIONS] v2: Cleared PayRef index
2025-06-27 09:09:24.038671500 [c::cs::lmdb_db::lmdb_db] INFO  [MIGRATIONS] v2: PayRef index rebuild completed
2025-06-27 09:09:24.038693200 [c::cs::lmdb_db::lmdb_db] INFO  [MIGRATIONS] Migrated database from version 2 to version 3
2025-06-27 09:09:24.039646900 [c::cs::lmdb_db::lmdb_db] INFO  [MIGRATIONS] Migrated database from ver... (continued)

24 of 136 new or added lines in 11 files covered. (17.65%)

68 existing lines in 17 files now uncovered.

82832 of 115634 relevant lines covered (71.63%)

239334.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% base_layer/core/src/chain_storage/utxo_mined_info.rs
2
0.0
0.0% base_layer/core/src/base_node/comms_interface/comms_response.rs
5
78.58
-0.41% base_layer/core/src/test_helpers/blockchain.rs
6
10.87
-1.04% base_layer/core/src/base_node/comms_interface/comms_request.rs
6
63.23
-0.09% base_layer/core/src/chain_storage/blockchain_database.rs
8
51.89
-0.41% base_layer/core/src/base_node/comms_interface/inbound_handlers.rs
22
17.42
-1.35% base_layer/core/src/base_node/comms_interface/local_interface.rs
62
65.91
-1.0% base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% base_layer/core/src/base_node/comms_interface/comms_response.rs
1
51.89
-0.41% base_layer/core/src/base_node/comms_interface/inbound_handlers.rs
1
63.23
-0.09% base_layer/core/src/chain_storage/blockchain_database.rs
1
93.35
-0.18% base_layer/core/src/proof_of_work/monero_rx/merkle_tree.rs
1
78.58
-0.41% base_layer/core/src/test_helpers/blockchain.rs
1
87.24
-0.21% base_layer/p2p/src/services/liveness/service.rs
1
74.51
-0.08% base_layer/wallet/src/output_manager_service/storage/sqlite_db/mod.rs
1
80.25
-0.25% comms/core/src/connection_manager/peer_connection.rs
2
90.05
-0.5% comms/core/src/multiplexing/yamux.rs
2
81.08
-2.7% comms/core/src/pipeline/outbound.rs
3
61.54
-7.69% comms/core/src/peer_manager/peer_features.rs
4
81.97
-0.82% comms/core/src/connection_manager/dialer.rs
4
84.92
-2.01% comms/core/src/protocol/messaging/outbound.rs
7
66.52
-2.15% comms/core/src/protocol/messaging/protocol.rs
11
77.11
-5.47% comms/core/src/connection_manager/common.rs
13
57.97
-0.58% comms/core/src/connectivity/manager.rs
14
65.91
-1.0% base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
Jobs
ID Job ID Ran Files Coverage
1 15998966652.1 01 Jul 2025 05:04PM UTC 697
71.63
GitHub Action Run
Source Files on build 15998966652
  • Tree
  • List 697
  • Changed 28
  • Source Changed 12
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15998966652
  • 3ceea6e7 on github
  • Prev Build on development (#15983436312)
  • Next Build on development (#16017934618)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc