-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mirror): map receipts correctly in the genesis state (#10929)
Before this change, we are only changing the `predecessor_id` and `receiver_id` of delayed and postponed receipts in the genesis state. But there are many more references to keys and account IDs in receipts, which also need to be changed. Fix it by adding a `map_receipt()` function that goes through the receipt to map any such references, and make sure to use it in the `fork-network` command as well.
- Loading branch information
1 parent
69c4bb1
commit 4396b6a
Showing
4 changed files
with
112 additions
and
66 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