Skip to content

Commit 3609f53

Browse files
committed
SpendCondition have a fingerprint now
1 parent 07c19b8 commit 3609f53

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

chia/_tests/blockchain/test_blockchain.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4337,6 +4337,7 @@ async def test_include_spends_same_as_parent(
43374337
0,
43384338
0,
43394339
0,
4340+
b"",
43404341
)
43414342
],
43424343
0,

chia/_tests/core/full_node/test_generator_tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
0,
4747
execution_cost=0,
4848
condition_cost=0,
49+
fingerprint=b"",
4950
),
5051
SpendConditions(
5152
coin_ids[1],
@@ -73,6 +74,7 @@
7374
0,
7475
execution_cost=0,
7576
condition_cost=0,
77+
fingerprint=b"",
7678
),
7779
]
7880

chia/_tests/core/mempool/test_mempool_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ def make_test_conds(
359359
flags,
360360
execution_cost=0,
361361
condition_cost=0,
362+
fingerprint=b"",
362363
)
363364
for coin_id, parent_id, puzzle_hash, amount, flags, create_coin in spend_info
364365
],

chia/_tests/generator/test_rom.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def test_get_name_puzzle_conditions(self, softfork_height: int) -> None:
159159
# execution cost, just in run_block_generator2()
160160
execution_cost=0 if softfork_height < DEFAULT_CONSTANTS.HARD_FORK_HEIGHT else 44,
161161
condition_cost=1800000,
162+
fingerprint=b"",
162163
)
163164

164165
assert npc_result.conds.spends == [spend]

chia/_tests/util/test_condition_tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def mk_agg_sig_conditions(
5151
flags=0,
5252
execution_cost=0,
5353
condition_cost=0,
54+
fingerprint=b"",
5455
)
5556
return SpendBundleConditions([spend], 0, 0, 0, None, None, agg_sig_unsafe_data, 0, 0, 0, False, 0, 0)
5657

0 commit comments

Comments
 (0)