Skip to content

Commit

Permalink
🎨 format code and add config files
Browse files Browse the repository at this point in the history
  • Loading branch information
tekkac committed Sep 28, 2024
1 parent 9ce5333 commit d5a094d
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target/
target/
.snfoundry*
20 changes: 20 additions & 0 deletions Scarb.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Code generated by scarb DO NOT EDIT.
version = 1

[[package]]
name = "cairo_erc_3525"
version = "2.1.0"
dependencies = [
"openzeppelin",
"snforge_std",
]

[[package]]
name = "openzeppelin"
version = "0.14.0"
source = "git+https://github.com/OpenZeppelin/cairo-contracts.git?tag=v0.14.0#f091c4f51ddeb10297db984acae965328c5a4e5b"

[[package]]
name = "snforge_std"
version = "0.27.0"
source = "git+https://github.com/foundry-rs/starknet-foundry.git?tag=v0.27.0#2d99b7c00678ef0363881ee0273550c44a9263de"
4 changes: 2 additions & 2 deletions Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cairo_erc_3525"
version = "2.1.0"
edition = "2023_01"
cairo-version = "2.6.3"
cairo-version = "2.6.4"

[lib]

Expand All @@ -19,4 +19,4 @@ casm = true
test = "snforge test"

[tool.snforge]
exit_first = false
exit_first = false
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ mod ERC3525MintableBurnableMSA {
use openzeppelin::introspection::src5::SRC5Component;

// ERC721
use openzeppelin::token::erc721::{ERC721Component, ERC721HooksEmptyImpl, interface::{IERC721, IERC721CamelOnly}};
use openzeppelin::token::erc721::{
ERC721Component, ERC721HooksEmptyImpl, interface::{IERC721, IERC721CamelOnly}
};

// ERC3525
use cairo_erc_3525::module::ERC3525Component;
Expand Down
2 changes: 1 addition & 1 deletion src/test_helpers/account.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ pub(crate) mod AccountUpgradeable {
self.upgradeable.upgrade(new_class_hash);
}
}
}
}

0 comments on commit d5a094d

Please sign in to comment.