diff --git a/sdk/program/src/message/v0.rs b/sdk/program/src/message/v0.rs index 344fec5b38..6b8b73abfc 100644 --- a/sdk/program/src/message/v0.rs +++ b/sdk/program/src/message/v0.rs @@ -30,16 +30,6 @@ pub struct Message { #[serde(with = "short_vec")] pub account_keys: Vec, - /// List of address map indexes used to succinctly load additional accounts - /// for this transaction. - /// - /// # Notes - /// - /// The last `address_map_indexes.len()` accounts of the read-only unsigned - /// accounts are loaded as address maps. - #[serde(with = "short_vec")] - pub address_map_indexes: Vec, - /// The blockhash of a recent block. pub recent_blockhash: Hash, @@ -54,6 +44,16 @@ pub struct Message { /// map indexes. #[serde(with = "short_vec")] pub instructions: Vec, + + /// List of address map indexes used to succinctly load additional accounts + /// for this transaction. + /// + /// # Notes + /// + /// The last `address_map_indexes.len()` accounts of the read-only unsigned + /// accounts are loaded as address maps. + #[serde(with = "short_vec")] + pub address_map_indexes: Vec, } impl Sanitize for Message { diff --git a/sdk/program/src/message/versions.rs b/sdk/program/src/message/versions.rs index bf5caaa807..34eacbb79d 100644 --- a/sdk/program/src/message/versions.rs +++ b/sdk/program/src/message/versions.rs @@ -26,7 +26,7 @@ pub const MESSAGE_VERSION_PREFIX: u8 = 0x80; /// which message version is serialized starting from version `0`. If the first /// is bit is not set, all bytes are used to encode the legacy `Message` /// format. -#[frozen_abi(digest = "qKNCqQpsBZYQxS9P3hVcFr8hAF4VnqV6ZBdC6KoUvHJ")] +#[frozen_abi(digest = "x2F3RG2RhJQWN6L2N3jebvcAvNYFrhE3sKTPJ4sENvL")] #[derive(Debug, PartialEq, Eq, Clone, AbiEnumVisitor, AbiExample)] pub enum VersionedMessage { Legacy(Message),