Commit Graph

7 Commits

Author SHA1 Message Date
Michael Vines 995d4a029f Remove tokio dev-dependency 2021-03-16 18:33:37 -07:00
Justin Starry bbd4c63b83
lending: Add InitObligation instruction (#1088)
* lending: Add InitObligation instruction

* fix: accrue interest on deposit to correct exchange rate
2021-01-19 16:58:04 +08:00
Justin Starry d1bc753359
lending: Use checked math and add prop tests (#1075)
* Use checked math and add prop tests

* Feedback

* Feedback

* Fix exchange rate test

* remove borrow compute unit limit

* Bump compute limit
2021-01-17 15:10:04 +08:00
Justin Starry e360fc9e4f
lending: Add upgradable loader to genesis accounts creation (#1048)
* wip

* lending: Add upgradable loader to genesis accounts creation

* clippy

* fix warning
2021-01-10 08:37:27 +08:00
Jon Cinque 3bd36d49a4
lending: Add version and padding to state structs (#1043)
* Add version field to lending state structs

* Add padding to pack / unpack

* Run cargo fmt

* Fix js test

* Remove is_initialized
2021-01-08 11:39:06 +01:00
Justin Starry e2879c35df
Fixes for genesis account creation (#1038) 2021-01-07 06:01:14 +00:00
Jon Cinque d14e403599
lending: Add test to generate and optionally dump genesis accounts (#967)
* Automate primordial accounts

* Add genesis account dumping as test

* Add test-dump-genesis-accounts feature flag to create state

* Run cargo fmt

* Delete gitignore

* Add test-bpf feature to genesis test

Co-authored-by: Justin Starry <justin@solana.com>
2020-12-28 19:15:50 +01:00