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

validate distributor type/referral belong to calling distribution component (#623) #638

Merged
merged 10 commits into from
Aug 27, 2024

Conversation

doerfli
Copy link
Contributor

@doerfli doerfli commented Aug 26, 2024

  • check distribution when creating distributor type
  • add test
  • check distribution when changing distributor type
  • add test
  • check distributor type and distribution when creating referral
  • add test
  • check referral belongs to same product when calculating price
  • add test
  • check referral belongs to same product when creating application
  • add test

@doerfli doerfli changed the title validate distribution type is from same distribution (#623) validate distributor type/referral belong to calling distribution component (#623) Aug 26, 2024
@doerfli doerfli force-pushed the bugfix/referral-same-product-check branch from ea356c0 to ba7ea4e Compare August 26, 2024 14:30
@doerfli doerfli requested review from matthiaszimmermann and removed request for matthiaszimmermann August 26, 2024 15:04
Copy link
Contributor

Todo Commenter

contracts/distribution/DistributionService.sol
TODO:
contracts/product/ApplicationService.sol
TODO:
  • add logging Line: 182

@doerfli Please take a look 👀

@doerfli doerfli merged commit c554b1e into develop Aug 27, 2024
12 checks passed
@doerfli doerfli deleted the bugfix/referral-same-product-check branch August 27, 2024 12:22
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants