mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
fix: fmt
This commit is contained in:
parent
f77481f3b5
commit
0be88d4343
@ -1705,7 +1705,9 @@ pub fn prepare_function_map() -> HashMap<String, TestFunction> {
|
||||
|
||||
// Burn 3 tokens from `recipient_acc`
|
||||
let subcommand = TokenProgramAgnosticSubcommand::Burn {
|
||||
definition: Some(make_public_account_input_from_str(&definition_account_id.to_string())),
|
||||
definition: Some(make_public_account_input_from_str(
|
||||
&definition_account_id.to_string(),
|
||||
)),
|
||||
definition_npk: None,
|
||||
definition_ipk: None,
|
||||
holder: make_public_account_input_from_str(&recipient_account_id.to_string()),
|
||||
@ -1748,7 +1750,9 @@ pub fn prepare_function_map() -> HashMap<String, TestFunction> {
|
||||
// Mint 10 tokens at `recipient_acc`
|
||||
let subcommand = TokenProgramAgnosticSubcommand::Mint {
|
||||
definition: make_public_account_input_from_str(&definition_account_id.to_string()),
|
||||
holder: Some(make_public_account_input_from_str(&recipient_account_id.to_string())),
|
||||
holder: Some(make_public_account_input_from_str(
|
||||
&recipient_account_id.to_string(),
|
||||
)),
|
||||
holder_npk: None,
|
||||
holder_ipk: None,
|
||||
amount: 10,
|
||||
|
||||
@ -312,7 +312,7 @@ impl Token<'_> {
|
||||
let (instruction, program) = token_program_preparation_burn(amount);
|
||||
|
||||
// ToDo: Fix this by updating `nssa::public_transaction::Message::try_new` to get raw bytes
|
||||
let instruction: [u32; 23] = instruction.try_into().unwrap();
|
||||
let instruction: [u32; 23] = instruction.try_into().unwrap();
|
||||
|
||||
let Ok(nonces) = self.0.get_accounts_nonces(vec![holder_account_id]).await else {
|
||||
return Err(ExecutionFailureKind::SequencerError);
|
||||
@ -492,7 +492,7 @@ impl Token<'_> {
|
||||
let (instruction, program) = token_program_preparation_mint(amount);
|
||||
|
||||
// ToDo: Fix this by updating `nssa::public_transaction::Message::try_new` to get raw bytes
|
||||
let instruction: [u32; 23] = instruction.try_into().unwrap();
|
||||
let instruction: [u32; 23] = instruction.try_into().unwrap();
|
||||
|
||||
let Ok(nonces) = self
|
||||
.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user