fix(shared,risk_registry,docs): resolve issues #276 #280 #283 #343#361
Merged
OxDev-max merged 1 commit intoJun 30, 2026
Merged
Conversation
OpenLedger-Foundation#280 OpenLedger-Foundation#283 OpenLedger-Foundation#343 OpenLedger-Foundation#343: Fix duplicate KoraError discriminant 95 (EmptyBytes/Reentrancy) - EmptyBytes = 97, Reentrancy = 98; NoContribution keeps 95 - Eliminates E0081 compile error and silent error misreporting - BREAKING: clients matching Reentrancy by raw u32 must update to 98 OpenLedger-Foundation#283: Implement verifier-delegated sub-accounts in risk_registry - add_sub_account / remove_sub_account for primary verifiers - resolve_verifier() resolves sub-account → primary transparently - All SME ops by sub-accounts attributed to primary in SmeProfile.verifier - Added get_primary_verifier() and is_sub_account() view functions - require_verifier_primary() enforces delegation management is primary-only OpenLedger-Foundation#280: Add docs/storage-rent-cost-model.md - Persistent/instance/temporary tier comparison - TTL constants per contract with duration annotations - Cost projections at 1k and 10k active invoices - Keeper bot and archival responsibilities OpenLedger-Foundation#276: Add docs/treasury.md - fee_bps lifecycle, whitelist model, accounting ledger - withdraw and emergency_withdraw flow with step ordering - Reentrancy guard design and rolling 24h rate-limit - Two-step cap/upgrade timelock, full API table, storage layout - Security analysis: stolen key, reentrancy, non-whitelisted token
|
@katefominmoore23 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.
#343: Fix duplicate KoraError discriminant 95 (EmptyBytes/Reentrancy)
#283: Implement verifier-delegated sub-accounts in risk_registry
#280: Add docs/storage-rent-cost-model.md
#276: Add docs/treasury.md
Closes #343
Closes #283
Closes #280
Closes #276