Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a iroha procedural macro for impl FromStr for AssetValueType and other C like enums #2056

Closed
SamHSmith opened this issue Apr 4, 2022 · 0 comments
Assignees
Labels
Enhancement New feature or request good first issue Good for newcomers iroha2-dev The re-implementation of a BFT hyperledger in RUST

Comments

@SamHSmith
Copy link
Contributor

The following macro invokation

easy_from_str_impl! {AssetValueType, Quantity, BigQuantity, Fixed, Store}

does not automatically generate code for all variants. This should be replaced with a custom derive macro for FromStr.

@SamHSmith SamHSmith added Enhancement New feature or request iroha2-dev The re-implementation of a BFT hyperledger in RUST labels Apr 5, 2022
@appetrosyan appetrosyan added the good first issue Good for newcomers label Apr 19, 2022
@ilchu ilchu self-assigned this May 12, 2022
ilchu added a commit to ilchu/iroha that referenced this issue May 15, 2022
…lueType enum

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue May 16, 2022
…lueType enum

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue May 16, 2022
…lueType enum

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue May 16, 2022
…lueType enum

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue May 16, 2022
…lueType enum

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue May 16, 2022
…lueType enum

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue May 16, 2022
…lueType enum

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit that referenced this issue May 17, 2022
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
@ilchu ilchu closed this as completed May 17, 2022
appetrosyan pushed a commit to appetrosyan/iroha that referenced this issue May 17, 2022
…lueType enum

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
appetrosyan pushed a commit that referenced this issue May 18, 2022
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
pesterev pushed a commit to pesterev/iroha that referenced this issue May 25, 2022
…lueType enum

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request good first issue Good for newcomers iroha2-dev The re-implementation of a BFT hyperledger in RUST
Projects
None yet
Development

No branches or pull requests

3 participants