GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||
GeezerVison is showing github.com — doc: investigation — token issuance in the ID graph (#2041) by dezren39 · Pull Request #2806 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 35 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: b95a8d0113
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| the service ID. The graph fold of issuance/transfer *intents* and the | ||
| ledger's executed transfers must agree up to the stamped `user_data_128` | ||
| links. A snapshot that disagrees with either side is provably false, and |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Count only confirmed ledger executions in anchored graph folds
For an anchored currency, a valid signed intent need not execute: §4 signs the Issuance object before gateway submission, and the referenced control-plane design’s §4.3 explicitly allows abuse controls to reject a request before it reaches the ledger. An unforked, under-cap issuance therefore satisfies this document’s counting rule while producing no ledger balance change. Folding such intents would incorrectly classify a ledger-correct snapshot as false and overstate issued supply. Require anchored folds to include only confirmed ledger executions at the snapshot’s watermark, using the execution receipts or stamped ledger records.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in f56c766 — thank you, this was a real modelling error. A signed Issuance is now defined as an authorized intent (§2): for an anchored currency it counts toward issued supply only on confirmed ledger execution, and §5 now states that the fold a snapshot is checked against counts only graph objects with a confirmed ledger execution at or below the snapshot's ledger watermark. Unexecuted intents (gateway-rejected under #2062 §4.3 abuse controls, or in flight) are neither supply nor transfers; reconciliation reports them as pending/rejected, never as snapshot disagreements. §8's cross-check is qualified to executed issuance objects to match.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: f56c7662bf
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| app/service verifies, in order: signature valid; sender's chain | ||
| unforked; sender funded (ledger balance, or fold up to the app's | ||
| risk tier); currency identity is the full (issuer, definition) pair, |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Verify payment execution instead of the remaining balance
For a posted anchored payment that spends the customer's full balance, the sender's ledger balance is already zero when this handler runs, so checking funding against that balance rejects a successfully settled payment and withholds the purchased effect. The API table explicitly allows notifications on posted transfers. Validate that the referenced transfer executed successfully, or that a confirmed pending reservation exists for hold-based acceptance, rather than requiring the sender to remain funded after payment.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
id: investigate: token issuance in the ID graph — per-ID issuance, issuer snapshots, authorized conversion rates
There was an error while loading. Please reload this page.