-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: updating tutorial with new API #252
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
WalkthroughThe changes update version references for Celestia binaries in multiple Dockerfiles and refactor tutorial documentation. The bridge and lightnode Dockerfiles now copy binaries from version v0.20.4 instead of v0.21.5, while the validator Dockerfile downgrades the Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant T as Tutorial Module
participant O as Operations Module
participant TB as Transaction Builder
U->>T: Initiates service registration
T->>O: Call register_service()
O->>O: Check for existing service/account
alt Not registered
O->>TB: Build registration transaction
TB-->>O: Transaction built
O->>T: Complete registration
else Registered
O->>T: Return existing service info
end
sequenceDiagram
participant U as User
participant T as Tutorial Module
participant O as Operations Module
participant TB as Transaction Builder
U->>T: Request account creation
T->>O: Call create_account()
O->>O: Verify account existence
alt Account does not exist
O->>TB: Construct account creation transaction
TB-->>O: Return transaction details
O->>T: Execute account creation
else
O->>T: Return existing account data
end
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (12)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
.clone() | ||
.validate_and_queue_update(create_acc_tx.clone()) | ||
.await?; | ||
prover.clone().validate_and_queue_update(tx.clone()).await?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even without #253 , we could use let account = prover.post_transaction(tx)?.await?.wait().await?
or something like this
This is only a basic update.
We need to add an additional tutorial once specter is ready on how to use the client without running the prover in the same binary.
Summary by CodeRabbit
Chores
Documentation