diff --git a/cmd/proxy/main.go b/cmd/proxy/main.go index aa93e4ad..3c013af9 100644 --- a/cmd/proxy/main.go +++ b/cmd/proxy/main.go @@ -487,6 +487,7 @@ func createVersionsRegistry( hasher, marshalizer, cfg.GeneralSettings.AllowEntireTxPoolFetch, + runTypeComponents, ) if err != nil { return nil, err diff --git a/process/factory/transactionProcessorFactory.go b/process/factory/transactionProcessorFactory.go index 1055c1fd..8f563251 100644 --- a/process/factory/transactionProcessorFactory.go +++ b/process/factory/transactionProcessorFactory.go @@ -4,7 +4,9 @@ import ( "github.com/multiversx/mx-chain-core-go/core" "github.com/multiversx/mx-chain-core-go/hashing" "github.com/multiversx/mx-chain-core-go/marshal" + "github.com/multiversx/mx-chain-proxy-go/facade" + "github.com/multiversx/mx-chain-proxy-go/factory" "github.com/multiversx/mx-chain-proxy-go/process" "github.com/multiversx/mx-chain-proxy-go/process/logsevents" "github.com/multiversx/mx-chain-proxy-go/process/txcost" @@ -17,6 +19,7 @@ func CreateTransactionProcessor( hasher hashing.Hasher, marshalizer marshal.Marshalizer, allowEntireTxPoolFetch bool, + runTypeComponents factory.RunTypeComponentsHolder, ) (facade.TransactionProcessor, error) { newTxCostProcessor := func() (process.TransactionCostHandler, error) { return txcost.NewTransactionCostProcessor(