Skip to content

Commit

Permalink
chore: run scarb fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfalt committed Sep 12, 2024
1 parent 4bfc236 commit 2990c5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/contracts/src/kakarot_core/kakarot.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ pub mod KakarotCore {
use evm::state::StateTrait;
use evm::{EVMTrait};
use utils::address::compute_contract_address;
use utils::constants::POW_2_53;
use utils::eth_transaction::common::TxKind;
use utils::eth_transaction::eip2930::{AccessListItem, AccessListItemTrait};
use utils::eth_transaction::transaction::{Transaction, TransactionTrait};
use utils::helpers::compute_starknet_address;
use utils::set::{Set, SetTrait};
use utils::constants::POW_2_53;

component!(path: ownable_component, storage: ownable, event: OwnableEvent);
component!(path: upgradeable_component, storage: upgradeable, event: UpgradeableEvent);
Expand Down Expand Up @@ -168,7 +168,7 @@ pub mod KakarotCore {
fn eth_chain_id(self: @ContractState) -> u64 {
let tx_info = get_tx_info().unbox();
let tx_chain_id: u64 = tx_info.chain_id.try_into().unwrap();
tx_chain_id % POW_2_53.try_into().unwrap()
tx_chain_id % POW_2_53.try
}

fn eth_send_transaction(ref self: ContractState, tx: Transaction) -> (bool, Span<u8>, u64) {
Expand Down

0 comments on commit 2990c5f

Please sign in to comment.