Page MenuHomePhabricator

[chronik] Add blocktxs_and_tx_and_rawtx.rs integration test to bitcoinsuite-chronik-client
Needs RevisionPublic

Authored by hazzarust on Wed, Mar 12, 12:03.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Summary

Tests verify transaction and block retrieval from the Chronik client. They check:

  • Block and transaction retrieval by height and hash
  • Transaction validation in mempool and after mining
  • Raw transaction data verification
  • Pagination of block transactions with custom page sizes
  • Error handling for non-existent or invalidated blocks/transactions
  • Proper handling of coinbase transactions

This ensures the Chronik client correctly handles transaction queries and blockchain state changes.

Test Plan

Please set BUILD_DIR env to export BUILD_DIR="/path/to/build_dir
UNIX: ./contrib/teamcity/build-configurations.py build-bitcoinsuite-chronik-client

Diff Detail

Repository
rABC Bitcoin ABC
Branch
blocktxs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32678
Build 64844: Build Diffbuild-bitcoinsuite-chronik-client
Build 64843: arc lint + arc unit

Event Timeline

hazzarust created this revision.
hazzarust edited the summary of this revision. (Show Details)
Fabien requested changes to this revision.Wed, Mar 12, 13:39
Fabien added a subscriber: Fabien.
Fabien added inline comments.
modules/bitcoinsuite-chronik-client/tests/blocktxs_and_tx_and_rawtx.rs
221

Please avoid the boilerplate and make it its own function

This revision now requires changes to proceed.Wed, Mar 12, 13:39