informalsystems / informalsystems/quartz

Refactor `UserData` trait to provide bin string instead of digest

Open
#43 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
63
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Idea is to have `UserData` trait impls provide bin string (i.e. input to hash algo) instead of the digest itself to allow for composition.

Contributor guide

Open the contributing guide

Research direction

Start by locating the UserData trait and every implementation, then trace where the digest is produced and passed to the hash algorithm. Done means implementations provide the binary input string instead, with the hashing boundary supporting composition consistently across those implementations.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.