Add chain_id field to all block import test requests
All checks were successful
Python Tests / test-python (push) Successful in 10s

- Add chain_id parameter to importBlock requests in all verification tests
- Update test_block_import.py to use high block heights to avoid conflicts with existing chain
- Simplify test_block_import.py to focus on core validation (hash, parent, conflict)
- Fix test_block_import_complete.py to use head block instead of block 1 for existing block test
- Update expected response format from status field to success field
This commit is contained in:
aitbc
2026-04-22 15:05:23 +02:00
parent e611530bd0
commit 51920a15d7
6 changed files with 384 additions and 165 deletions

View File

@@ -36,7 +36,8 @@ def test_minimal():
"proposer": "test-proposer",
"timestamp": timestamp,
"tx_count": 0,
"transactions": []
"transactions": [],
"chain_id": CHAIN_ID
}
print("Testing with empty transactions list...")