Skip to content

Commit

Permalink
fix: use cainome macro instead of bin generation
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Aug 9, 2024
1 parent a704595 commit 258b0da
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 4,442 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ account-wasm = { path = "packages/account-wasm" }
anyhow = "1"
async-trait = "0.1"
base64 = "0.22"
cainome = { git = "https://github.com/cartridge-gg/cainome", rev = "deec8d4", features = [
cainome = { git = "https://github.com/cartridge-gg/cainome", branch = "main", features = [
"abigen-rs",
] }
cairo-lang-starknet = "2.4.0"
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ generate_artifacts:
cp ${build}CartridgeAccount${compiled} ${store}controller${compiled}
cp ${build}ERC20Upgradeable${compiled} ${store}erc20${compiled}

cainome --artifacts-path packages/account_sdk/compiled --parser-config packages/account_sdk/parser_config.json --output-dir packages/account_sdk/src/abigen --execution-version v1 --rust&& cargo fmt -p account_sdk

deploy-katana:
@set -x; \
erc20_class=$$(starkli class-hash ${build}ERC20Upgradeable${sierra}); \
Expand Down
Loading

0 comments on commit 258b0da

Please sign in to comment.