Skip to content

Commit

Permalink
fix: Tier module fixes and improvements (part 4) (#13)
Browse files Browse the repository at this point in the history
* Add UnlockingLockup message; update MsgUnlockResponse, GenesisState  and query.proto messages; run proto-go

* Add TestMain and test tier keeper setup

* Cleanup and fix test utils

* Improve logic related to storing/retrieving lockups and unlocking lockups

* Improve keeper logic, handle completionTime/unlockTime edge case, update tests

* Handle Lockups and UnlockingLockups separately in InitGenesis/ExportGenesis, update tests

* Refactor queries and update related tests

* Fix issue in calculateProratedCredit, refactor proratedCredit, update related tests

* Update message server, and all related tests

* Add TestHasUnlockingLockup, update comment in TestInitWithMultipleIdenticalUnlockingLockups

* Add TestGetAllUnlockingLockups

* Add more querier tests

* Update keeper tests
  • Loading branch information
iverc authored Feb 12, 2025
1 parent 77ef72e commit 532dfd4
Show file tree
Hide file tree
Showing 38 changed files with 3,913 additions and 1,313 deletions.
184 changes: 169 additions & 15 deletions api/sourcehub/tier/v1beta1/genesis.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 532dfd4

Please sign in to comment.