semiotic-ai / timeline-aggregation-protocol

A fast, efficient and trust-minimized unidirectional micro-payments system.
Apache License 2.0
14 stars 3 forks source link

refactor(receipt_storage_adapter)!: prune trait #131

Closed aasseman closed 1 year ago

aasseman commented 1 year ago

BREAKING CHANGE: all functions unnecessary to the TAP manager have been removed from the ReceiptStorageAdapter trait.

Note: remove_receipts_in_timestamp_range will be made necessary by #130

github-actions[bot] commented 1 year ago

🤖 Cargo Audit Report 🤖

(Empty means OK! 👍)

github-actions[bot] commented 1 year ago

Pull Request Test Coverage Report for Build 5480803216


Changes Missing Coverage Covered Lines Changed/Added Lines %
tap_core/src/adapters/test/receipt_storage_adapter_mock.rs 38 43 88.37%
<!-- Total: 38 43 88.37% -->
Files with Coverage Reduction New Missed Lines %
tap_core/src/adapters/test/collateral_adapter_mock.rs 1 92.31%
tap_core/src/adapters/test/rav_storage_adapter_mock.rs 1 84.62%
tap_core/src/error.rs 1 50.0%
tap_core/src/tap_receipt/mod.rs 1 50.0%
tap_core/src/adapters/test/receipt_storage_adapter_mock.rs 2 80.6%
<!-- Total: 6 -->
Totals Coverage Status
Change from base Build 5478449598: -0.4%
Covered Lines: 955
Relevant Lines: 1141

💛 - Coveralls
github-actions[bot] commented 1 year ago

🤖 Cargo Audit Report 🤖

(Empty means OK! 👍)