Skip to content

Commit

Permalink
Cleanup small nits after review
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed Sep 4, 2024
1 parent af39dcf commit bf75dbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions fuel-tx/src/transaction/types/input/coin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl CoinSpecification for Full {
#[derive(fuel_types::canonical::Deserialize, fuel_types::canonical::Serialize)]
pub struct Coin<Specification>
where
Specification: CoinSpecification + Clone,
Specification: CoinSpecification,
{
pub utxo_id: UtxoId,
pub owner: Address,
Expand All @@ -140,7 +140,7 @@ where

impl<Specification> Coin<Specification>
where
Specification: CoinSpecification + Clone,
Specification: CoinSpecification,
{
/// The "Note" section from the specification:
/// <https://github.com/FuelLabs/fuel-specs/blob/master/src/tx-format/input.md#inputcoin>.
Expand Down
4 changes: 2 additions & 2 deletions fuel-tx/src/transaction/types/input/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ pub mod specifications {
#[derive(fuel_types::canonical::Deserialize, fuel_types::canonical::Serialize)]
pub struct Message<Specification>
where
Specification: MessageSpecification + Clone,
Specification: MessageSpecification,
{
/// The sender from the L1 chain.
pub sender: Address,
Expand All @@ -194,7 +194,7 @@ where

impl<Specification> Message<Specification>
where
Specification: MessageSpecification + Clone,
Specification: MessageSpecification,
{
pub fn prepare_sign(&mut self) {
if let Some(predicate_gas_used_field) = self.predicate_gas_used.as_mut_field() {
Expand Down
2 changes: 0 additions & 2 deletions fuel-types/src/array_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ macro_rules! key {
/// FuelVM atomic array type.
#[repr(transparent)]
#[cfg_attr(feature = "typescript", wasm_bindgen::prelude::wasm_bindgen)]
#[cfg_attr(feature = "da-compression", derive(fuel_compression::CompressibleBy))]
#[derive(
fuel_types::canonical::Serialize, fuel_types::canonical::Deserialize,
)]
Expand All @@ -56,7 +55,6 @@ macro_rules! key_with_big_array {
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[repr(transparent)]
#[cfg_attr(feature = "typescript", wasm_bindgen::prelude::wasm_bindgen)]
#[cfg_attr(feature = "da-compression", derive(fuel_compression::CompressibleBy))]
#[derive(
fuel_types::canonical::Serialize, fuel_types::canonical::Deserialize,
)]
Expand Down

0 comments on commit bf75dbc

Please sign in to comment.