Skip to content

Correct three statements for Protocol 30 - #3185

Open
kaankacar wants to merge 1 commit into
mainfrom
3182-protocol-30-stale-statements
Open

kaankacar wants to merge 1 commit into
mainfrom
3182-protocol-30-stale-statements

Conversation

@kaankacar

Copy link
Copy Markdown
Contributor

Closes #3182

What

  • docs/learn/fundamentals/stellar-data-structures/ledgers.mdx: the millisecond close time is strictly monotonic from Protocol 30. Two consecutive ledgers can have the same whole-second closeTime. Time bounds, minSeqAge, claim predicates, and the contract ledger timestamp still use closeTime.
  • docs/build/guides/transactions/send-and-receive-c-accounts.mdx: remove inSuccessfulContractCall from the two getEvents examples.
  • docs/learn/fundamentals/data-format/xdr.mdx: say that SCAddress has more than two arms. Point the link at the Protocol 30 XDR.

Verification

  • Horizon, 2026-11-23: Mainnet runs Protocol 30 from ledger 65633432.
  • CAP-88, "Close Time Monotonicity" and "Existing Time-Based Protocol Features": the rules in the new ledgers.mdx text.
  • stellar-xdr v30.0, Stellar-ledger.x: closeTimeMs is in the STELLAR_VALUE_SIGNED_MS and STELLAR_VALUE_EMPTY_TX_SET_MS arms of StellarValue.ext.
  • stellar-xdr v30.0, Stellar-contract.x lines 179-215: SCAddressType has six values.
  • Stellar RPC v30.0.0 release notes: getEvents no longer returns inSuccessfulContractCall. The getEvents reference page and the OpenRPC spec in this repo do not have the field.
  • pnpm check passes.

Notes

- ledgers: the millisecond close time is strictly monotonic. Two
  consecutive ledgers can have the same whole-second closeTime (CAP-88).
- send-and-receive-c-accounts: remove inSuccessfulContractCall from the
  getEvents examples. Stellar RPC v30.0.0 removed the field.
- xdr: SCAddress has more than two arms. Link the Protocol 30 XDR.
@mintlify

mintlify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stellar-docs 🟢 Ready View Preview Nov 23, 2026, 7:46 PM

@kaankacar

Copy link
Copy Markdown
Contributor Author

/triage

@stellar-doxie stellar-doxie Bot added the bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge label Nov 23, 2026
@stellar-doxie

stellar-doxie Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from Doxie.

Reviewing because @kaankacar asked with /triage.

Verified: all three corrections match CAP-88, stellar-xdr v30.0, and the Stellar RPC v30.0.0 release notes. No other page repeats the old claims. The preview renders all three pages.

Ready to merge.

What I checked
  • Protocol 30 on Mainnet: Horizon /ledgers/65633431 is protocol 29, /ledgers/65633432 is protocol 30 (closed 2026-11-23T17:00:06Z).
  • ledgers.mdx: CAP-88 (stellar-protocol@master core/cap-0088.md), sections "Abstract", "Close Time Monotonicity", and "Existing Time-Based Protocol Features". closeTimeMs strictly increases, closeTime == closeTimeMs / 1000, and time bounds, minSeqAge, claim predicates, and ledger_timestamp use whole seconds.
  • Live check with stellar 30.0.1 (stellar xdr decode --type LedgerHeader on Horizon header_xdr): ledger 65633433 has ext.signed_ms, with close_time_ms 1795453211000 and close_time 1795453211.
  • Non-blocking: ledger 65633432 itself (the upgrade ledger, already protocol 30) still has ext.signed and no closeTimeMs. CAP-88 says the first _MS value is the ledger after the upgrade. "From Protocol 30, each ledger" is off by that one ledger. I left it as is.
  • xdr.mdx: stellar-xdr tag v30.0 = 4f524bba. Stellar-contract.x L179-215 holds SCAddressType (six values, 0 to 5) and the SCAddress union. CAP-84 preamble: Protocol 30. The TypeScript, Python, Go, and Java examples all have a default branch, so "treat every other arm as unexpected" holds.
  • send-and-receive-c-accounts.mdx: stellar-rpc v30.0.0 release notes, Breaking Changes: "getEvents no longer returns the inSuccessfulContractCall field" (remove docs bounty from README #1050).
  • SWEEP (docs/, snippets/, openapi/, openrpc/, .mintlify/skills/; meetings/ skipped): no other inSuccessfulContractCall in RPC content (the one hit is the Hubble BigQuery column in_successful_contract_call, a different schema). No other "monotonic" close-time claim. No other "SCAddress is an account or a contract" claim. The Go switch in send-and-receive-payments.mdx:1200 already has a default branch.
  • Necessity: readers could rely on a unique closeTime per ledger, expect a field RPC no longer returns, or write a two-arm SCAddress match.
  • Checks at e1ed5f79: checks, Mintlify Deployment, CodeQL, and Socket all pass. The branch is one commit behind main (Add Protocol 30 (Bell) testnet versions #3138), with no overlap in files.
  • Preview: all three pages return 200 and show the new text. The removed field is gone.
  • External links: github.com blob pages answer 503 to this runner, and a control blob URL fails the same way. The API confirms both files exist at the linked refs.
  • Checked against stellar-cli 30.0.1, stellar-rpc v30.0.0 (newest v30.0.1), and stellar-xdr v30.0. The issue cites RPC v30.0.0. The pages pin no tool versions.
  • No code snippets were added or changed. No CLI commands on the pages change.

@ElliotFriend ElliotFriend left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, checked against CAP-88 and the v30.0 XDR.

This branch was successfully deployed

1 active deployment
staging — e1ed5f79 Deployed Nov 23, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Protocol 30: fix three statements that are now wrong (close time, getEvents field, SCAddress)

2 participants