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

Unit tests for virtual grants #6949

Closed
NejcZdovc opened this issue Nov 15, 2019 · 0 comments
Closed

Unit tests for virtual grants #6949

NejcZdovc opened this issue Nov 15, 2019 · 0 comments

Comments

@NejcZdovc
Copy link
Contributor

NejcZdovc commented Nov 15, 2019

With virtual grants we added a lot of code, so we need to add unit tests for this new code as well. We should create a lit of all functions that need testing.

List of functions:

Draft list;

  • contribution_unblinded::Start
  • bind_util: FromPromotionToString / FromStringToPromotion
  • internal/common/security_helper: see confirmations Security test for examples
  • ledger/internal/promotion - all public facing

If any areas need improvement, raise issues for tidy ups

@NejcZdovc NejcZdovc added feature/rewards priority/P2 A bad problem. We might uplift this to the next planned release. labels Nov 15, 2019
masparrow added a commit to brave/brave-core that referenced this issue Jan 9, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger
masparrow added a commit to brave/brave-core that referenced this issue Jan 9, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger

Update

a
masparrow added a commit to brave/brave-core that referenced this issue Jan 31, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger

Update

a
NejcZdovc pushed a commit to brave/brave-core that referenced this issue Feb 12, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger

Update

a
masparrow added a commit to brave/brave-core that referenced this issue Feb 14, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger
masparrow added a commit to brave/brave-core that referenced this issue Feb 21, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger
masparrow added a commit to brave/brave-core that referenced this issue Mar 1, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger
masparrow added a commit to brave/brave-core that referenced this issue Mar 2, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger
masparrow added a commit to brave/brave-core that referenced this issue Mar 17, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger
masparrow added a commit to brave/brave-core that referenced this issue Mar 19, 2020
Resolves brave/brave-browser#6949

- Bind Utils
- Promotion
- Promotion Utils
- Security Helper (Ledger)
@NejcZdovc NejcZdovc assigned NejcZdovc and unassigned masparrow Apr 9, 2020
@NejcZdovc NejcZdovc removed their assignment May 6, 2020
@NejcZdovc NejcZdovc removed the priority/P2 A bad problem. We might uplift this to the next planned release. label May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants