This is a follow-up to previous changes that introduced the type field. This change removes the redundancy in data. It also simplifies the state bit field - hopefully, I can change it to an enum soon.
It's a small change but I didn't want to bundle it with others - it looks like it would be a pain to keep the commits separate.
Description of the changes
This is a follow-up to previous changes that introduced the
type
field. This change removes the redundancy in data. It also simplifies thestate
bit field - hopefully, I can change it to an enum soon.It's a small change but I didn't want to bundle it with others - it looks like it would be a pain to keep the commits separate.
How to test this PR?
This should be well covered by existing tests.
This change is