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

neo-project / neo / 20679774506

03 Jan 2026 04:18PM UTC coverage: 80.755% (-0.2%) from 80.907%
20679774506

push

github

web-flow
[N3] Request blocked funds (#4328)

* Request blocked funds

* fake witness to allow transfers in any NEP17

* Use Treasury hash

* 6 months

* Update src/Neo/SmartContract/Native/PolicyContract.cs

Co-authored-by: Owen <38493437+superboyiii@users.noreply.github.com>

* One year time

* Fix improve

* Clean code

* Ensure NativeCallingScriptHash change

* format

* Fix ut

* dotnet format

* Fix compilation

* Update src/Neo/SmartContract/Native/PolicyContract.cs

Co-authored-by: Owen <38493437+superboyiii@users.noreply.github.com>

* Add events

* Anna's and superboy's feedback

* Fix one node network

* Superboy and Erik's feedback

* Avoid Expect integer type

* Invoke manually

* avoid multiple debuggers

* Update tests/Neo.UnitTests/SmartContract/Native/UT_PolicyContract.cs

Co-authored-by: Owen <38493437+superboyiii@users.noreply.github.com>

* Update src/Neo/SmartContract/Native/NativeContract.cs

Co-authored-by: Erik Zhang <erik@neo.org>

* Roman's feedback

* Unify tests

* Use block for start recover

* Fix UT

* Use current registry for store time

* Update src/Neo/SmartContract/Native/PolicyContract.cs

Co-authored-by: Erik Zhang <erik@neo.org>

* Update tests/Neo.UnitTests/SmartContract/Native/UT_PolicyContract.cs

Co-authored-by: Owen <38493437+superboyiii@users.noreply.github.com>

* One token

* Update src/Neo/SmartContract/Native/NativeContract.cs

Co-authored-by: Alvaro <amjarag@gmail.com>

* Return bool and modify notification

* Update src/Neo/SmartContract/Native/PolicyContract.cs

Co-authored-by: Owen <38493437+superboyiii@users.noreply.github.com>

* Rename to recoverFund

* Update src/Neo/SmartContract/Native/PolicyContract.cs

* Apply suggestions from code review

Co-authored-by: Alvaro <amjarag@gmail.com>

* Fix UT

* Update src/Neo/SmartContract/Native/PolicyContract.cs

Co-authored-by: Owen <38493437+superboyiii@users.noreply.github.com>

* Update src/Neo/SmartContract/Native/PolicyContract.cs

---------

Co-authored-by: Ow... (continued)

4452 of 6128 branches covered (72.65%)

Branch coverage included in aggregate %.

39 of 53 new or added lines in 2 files covered. (73.58%)

14 existing lines in 1 file now uncovered.

13403 of 15982 relevant lines covered (83.86%)

54833.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

40.42
/src/Neo/Network/P2P/RemoteNode.ProtocolHandler.cs


Source Not Available

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

© 2026 Coveralls, Inc