Skip to content

Commit

Permalink
chore: scarb fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Darlington02 committed Jan 25, 2025
1 parent 444fffe commit 0f66b8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions contracts/scripts/src/hellostarknet.cairo
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use sncast_std::{
declare, deploy, DeclareResultTrait, get_nonce, FeeSettings, EthFeeSettings
};
use sncast_std::{DeclareResultTrait, EthFeeSettings, FeeSettings, declare, deploy, get_nonce};

fn main() {
let max_fee = 99999999999999999;
Expand All @@ -10,7 +8,7 @@ fn main() {
let declare_result = declare(
"HelloStarknet",
FeeSettings::Eth(EthFeeSettings { max_fee: Option::Some(max_fee) }),
Option::Some(nonce)
Option::Some(nonce),
)
.expect('contract already declared');

Expand All @@ -24,7 +22,7 @@ fn main() {
Option::Some(salt),
true,
FeeSettings::Eth(EthFeeSettings { max_fee: Option::Some(max_fee) }),
Option::Some(nonce)
Option::Some(nonce),
)
.expect('deploy failed');

Expand Down
2 changes: 1 addition & 1 deletion contracts/tests/test_contract.cairo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use snforge_std::{declare, ContractClassTrait, DeclareResult};
use contracts::{IHelloStarknetDispatcher, IHelloStarknetDispatcherTrait};
use snforge_std::{ContractClassTrait, DeclareResult, declare};

#[test]
fn test_balance() {
Expand Down

0 comments on commit 0f66b8b

Please sign in to comment.