Fix host not able to load wal
MERGE REQUEST
Overview
Implementing the TextMarshaler
interface for sectorID
seems to have broken our host wal persistence without us realizing since the wal didn't have a test that loads a wal with a sectorID from disk.
Apparently json will automatically use the TextMarshaler
if available which caused the sectorid to be serialized as hex string instead of an array.
This MR adds a test and removes the implementation of the interface again.
Checklist
Review and complete the checklist to ensure that the MR is complete before assigned to an approver.
-
All new methods or updated methods have clear docstrings -
Testing added or updated for new methods -
Any new packages are added to Makefile and .gitlab-ci.yml -
API documentation updated for API updates -
Module README.md updated for changes to workflow -
Issue added to Sia-UI repo for new supporting features -
Changelog File Created
Issues Closed
closes #4499 (closed)
Edited by Christopher Schinnerl