tests

package
v7.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestGMPAccount = authtypes.NewModuleAddress("test-gmp-account")

Functions

func AccAddress

func AccAddress() sdk.AccAddress

AccAddress returns a random account address

func AccAddressFromBech32

func AccAddressFromBech32(t *testing.T, addr string) sdk.AccAddress

func TestParams

func TestParams() types.Params

DefaultParams returns default oracle parameters

Types

type Setup

type Setup struct {
	Initializer initializer

	Keepers *testKeepers
	Mocks   *testMocks

	AxelarCorkMiddleware axelarcork.IBCMiddleware
}

func NewTestSetup

func NewTestSetup(t *testing.T, ctl *gomock.Controller) *Setup

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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