mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-07 15:53:14 +00:00
fix: lint fix 3
This commit is contained in:
parent
f491266105
commit
f9eee73ef4
@ -9,6 +9,7 @@ pub mod gas_calculator;
|
|||||||
|
|
||||||
pub use test_methods;
|
pub use test_methods;
|
||||||
|
|
||||||
|
#[allow(clippy::result_large_err)]
|
||||||
pub fn gas_limits_check<INP: Serialize>(
|
pub fn gas_limits_check<INP: Serialize>(
|
||||||
input_buffer: INP,
|
input_buffer: INP,
|
||||||
elf: &[u8],
|
elf: &[u8],
|
||||||
@ -31,6 +32,7 @@ pub fn gas_limits_check<INP: Serialize>(
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::result_large_err)]
|
||||||
pub fn prove_mint_utxo(
|
pub fn prove_mint_utxo(
|
||||||
amount_to_mint: u128,
|
amount_to_mint: u128,
|
||||||
owner: AccountAddress,
|
owner: AccountAddress,
|
||||||
@ -66,6 +68,7 @@ pub fn prove_mint_utxo(
|
|||||||
Ok((UTXO::create_utxo_from_payload(digest), receipt))
|
Ok((UTXO::create_utxo_from_payload(digest), receipt))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::result_large_err)]
|
||||||
pub fn prove_send_utxo(
|
pub fn prove_send_utxo(
|
||||||
spent_utxo: UTXO,
|
spent_utxo: UTXO,
|
||||||
owners_parts: Vec<(u128, AccountAddress)>,
|
owners_parts: Vec<(u128, AccountAddress)>,
|
||||||
@ -118,6 +121,7 @@ pub fn prove_send_utxo(
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::result_large_err)]
|
||||||
pub fn prove_send_utxo_multiple_assets_one_receiver(
|
pub fn prove_send_utxo_multiple_assets_one_receiver(
|
||||||
spent_utxos: Vec<UTXO>,
|
spent_utxos: Vec<UTXO>,
|
||||||
number_to_send: usize,
|
number_to_send: usize,
|
||||||
@ -171,6 +175,7 @@ pub fn prove_send_utxo_multiple_assets_one_receiver(
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::result_large_err)]
|
||||||
pub fn prove_send_utxo_shielded(
|
pub fn prove_send_utxo_shielded(
|
||||||
owner: AccountAddress,
|
owner: AccountAddress,
|
||||||
amount: u128,
|
amount: u128,
|
||||||
@ -226,6 +231,7 @@ pub fn prove_send_utxo_shielded(
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::result_large_err)]
|
||||||
pub fn prove_send_utxo_deshielded(
|
pub fn prove_send_utxo_deshielded(
|
||||||
spent_utxo: UTXO,
|
spent_utxo: UTXO,
|
||||||
owners_parts: Vec<(u128, AccountAddress)>,
|
owners_parts: Vec<(u128, AccountAddress)>,
|
||||||
@ -278,6 +284,7 @@ pub fn prove_send_utxo_deshielded(
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::result_large_err)]
|
||||||
pub fn prove_mint_utxo_multiple_assets(
|
pub fn prove_mint_utxo_multiple_assets(
|
||||||
amount_to_mint: u128,
|
amount_to_mint: u128,
|
||||||
number_of_assets: usize,
|
number_of_assets: usize,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user