Skip to content

Commit

Permalink
fixes after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed May 15, 2024
1 parent 53c83c6 commit bca0e4d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions factory/processing/processComponentsHandler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func testManagedProcessComponentsCreateShouldWork(t *testing.T, shardID uint32,
require.True(t, check.IfNil(managedProcessComponents.FullArchivePeerShardMapper()))
require.True(t, check.IfNil(managedProcessComponents.FullArchiveInterceptorsContainer()))
require.True(t, check.IfNil(managedProcessComponents.SentSignaturesTracker()))
require.True(t, check.IfNil(managedProcessComponents.EpochSystemSCProcessor()))
require.True(t, check.IfNil(managedProcessComponents.EpochSystemSCProcessor()))

err := managedProcessComponents.Create()
require.NoError(t, err)
Expand Down Expand Up @@ -152,7 +152,7 @@ func testManagedProcessComponentsCreateShouldWork(t *testing.T, shardID uint32,
require.False(t, check.IfNil(managedProcessComponents.FullArchivePeerShardMapper()))
require.False(t, check.IfNil(managedProcessComponents.FullArchiveInterceptorsContainer()))
require.False(t, check.IfNil(managedProcessComponents.SentSignaturesTracker()))
require.False(t, check.IfNil(managedProcessComponents.EpochSystemSCProcessor()))
require.False(t, check.IfNil(managedProcessComponents.EpochSystemSCProcessor()))

}

Expand Down
1 change: 1 addition & 0 deletions factory/processing/processComponents_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,7 @@ func getRunTypeComponents(rt runType.RunTypeComponentsHolder) *mainFactoryMocks.
VmContainerShardFactory: rt.VmContainerShardFactoryCreator(),
AccountParser: rt.AccountsParser(),
AccountCreator: rt.AccountsCreator(),
VMContextCreatorHandler: rt.VMContextCreator(),
OutGoingOperationsPool: rt.OutGoingOperationsPoolHandler(),
DataCodec: rt.DataCodecHandler(),
TopicsChecker: rt.TopicsCheckerHandler(),
Expand Down
1 change: 1 addition & 0 deletions factory/runType/runTypeComponents.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"math/big"

"github.com/multiversx/mx-chain-go/common/disabled"
"github.com/multiversx/mx-chain-go/config"
"github.com/multiversx/mx-chain-go/consensus"
sovereignBlock "github.com/multiversx/mx-chain-go/dataRetriever/dataPool/sovereign"
Expand Down
1 change: 1 addition & 0 deletions testscommon/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,7 @@ func GetRunTypeComponentsStub(rt factory.RunTypeComponentsHandler) *mainFactoryM
SCResultsPreProcessorFactory: rt.SCResultsPreProcessorCreator(),
AccountParser: rt.AccountsParser(),
AccountCreator: rt.AccountsCreator(),
VMContextCreatorHandler: rt.VMContextCreator(),
ConsensusModelType: rt.ConsensusModel(),
VmContainerMetaFactory: rt.VmContainerMetaFactoryCreator(),
VmContainerShardFactory: rt.VmContainerShardFactoryCreator(),
Expand Down

0 comments on commit bca0e4d

Please sign in to comment.