Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Commit 0f66b8b

Browse files
committed
chore: scarb fmt
1 parent 444fffe commit 0f66b8b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

contracts/scripts/src/hellostarknet.cairo

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
use sncast_std::{
2-
declare, deploy, DeclareResultTrait, get_nonce, FeeSettings, EthFeeSettings
3-
};
1+
use sncast_std::{DeclareResultTrait, EthFeeSettings, FeeSettings, declare, deploy, get_nonce};
42

53
fn main() {
64
let max_fee = 99999999999999999;
@@ -10,7 +8,7 @@ fn main() {
108
let declare_result = declare(
119
"HelloStarknet",
1210
FeeSettings::Eth(EthFeeSettings { max_fee: Option::Some(max_fee) }),
13-
Option::Some(nonce)
11+
Option::Some(nonce),
1412
)
1513
.expect('contract already declared');
1614

@@ -24,7 +22,7 @@ fn main() {
2422
Option::Some(salt),
2523
true,
2624
FeeSettings::Eth(EthFeeSettings { max_fee: Option::Some(max_fee) }),
27-
Option::Some(nonce)
25+
Option::Some(nonce),
2826
)
2927
.expect('deploy failed');
3028

contracts/tests/test_contract.cairo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use snforge_std::{declare, ContractClassTrait, DeclareResult};
21
use contracts::{IHelloStarknetDispatcher, IHelloStarknetDispatcherTrait};
2+
use snforge_std::{ContractClassTrait, DeclareResult, declare};
33

44
#[test]
55
fn test_balance() {

0 commit comments

Comments
 (0)