Skip to content

Commit

Permalink
python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Mar 15, 2024
1 parent 27ce87e commit c045d0f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wheel/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ use crate::run_generator::{
use chia_consensus::allocator::make_allocator;
use chia_consensus::gen::conditions::MempoolVisitor;
use chia_consensus::gen::flags::{
AGG_SIG_ARGS, ALLOW_BACKREFS, ANALYZE_SPENDS, COND_ARGS_NIL, ENABLE_SOFTFORK_CONDITION,
MEMPOOL_MODE, NO_RELATIVE_CONDITIONS_ON_EPHEMERAL, NO_UNKNOWN_CONDS, STRICT_ARGS_COUNT,
AGG_SIG_ARGS, ALLOW_BACKREFS, ANALYZE_SPENDS, COND_ARGS_NIL, ENABLE_MESSAGE_CONDITIONS,
ENABLE_SOFTFORK_CONDITION, MEMPOOL_MODE, NO_RELATIVE_CONDITIONS_ON_EPHEMERAL, NO_UNKNOWN_CONDS,
STRICT_ARGS_COUNT,
};
use chia_consensus::gen::run_puzzle::run_puzzle as native_run_puzzle;
use chia_consensus::gen::solution_generator::solution_generator as native_solution_generator;
Expand Down Expand Up @@ -353,6 +354,7 @@ pub fn chia_rs(_py: Python, m: &PyModule) -> PyResult<()> {
m.add("AGG_SIG_ARGS", AGG_SIG_ARGS)?;
m.add("ENABLE_FIXED_DIV", ENABLE_FIXED_DIV)?;
m.add("ENABLE_SOFTFORK_CONDITION", ENABLE_SOFTFORK_CONDITION)?;
m.add("ENABLE_MESSAGE_CONDITIONS", ENABLE_MESSAGE_CONDITIONS)?;
m.add(
"NO_RELATIVE_CONDITIONS_ON_EPHEMERAL",
NO_RELATIVE_CONDITIONS_ON_EPHEMERAL,
Expand Down

0 comments on commit c045d0f

Please sign in to comment.