Skip to content

Commit

Permalink
feat : updated makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdbytes committed Dec 2, 2024
1 parent 4dcb762 commit 28c1622
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,18 @@

.PHONY: piltover cairo-lang local-contracts starkgate-contracts-latest starkgate-contracts-old l2-artifacts

CAIRO_LANG_COMMIT_HASH="8e11b8cc65ae1d0959328b1b4a40b92df8b58595"
STARKGATE_CONTRACTS_COMMIT_HASH="45941888479663ac93e898cd7f8504fa9066c54c"
STARKGATE_LEGACY_CONTRACTS_COMMIT_HASH="82e651f5f642508577b6310f47d0d457f5f9a9bb"
CAIRO_LANG_RELEASE_VERSION="v0.13.2"
STARKGATE_CONTRACTS_RELEASE_VERSION="v2.0.1"
STARKGATE_LEGACY_CONTRACTS_COMMIT_HASH="82e651f5f642508577b6310f47d0d457f5f9a9bb" # branch update 0.9.0

piltover:
mkdir crates/starknet-proxy-client/src/artifacts || true
mkdir crates/starknet-core-contract-client/src/artifacts || true
forge build
cp out/StarknetSovereign.sol/Starknet.json crates/starknet-core-contract-client/src/artifacts/
(cd lib/piltover && scarb build && cp target/dev/* ../../crates/l3/appchain-core-contract-client/artifacts)

cairo-lang:
# Building
cp build-artifacts/cairo-lang/foundry.toml lib/cairo-lang/foundry.toml
cd lib/cairo-lang && \
git checkout $(CAIRO_LANG_COMMIT_HASH) && \
git checkout $(CAIRO_LANG_RELEASE_VERSION) && \
forge build
# Copying Contracts :
mkdir -p artifacts/cairo-lang
Expand Down
2 changes: 1 addition & 1 deletion lib/cairo-lang
Submodule cairo-lang updated 44 files
+2 −2 README.md
+0 −2 src/starkware/cairo/common/BUILD
+0 −36 src/starkware/cairo/common/copy_indices.cairo
+0 −28 src/starkware/cairo/common/log2_ceil.cairo
+0 −1 src/starkware/cairo/lang/BUILD
+1 −1 src/starkware/cairo/lang/VERSION
+1 −1 src/starkware/cairo/lang/ide/vscode-cairo/package.json
+3 −6 src/starkware/starknet/business_logic/execution/execute_entry_point.py
+0 −1 src/starkware/starknet/business_logic/fact_state/BUILD
+8 −112 src/starkware/starknet/business_logic/fact_state/state.py
+3 −3 src/starkware/starknet/business_logic/state/state_api_objects.py
+6 −9 src/starkware/starknet/business_logic/transaction/deprecated_objects.py
+2 −6 src/starkware/starknet/core/aggregator/BUILD
+125 −169 src/starkware/starknet/core/aggregator/aggregator_test.py
+37 −159 src/starkware/starknet/core/aggregator/output_parser.py
+2 −2 src/starkware/starknet/core/aggregator/program_hash.json
+4 −6 src/starkware/starknet/core/aggregator/utils.py
+2 −2 src/starkware/starknet/core/os/BUILD
+0 −2 src/starkware/starknet/core/os/contract_class/BUILD
+5 −69 src/starkware/starknet/core/os/contract_class/class_hash_utils.py
+42 −64 src/starkware/starknet/core/os/contract_class/contract_class.cairo
+0 −26 src/starkware/starknet/core/os/data_availability/BUILD
+0 −432 src/starkware/starknet/core/os/data_availability/compression.cairo
+0 −288 src/starkware/starknet/core/os/data_availability/compression.py
+12 −39 src/starkware/starknet/core/os/execution/execute_transactions.cairo
+0 −2 src/starkware/starknet/core/os/os_input.py
+12 −42 src/starkware/starknet/core/os/output.cairo
+1 −1 src/starkware/starknet/core/os/program_hash.json
+28 −54 src/starkware/starknet/core/os/state/output.cairo
+1 −1 src/starkware/starknet/definitions/BUILD
+1 −6 src/starkware/starknet/definitions/chain_ids.py
+0 −2 src/starkware/starknet/definitions/constants.py
+0 −1 src/starkware/starknet/definitions/error_codes.py
+7 −6 src/starkware/starknet/definitions/fields.py
+59 −37 src/starkware/starknet/definitions/general_config.py
+5 −4 src/starkware/starknet/definitions/general_config.yml
+0 −11 src/starkware/starknet/definitions/overridable_versioned_constants.py
+1 −1 src/starkware/starknet/definitions/versioned_constants.json
+0 −20 src/starkware/starknet/solidity/IStarknetMessaging.sol
+1 −2 src/starkware/starknet/solidity/Starknet.sol
+1 −1 src/starkware/starknet/solidity/StarknetGovernance.sol
+11 −23 src/starkware/starknet/solidity/StarknetMessaging.sol
+1 −1 src/starkware/starknet/solidity/StarknetOperator.sol
+2 −8 src/starkware/starknet/solidity/StarknetState.sol

0 comments on commit 28c1622

Please sign in to comment.