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.