Skip to content

Conversation

@cthulhu-rider
Copy link
Contributor

@cthulhu-rider cthulhu-rider commented Nov 6, 2025

@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

❌ Patch coverage is 0% with 251 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.25%. Comparing base (9959af2) to head (5f2da4f).
⚠️ Report is 11 commits behind head on master.

Files with missing lines Patch % Lines
pkg/morph/contracts/models.go 0.00% 61 Missing ⚠️
...nnerring/processors/container/process_container.go 0.00% 53 Missing ⚠️
pkg/morph/event/container/notary_requests.go 0.00% 31 Missing ⚠️
pkg/innerring/innerring.go 0.00% 24 Missing ⚠️
pkg/morph/client/container/put.go 0.00% 20 Missing ⚠️
pkg/innerring/processors/container/processor.go 0.00% 17 Missing ⚠️
pkg/morph/client/container/get.go 0.00% 17 Missing ⚠️
pkg/morph/client/client.go 0.00% 13 Missing ⚠️
pkg/morph/contracts/util.go 0.00% 7 Missing ⚠️
pkg/innerring/processors/container/handlers.go 0.00% 6 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3670      +/-   ##
==========================================
- Coverage   27.39%   27.25%   -0.14%     
==========================================
  Files         658      660       +2     
  Lines       41728    41873     +145     
==========================================
- Hits        11431    11413      -18     
- Misses      29229    29400     +171     
+ Partials     1068     1060       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cthulhu-rider cthulhu-rider force-pushed the support-structured-containers branch from 3bc4b81 to 5f2da4f Compare November 17, 2025 20:56
New version brings structured container and `createV2`, `getInfo`
methods in the Container contract.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
If new method is missing, SN falls back to the old ones.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
It's not needed in this case.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
This will make it easier to support nspcc-dev/neofs-contract#534.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Will become available with nspcc-dev/neofs-contract#534
upgrade. If new method is missing, SN falls back to old methods.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
It makes no sense to keep domain as struct field.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Passing explicit parameters is easier to understand.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
Will become available with nspcc-dev/neofs-contract#534
upgrade.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@cthulhu-rider cthulhu-rider force-pushed the support-structured-containers branch from 5f2da4f to 03db265 Compare November 18, 2025 10:25
Within nspcc-dev/neofs-contract#449, there is
a need to store containers as VM structs. Since
nspcc-dev/neofs-contract#534, struct items are
stored for new containers. This also needs to be done for containers
created before the upgrade.

Since doing this in a contract update transaction turned out to be too
GAS-intensive, this implements structuring through the IR background
process. Specialized method is called iteratively doing the same thing,
but for several containers at a time.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@cthulhu-rider cthulhu-rider force-pushed the support-structured-containers branch from 03db265 to 36e3eae Compare November 18, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants