You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refmt can't handle maps with uint64 keys
In order to have a map with sectorID keys in the miner actor we currently convert uint64s to strings first. This is annoying because we open up the possibility of erroring when turning a map key back into a uint64.
Acceptance criteria
Some options here
refmt implements this feature
we move to using a different type to represent sectorIDs. Recent discussion on max sector id suggests we can fit them in uint16s.
This problem will likely go away on its own once we have use a tree based SectorSet data structure because we will no longer use go maps to represent the data structure in memory.
Risks + pitfalls
Where to begin
The text was updated successfully, but these errors were encountered:
Description
refmt can't handle maps with uint64 keys
In order to have a map with sectorID keys in the miner actor we currently convert uint64s to strings first. This is annoying because we open up the possibility of erroring when turning a map key back into a uint64.
Acceptance criteria
Some options here
Risks + pitfalls
Where to begin
The text was updated successfully, but these errors were encountered: