Skip to content

Commit

Permalink
Use updated clvm_rs. (#98)
Browse files Browse the repository at this point in the history
* Use updated clvm_rs.
* Bump local versions too.
  • Loading branch information
richardkiss authored Dec 6, 2022
1 parent 2b3d3b7 commit e285fde
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exclude = ["wheel"]

[package]
name = "chia"
version = "0.1.15"
version = "0.1.16"
edition = "2021"
license = "Apache-2.0"
description = "Utility functions and types used by the Chia blockchain full node"
Expand All @@ -18,11 +18,11 @@ repository = "https://github.com/Chia-Network/chia_rs/"
py-bindings = ["dep:pyo3"]

[dependencies]
clvmr = "=0.1.24"
clvmr = "=0.2.0"
hex = "=0.4.3"
pyo3 = { version = "=0.15.1", features = ["extension-module"], optional = true }
clvm-utils = { version = "=0.1.15", path = "clvm-utils" }
chia-protocol = { version = "=0.1.15", path = "chia-protocol" }
clvm-utils = { version = "=0.1.16", path = "clvm-utils" }
chia-protocol = { version = "=0.1.16", path = "chia-protocol" }

[dev-dependencies]
num-traits = "=0.2.15"
Expand Down
4 changes: 2 additions & 2 deletions chia-protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chia-protocol"
version = "0.1.15"
version = "0.1.16"
edition = "2021"
license = "Apache-2.0"
description = "Chia network protocol message types"
Expand All @@ -17,7 +17,7 @@ sha2 = "=0.10.2"
hex = "=0.4.3"
chia_streamable_macro = { version = "=0.2.3", path = "../chia_streamable_macro" }
chia_py_streamable_macro = { path = "../chia_py_streamable_macro", version = "=0.1.2", optional = true }
clvmr = "=0.1.24"
clvmr = "=0.2.0"

[lib]
crate-type = ["rlib"]
4 changes: 2 additions & 2 deletions clvm-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clvm-utils"
version = "0.1.15"
version = "0.1.16"
edition = "2021"
license = "Apache-2.0"
description = "Utility functions for processing clvm programs and structures"
Expand All @@ -9,4 +9,4 @@ homepage = "https://github.com/Chia-Network/chia_rs/"
repository = "https://github.com/Chia-Network/chia_rs/clvm-utils"

[dependencies]
clvmr = "=0.1.24"
clvmr = "=0.2.0"
2 changes: 1 addition & 1 deletion clvm-utils/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cargo-fuzz = true

[dependencies]
libfuzzer-sys = "0.4"
clvmr = "=0.1.24"
clvmr = "=0.2.0"

[dependencies.clvm-utils]
path = ".."
Expand Down
2 changes: 1 addition & 1 deletion fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cargo-fuzz = true

[dependencies]
libfuzzer-sys = "0.4"
clvmr = "=0.1.24"
clvmr = "=0.2.0"

[dependencies.chia]
path = ".."
Expand Down
2 changes: 1 addition & 1 deletion src/gen/conditions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ use clvmr::node::Node;
#[cfg(test)]
use clvmr::number::{ptr_from_number, Number};
#[cfg(test)]
use clvmr::serialize::node_to_bytes;
use clvmr::serde::node_to_bytes;
#[cfg(test)]
use hex::FromHex;
#[cfg(test)]
Expand Down
2 changes: 1 addition & 1 deletion wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chia_wasm"
version = "0.1.15"
version = "0.1.16"
authors = ["Richard Kiss <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion wheel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ path = "src/lib.rs"
[dependencies]
chia = { path = "..", features = ["py-bindings"] }
chia-protocol = { path = "../chia-protocol", features = ["py-bindings"] }
clvmr = "=0.1.24"
clvmr = "=0.2.0"
pyo3 = { version = "=0.15.1", features = ["extension-module", "multiple-pymethods"] }
chia_py_streamable_macro = { version= "0.1.2", path = "../chia_py_streamable_macro" }
chia_streamable_macro = { version = "0.2.3", path = "../chia_streamable_macro" }
Expand Down
2 changes: 1 addition & 1 deletion wheel/src/adapt_response.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use clvmr::allocator::Allocator;
use clvmr::node::Node;
use clvmr::reduction::EvalErr;
use clvmr::serialize::node_to_bytes;
use clvmr::serde::node_to_bytes;

use pyo3::prelude::*;
use pyo3::types::PyDict;
Expand Down
6 changes: 3 additions & 3 deletions wheel/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::convert::TryInto;
use clvmr::chia_dialect::LIMIT_HEAP;
use clvmr::chia_dialect::NO_NEG_DIV;
use clvmr::chia_dialect::NO_UNKNOWN_OPS;
use clvmr::serialize::tree_hash_from_stream;
use clvmr::serde::tree_hash_from_stream;
use pyo3::prelude::*;
use pyo3::types::PyBytes;
use pyo3::types::PyModule;
Expand All @@ -34,8 +34,8 @@ use clvmr::node::Node;
use clvmr::reduction::EvalErr;
use clvmr::reduction::Reduction;
use clvmr::run_program::run_program;
use clvmr::serialize::node_from_bytes;
use clvmr::serialize::node_to_bytes;
use clvmr::serde::node_from_bytes;
use clvmr::serde::node_to_bytes;

pub const MEMPOOL_MODE: u32 =
NO_NEG_DIV | NO_UNKNOWN_CONDS | NO_UNKNOWN_OPS | COND_ARGS_NIL | STRICT_ARGS_COUNT | LIMIT_HEAP;
Expand Down
2 changes: 1 addition & 1 deletion wheel/src/run_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use clvmr::chia_dialect::LIMIT_HEAP;
use clvmr::cost::Cost;
use clvmr::reduction::{EvalErr, Reduction};
use clvmr::run_program::run_program;
use clvmr::serialize::node_from_bytes;
use clvmr::serde::node_from_bytes;

use pyo3::prelude::*;

Expand Down
2 changes: 1 addition & 1 deletion wheel/src/run_program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use clvmr::chia_dialect::ChiaDialect;
use clvmr::cost::Cost;
use clvmr::reduction::Response;
use clvmr::run_program::run_program;
use clvmr::serialize::{node_from_bytes, serialized_length_from_bytes};
use clvmr::serde::{node_from_bytes, serialized_length_from_bytes};
use pyo3::prelude::*;
use pyo3::types::{PyBytes, PyTuple};
use std::rc::Rc;
Expand Down

0 comments on commit e285fde

Please sign in to comment.