diff --git a/pkg/innerring/innerring.go b/pkg/innerring/innerring.go index 528e908f..c57cbe6f 100644 --- a/pkg/innerring/innerring.go +++ b/pkg/innerring/innerring.go @@ -357,7 +357,7 @@ func New(ctx context.Context, log *zap.Logger, cfg *viper.Viper) (*Server, error return nil, err } - cnrClient, err := cntWrapper.NewFromMorph(server.morphClient, server.contracts.container, fee) + cnrClient, err := cntWrapper.NewFromMorph(server.morphClient, server.contracts.container, fee, cntWrapper.TryNotary()) if err != nil { return nil, err } diff --git a/pkg/innerring/processors/container/process_container.go b/pkg/innerring/processors/container/process_container.go index 2ce325bc..1c4fb520 100644 --- a/pkg/innerring/processors/container/process_container.go +++ b/pkg/innerring/processors/container/process_container.go @@ -65,7 +65,6 @@ func (cp *Processor) checkPutContainer(e *containerEvent.Put) error { } func (cp *Processor) approvePutContainer(e *containerEvent.Put) { - // FIXME: here we should try notary invoke // FIXME: here we should bind key to owner if needed err := cp.cnrClient.Put(e.Container(), e.PublicKey(), e.Signature()) if err != nil { diff --git a/pkg/innerring/processors/container/processor.go b/pkg/innerring/processors/container/processor.go index 007b0110..d68fed24 100644 --- a/pkg/innerring/processors/container/processor.go +++ b/pkg/innerring/processors/container/processor.go @@ -29,7 +29,7 @@ type ( morphClient *client.Client alphabetState AlphabetState feeProvider *config.FeeConfig - cnrClient *wrapper.Wrapper + cnrClient *wrapper.Wrapper // notary must be enabled idClient *neofsid.ClientWrapper }