[PR #6868] [MERGED] Clear the rest-024 row for the world upgrader's chunk cache erase #7157

Closed
opened 2026-11-03 06:35:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6868
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-rest-024


📝 Commits (1)

  • 2aaac83 Clear the rest-024 row for the world upgrader's chunk cache erase

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 tools/port_map/rest-024.tsv (+1 -1)

📄 Description

tools/port_map/rest-024.tsv said WorldUpgrader.verifyChunkPosAndEraseCache was missing and
that Optimize World's cache erase was not in Horizon's datafix. main has it:
horizon-world/src/datafix/world_upgrader.rs::verify_chunk_pos_and_erase_cache checks the chunk's
position and drops Heightmaps, isLightOn, and each section's BlockLight and SkyLight,
reporting whether anything changed. It runs as the per-chunk upgrade step (world_upgrader.rs:551)
and has a unit test.

Proven: python3 tools/port_ledger.py map-check tools/port_map/rest-024.tsv on the build VM -
150 rows, no problems. The claim is from reading the function and the step that calls it.

Not proven: no Optimize World run on a real world; this is a ledger verdict, not a behaviour
change.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6868 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-rest-024` --- ### 📝 Commits (1) - [`2aaac83`](https://github.com/horizon-rust/horizon/commit/2aaac835bbf552cda6f92cf649e0af31e005969f) Clear the rest-024 row for the world upgrader's chunk cache erase ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/rest-024.tsv` (+1 -1) </details> ### 📄 Description `tools/port_map/rest-024.tsv` said `WorldUpgrader.verifyChunkPosAndEraseCache` was `missing` and that Optimize World's cache erase was not in Horizon's datafix. `main` has it: `horizon-world/src/datafix/world_upgrader.rs::verify_chunk_pos_and_erase_cache` checks the chunk's position and drops `Heightmaps`, `isLightOn`, and each section's `BlockLight` and `SkyLight`, reporting whether anything changed. It runs as the per-chunk upgrade step (`world_upgrader.rs:551`) and has a unit test. **Proven:** `python3 tools/port_ledger.py map-check tools/port_map/rest-024.tsv` on the build VM - `150 rows, no problems.` The claim is from reading the function and the step that calls it. **Not proven:** no Optimize World run on a real world; this is a ledger verdict, not a behaviour change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:35:00 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7157
No description provided.