Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Remove remaining files #497

Merged
merged 1 commit into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ clippy: compile-cairo compile-starknet
test: compile-cairo compile-starknet $(COMPILED_SIERRA_CONTRACTS)
cargo test

test-py: compile-cairo compile-starknet
. starknet-venv/bin/activate && cargo test -p starknet-rs-py --no-default-features --features embedded-python

coverage: compile-cairo compile-starknet compile-abi $(COMPILED_SIERRA_CONTRACTS)
cargo llvm-cov --ignore-filename-regex 'main.rs'
cargo llvm-cov report --lcov --ignore-filename-regex 'main.rs' --output-path lcov.info
Expand Down
10 changes: 0 additions & 10 deletions docs/devnet_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,3 @@ cd starknet-devnet
poetry run pytest -s -v test # To run all tests with verbose mode
poetry run pytest test/<TEST_FILE> # To run a single test
```

# Workflow
In order to test how changes in the starknet codebase affect the `starknet-devnet`, you can install `starknet-rs-py` with
```
maturin develop
```
and then run the script `scripts/patch-devnet.sh` while in the devnet repo.
This will replace all uses of `starkware.starknet` with `starknet_rs_py`.

**Note**: this assumes a devnet version of v0.4.6, as specified in _Installing dev dependencies_
16 changes: 0 additions & 16 deletions pyproject.toml

This file was deleted.