diff --git a/.gitignore b/.gitignore index 01c4357d9d..010070081c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ **/*.json !hint_accountant/whitelists/*.json !cairo_programs/manually_compiled/*.json +**/*.casm +**/*.sierra **/*.trace **/*.memory **/*.swp diff --git a/CHANGELOG.md b/CHANGELOG.md index 693fbd7f4d..013b93364d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ #### Upcoming Changes +* Add some small considerations regarding Cairo 1 programs [#1144](https://github.com/lambdaclass/cairo-rs/pull/1144): + + * Ignore Casm and Sierra files + * Add special flag to compile Cairo 1 programs + * Make the VM able to run `CasmContractClass` files under `cairo-1-hints` feature [#1098](https://github.com/lambdaclass/cairo-rs/pull/1098) * Implement `TryFrom for Program` diff --git a/Makefile b/Makefile index 607657d696..2db8e0d77e 100644 --- a/Makefile +++ b/Makefile @@ -101,10 +101,10 @@ COMPILED_SIERRA_CONTRACTS:=$(patsubst $(CAIRO_1_CONTRACTS_TEST_DIR)/%.cairo, $(C COMPILED_CASM_CONTRACTS:= $(patsubst $(CAIRO_1_CONTRACTS_TEST_DIR)/%.sierra, $(CAIRO_1_CONTRACTS_TEST_DIR)/%.casm, $(COMPILED_SIERRA_CONTRACTS)) $(CAIRO_1_CONTRACTS_TEST_DIR)/%.sierra: $(CAIRO_1_CONTRACTS_TEST_DIR)/%.cairo - $(STARKNET_COMPILE) -- $< $@ + $(STARKNET_COMPILE) --allowed-libfuncs-list-name experimental_v0.1.0 $< $@ $(CAIRO_1_CONTRACTS_TEST_DIR)/%.casm: $(CAIRO_1_CONTRACTS_TEST_DIR)/%.sierra - $(STARKNET_SIERRA_COMPILE) -- $< $@ + $(STARKNET_SIERRA_COMPILE) --allowed-libfuncs-list-name experimental_v0.1.0 $< $@ cairo-repo-dir = cairo