mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-27 12:21:17 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user