Skip to content

Commit 88795dd

Browse files
committed
loader-v4-interface: update status enum as per SIMD-0167
1 parent c14ab07 commit 88795dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

loader-v4-interface/src/state.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
use solana_pubkey::Pubkey;
22

3-
#[repr(u64)]
3+
#[repr(u32)]
44
#[cfg_attr(feature = "frozen-abi", derive(solana_frozen_abi_macro::AbiExample))]
55
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
66
pub enum LoaderV4Status {
7+
/// Account was zero-filled externally
8+
Uninitialized,
9+
/// Used as write buffer
10+
Buffered,
711
/// Program is in maintenance
812
Retracted,
913
/// Program is ready to be executed

0 commit comments

Comments
 (0)