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

neo-project / neo / 13649892034
79%

Build:
DEFAULT BRANCH: master
Ran 04 Mar 2025 09:02AM UTC
Jobs 1
Files 413
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

04 Mar 2025 08:57AM UTC coverage: 78.405% (+0.001%) from 78.404%
13649892034

push

github

web-flow
Implement NotaryAssisted transaction attribute (#3175)

* Implement NotaryAssisted transaction attribute

Close #2896. Use a stub for native Notary contract hash since this
contract is not implemented yet. Thus, technically, NotaryAssisted
attribute verification will always fail on real network until native
Notary is implemented.

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

* Payloads: add doc to CalculateNetworkFee method of NotaryAssisted attribute

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

* Native: add NotaryAssisted attributes handler to Gas OnPersist

Transactions network fee should be split between Primary node and Notary
nodes.

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

* Payloads: adjust comment to NotaryAssisted attribute

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

* Payloads: temporary use hard-coded Notary contract hash

Once Notary contract is implemented, this hash will be replaced by a
proper Notary contract hash. The exact value won't be changed since
Notary contract has constant hash as any other native contract.

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

* Payloads: replace hard-coded Notary hash value with calculated one

No functional changes, just a refactoring for better code readability.

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

* NeoModules: integrate NotaryAssisted attribute

Port the https://github.com/neo-project/neo-modules/pull/884.

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

* Payloads: fix XML comment formatting

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

* P2P: move NotaryAssisted transaction attribute under D hardfork

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

* P2P: move NotaryAssisted transaction attribute under E hardfork

D hardfork was occupied by 3.7.5, thus use the next available one.

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

* tests: fix build errors

No functional changes, just build fixes required by updated maste... (continued)

6039 of 8772 branches covered (68.84%)

Branch coverage included in aggregate %.

45 of 55 new or added lines in 5 files covered. (81.82%)

1 existing line in 1 file now uncovered.

22157 of 27190 relevant lines covered (81.49%)

128166.19 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.24
src/Neo/Network/P2P/Payloads/NotaryAssisted.cs
1
86.58
-0.52% src/Neo/Network/P2P/Payloads/Transaction.cs
4
90.65
-3.05% src/Neo/SmartContract/Native/PolicyContract.cs
4
83.84
-1.13% src/Plugins/RpcClient/Utility.cs

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.84
-1.13% src/Plugins/RpcClient/Utility.cs
Jobs
ID Job ID Ran Files Coverage
1 13649892034.1 04 Mar 2025 09:02AM UTC 2676
25.13
GitHub Action Run
Source Files on build 13649892034
  • Tree
  • List 413
  • Changed 321
  • Source Changed 4
  • Coverage Changed 321
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #13649892034
  • 4c7bae4c on github
  • Prev Build on master (#13561810641)
  • Next Build on master (#13671499630)
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