mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-05-19 07:29:32 +00:00
The `Instruction::OpenPosition` doc claimed four required accounts but the handler and IDL take five — the collateral token definition was missing. Update the list to match the actual contract. Also fully qualify `std::mem::size_of_val` in `From<&Position> for Data` so the call no longer relies on Rust 1.80+ prelude additions for the 2021 edition.