Versions in this module Expand all Collapse all v0 v0.0.1 Nov 7, 2024 Changes in this version + type InitialNodesConfig struct + MaxNodesChangeConfig []config.MaxNodesChangeConfig + MetaConsensusGroupSize int + MinNumberOfEligibleMetaNodes uint32 + MinNumberOfEligibleShardNodes uint32 + NumOfShards uint32 + Owners map[string]*OwnerStats + ShardConsensusGroupSize int + type NodesRegisterData struct + BLSKeys [][]byte + TotalStake *big.Int + type OwnerStats struct + EligibleBlsKeys map[uint32][][]byte + StakingQueueKeys [][]byte + TotalStake *big.Int + WaitingBlsKeys map[uint32][][]byte + type TestMetaProcessor struct + AccountsAdapter state.AccountsAdapter + BlockChainHandler data.ChainHandler + BlockChainHook process.BlockChainHookHandler + EpochStartTrigger integrationTests.TestEpochStartTrigger + Marshaller marshal.Marshalizer + MetaBlockProcessor process.BlockProcessor + NodesConfig nodesConfig + NodesCoordinator nodesCoordinator.NodesCoordinator + StakingDataProvider epochStart.StakingDataProvider + SystemVM vmcommon.VMExecutionHandler + TxCacher dataRetriever.TransactionCacher + TxCoordinator process.TransactionCoordinator + ValidatorStatistics process.ValidatorStatisticsProcessor + func NewTestMetaProcessor(numOfMetaNodes uint32, numOfShards uint32, numOfEligibleNodesPerShard uint32, ...) *TestMetaProcessor + func NewTestMetaProcessorWithCustomNodes(config *InitialNodesConfig) *TestMetaProcessor + func (tmp *TestMetaProcessor) ClearStoredMbs() + func (tmp *TestMetaProcessor) Process(t *testing.T, numOfRounds uint64) + func (tmp *TestMetaProcessor) ProcessJail(t *testing.T, blsKeys [][]byte) + func (tmp *TestMetaProcessor) ProcessReStake(t *testing.T, blsKeys [][]byte) + func (tmp *TestMetaProcessor) ProcessStake(t *testing.T, nodes map[string]*NodesRegisterData) + func (tmp *TestMetaProcessor) ProcessUnJail(t *testing.T, blsKeys [][]byte) + func (tmp *TestMetaProcessor) ProcessUnStake(t *testing.T, nodes map[string][][]byte)