Documentation ¶
Index ¶
- Variables
- func CreateConsumerAdditionalProposal(path *ibctesting.Path, consumerChain *ibctesting.TestChain) *rscoordinatortypes.ConsumerAdditionProposal
- func NextBlockWithEvents(chain *ibctesting.TestChain) []abci.Event
- func SendMsgs(chain *ibctesting.TestChain, msgs ...sdk.Msg) []abci.Event
- type IntegrationTestSuite
- func (s *IntegrationTestSuite) ChanOpenAck(endpoint *ibctesting.Endpoint) []abci.Event
- func (s *IntegrationTestSuite) IBCTransfer(from string, to string, coin sdk.Coin, transferPath *ibctesting.Path, ...)
- func (s *IntegrationTestSuite) RelayIBCPacket(path *ibctesting.Path, events []abci.Event, sender string)
- func (s *IntegrationTestSuite) SetupRestakingPath()
- func (s *IntegrationTestSuite) SetupTest()
- func (s *IntegrationTestSuite) TestChannelInit()
- func (s *IntegrationTestSuite) TestConsumerAddValidator()
- func (s *IntegrationTestSuite) TestConsumerRemoveValidator()
- func (s *IntegrationTestSuite) TestDelegation()
- func (s *IntegrationTestSuite) TestIBCTransfer()
- func (s *IntegrationTestSuite) TestRegisterOperator()
- func (s *IntegrationTestSuite) TestReward()
- func (s *IntegrationTestSuite) TestUndelegate()
- type SetupRestakingConsumer
- type SetupRestakingCoordinator
Constants ¶
This section is empty.
Variables ¶
View Source
var PKs = simtestutil.CreateTestPubKeys(500)
Functions ¶
func CreateConsumerAdditionalProposal ¶
func CreateConsumerAdditionalProposal(path *ibctesting.Path, consumerChain *ibctesting.TestChain) *rscoordinatortypes.ConsumerAdditionProposal
func NextBlockWithEvents ¶
func NextBlockWithEvents(chain *ibctesting.TestChain) []abci.Event
Types ¶
type IntegrationTestSuite ¶
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, )
Click to show internal directories.
Click to hide internal directories.