Skip to content

Commit

Permalink
Update for hyperdrivetypes. Includes version bump to v0.18.0 (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheng Lundquist authored Sep 5, 2024
1 parent c79ea3c commit 6ed281e
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 7,904 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
python-version: "3.10"

- name: install python dependencies
run: python -m pip install --upgrade pip && python -m pip install --upgrade -r requirements-dev.txt
run: python -m pip install --upgrade pip && python -m pip install .[all]

- name: build wheels
uses: pypa/[email protected]
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/python_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ jobs:
- name: install requirements
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade -r requirements.txt
python -m pip install --upgrade -r requirements-dev.txt
- name: install hyperdrivepy
run: python -m pip install .
run: python -m pip install .[all]

- name: run pytest
run: python -m pytest .
12 changes: 0 additions & 12 deletions bindings/hyperdrivepy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,6 @@ Hyperdrivepy is the Python bindings for the Rust [hyperdrive](https://github.com

Hyperdrivepy can be installed via pip: `python -m pip install hyperdrivepy`

## Build Types

PoolInfo and PoolConfig are passed into many of the functions.
These are built from the Hyperdrive abi json with pypechain.
After compiling in the `hyperdrive` repo, run the following
from the hyperdrive-rs project root:

```shell
pip install --upgrade -r requirements-dev.txt
pypechain --line-length 120 --output-dir bindings/hyperdrivepy/python/hyperdrivepy/pypechain_types path/to/hyperdrive/out/IHyperdrive.sol/
```


## Disclaimer

Expand Down
Loading

0 comments on commit 6ed281e

Please sign in to comment.