-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: get FastLP/ufastlp balance from x/bank query
- prune balancesFromPurses, which was not type-safe - factor out vstorage queries for type safety - add static check on deposit / withdraw proposals - refactor usdcToGive as give.USDC etc. balancesFromPurses() seemed to return a Record<Brand, Amount> but Brands can't be record keys. It "worked" by stringifying the brands. ``` > b = {[Symbol.toStringTag]:'B123'} { [Symbol(Symbol.toStringTag)]: 'B123' } > b.toString() '[object B123]' > fromEntries([[b, 1]]) { '[object B123]': 1 } ```
- Loading branch information
Showing
2 changed files
with
94 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.