Skip to content

Conversation

@chatton
Copy link
Contributor

@chatton chatton commented Dec 15, 2025

Overview

This PR applies the ibc simplification logic introduced in the 01builders fork.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @chatton, 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 streamlines the validator set migration process within the 'migrationmngr' module by unifying the migration strategy. Previously, the system would perform a 'smoothed' migration over several blocks if IBC was detected, or an immediate migration otherwise. This change eliminates the conditional logic, ensuring all migrations are executed as a single, atomic update. This simplification reduces the module's complexity and maintenance overhead, making the migration mechanism more straightforward and predictable.

Highlights

  • Simplified IBC Migration Logic: The module no longer distinguishes between IBC-enabled and IBC-disabled chains for migration, removing the 'smoothed' migration process.
  • Atomic Migration: All validator set migrations are now performed in a single, atomic step at the migration start height.
  • Removal of IBCSmoothingFactor: The concept and implementation of a multi-block smoothing factor for IBC migrations have been eliminated.
  • Codebase Cleanup: Related code, including the 'isIBCEnabled' check, 'IbcKVStoreKeyAlias' type, and the 'migrateOver' function, has been removed, reducing complexity.
  • Documentation Update: The 'README.md' has been updated to reflect the immediate, atomic nature of migrations and the revised chain halt timing.
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.

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 effectively simplifies the IBC migration logic by removing the 'smoothed' multi-block migration process in favor of a single, atomic update. The changes are consistently applied across the codebase, including documentation, dependency injection, keeper logic, and tests, which greatly improves code clarity and maintainability. My review includes a suggestion to enhance the documentation to make the operational impact on IBC users even clearer. Overall, this is a solid simplification of the module.

@chatton chatton marked this pull request as ready for review December 15, 2025 16:23
@chatton chatton requested a review from a team as a code owner December 15, 2025 16:23
@chatton chatton enabled auto-merge (squash) December 15, 2025 18:34
tac0turtle pushed a commit to evstack/ev-node that referenced this pull request Dec 16, 2025
<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.

NOTE: PR titles should follow semantic commits:
https://www.conventionalcommits.org/en/v1.0.0/
-->

## Overview

Bump https://github.com/libp2p/go-libp2p, which bumps quic-go /
https://github.com/quic-go/quic-go/releases/tag/v0.57.0

ref: evstack/ev-abci#320 (comment)

<!-- 
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue. 

Ex: Closes #<issue number>
-->
@julienrbrt julienrbrt changed the title chore: applying ibc simplification refactor: applying ibc simplification Dec 17, 2025
@chatton chatton merged commit 13fb77d into main Dec 17, 2025
19 checks passed
@chatton chatton deleted the cian/apply-ibc-simplification branch December 17, 2025 08:47
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.

4 participants