• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

neo-project / neo / 14371169172
79%

Build:
DEFAULT BRANCH: master
Ran 10 Apr 2025 02:49AM UTC
Jobs 1
Files 415
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Apr 2025 02:44AM UTC coverage: 78.506% (+0.008%) from 78.498%
14371169172

push

github

web-flow
Native: move `MaxValidUntilBlockIncrement` to native Policy (#3861)

* Native: move MaxValidUntilBlockIncrement to native Policy

The problem is described in
https://github.com/nspcc-dev/neo-go/issues/3841. In short words,
the chain's state is dependent on MaxValidUntilBlockIncrement setting,
whereas this setting depends on the block time. Since block generation
time is a part of native Policy (#3622), MaxValidUntilBlockIncrement
should follow, we need the same value to be applied at all CNs
simultaneously.

Port https://github.com/nspcc-dev/neo-go/pull/3849.

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

* Extensions: improve formatting

No functional changes.

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

* Native: set maximum constraint for MaxValidUntilBlockIncrement

It's set to be a day of 1-second blocks, that should be enough, ref.
https://github.com/neo-project/neo/pull/3861#discussion_r2027070961.

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>
Co-authored-by: Will <201105916+Wi1l-B0t@users.noreply.github.com>
Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
Co-authored-by: Jimmy <jinghui@wayne.edu>

6135 of 8886 branches covered (69.04%)

Branch coverage included in aggregate %.

26 of 30 new or added lines in 7 files covered. (86.67%)

22380 of 27436 relevant lines covered (81.57%)

125228.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
57.88
0.08% src/Plugins/OracleService/OracleService.cs
3
80.0
src/Neo/Extensions/NeoSystemExtensions.cs
Jobs
ID Job ID Ran Files Coverage
1 14371169172.1 10 Apr 2025 02:49AM UTC 2706
25.23
GitHub Action Run
Source Files on build 14371169172
  • Tree
  • List 415
  • Changed 323
  • Source Changed 6
  • Coverage Changed 323
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #14371169172
  • 3be10f74 on github
  • Prev Build on master (#14357729594)
  • Next Build on master (#14371283232)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc