Skip to content

Commit c6d3ee5

Browse files
authored
Merge pull request #72 from argentlabs/develop
Release 0.2.3
2 parents 5373e0d + 7d743dc commit c6d3ee5

36 files changed

+3839
-2215
lines changed

.github/workflows/contracts.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
19-
- name: Set up Python 3.8
20-
uses: actions/setup-python@v2
18+
- uses: actions/checkout@v3
19+
- name: Set up Python 3.9
20+
uses: actions/setup-python@v4
2121
with:
22-
python-version: 3.8
22+
python-version: '3.9'
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
2626
pip install pytest cairo-lang
2727
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2828
- name: Test with pytest
2929
run: |
30-
pytest -v ./test/argent_account.py ./test/proxy.py
30+
pytest -v ./test/*.py

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ venv/
33
.pytest_cache
44
__pycache__
55
artifacts
6+
node.json

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ To enable that model to evolve if needed, the account is implemented as a proxy
3636

3737
## Development
3838

39-
### Setup a local virtual env
39+
### Setup a local virtual env with Python 3.9
4040

4141
```
42-
python -m venv ./venv
42+
python3.9 -m venv ./venv
4343
source ./venv/bin/activate
4444
```
4545

@@ -48,6 +48,12 @@ source ./venv/bin/activate
4848
brew install gmp
4949
```
5050

51+
You might need this extra step if you are running on a Mac with the M1 chip
52+
53+
```
54+
CFLAGS=-I`brew --prefix gmp`/include LDFLAGS=-L`brew --prefix gmp`/lib pip install ecdsa fastecdsa sympy
55+
```
56+
5157
```
5258
pip install -r requirements.txt
5359
```

0 commit comments

Comments
 (0)