Closed
Description
The utility functions in rln/src/utils.rs
are used across various serialization functions, and tests for them exist in rln/tests/protocol.rs
. However, it’s unclear whether all of these functions are actually necessary.
Tasks:
- Analyze the usage of each function in
utils.rs
to determine if they are all needed. - Check if any functionality is redundant or can be optimized.
- Consider simplifying or removing unused functions if possible.
Possible but maybe doesn't make sense
- Benchmark different serialization approaches to compare performance.
- Check with other team members to see what serialization methods they are using and whether these functions align with them.
Suggested changes
- Update this function regarding current version of RLN.
Line 353 in 1930ca1
Example:
zerokit/rln/src/public_api_tests.rs
Lines 696 to 706 in 1930ca1
- Use this function inside test to avoid problem with serialisation
Line 371 in 1930ca1
One of place where need to replace:
zerokit/rln/src/public_api_tests.rs
Lines 724 to 730 in 1930ca1
Related issue: #21
Metadata
Metadata
Assignees
Labels
No labels