Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adm: fix wrong nnsResolveKey() code #2296

Merged
merged 1 commit into from
Apr 10, 2023
Merged

Conversation

roman-khimov
Copy link
Member

I have no idea how it was tested/used, but NeoFS NNS contracts returns an array from resolve(), therefore this code just can't work correctly (assuming some byte string to returned directly).

@roman-khimov roman-khimov added this to the v0.36.0 milestone Apr 7, 2023
@roman-khimov roman-khimov added bug Something isn't working neofs-adm NeoFS Adm application issues labels Apr 7, 2023
@codecov
Copy link

codecov bot commented Apr 7, 2023

Codecov Report

Merging #2296 (d94280a) into master (76774ff) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

❗ Current head d94280a differs from pull request most recent head 3b997dc. Consider uploading reports for the commit 3b997dc to get more accurate results

@@            Coverage Diff             @@
##           master    #2296      +/-   ##
==========================================
- Coverage   29.82%   29.82%   -0.01%     
==========================================
  Files         400      400              
  Lines       30398    30401       +3     
==========================================
  Hits         9066     9066              
- Misses      20592    20595       +3     
  Partials      740      740              
Impacted Files Coverage Δ
...neofs-adm/internal/modules/morph/initialize_nns.go 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

I have no idea how it was tested/used, but NeoFS NNS contracts returns an
array from resolve(), therefore this code just can't work correctly (assuming
some byte string to returned directly).

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@roman-khimov
Copy link
Member Author

Neofs_Adm_Tests is broken, no green runs for the past ~six months.

@roman-khimov roman-khimov merged commit 7432af4 into master Apr 10, 2023
@roman-khimov roman-khimov deleted the fix-adm-nns-resolve branch April 10, 2023 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working neofs-adm NeoFS Adm application issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants