0g-chain/x
Kevin Davis d45fa58f5c
Swap Genesis State (#960)
* wip: add swap state persistent to genesis

* separate pool record constructors; add tests for json and yaml encoding
of record structs

* beef up validation checks for state records

* fix integration with master - renamed method

* add test coverage for basic state array validations

* extra test around pool record reserve and id ordering to ensure no
regressions in the future

* add validations to ensure pool records and share records are unique
within the collection types

* test genesis json and yaml encoding

* validate in genesis that the total shares owned for each pool is equal
to the total shares of each pool

* update alias

* nit lint

* test genesis init and export

* add migration todo

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2021-07-15 09:42:30 -05:00
..
auction add v0.13 legacy types for kava-5 (#784) 2021-02-02 15:10:57 -07:00
bep3 add v0.13 legacy types for kava-5 (#784) 2021-02-02 15:10:57 -07:00
cdp Swap users accumulate rewards (#950) 2021-07-13 13:35:02 +01:00
committee Squash merge swap-acceptance branch (#956) 2021-07-13 12:38:15 +01:00
hard fix strings that said deposit instead of borrow (#962) 2021-07-15 09:16:25 -05:00
incentive Incentive genesis refactor: remove sync on export (#954) 2021-07-15 15:41:55 +01:00
issuance address issues from audit (#793) 2021-02-04 11:35:24 -07:00
kavadist add community multi-spend proposal (#915) 2021-06-02 11:03:25 -06:00
pricefeed fix: return nil instead of empty byte slice (#878) 2021-03-15 08:41:36 -06:00
swap Swap Genesis State (#960) 2021-07-15 09:42:30 -05:00
validator-vesting fix: set previous block time correctly on block one (#868) 2021-03-10 10:56:23 -07:00