Problem: After #166, we no longer need get_total_supply and get_vote_permit_counter
entrypoints. We updated it to void instead of removing because the tests
need them to run properly. Currently, we found a way to check the
storage without using this entrypoints (By using StorageView instead)
so we should remove these entrypoints.
Solution: Remove get_total_supply and get_vote_permit_counter
entrypoints, add FullStorageView, update existing storage related type,
add getTotalSupply and getVotePermitsCounter storage check.
Related issue(s)
Resolves #214
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
[x] If I added new functionality, I added tests covering it.
[x] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[x] I checked whether I should update the docs and did so if necessary:
Description
Problem: After #166, we no longer need
get_total_supply
andget_vote_permit_counter
entrypoints. We updated it to void instead of removing because the tests need them to run properly. Currently, we found a way to check the storage without using this entrypoints (By usingStorageView
instead) so we should remove these entrypoints.Solution: Remove
get_total_supply
andget_vote_permit_counter
entrypoints, addFullStorageView
, update existing storage related type, addgetTotalSupply
andgetVotePermitsCounter
storage check.Related issue(s)
Resolves #214
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
Documentation
Stylistic guide (mandatory)