diff --git a/sdk/src/instruction.rs b/sdk/src/instruction.rs index f7e6c8cabc..138008ea65 100644 --- a/sdk/src/instruction.rs +++ b/sdk/src/instruction.rs @@ -165,6 +165,7 @@ impl WithSigner for Vec { /// An instruction to execute a program #[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)] +#[serde(rename_all = "camelCase")] pub struct CompiledInstruction { /// Index into the transaction keys array indicating the program account that executes this instruction pub program_id_index: u8,