Skip to content

Commit

Permalink
add all member functions to Program, matching chia.types.blockchain_f…
Browse files Browse the repository at this point in the history
…ormat.SerializedProgram
  • Loading branch information
arvidn committed Oct 31, 2023
1 parent 9a9f43f commit 2119e3c
Show file tree
Hide file tree
Showing 12 changed files with 390 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Build
run: |
python -m pip install clvm_tools colorama blspy
python -m pip install clvm_tools colorama blspy chia-blockchain
maturin develop --release -m wheel/Cargo.toml
- name: python mypy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ jobs:
source venv/bin/activate
git clone https://github.com/Chia-Network/clvm_tools.git --branch=main --single-branch
pip install ./clvm_tools
pip install colorama maturin pytest
pip install colorama maturin pytest chia-blockchain
maturin develop --release -m wheel/Cargo.toml
pytest tests
grcov . --binary-path target -s . --branch --ignore-not-existing --ignore='*/.cargo/*' --ignore='tests/*' --ignore='venv/*' -o rust_cov.info
Expand Down
17 changes: 10 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion chia-protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ repository = "https://github.com/Chia-Network/chia_rs/chia-protocol/"
py-bindings = ["dep:pyo3", "dep:chia_py_streamable_macro", "chia-traits/py-bindings"]

[dependencies]
pyo3 = { version = ">=0.19.0", features = ["multiple-pymethods"], optional = true }
pyo3 = { version = ">=0.19.0", features = ["multiple-pymethods", "num-bigint"], optional = true }
sha2 = "0.9.9"
hex = "0.4.3"
chia_streamable_macro = { version = "0.2.12", path = "../chia_streamable_macro" }
chia_py_streamable_macro = { version = "0.2.13", path = "../chia_py_streamable_macro", optional = true }
clvmr = "0.3.0"
chia-traits = { version = "0.2.13", path = "../chia-traits" }
clvm-traits = { version = "0.2.12", path = "../clvm-traits", features = ["derive"] }
clvm-utils = { version = "0.2.12", path = "../clvm-utils" }
chia-bls = { version = "0.2.13", path = "../chia-bls" }
arbitrary = { version = "=1.3.0", features = ["derive"] }

Expand Down
Loading

0 comments on commit 2119e3c

Please sign in to comment.