Skip to content

Conversation

@gusinacio
Copy link
Contributor

@gusinacio gusinacio commented Jan 23, 2025

  • Rename InvalidReceivedRAV to InvalidReceivedRav and change it to String
  • Update RAVStore and RAVRead to be generic over RAV
  • Manager Generic over Rav
  • Implement WithValueAndTimestamp for ReceiptAggregateVoucher
  • New Aggregate trait to be implemented in Ravs
  • implement Aggregate for ReceiptAggregateVoucher (using Manager::generate_expected_rav)
  • Update RavRequest to be generic over Rav
  • Rename RAVRead and RAVStore to RavRead and RavStore
  • Rename SignedRAV to SignedRav

@gusinacio gusinacio force-pushed the gustavo/manager-generic-for-rav branch from 9bc39bb to e2889e4 Compare January 23, 2025 18:59
@coveralls
Copy link

coveralls commented Jan 23, 2025

Pull Request Test Coverage Report for Build 12936846271

Details

  • 37 of 40 (92.5%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 81.052%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tap_core/src/rav.rs 21 24 87.5%
Totals Coverage Status
Change from base Build 12935740693: -0.1%
Covered Lines: 1048
Relevant Lines: 1293

💛 - Coveralls

@gusinacio gusinacio force-pushed the gustavo/manager-generic-for-rav branch from 872b82f to 0726209 Compare January 23, 2025 19:44

impl WithValueAndTimestamp for ReceiptAggregateVoucher {
fn value(&self) -> u128 {
self.valueAggregate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
self.valueAggregate
self.valueAggregate

Is this Solidity?

@gusinacio gusinacio merged commit 1fc51a3 into main Jan 23, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants