Skip to content

Conversation

@jcstein
Copy link
Member

@jcstein jcstein commented Jan 21, 2026

Overview

@jcstein jcstein requested review from gbarros and tuxcanfly January 21, 2026 23:30
@jcstein jcstein self-assigned this Jan 21, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @jcstein, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a new, detailed guide for integrating the 'op-alt-da' data availability server with AWS Key Management Service (KMS). The guide provides step-by-step instructions for both local development using Localstack and production deployment, ensuring secure key management for Celestia keys. To accommodate this new content, the existing 'op-alt-da' documentation has been reorganized, and various project dependencies have been updated to their latest versions.

Highlights

  • New AWS KMS Guide: A comprehensive guide has been added for running 'op-alt-da' with AWS Key Management Service (KMS), detailing setup, key management, localstack usage, and production configuration.
  • Documentation Restructuring: The existing 'op-alt-da' documentation entry has been renamed from 'page.mdx' to 'introduction/page.mdx' and its title updated to better organize the content and accommodate the new AWS KMS guide.
  • Dependency Updates: Numerous package dependencies in 'yarn.lock' have been updated, covering various libraries related to image processing, runtime environments, build tools, and utility functions.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Contributor

🚀 Preview Deployment

Your preview is ready: https://celestiaorg.github.io/docs-preview/pr-2388/

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new guide for using op-alt-da with AWS KMS, which is a valuable addition to the documentation. The changes also include restructuring the existing op-alt-da documentation into an introduction page. My review focuses on the new guide, with suggestions to improve clarity, consistency, and user-friendliness. Specifically, I've recommended using HTTPS for git cloning, fixing some markdown formatting, and ensuring commands and placeholders are consistent throughout the guide.

2. Clone and build op-alt-da ([v0.11.0](https://github.com/celestiaorg/op-alt-da/releases/tag/v0.11.0)+):

```bash
git clone git@github.com:celestiaorg/op-alt-da.git && cd op-alt-da
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The git clone command uses an SSH URL. While this works for users with SSH keys configured for GitHub, an HTTPS URL is more universally accessible and doesn't require prior setup. It would be more user-friendly to use the HTTPS URL.

   git clone https://github.com/celestiaorg/op-alt-da.git && cd op-alt-da

import_key_hex = "YOUR_EXPORTED_PRIVATE_KEY_HEX"
```

When you run the DA server with `auto_create = true`, it will automatically create a new key in AWS KMS if it doesn't exist.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This explanatory note is indented, which makes it look like part of a code block and can be confusing. For better readability, it should be a regular paragraph without indentation.

When you run the DA server with `auto_create = true`, it will automatically create a new key in AWS KMS if it doesn't exist.

1. Run the op-alt-da server:

```bash
AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test ./bin/da-server -config config.toml
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

For consistency with other commands in this guide (e.g., line 168), it's good practice to include AWS_DEFAULT_REGION when running AWS-related commands. While it was exported earlier, explicitly including it here makes the command self-contained and less prone to errors if the user's shell session changes.

   AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test AWS_DEFAULT_REGION=us-east-1 ./bin/da-server -config config.toml

INFO [01-20|14:54:15.342] Blob submitted successfully commitment=010c74a5940000000000677e645183667f4d9efe506226fd0dd0b70a4144c8fd05c0aa68407ccf886507 size=14 duration=11.5436025s
```

Check on [Celenium](https://mocha.celenium.io): `https://mocha.celenium.io/address/YOUR_CELESTIA_ADDRESS`
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The current formatting for checking the transaction on Celenium is a bit confusing, as it presents a clickable link followed by a raw URL in a code block. It would be clearer to integrate the instruction into a single sentence.

   Check your transaction on [Celenium](https://mocha.celenium.io) by navigating to `https://mocha.celenium.io/address/YOUR_CELESTIA_ADDRESS`.

alias_prefix = "alias/op-alt-da/"
auto_create = false
import_key_name = "celestia_key"
import_key_hex = "YOUR_PRIVATE_KEY"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The placeholder YOUR_PRIVATE_KEY is inconsistent with the one used earlier in the guide (YOUR_EXPORTED_PRIVATE_KEY_HEX). Using consistent placeholder names improves clarity and reduces the chance of user error.

import_key_hex = "YOUR_EXPORTED_PRIVATE_KEY_HEX"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants