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

Pallet Unit Tests concerning Balances: Modify mock.rs to have ED > 1, to test balances less than ED. #1852

Open
2 tasks
mattheworris opened this issue Jan 23, 2024 · 0 comments
Labels

Comments

@mattheworris
Copy link
Collaborator

As a developer, I would like to create some unit tests for situations when the account balance is less than the Existential Deposit (ED).

Currently, the mocks has ED == 1, so it is not possible to test any situations where ED < 1, which some valid edge cases do exist.

  • Modify mock.rs to have ED > 1
  • Modify unit tests that are affected by this change.
@p5150j p5150j added tech-debt good first issue Good for newcomers labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants