common

package
v1.0.0-ics1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleVersionModifier

type SimpleVersionModifier struct{}

SimpleVersionModifier implements the baseapp.VersionModifier interface required by AtomOne SDK v0.50.14 for ABCI queries to function properly.

ICS1 E2E FIX: AtomOne SDK requires a VersionModifier for the baseapp to handle ABCI info queries correctly. Without this, Hermes relayer fails with "app.versionModifier is nil" error when creating IBC connections.

This implementation returns protocol version 0, which is sufficient for testing and basic operations. Production deployments may want to implement proper version tracking if protocol upgrades are planned.

func (SimpleVersionModifier) AppVersion

func (s SimpleVersionModifier) AppVersion(ctx context.Context) (uint64, error)

AppVersion returns the current application protocol version. Returns 0 as the default version, which is sufficient for testing.

func (SimpleVersionModifier) SetAppVersion

func (s SimpleVersionModifier) SetAppVersion(ctx context.Context, version uint64) error

SetAppVersion sets the application protocol version. This implementation is a no-op as we don't need to track version changes for testing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL