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

feat: add SlotUsageCheque #403

Merged
merged 3 commits into from
Feb 14, 2022
Merged

feat: add SlotUsageCheque #403

merged 3 commits into from
Feb 14, 2022

Conversation

nicosantangelo
Copy link
Contributor

Closes #390

@coveralls
Copy link

coveralls commented Feb 10, 2022

Pull Request Test Coverage Report for Build 1843145586

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 27 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.2%) to 66.823%

Files with Coverage Reduction New Missed Lines %
src/ThirdParty/ThirdParty.router.ts 1 91.67%
src/Curation/ItemCuration/ItemCuration.model.ts 3 70.0%
src/Item/Item.router.ts 7 79.89%
src/ethereum/api/thirdParty.ts 16 55.36%
Totals Coverage Status
Change from base Build 1818679628: 0.2%
Covered Lines: 2102
Relevant Lines: 3000

💛 - Coveralls

id: { type: 'UUID', primaryKey: true, unique: true, notNull: true },
signature: { type: 'TEXT', notNull: true },
quantity: { type: 'TEXT', notNull: true },
salt: { type: 'TEXT', notNull: true },
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need the salt to be a column? Ins't it going to be part of the signed message?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is, but we decided on adding it here too when creating #390 with @nachomazzara . I can't really recall if it's necessary now

tableName,
{
id: { type: 'UUID', primaryKey: true, unique: true, notNull: true },
signature: { type: 'TEXT', notNull: true },
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it signature or signed message?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

signed message sounds better I think

@nicosantangelo nicosantangelo merged commit 98ab624 into master Feb 14, 2022
@nicosantangelo nicosantangelo deleted the feat/create-slot-cheques branch February 14, 2022 19:51
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.

Create the SlotUsageCheque table
3 participants