Open billythedummy opened 1 year ago
but it attempts to do every single struct that impl BorshSerialize
nevermind i lied, it only does it for structs where BorshSerialize
is auto-derived (#[derive(BorshSerialize)]
). My current workaround is to implement BorshSerialize
manually for the zero-sized struct (which is just a no-op anw)
With:
shank runs fine, but the resulting idl contains
causing solita to crash with
On the other hand, with:
shank crashes with
Which is fine if shank/solita doesn't intend to support zero-sized structs but it attempts to do every single struct that
impl BorshSerialize
even if its notpub
or part of the solana program instruction interface.