util

package
v2.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EncodingConfig params.EncodingConfig
	Cdc            codec.Codec
)

Functions

func CopyFile

func CopyFile(src, dst string) (int64, error)

func Eventually

func Eventually(condition func() bool, waitFor time.Duration, tick time.Duration) error

Eventually asserts that given condition will be met in waitFor time, periodically checking target function each tick. copied and modified this function from testify assertion package

func NewClaimRecordsListJson

func NewClaimRecordsListJson(userEntries []cfeclaimmoduletypes.ClaimRecordEntry) (string, error)

func NewProposalJSON

func NewProposalJSON(messages []sdk.Msg) (string, error)

func WriteFile

func WriteFile(path string, body []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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