Skip to content

Commit

Permalink
chore: scarb fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Eikix committed Oct 10, 2023
1 parent 0a64bd6 commit 8f7b96c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions crates/evm/src/kakarot_core.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ struct ContractAccountStorage {

#[starknet::contract]
mod KakarotCore {
use core::traits::Into;
use core::traits::TryInto;
use core_contracts::components::ownable::ownable_component::InternalTrait;
use core::traits::Into;
use starknet::{EthAddress, ContractAddress, ClassHash};
use core_contracts::components::ownable::{ownable_component};
use starknet::{EthAddress, ContractAddress, ClassHash};
use super::{ContractAccountStorage};
component!(path: ownable_component, storage: ownable, event: OwnableEvent);

Expand Down
2 changes: 1 addition & 1 deletion crates/evm/src/tests/test_kakarot_core.cairo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use evm::kakarot_core::IExtendedKakarotCoreDispatcherImpl;
use evm::tests::test_utils;
use starknet::{get_caller_address, testing, contract_address_const};
use evm::kakarot_core::IExtendedKakarotCoreDispatcherImpl;

#[test]
#[available_gas(20000000)]
Expand Down
4 changes: 2 additions & 2 deletions crates/evm/src/tests/test_utils.cairo
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use eoa::externally_owned_account::{ExternallyOwnedAccount};
use evm::context::{
CallContext, CallContextTrait, ExecutionContext, ExecutionContextTrait, DefaultOptionSpanU8
};
use evm::kakarot_core::{IExtendedKakarotCoreDispatcher, KakarotCore};

use evm::machine::Machine;
use starknet::{
StorageBaseAddress, storage_base_address_from_felt252, contract_address_try_from_felt252,
ContractAddress, EthAddress, deploy_syscall, get_contract_address, contract_address_const
};
use evm::kakarot_core::{IExtendedKakarotCoreDispatcher, KakarotCore};
use eoa::externally_owned_account::{ExternallyOwnedAccount};

fn starknet_address() -> ContractAddress {
'starknet_address'.try_into().unwrap()
Expand Down

0 comments on commit 8f7b96c

Please sign in to comment.