From c03745be2dbfe142a60abfbb3d98ccf226d2e834 Mon Sep 17 00:00:00 2001 From: Michael Danenberg <56533526+danenbm@users.noreply.github.com> Date: Thu, 5 Oct 2023 01:38:27 -0700 Subject: [PATCH] Add InstructionName::UpdateMetadata to Rust client --- clients/rust/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/rust/src/lib.rs b/clients/rust/src/lib.rs index 0d062b66..08cf8ece 100644 --- a/clients/rust/src/lib.rs +++ b/clients/rust/src/lib.rs @@ -27,6 +27,7 @@ pub enum InstructionName { SetAndVerifyCollection, MintToCollectionV1, SetDecompressibleState, + UpdateMetadata, } pub fn get_instruction_type(full_bytes: &[u8]) -> InstructionName { @@ -54,7 +55,7 @@ pub fn get_instruction_type(full_bytes: &[u8]) -> InstructionName { [82, 104, 152, 6, 149, 111, 100, 13] => InstructionName::SetDecompressibleState, // `SetDecompressableState` instruction mapped to `SetDecompressibleState` instruction [18, 135, 238, 168, 246, 195, 61, 115] => InstructionName::SetDecompressibleState, - + [170, 182, 43, 239, 97, 78, 225, 186] => InstructionName::UpdateMetadata, _ => InstructionName::Unknown, } }