Fix chaindata and add hardcoded paths #4

Merged
telackey merged 7 commits from fix-chaindata into main 2023-09-25 22:51:55 +00:00
Owner
  • Fixes chaindata access. Leveldb creates lock files when opening the DB, but installed Go modules are read-only. So, copy the data to a temporary directory
  • Fixes small2 chain by adding a missing leveldb file, and adds hard-coded Go vars for state nodes
  • Moves data to _data, so Go ignores it during builds
  • Yanks the geth encoding functions which Geth doesn't export. This doesn't use them all, but this is a convenient place to put them - currently they're copied in multiple other repos.
* Fixes chaindata access. Leveldb creates lock files when opening the DB, but installed Go modules are read-only. So, copy the data to a temporary directory * Fixes `small2` chain by adding a missing leveldb file, and adds hard-coded Go vars for state nodes * Moves data to `_data`, so Go ignores it during builds * Yanks the geth encoding functions which Geth doesn't export. This doesn't use them all, but this is a convenient place to put them - currently they're copied in multiple other repos.
telackey was assigned by roysc 2023-09-25 18:30:19 +00:00
roysc added 7 commits 2023-09-25 18:30:20 +00:00
telackey approved these changes 2023-09-25 22:31:03 +00:00
telackey removed their assignment 2023-09-25 22:50:21 +00:00
roysc was assigned by telackey 2023-09-25 22:50:21 +00:00
telackey merged commit d204dbe488 into main 2023-09-25 22:51:55 +00:00
telackey deleted branch fix-chaindata 2023-09-25 22:51:56 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
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: cerc-io/eth-testing#4
No description provided.