-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Fix delayed receipts trie key column identifier (#10370)
Currently both `TrieKey::DelayedReceipt` and `TrieKey::DelayedReceiptIndices` are serialized with `col::DELAYED_RECEIPT_INDICES`, probably due to a typo in the original implementation. It was accidentally discovered when debugging an unrelated issue using mainnet State. Changing this is quite involved and requires data migration for State and FlatState rocksdb columns. This PR makes existing behaviour more explicit and adds a bit of documntation. See also [the corresponding zulip thread](https://near.zulipchat.com/#narrow/stream/295302-general/topic/Delayed.20receipts.20serialized.20with.20the.20wrong.20column.20id.3F).
- Loading branch information
Showing
5 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters