Skip to content

Commit

Permalink
Merge pull request #72 from argentlabs/develop
Browse files Browse the repository at this point in the history
Release 0.2.3
  • Loading branch information
juniset authored Nov 1, 2022
2 parents 5373e0d + 7d743dc commit c6d3ee5
Show file tree
Hide file tree
Showing 36 changed files with 3,839 additions and 2,215 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest cairo-lang
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest -v ./test/argent_account.py ./test/proxy.py
pytest -v ./test/*.py
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ venv/
.pytest_cache
__pycache__
artifacts
node.json
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ To enable that model to evolve if needed, the account is implemented as a proxy

## Development

### Setup a local virtual env
### Setup a local virtual env with Python 3.9

```
python -m venv ./venv
python3.9 -m venv ./venv
source ./venv/bin/activate
```

Expand All @@ -48,6 +48,12 @@ source ./venv/bin/activate
brew install gmp
```

You might need this extra step if you are running on a Mac with the M1 chip

```
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip install ecdsa fastecdsa sympy
```

```
pip install -r requirements.txt
```
Expand Down
Loading

0 comments on commit c6d3ee5

Please sign in to comment.