Conversation
…otocol#376, stellar-vortex-protocol#377, stellar-vortex-protocol#378 stellar-vortex-protocol#375 — Hot-path storage consolidation (InvocationCtx) - Add InvocationCtx struct that loads Config, FeeRecipient, OpenIntents, and TotalVolume exactly once per invocation - Update accept_intent_inner, fill_intent_inner, slash_solver to use InvocationCtx; commit dirty counters before any external call (CEI) - Document reentrancy invariant in struct doc comment - Fix duplicate constant definitions (DISPUTE_WINDOW, ARBITER_WINDOW, SLASH_COOLDOWN, MAX_BATCH_SIZE, MAX_EXTENSION_DURATION, DEFAULT_*) - Fix duplicate accept_intent_inner / batch_fill_intent / batch_cancel_intent - Add DEFAULT_MAX_ACTIVE_INTENTS_PER_SOLVER constant - Fix slash_solver: remove broken fee_recipient_share/caller_rebate/ slash_cycles dead code; use InvocationCtx for single fee_recipient read - Add all missing Error variants (BatchTooLarge, ImplausibleDstAmount, MaxActiveIntentsCapReached, TimelockNotElapsed, InvalidConfig, etc.) - Update docs/149-resource-cost-per-entrypoint.md with before/after table stellar-vortex-protocol#376 — Core/periphery split - Add intent_periphery/ crate: thin proxy contract that exposes heavy view surfaces (list_solvers, list_open_intents, get_stats, etc.) via cross-contract calls to core, keeping core wasm small and auditable stellar-vortex-protocol#377 — SDK upgrade migration notes - Add docs/event-schema.md migration note covering typed events, test registration API change, TTL/auth API notes, and event compatibility testing steps stellar-vortex-protocol#378 — Pluggable pre-submission policy hook - Add DataKey::PolicyContract, DataKey::PendingPolicy - Add Error::PolicyRejected, Error::NoPendingPolicy - Add propose_set_policy / execute_set_policy / get_policy admin fns timelocked by ADMIN_TIMELOCK_DELAY - Add check_policy helper: fail-closed, zero-cost when unset - Wire check_policy into submit_intent_inner (before state changes) - Add examples/policy_daily_cap/ reference policy with per-user 24h cap - Document policy hook events in docs/event-schema.md Also: update .gitignore to exclude *.optimized.wasm, criterion/, flamegraph artifacts, and Cargo.lock files for new sub-crates
|
@lordstephen9 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! 🚀 |
…-377-378 # Conflicts: # intent_settlement/src/lib.rs
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.
#375 — Hot-path storage consolidation (InvocationCtx)
#376 — Core/periphery split
#377 — SDK upgrade migration notes
#378 — Pluggable pre-submission policy hook
Also: update .gitignore to exclude *.optimized.wasm, criterion/, flamegraph artifacts, and Cargo.lock files for new sub-crates
Summary
Related issue
Type of change
Component
vortex-contract)vortex-backend)vortex-frontend)Checklist
Screenshots / notes
Closes
Closes #375
Closes #376
Closes #377
Closes #378