diff --git a/pkg/client/container.go b/pkg/client/container.go index 5c87a2b..e4eb75a 100644 --- a/pkg/client/container.go +++ b/pkg/client/container.go @@ -369,6 +369,7 @@ func (c Client) setEACLV2(ctx context.Context, eacl *eacl.Table, opts ...CallOpt reqBody := new(v2container.SetExtendedACLRequestBody) reqBody.SetEACL(eacl.ToV2()) + reqBody.GetEACL().SetVersion(c.remoteNode.Version.ToV2()) signWrapper := v2signature.StableMarshalerWrapper{SM: reqBody.GetEACL()} err := signature.SignDataWithHandler(c.key, signWrapper, func(key []byte, sig []byte) {