Skip to content

[refactor]: Improve decoding of ChainId #4197

@Erigara

Description

@Erigara
          This could be improved by using constructor `fn new(inner: impl Into<Box<str>>)`.

I will extract it into separate good first issue.

Originally posted by @Erigara in #4185 (comment)

Idea is to remove redundant clone by directly convert from String to Box<str>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersiroha2-devThe re-implementation of a BFT hyperledger in RUST

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions