address PR #720 review nits

- Use FIXME instead of TODO for the temporary ProgramId->AccountId
  conversion, per review convention for patches guaranteed to be
  fixed later.
- Derive cross_zone_inbox's MAX_DELIVERIES from DATA_MAX_LENGTH
  instead of a hand-recomputed literal, so it stays in sync
  automatically the next time the cap changes.
This commit is contained in:
Marvin Jones
2026-08-18 10:55:31 -04:00
parent 2d6186193a
commit f3bb4c6e10
+1 -1
View File
@@ -15,7 +15,7 @@ pub const MAX_NUMBER_CHAINED_CALLS: usize = 10;
pub type ProgramId = [u32; 8];
/// TODO: This is a temporary conversion; will be removed once `Program` to `Account`
/// FIXME: This is a temporary conversion; will be removed once `Program` to `Account`
/// migration is complete.
impl From<ProgramId> for AccountId {
fn from(program_id: ProgramId) -> Self {