0g-chain/x
sesheffield 7f339d20ca
fix(insolvency) kava lend insolvency check bug implementation (#1982)
* add additional tests that attempt to borrow funds from the insolvent market(should fail), and attempt to borrow funds from the not insolvent market (it will fail, but shouldn't). The not insolvent market should continue to processs borrows

* remove unused code

* make tests less specific for string contains

* add new get total reserves for denoms functionality

* start utilizing GetTotalReservesForDenoms in ValidateBorrow

* update tests for Borrow to not fail when borrowing from an insolvent market

* use get total reseves in GetTotalReservesForDenoms for reusability

* refactor GetTotalReservesForDenoms to GetTotalReservesByCoinDenoms for more clarity

* change the structure for new and old tests and add more verbosity for other tests

* remove print

* remove unneeded code

* add paren

* adjust structure again after initial PR

* remove duplicate test case with invalid test name, and update to use error contains in places where it was validating if true for strings contains

* no need for keeper method
2024-07-30 13:08:48 -04:00
..
auction chore: make function comments match function names (#1935) 2024-06-13 12:35:22 -07:00
bep3 chore: fix some comments (#1980) 2024-07-26 12:38:06 -07:00
cdp chore: fix some comments (#1980) 2024-07-26 12:38:06 -07:00
committee chore: fix some comments (#1980) 2024-07-26 12:38:06 -07:00
community chore: fix mismatched method comments (#1949) 2024-06-20 15:09:21 -07:00
earn fix:paramaters->paramaters (#1796) 2024-04-05 07:02:52 -07:00
evmutil docs(x/evmutil): Remove akava and evmbankkeeper from spec (#1968) 2024-07-26 14:01:53 -07:00
hard fix(insolvency) kava lend insolvency check bug implementation (#1982) 2024-07-30 13:08:48 -04:00
incentive chore: remove repetitive words (#1869) 2024-04-05 07:13:40 -07:00
issuance fix:paramaters->paramaters (#1796) 2024-04-05 07:02:52 -07:00
kavadist Remove used legacy querier types (#1835) 2024-02-27 14:25:56 -05:00
liquid Update cosmos-sdk to v0.47.7 (#1811) 2024-02-06 17:54:10 -05:00
metrics Update cosmos-sdk to v0.47.7 (#1811) 2024-02-06 17:54:10 -05:00
precisebank docs(x/precisebank): Add spec for logic (#1969) 2024-07-29 09:42:17 -07:00
pricefeed fix:paramaters->paramaters (#1796) 2024-04-05 07:02:52 -07:00
router Update cosmos-sdk to v0.47.7 (#1811) 2024-02-06 17:54:10 -05:00
savings Update cosmos-sdk to v0.47.7 (#1811) 2024-02-06 17:54:10 -05:00
swap chore: fix some comments (#1980) 2024-07-26 12:38:06 -07:00
validator-vesting fix: update vesting tests to use fixed block time (#1838) 2024-02-29 12:09:07 -08:00