Commit Graph

7 Commits

Author SHA1 Message Date
microwavedcola1 38d7b03735 ts client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-01-10 10:13:08 +01:00
Christian Kamm d877eae443 Upgrade spl-governance dependency to current master 2021-12-14 13:46:38 +01:00
Christian Kamm decdd1230c Address unaligned references, add padding
- Make Registrar zero-copy. While it was using borsh for serialization,
  the array of voting mint configs couldn't be serialized without
  unaligned references.
- Reorganize all zero_copy fields such that switching to repr(C) would
  not make a difference. (just for safety in case that happens)
- Add static asserts on the sizes of all account structs, so any changes
  are visible very early.
- Add padding to structs that didn't have it yet.
2021-12-09 11:59:14 +01:00
Christian Kamm 645f02ebd4 Tests: Add a test that checks integration with spl-governance
By making a proposal (with the necessary amount of vote weight) and
voting on it.
2021-12-05 09:00:07 +01:00
Christian Kamm aa1c536b9c Tests: check start up lockup, and withdrawable amount 2021-12-03 12:29:37 +01:00
Christian Kamm 0b049ad3f8 Add reset_lockup tests / add max period check 2021-12-03 11:38:45 +01:00
Christian Kamm 0543f5fe20 Rename to voter-stake-registry 2021-12-01 13:28:38 +01:00