Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push to PRD #256

Merged
merged 7 commits into from
Jan 30, 2025
Merged

Push to PRD #256

merged 7 commits into from
Jan 30, 2025

Conversation

bitbeckers
Copy link
Contributor

  • Updated metadata validation
  • Updates sales table
  • Prepare for fixing hypercert IDs in sales table
  • Update sales table values for curreny amounts, fees and other missing values

bitbeckers and others added 7 commits January 27, 2025 11:21
Replaces local implementation of metadata validation with SDK version
remove unused metadata zod validator and update coverage thresholds
…s columns to sales table

- Introduced new columns to the sales table to store currency amounts, fee amounts as an array, and fee recipients as an array.
…tails

- Updated `parseTakerBidEvent` to include parsing of currency amount, fee amounts, and fee recipients.
- Refactored transaction log handling to support HypercertExchange and ERC20 ABI.
- Expanded `TakerBid` schema in `storeTakerBid` to accommodate new fields for currency and fees.
- this script will retroactively update existing rows in the sales table of supabase to contain fee_amounts, fee_recipients and currency_amount
- it will also update any hypercert_id's that erronously ended up with an 'undefined' for the token ID
Copy link

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 27.07% (🎯 26%) 1668 / 6161
🟢 Statements 27.07% (🎯 26%) 1668 / 6161
🟢 Functions 70.9% (🎯 70%) 39 / 55
🟢 Branches 74.02% (🎯 72%) 114 / 154
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/parsing/parseTakerBidEvent.ts 100% 95.83% 100% 100%
src/parsing/parseUriEvent.ts 94.52% 94.11% 100% 94.52% 66-73
src/storage/storeTakerBid.ts 42.77% 100% 0% 42.77% 67-161
Generated in workflow #211 for commit 3e79245 by the Vitest Coverage Report Action

@Jipperism
Copy link
Collaborator

Jipperism commented Jan 30, 2025

@bitbeckers One deleted zod file there, haven't touched that. Any idea if that's an issue?

EDIT: Nevermind, I see that metadata parsing has been updated altogether. Do I have to re-review this? I suppose that's been done already?

@Jipperism Jipperism merged commit 6bd2e9f into main Jan 30, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants