application

package
v0.1.34 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServiceConfigUpdateFromServiceConfig

func CreateServiceConfigUpdateFromServiceConfig(
	applicationAddress string,
	service *sharedtypes.ApplicationServiceConfig,
	activationHeight int64,
	deactivationHeight int64,
) *apptypes.ApplicationServiceConfigUpdate

CreateServiceConfigUpdateFromServiceConfig creates a single ApplicationServiceConfigUpdate object from an ApplicationServiceConfig object.

func CreateServiceConfigUpdateHistoryFromServiceConfigs

func CreateServiceConfigUpdateHistoryFromServiceConfigs(
	applicationAddress string,
	services []*sharedtypes.ApplicationServiceConfig,
	activationHeight int64,
	deactivationHeight int64,
) []*apptypes.ApplicationServiceConfigUpdate

CreateServiceConfigUpdateHistoryFromServiceConfigs creates a list of ApplicationServiceConfigUpdate objects from a list of ApplicationServiceConfig objects.

  • This utility function is used in tests to construct the service configuration history for an application (the app-side analogue of the supplier helper in testutil/shared/service_config_history.go).
  • Returns a slice that can be assigned to an Application's ServiceConfigHistory field.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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