Skip to content

config: upgrade NeoFS networks configuration#3833

Merged
roman-khimov merged 1 commit intomasterfrom
update-fs-config
Mar 19, 2025
Merged

config: upgrade NeoFS networks configuration#3833
roman-khimov merged 1 commit intomasterfrom
update-fs-config

Conversation

@AnnaShaleva
Copy link
Member

1-second blocks are used now.

@AnnaShaleva AnnaShaleva added the config Configuration format update or breaking change label Mar 7, 2025
@AnnaShaleva AnnaShaleva added this to the v0.109.0 milestone Mar 7, 2025
@codecov
Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.44%. Comparing base (d411337) to head (dd20f76).
Report is 17 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3833      +/-   ##
==========================================
- Coverage   82.74%   82.44%   -0.31%     
==========================================
  Files         338      341       +3     
  Lines       47484    47740     +256     
==========================================
+ Hits        39293    39361      +68     
- Misses       6561     6743     +182     
- Partials     1630     1636       +6     

☔ 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.

Copy link
Member

@roman-khimov roman-khimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add MaxValidUntilBlockIncrement: 8640 as well, that's the current config.

@AnnaShaleva AnnaShaleva changed the title config: upgrade NeoFS testnet configuration config: upgrade NeoFS networks configuration Mar 19, 2025
1-second blocks are used now and MaxValidUntilBlockIncrement is adjusted.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
@AnnaShaleva
Copy link
Member Author

Have you adjusted MaxTraceableBlocks as well?

@roman-khimov
Copy link
Member

Have you adjusted MaxTraceableBlocks as well?

It's correct in current configs, 17280.

@roman-khimov roman-khimov merged commit 3e54c46 into master Mar 19, 2025
33 of 34 checks passed
@roman-khimov roman-khimov deleted the update-fs-config branch March 19, 2025 13:10
AnnaShaleva added a commit to neo-project/neo that referenced this pull request Mar 31, 2025
…works

We use 1-second blocks in NeoFS mainnet/testnet for quite a long time,
follow nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
AnnaShaleva added a commit to neo-project/neo that referenced this pull request Mar 31, 2025
Follow the nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
AnnaShaleva added a commit to neo-project/neo that referenced this pull request Mar 31, 2025
We use 1-second blocks in NeoFS mainnet/testnet for quite a long time,
follow nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
AnnaShaleva added a commit to neo-project/neo that referenced this pull request Mar 31, 2025
Follow the nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
AnnaShaleva added a commit to neo-project/neo that referenced this pull request Mar 31, 2025
Follow the nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
AnnaShaleva added a commit to neo-project/neo that referenced this pull request Mar 31, 2025
Follow the nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
shargon added a commit to neo-project/neo that referenced this pull request Apr 1, 2025
* config: adjust MillisecondsPerBlock for FS networks

We use 1-second blocks in NeoFS mainnet/testnet for quite a long time,
follow nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

* ProtocolSettings: fetch MaxValidUntilBlockIncrement from config

It's the protocol setting, hence it needs to be fetched from JSON node
configuration file.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

* config: adjust MaxValidUntilBlockIncrement for FS networks

Follow the nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

---------

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Co-authored-by: Shargon <shargon@gmail.com>
cschuchardt88 pushed a commit to cschuchardt88/neo that referenced this pull request Jun 8, 2025
* config: adjust MillisecondsPerBlock for FS networks

We use 1-second blocks in NeoFS mainnet/testnet for quite a long time,
follow nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

* ProtocolSettings: fetch MaxValidUntilBlockIncrement from config

It's the protocol setting, hence it needs to be fetched from JSON node
configuration file.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

* config: adjust MaxValidUntilBlockIncrement for FS networks

Follow the nspcc-dev/neo-go#3833.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>

---------

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Co-authored-by: Shargon <shargon@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration format update or breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants