casper-network / casper-network/casper-node

Switch to const generics in ToBytes/FromBytes for [u8; N]

Open
#2,014 0 comments 0 reactions 0 assignees View on GitHub
low-priority node
Dominant language
Rust
Stars
399
Forks
224
Avg merge
15h 44m
Merged PRs (30d)
2

Description

We're still implementing `ToBytes`/`FromBytes` for `[u8; N]` with a macro - minimal const generics are already on stable Rust, and they allow for implementing this as `impl ToBytes for [u8; N] { ... }`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.