Skip to content

Commit

Permalink
Use updated clvm_rs.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkiss committed Dec 3, 2022
1 parent f956e4b commit 69218d7
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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" }
Expand Down
2 changes: 1 addition & 1 deletion chia-protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion clvm-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 @@ -633,7 +633,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 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 69218d7

Please sign in to comment.