Repository navigation
docs: animate the remaining static diagrams and add five new ones - #119
alexander-sei wants to merge 8 commits into
Conversation
Turn the proposer comparison, lanes and cuts, slot pipeline, storage architecture, BUD window, and fee split into step players that match the other Giga diagrams, and reveal the roadmap track when it scrolls into view. Co-authored-by: Cursor <cursoragent@cursor.com>
… keys and policies The signing step now says the TEE applies to managed wallets such as Privy, and that a self-custodial ViemWalletProvider has no TEE. The policy check drops the network rule, because chain restriction is not a Privy policy condition. Co-authored-by: Cursor <cursoragent@cursor.com>
Turn the two-dimensional nonce, EIP-7702 delegation, relayer pipeline, and failure isolation diagrams into step players, and grow the three benchmark charts in when they first scroll into view. Co-authored-by: Cursor <cursoragent@cursor.com>
…eline The consensus page drew its pipeline with two cards and a text arrow. A step player now compares Tendermint's sequential rounds with Sei's early preparation, execution during voting, and commit to SeiDB, using only the claims on the page. The one-confirmation advice no longer calls committed blocks probabilistically final. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
PR SummaryLow Risk Reviewed by Cursor Bugbot for commit 6f0adb2. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
This PR turns the remaining static diagrams into step players and one-time reveals, adds a TwinTurboPipeline diagram, and fixes two accuracy problems in the docs; the theme-seed check passes and I found nothing blocking. One accuracy fix is incomplete: the agentic-wallet diagram still labels its signing step and node as a TEE signer, which the new caption says isn't true for every provider.
Findings: 0 blocking | 2 non-blocking | 1 posted inline
Blockers
- None at the file/PR level.
Non-blocking
- None at the file/PR level.
- 1 suggestion(s)/nit(s) flagged inline on specific lines.
- 1 non-blocking pre-existing issue(s) listed below under pre-existing issues.
Pre-existing issues
- [suggestion] In every step player,
togglePlay(e.g.snippets/giga-diagrams.jsxon main, now copied intosnippets/consensus-diagrams.jsxand the new nonce-lane and Giga players) callssetStep(step + 1)right away. Pressing Play after a pause skips the step the reader stopped on, and pressing Play on step 1 jumps to step 2. Consider letting the playback timer do the advancing and resetting to step 0 only when replaying from the last step.
| { | ||
| title: 'The TEE signs', | ||
| text: 'The private key stays inside a Trusted Execution Environment (TEE). The signer hands back only the signed transaction.' | ||
| text: <>In a managed wallet such as Privy, the private key stays inside a Trusted Execution Environment (TEE), and the signer hands back only the signed transaction. With a self-custodial <code>ViemWalletProvider</code>, you hold the key yourself and there is no TEE.</> |
There was a problem hiding this comment.
[suggestion] The new caption says a self-custodial ViemWalletProvider has no TEE, but other parts of the diagram still say a TEE always signs: the step title ('The TEE signs', line 36), the stage node ('TEE signer', line 54), and the SVG aria-label ("the TEE signer signs it"). Readers and screen-reader users still get the claim this PR is meant to correct. Use a generic label such as "The signer signs" / "Signer" / "holds the key" and leave the provider-specific TEE detail to the caption.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit fba617e. Configure here.
Step through one paid request on Sei Testnet: the 402 response with PAYMENT-REQUIRED, the EIP-3009 authorization, the retry with PAYMENT-SIGNATURE, verification, facilitator settlement, and the held response released with PAYMENT-RESPONSE. Co-authored-by: Cursor <cursoragent@cursor.com>
Show how a new node picks a trusted block, configures state sync, finds a snapshot, verifies forward from the trust height, restores the snapshot, and block syncs to the tip with history that starts at the snapshot. Co-authored-by: Cursor <cursoragent@cursor.com>
The finality page shows latest, safe, and finalized pointing to different Ethereum blocks and to one Sei block. The differences page shows why executing before broadcasting creates a pending window that Sei does not have, and its text now says the block, not the node, is accepted. Co-authored-by: Cursor <cursoragent@cursor.com>
…diagram The step title, the stage node, the aria-label, and the lock label still said a TEE always signs. They now name a generic signer, and the step text keeps the managed-versus-self-custodial detail. Co-authored-by: Cursor <cursoragent@cursor.com>

What is the purpose of the change?
This PR finishes the move to animated diagrams and adds new ones where a page explains a process in prose only. Every diagram that was still a static SVG now plays like the Giga diagrams. Five new diagrams cover Twin Turbo Consensus, x402 payments, state sync, block tags, and pending state. The PR also fixes places where a diagram or its page said more than the docs support.
Describe the changes to the documentation
Step players. Each one uses the existing player: Play, Pause, Back, Next, and step dots. It autoplays once a third of it scrolls into view, loops, and pauses off screen. Under
prefers-reduced-motion, nothing starts on its own.giga/indexGigaProposerComparisongiga/specsGigaLanesAndCuts,GigaSlotPipeline,GigaStorageArchitecture,GigaBudWindowgiga/developersGigaFeeSplitevm/nonce-lanesNonceLanes,NonceLaneDelegation,NonceLanePipeline,NonceLaneFailureIsolationlearn/twin-turbo-consensusTwinTurboPipeline(new)ai/x402X402PaymentFlow(new)node/statesyncStateSyncFlow(new)evm/evm-parity/finalityBlockTagsComparison(new)evm/differences-with-ethereumPendingStateComparison(new)GigaLanesAndCutsshows why a cut is a vector of certified tips. V3's newest proposal has no PoA yet, so the cut passes behind it, and it waits for a later cut.GigaStorageArchitecturelinks its two columns with an arrow from execution to the block's write log.GigaFeeSplitbranches one signed transaction into its three fees, then shows tips being pooled.TwinTurboPipelinereplaces the page's two cards and its "(Consensus reached) →" arrow. It compares Tendermint's sequential rounds with Sei's early preparation, execution during prevote and precommit, and commit to SeiDB. It uses only the page's claims, so it has no millisecond axis, and prefetching and early execution appear as things a validator can do.X402PaymentFlowis a sequence diagram of one paidGET /weatheron Sei Testnet, following the page's Express example:402withPAYMENT-REQUIRED, an EIP-3009 authorization, the retry withPAYMENT-SIGNATURE, verification, settlement by an optional facilitator, and the held response released withPAYMENT-RESPONSE. The existing<Steps>stay as the text version.StateSyncFlowwalks a new node from an empty state to in sync: a trust height rounded down to a multiple of 100,000, the[statesync]andss-backendsettings, snapshot discovery, forward verification, restore, and block sync. Heights are schematic.BlockTagsComparisonshowslatest,safe, andfinalizedon three different Ethereum blocks, with gaps instead of block counts, and all three on one Sei block.PendingStateComparisonshows Ethereum's proposer executing before it broadcasts, which leaves its state pending, and Sei's proposer broadcasting first so that every node executes after acceptance.One-time reveals. The Giga roadmap track and the three nonce-lane benchmark charts aren't sequences, so they draw in once when they first scroll into view. The server render is the finished chart. Nothing is hidden under reduced motion or when the chart is already on screen at load. The scaling chart inside the Tuning accordion reveals when the accordion opens.
Accuracy fixes
AgenticWalletFlowsaid a TEE always signs and showed a "network" policy check. The page says a self-custodialViemWalletProviderhas no TEE, and that chain restriction is not a Privy policy condition. The signing step and the check label now match the page.learn/twin-turbo-consensus.mdxtold readers to wait one block "for probabilistic finality", which contradicted the page's own "instant, deterministic finality".evm/differences-with-ethereum.mdxsaid Ethereum state is pending "until the node is accepted". It now says the block.GigaBudWindow's leaf caption no longer overlaps the proof-window label.How it was checked
mint dev, with console errors recorded, I clicked through every step of every diagram on the ten changed pages, plus Back and Play/Pause (134 step changes). Nothing was logged, and the Next.js error overlay never appeared.check-snippet-theme-default,check-redirects,check-skills, andjq empty docs.jsonpass. typos is clean, and Vale reports nothing on changed lines.Notes
consensus-diagrams.jsx,x402-diagrams.jsx,statesync-diagrams.jsx, andfinality-diagrams.jsx. Like the other diagram files, each export carries its own constants and player, because Mintlify evaluates exports in isolation.Made with Cursor