The zero copy version of the following struct adds 4 bytes of padding between arg_1 and arg_2. This makes the idl not able to decode the struct correctly as arg_2 is being decoded based on the 4 bytes of padding and its own first 4 bytes.
#[account(zero_copy)]
#[derive(Default)]
pub struct MyStruct {
pub version: u8,
pub bump: u8,
pub active: bool,
pub authority: Pubkey,
pub arg_1: u8,
pub arg_2: u64,
}
How do I fix this?