Skip to content

INIT: add GetIgniteInfo gRPC API for apps #4603

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

Open
Pantani opened this issue Apr 2, 2025 · 0 comments
Open

INIT: add GetIgniteInfo gRPC API for apps #4603

Pantani opened this issue Apr 2, 2025 · 0 comments

Comments

@Pantani
Copy link
Collaborator

Pantani commented Apr 2, 2025

Description

Introduce a GetIgniteInfo gRPC API endpoint to allow applications to query information about the running Ignite instance. This would enable apps to check the Ignite version (and other metadata), improving compatibility across different versions.

Motivation

Currently, there’s no standardized way for an app to determine which version of Ignite is executing it. This can lead to compatibility issues, especially when:

  • A new version of Ignite introduces a command that conflicts with an existing app command.
  • An app is built assuming specific behavior or features available only in certain Ignite versions.

By exposing version and capability information via a GetIgniteInfo API, apps can dynamically adapt or fail gracefully when incompatible versions are detected.

Use Case Example

  • App A is created with a custom command on Ignite v1.2.
  • Ignite v1.3 introduces a native command with the same name, causing a conflict.
  • Using GetIgniteInfo, App A can detect the version and warn the user or change behavior accordingly.

Proposed Response Structure

message IgniteInfo {
  string ignite_version = 1;
  string build_date = 2;
  string source_hash = 3;
  string config_version = 4;
  string cosmos_sdk_version = 5;
  string buf_build_version = 6;
  string ignite_home_path = 7;
}
@Pantani Pantani changed the title INIT: ignite info API for apps INIT: add GetIgniteInfo gRPC API for apps Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Discuss
Development

No branches or pull requests

1 participant