voter-stake-registry/programs/voter-stake-registry/src/instructions
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
..
clawback.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
close_deposit_entry.rs Remove instruction name logs since they would be redundant with next anchor release 2021-12-07 19:12:56 +01:00
close_voter.rs Remove instruction name logs since they would be redundant with next anchor release 2021-12-07 19:12:56 +01:00
configure_voting_mint.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
create_deposit_entry.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
create_registrar.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
create_voter.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
deposit.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
grant.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
mod.rs Add grant instruction 2021-12-05 20:36:01 +01:00
reset_lockup.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
set_time_offset.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
update_max_vote_weight.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
update_voter_weight_record.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00
withdraw.rs Address unaligned references, add padding 2021-12-09 11:59:14 +01:00