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

Write a macro to remove bloat from custom validators #3856

Closed
mversic opened this issue Aug 31, 2023 · 1 comment
Closed

Write a macro to remove bloat from custom validators #3856

mversic opened this issue Aug 31, 2023 · 1 comment
Assignees
Labels
high-priority This bug must be fixed ASAP iroha2-dev The re-implementation of a BFT hyperledger in RUST

Comments

@mversic
Copy link
Contributor

mversic commented Aug 31, 2023

If one compares different validators in tests, one can see there is a lot of bloat that one has to write to make a custom validator. Let's remove this difficult and confusing manual effort from the user by providing a macro

@mversic mversic added high-priority This bug must be fixed ASAP iroha2-dev The re-implementation of a BFT hyperledger in RUST labels Aug 31, 2023
@mversic
Copy link
Contributor Author

mversic commented Aug 31, 2023

Apply this macro in default_validator crate and all crates in client/tests/integration/smartcontracts

@ilchu ilchu self-assigned this Sep 4, 2023
@DCNick3 DCNick3 assigned DCNick3 and unassigned DCNick3 Sep 4, 2023
ilchu added a commit to ilchu/iroha that referenced this issue Sep 18, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Sep 18, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Sep 18, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Sep 18, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Oct 19, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Oct 24, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Oct 25, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Oct 27, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
mversic pushed a commit to ilchu/iroha that referenced this issue Oct 31, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Nov 4, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Nov 4, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
mversic pushed a commit to ilchu/iroha that referenced this issue Nov 6, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Nov 8, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Nov 9, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit that referenced this issue Nov 9, 2023
Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
mversic pushed a commit to mversic/iroha that referenced this issue Nov 13, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
ilchu added a commit to ilchu/iroha that referenced this issue Nov 13, 2023
…oilerplate

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[fix] Missing doc lints

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>

[refactor] Migrating to derive macros

Signed-off-by: Ilia Churin <churin.ilya@gmail.com>
mversic added a commit that referenced this issue Nov 13, 2023
Co-authored-by: Ilia Churin <churin.ilya@gmail.com>
@AlexStroke AlexStroke self-assigned this Nov 24, 2023
@alexstroke1 alexstroke1 assigned alexstroke1 and unassigned AlexStroke Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high-priority This bug must be fixed ASAP iroha2-dev The re-implementation of a BFT hyperledger in RUST
Projects
None yet
Development

No branches or pull requests

5 participants