Skip to content

Commit 07c19b8

Browse files
committed
bump chia-rs to 0.29
1 parent a803dc0 commit 07c19b8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

chia/full_node/mempool_manager.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
from chia_rs import (
1212
ELIGIBLE_FOR_DEDUP,
1313
ELIGIBLE_FOR_FF,
14+
MEMPOOL_MODE,
1415
BLSCache,
1516
ConsensusConstants,
1617
SpendBundle,
1718
SpendBundleConditions,
19+
get_flags_for_height_and_constants,
1820
supports_fast_forward,
1921
validate_clvm_and_signature,
2022
)
@@ -440,13 +442,14 @@ async def pre_validate_spendbundle(
440442

441443
self._worker_queue_size += 1
442444
try:
445+
flags = get_flags_for_height_and_constants(self.peak.height, self.constants)
443446
sbc, new_cache_entries, duration = await asyncio.get_running_loop().run_in_executor(
444447
self.pool,
445448
validate_clvm_and_signature,
446449
spend_bundle,
447450
self.max_tx_clvm_cost,
448451
self.constants,
449-
self.peak.height,
452+
flags | MEMPOOL_MODE,
450453
)
451454
# validate_clvm_and_signature raises a TypeError with an error code
452455
except Exception as e:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ boto3 = ">=1.35.43" # AWS S3 for Data Layer S3 plugin
5353
chiabip158 = ">=1.5.2" # bip158-style wallet filters
5454
chiapos = ">=2.0.10" # proof of space
5555
chia-puzzles-py = ">=0.20.1"
56-
chia_rs = ">=0.28.2, <0.29"
56+
chia_rs = ">=0.29, <0.30"
5757
chiavdf = ">=1.1.10" # timelord and vdf verification
5858
click = ">=8.1.7" # For the CLI
5959
clvm = ">=0.9.14"

0 commit comments

Comments
 (0)