Skip to content

Commit

Permalink
chain simulator fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed Jan 29, 2025
1 parent 985849f commit 11c5a7c
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions node/chainSimulator/components/testOnlyProcessingNode.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,22 +189,17 @@ func NewTestOnlyProcessingNode(args ArgsTestOnlyProcessingNode) (*testOnlyProces
return nil, err
}

err = instance.createDataPool(args)
instance.DataPool, err = dataRetrieverFactory.NewDataPoolFromConfig(dataRetrieverFactory.ArgsDataPool{
Config: args.Configs.GeneralConfig,
EconomicsData: instance.CoreComponentsHolder.EconomicsData(),
ShardCoordinator: instance.BootstrapComponentsHolder.ShardCoordinator(),
Marshalizer: instance.CoreComponentsHolder.InternalMarshalizer(),
PathManager: instance.CoreComponentsHolder.PathHandler(),
})
if err != nil {
return nil, err
}

//instance.DataPool, err = dataRetrieverFactory.NewDataPoolFromConfig(dataRetrieverFactory.ArgsDataPool{
// Config: args.Configs.GeneralConfig,
// EconomicsData: instance.CoreComponentsHolder.EconomicsData(),
// ShardCoordinator: instance.BootstrapComponentsHolder.ShardCoordinator(),
// Marshalizer: instance.CoreComponentsHolder.InternalMarshalizer(),
// PathManager: instance.CoreComponentsHolder.PathHandler(),
//})
//if err != nil {
// return nil, err
//}

instance.DataComponentsHolder, err = CreateDataComponents(ArgsDataComponentsHolder{
Chain: instance.ChainHandler,
StorageService: instance.StoreService,
Expand Down

0 comments on commit 11c5a7c

Please sign in to comment.