Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Oct 4, 2024
1 parent b15af60 commit 01a83fe
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
26 changes: 14 additions & 12 deletions crates/utils/src/eth_transaction/legacy.cairo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::eth_transaction::common::TxKind;
use crate::traits::SpanDefault;
use crate::errors::{RLPError, EthTransactionError, RLPErrorTrait};
use crate::eth_transaction::common::TxKind;
use crate::rlp::{RLPItem, RLPHelpersTrait};
use crate::traits::SpanDefault;
use crate::traits::{DefaultSignature};


Expand Down Expand Up @@ -81,14 +81,16 @@ pub impl _impl of TxLegacyTrait {
Option::None => { TxKind::Create }
};

Result::Ok(TxLegacy {
nonce,
gas_price,
gas_limit,
to: transact_to,
value,
input,
chain_id: Option::Some(chain_id),
})
Result::Ok(
TxLegacy {
nonce,
gas_price,
gas_limit,
to: transact_to,
value,
input,
chain_id: Option::Some(chain_id),
}
)
}
}
}
2 changes: 1 addition & 1 deletion crates/utils/src/eth_transaction/transaction.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::eth_transaction::eip1559::{TxEip1559, TxEip1559Trait};
use crate::eth_transaction::eip2930::{AccessListItem, TxEip2930, TxEip2930Trait};
use crate::eth_transaction::legacy::{TxLegacy, TxLegacyTrait};
use crate::eth_transaction::tx_type::{TxType};
use crate::rlp::{RLPItem, RLPTrait, RLPHelpersTrait};
use crate::rlp::{RLPItem, RLPTrait};
use crate::traits::bytes::U8SpanExTrait;
use crate::traits::{DefaultSignature};

Expand Down

0 comments on commit 01a83fe

Please sign in to comment.