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

neo-project / neo / 9459243390
79%

Build:
DEFAULT BRANCH: master
Ran 11 Jun 2024 03:47AM UTC
Jobs 1
Files 354
Run time 2min
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

11 Jun 2024 03:42AM UTC coverage: 71.386%. Remained the same
9459243390

push

github

web-flow
SmartContract: use executing contract state to check permissions (#3290)

It's not correct to use an updated contract state got from native
Management to check for the allowed method call. We need to use
manifest from the currently executing context for that. It may be
critical for cases when executing contract is being updated firstly,
and after that it calls another contract. So we need an old (executing)
contract manifest for this check.

This change is moved under D hardfork to avoid state diff issues on
nodes update. Although it should be noted that it's hard to meet the
trigger criteria.

A port of https://github.com/nspcc-dev/neo-go/pull/3473. This bug was
discovered during the similar problem described in
https://github.com/nspcc-dev/neo-go/issues/3471 and fixed in
https://github.com/nspcc-dev/neo-go/pull/3472. I've checked all other
similar usages and the rest of them use proper contract state (executing
one, not the Management's one).

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: Jimmy <jinghui@wayne.edu>
Co-authored-by: Vitor Nazário Coelho <vncoelho@gmail.com>

4882 of 7856 branches covered (62.14%)

Branch coverage included in aggregate %.

6 of 6 new or added lines in 1 file covered. (100.0%)

18138 of 24391 relevant lines covered (74.36%)

138757.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9459243390.1 11 Jun 2024 03:47AM UTC 1761
23.99
GitHub Action Run
Source Files on build 9459243390
  • Tree
  • List 354
  • Changed 260
  • Source Changed 1
  • Coverage Changed 260
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9459243390
  • 5cf74463 on github
  • Prev Build on master (#9458996562)
  • Next Build on master (#9459517283)
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