mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 22:04:52 +00:00
c5ecba83cd
- Switch from using Option to Opt which allows for smoother usage with already existing Result types - With all moved to Opt, make more use of valueOr to avoid too many if else clause indentation and unstead have a more clear error path at each step - Remove dead code, char limits, style guide, etc. - Replace getEncodedKeyForContent with ContentKey.init and use ContentKey.init for each type