spacemeshos / svm

SVM - Spacemesh Virtual Machine
https://spacemesh.io
MIT License
85 stars 14 forks source link

Codec-related refactorings and quality of life improvements #356

Closed neysofu closed 3 years ago

neysofu commented 3 years ago

This (draft, at the time of writing) PR makes the following changes in an attempt to improve code quality in areas of the codebase that are related to svm-codec:

neysofu commented 3 years ago

I've turned BytesPrimitive::len() into an associated constant BytesPrimitive::N and also fixed all other issues, I think. I'll wait for CI.