test: update test data to new block and consolidate fixtures under test_data/#108
test: update test data to new block and consolidate fixtures under test_data/#108
Conversation
|
The PR currently has no labels applied. Based on the changes — updating test data fixtures (blocks 1139–1160 → 349–370), consolidating genesis config under There is no dedicated |
|
The code change (path update in
The README examples should be updated to either use |
|
The current label enhancement ("New feature or request") does not match the nature of this PR. This PR updates test data fixtures and consolidates them under None of the available labels are a perfect fit (the repo has no |
|
The consolidation looks good and the code change is correct. One minor issue: the README replaced two concrete paths ( |
|
The PR currently has no labels, but the |
3f52bb8 to
29d2e0e
Compare
|
LGTM. Test data updated cleanly, genesis config consolidated under |
Summary
Replace test data fixtures with a new block range (349–370) and consolidate all test assets under
test_data/.genesis/genesis.jsonintotest_data/genesis.jsonso all test fixtures live under a single directory, and update theTEST_GENESIS_FILEpath inmain.rsaccordingly.test_data/contracts.txtto match the new block range's contract set.Details
Test data replacement (blocks 1139–1160 → 349–370)
test_data/blocks/for the old range (1139–1160)..saltand.mptwitness files undertest_data/stateless/witness/for the old range..saltand.mptwitness files for the new range.Genesis config relocation
genesis/genesis.json→test_data/genesis.json(with minor content updates to match the new chain state).TEST_GENESIS_FILEconstant inbin/stateless-validator/src/main.rsfrom../../genesis/genesis.jsonto../../test_data/genesis.json.Contracts list update
test_data/contracts.txtto the reduced set of contracts relevant to the new block range.Test plan
cargo test -p stateless-validatorto verify integration tests pass with the new test data.cargo testto confirm no other tests are broken by the genesis file relocation.genesis/directory is no longer referenced anywhere in the codebase.