-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(statedb): fix export genesis error caused by object struct changes (
#2244) ## Summary ### Original Error ``` Error: CSV error: found record with 1 fields, but the previous record has 2 fields ``` ### Fix The issue was fixed by exporting `(FieldKey, ObjectState)`. ### Refine Codes 1. general init_job() used, simplifies both of the initialization of genesis jobs and export tasks 2. utilize instant time instead of system time for recording time cost
- Loading branch information
Showing
4 changed files
with
78 additions
and
149 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
Oops, something went wrong.