diff --git a/pkg/innerring/innerring.go b/pkg/innerring/innerring.go index a8b1ad9d..66ea10a0 100644 --- a/pkg/innerring/innerring.go +++ b/pkg/innerring/innerring.go @@ -202,6 +202,7 @@ func New(ctx context.Context, log *zap.Logger, cfg *viper.Viper) (*Server, error PoolSize: cfg.GetInt("workers.neofs"), NeoFSContract: contracts.neofs, BalanceContract: contracts.balance, + NetmapContract: contracts.netmap, MorphClient: server.morphClient, EpochState: server, ActiveState: server, diff --git a/pkg/innerring/processors/neofs/processor.go b/pkg/innerring/processors/neofs/processor.go index 6a60f520..b4eca268 100644 --- a/pkg/innerring/processors/neofs/processor.go +++ b/pkg/innerring/processors/neofs/processor.go @@ -27,6 +27,7 @@ type ( pool *ants.Pool neofsContract util.Uint160 balanceContract util.Uint160 + netmapContract util.Uint160 morphClient *client.Client epochState EpochState activeState ActiveState @@ -38,6 +39,7 @@ type ( PoolSize int NeoFSContract util.Uint160 BalanceContract util.Uint160 + NetmapContract util.Uint160 MorphClient *client.Client EpochState EpochState ActiveState ActiveState @@ -75,6 +77,7 @@ func New(p *Params) (*Processor, error) { pool: pool, neofsContract: p.NeoFSContract, balanceContract: p.BalanceContract, + netmapContract: p.NetmapContract, morphClient: p.MorphClient, epochState: p.EpochState, activeState: p.ActiveState,