@@ -110,13 +110,34 @@ pub(crate) fn inner_process_instruction(
110110
111111 process_mint_to ( accounts, instruction_data)
112112 }
113+ // 8 - Burn
114+ 8 => {
115+ #[ cfg( feature = "logging" ) ]
116+ pinocchio:: msg!( "Instruction: Burn" ) ;
117+
118+ process_burn ( accounts, instruction_data)
119+ }
113120 // 9 - CloseAccount
114121 9 => {
115122 #[ cfg( feature = "logging" ) ]
116123 pinocchio:: msg!( "Instruction: CloseAccount" ) ;
117124
118125 process_close_account ( accounts)
119126 }
127+ // 12 - TransferChecked
128+ 12 => {
129+ #[ cfg( feature = "logging" ) ]
130+ pinocchio:: msg!( "Instruction: TransferChecked" ) ;
131+
132+ process_transfer_checked ( accounts, instruction_data)
133+ }
134+ // 15 - BurnChecked
135+ 15 => {
136+ #[ cfg( feature = "logging" ) ]
137+ pinocchio:: msg!( "Instruction: BurnChecked" ) ;
138+
139+ process_burn_checked ( accounts, instruction_data)
140+ }
120141 // 16 - InitializeAccount2
121142 16 => {
122143 #[ cfg( feature = "logging" ) ]
@@ -182,13 +203,6 @@ fn inner_process_remaining_instruction(
182203
183204 process_set_authority ( accounts, instruction_data)
184205 }
185- // 8 - Burn
186- 8 => {
187- #[ cfg( feature = "logging" ) ]
188- pinocchio:: msg!( "Instruction: Burn" ) ;
189-
190- process_burn ( accounts, instruction_data)
191- }
192206 // 10 - FreezeAccount
193207 10 => {
194208 #[ cfg( feature = "logging" ) ]
@@ -203,13 +217,6 @@ fn inner_process_remaining_instruction(
203217
204218 process_thaw_account ( accounts)
205219 }
206- // 12 - TransferChecked
207- 12 => {
208- #[ cfg( feature = "logging" ) ]
209- pinocchio:: msg!( "Instruction: TransferChecked" ) ;
210-
211- process_transfer_checked ( accounts, instruction_data)
212- }
213220 // 13 - ApproveChecked
214221 13 => {
215222 #[ cfg( feature = "logging" ) ]
@@ -224,13 +231,6 @@ fn inner_process_remaining_instruction(
224231
225232 process_mint_to_checked ( accounts, instruction_data)
226233 }
227- // 15 - BurnChecked
228- 15 => {
229- #[ cfg( feature = "logging" ) ]
230- pinocchio:: msg!( "Instruction: BurnChecked" ) ;
231-
232- process_burn_checked ( accounts, instruction_data)
233- }
234234 // 17 - SyncNative
235235 17 => {
236236 #[ cfg( feature = "logging" ) ]
0 commit comments