integration

package
v0.0.0-...-3a28d7b Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CreateConsumerAdditionalProposal

func CreateConsumerAdditionalProposal(path *ibctesting.Path, consumerChain *ibctesting.TestChain) *rscoordinatortypes.ConsumerAdditionProposal

func NextBlockWithEvents

func NextBlockWithEvents(chain *ibctesting.TestChain) []abci.Event

func SendMsgs

func SendMsgs(chain *ibctesting.TestChain, msgs ...sdk.Msg) []abci.Event

Types

type IntegrationTestSuite

type IntegrationTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func NewIntegrationTestSuite

func NewIntegrationTestSuite() *IntegrationTestSuite

func (*IntegrationTestSuite) ChanOpenAck

func (s *IntegrationTestSuite) ChanOpenAck(endpoint *ibctesting.Endpoint) []abci.Event

func (*IntegrationTestSuite) IBCTransfer

func (s *IntegrationTestSuite) IBCTransfer(
	from string,
	to string,
	coin sdk.Coin,
	transferPath *ibctesting.Path,
	transferForward bool,
)

func (*IntegrationTestSuite) RelayIBCPacket

func (s *IntegrationTestSuite) RelayIBCPacket(path *ibctesting.Path, events []abci.Event, sender string)

TODO Too complex, need to simplify the logic

func (*IntegrationTestSuite) SetupRestakingPath

func (s *IntegrationTestSuite) SetupRestakingPath()

func (*IntegrationTestSuite) SetupTest

func (s *IntegrationTestSuite) SetupTest()

func (*IntegrationTestSuite) TestChannelInit

func (s *IntegrationTestSuite) TestChannelInit()

func (*IntegrationTestSuite) TestConsumerAddValidator

func (s *IntegrationTestSuite) TestConsumerAddValidator()

func (*IntegrationTestSuite) TestConsumerRemoveValidator

func (s *IntegrationTestSuite) TestConsumerRemoveValidator()

func (*IntegrationTestSuite) TestDelegation

func (s *IntegrationTestSuite) TestDelegation()

func (*IntegrationTestSuite) TestIBCTransfer

func (s *IntegrationTestSuite) TestIBCTransfer()

func (*IntegrationTestSuite) TestRegisterOperator

func (s *IntegrationTestSuite) TestRegisterOperator()

func (*IntegrationTestSuite) TestReward

func (s *IntegrationTestSuite) TestReward()

func (*IntegrationTestSuite) TestUndelegate

func (s *IntegrationTestSuite) TestUndelegate()

type SetupRestakingConsumer

type SetupRestakingConsumer func(*testing.T, *ibctesting.Coordinator, int) (
	*ibctesting.TestChain,
	*rsconsumer.App,
)

type SetupRestakingCoordinator

type SetupRestakingCoordinator func(t *testing.T) (
	coord *ibctesting.Coordinator,
	RestakingCoordinatorChain *ibctesting.TestChain,
	RestakingCoordinatorApp *rscoordinator.App,
)

Jump to

Keyboard shortcuts

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