Assessment reports>Pye>Discussion>Missing constraints

Missing constraints

Some of the instructions have accounts that are missing some constraints. Besides Finding ref, most of the missing constraints do not lead to issues, as some part of the program will eventually error and cause a revert, but these should still be addressed as future code changes could potentially cause issues.

Here are two examples.

  1. There are missing token mints on fee_wallet_pt, fee_wallet_yt, owner_pt_account, owner_yt_account, and owner_lst_account.

  2. Marinade SOL stake pools can be passed into the wrong deposit instructions and vice versa.

Zellic © 2025Back to top ↑