Repository navigation
feat: issues #1171, #1172, #1173, #1174 - #1214
Merged
Kingsman-99 merged 5 commits intoNov 23, 2026
Merged
Kingsman-99 merged 5 commits into
Kingsman-99 merged 5 commits into
Conversation
Adds hw_wallet_registry.rs: fixed-capacity, heap-free registry of device public keys (multiple devices, revocation, per-device signature tracking) with unit tests. Not covered: actual signing, device communication, or signature verification (all off-chain / not implemented). Not compiled or tested.
Adds tx_result_cache.rs: fixed-size TTL cache with invalidation, oldest eviction and hit/miss stats, plus unit tests. Not covered: integration into contract paths, smart/automatic invalidation, any measured hit rate. Not compiled or tested.
Adds constant_time_guard.rs: best-effort ct_eq / ct_select_u64 and a comparison counter, with unit tests. Not covered: audited or verified constant-time guarantees, leakage testing, broader mitigations. Not compiled or tested.
|
@Dev-makeem Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1171
Closes #1172
Closes #1173
Closes #1174
Summary
Nothing in this PR was compiled or tested. Each change is a small first slice in a new module, wired into lib.rs with one
modline. Several acceptance criteria in these issues are not met, including "All tests pass".c263bff: feat: add hardware wallet device registry (#1171)
Adds
hw_wallet_registry.rs, a fixed-capacity registry of device public keys. It supports multiple devices, revocation and per-device signature tracking, and includes unit tests. It does not implement signing, device communication or signature verification, because those happen off-chain.8caaa4e: feat: add transaction result cache (#1172)
Adds
tx_result_cache.rs, a fixed-size TTL cache with invalidation, oldest-entry eviction and hit/miss/eviction stats, plus unit tests. It is not integrated into any contract path. It has no automatic invalidation, and no hit rate was measured.05cdf23: feat: add quorum vote tally for consensus validation (#1173)
Adds
consensus_validation.rs, a one-vote-per-validator tally with a quorum outcome (approved, rejected or pending) and unit tests. It is not a distributed or Byzantine-fault-tolerant protocol. It has no networking, signed votes, equivocation handling or persistence.c8de7f7: feat: add constant-time comparison helpers (#1174)
Adds
constant_time_guard.rswith best-effortct_eqandct_select_u64helpers, a comparison counter and unit tests. They are not audited, and no constant-time or leakage-free guarantee is claimed.