Implementation of a program that manages on chain accounts to mint and redeem Redeemables tokens (UXD), hedged by a delta neutral position on underlying DEXes.
When trying to deserialize an account's data, anchor will throw an error if the size of the datastructure is smaller than the size of the on-chain accounts.
Therefore:
we need to add the reserved space inside of the accounts data structure so that anchor can parse it
to harden this process, I created new unit tests and double checked the correctness of the accounts sizes by using the extra explicit notation
When trying to deserialize an account's data, anchor will throw an error if the size of the datastructure is smaller than the size of the on-chain accounts.
Therefore: