Skip to content

Commit

Permalink
update piltover submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Feb 3, 2025
1 parent 9efe3a9 commit 9152f2c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
url = https://github.com/foundry-rs/forge-std
[submodule "crates/katana/contracts/piltover"]
path = crates/katana/contracts/piltover
url = https://github.com/cartridge-gg/piltover.git
url = https://github.com/keep-starknet-strange/piltover.git
8 changes: 4 additions & 4 deletions crates/katana/contracts/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CONTRACT_CLASS_SUFFIX := .contract_class.json
# Directory where the compiled classes will be stored
BUILD_DIR := ./build
BUILD_DIR := $(PWD)/build

## ---- Default Pre-deployed Account

Expand All @@ -16,8 +16,8 @@ $(BUILD_DIR): ./account/src/*
ORIGINAL_CLASS_NAME := piltover_appchain$(CONTRACT_CLASS_SUFFIX)
CLASS_NAME := appchain_core_contract.json

$(BUILD_DIR): ./piltover/src/*
cd piltover && scarb build
mv target/dev/$(ORIGINAL_CLASS_NAME) $(BUILD_DIR)/$(CLASS_NAME)
$(BUILD_DIR)/$(CLASS_NAME): ./piltover
cd $< && scarb build
mv $</target/dev/$(ORIGINAL_CLASS_NAME) $@

## ----
2 changes: 1 addition & 1 deletion crates/katana/contracts/build/appchain_core_contract.json

Large diffs are not rendered by default.

0 comments on commit 9152f2c

Please sign in to comment.