Skip to content

Commit ac4f103

Browse files
committed
Fix failing functional tests(feature_assumeutxo.py)
1 parent 6dfb697 commit ac4f103

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/functional/feature_assumeutxo.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def expected_error(msg):
148148

149149
def test_headers_not_synced(self, valid_snapshot_path):
150150
for node in self.nodes[1:]:
151-
msg = "Unable to load UTXO snapshot: The base block header (1e6b433578be026c430295078d3faca1d757c0aafec3252e385c300b35f3824b) must appear in the headers chain. Make sure all headers are syncing, and call loadtxoutset again."
151+
msg = "Unable to load UTXO snapshot: The base block header (23b4c64b3edad76868f8db6cb410e9f405d8d49f19367172c75bbfa9bfeed9ee) must appear in the headers chain. Make sure all headers are syncing, and call loadtxoutset again."
152152
assert_raises_rpc_error(-32603, msg, node.loadtxoutset, valid_snapshot_path)
153153

154154
def test_invalid_chainstate_scenarios(self):
@@ -207,7 +207,7 @@ def test_snapshot_block_invalidated(self, dump_output_path):
207207
block_hash = node.getblockhash(height)
208208
node.invalidateblock(block_hash)
209209
assert_equal(node.getblockcount(), height - 1)
210-
msg = "Unable to load UTXO snapshot: The base block header (1e6b433578be026c430295078d3faca1d757c0aafec3252e385c300b35f3824b) is part of an invalid chain."
210+
msg = "Unable to load UTXO snapshot: The base block header (23b4c64b3edad76868f8db6cb410e9f405d8d49f19367172c75bbfa9bfeed9ee) is part of an invalid chain."
211211
assert_raises_rpc_error(-32603, msg, node.loadtxoutset, dump_output_path)
212212
node.reconsiderblock(block_hash)
213213

@@ -403,7 +403,7 @@ def run_test(self):
403403
def check_dump_output(output):
404404
assert_equal(
405405
output['txoutset_hash'],
406-
"a4bf3407ccb2cc0145c49ebba8fa91199f8a3903daf0883875941497d2493c27")
406+
"033ad9c7cb6c646ed670f0ae19ffd0aa4940959c0edf0700ae429fe4857a1aad")
407407
assert_equal(output["nchaintx"], blocks[SNAPSHOT_BASE_HEIGHT].chain_tx)
408408

409409
check_dump_output(dump_output)
@@ -433,7 +433,7 @@ def check_dump_output(output):
433433
dump_output4 = n0.dumptxoutset(path='utxos4.dat', rollback=prev_snap_height)
434434
assert_equal(
435435
dump_output4['txoutset_hash'],
436-
"8a1db0d6e958ce0d7c963bc6fc91ead596c027129bacec68acc40351037b09d7")
436+
"fc7d0f0ea4bde7a60e4e539e3c0d583c05310ebbe89f8651759ba6455d2f811e")
437437
assert sha256sum_file(dump_output['path']) != sha256sum_file(dump_output4['path'])
438438

439439
# Use a hash instead of a height

0 commit comments

Comments
 (0)