Skip to content

neo#1

Open
bol-project wants to merge 1670 commits into
stathas:masterfrom
neo-project:master
Open

neo#1
bol-project wants to merge 1670 commits into
stathas:masterfrom
neo-project:master

Conversation

@bol-project

Copy link
Copy Markdown

No description provided.

cschuchardt88 and others added 29 commits February 9, 2025 02:20
* Fix docker

* revert some changes
* optimize import

* Apply suggestions from code review

Co-authored-by: nan01ab <yjcc201374@outlook.com>

* Update src/Neo/Network/P2P/Payloads/Signer.cs

* Apply suggestions from code review

Co-authored-by: nan01ab <yjcc201374@outlook.com>

* Fix signers

* Clean more

---------

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: nan01ab <yjcc201374@outlook.com>
Co-authored-by: Vitor Nazário Coelho <vncoelho@gmail.com>
* Refactor

* MemoryStore instead of IStore

* Fix Seek

* Renamed SnapshotCache to StoreCache

* fix header
* Nullable IO and plugins

* Update ReflectionCache.cs

* Revert "Update ReflectionCache.cs"

This reverts commit c0a1124.

---------

Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
* fix stuff

* fixed format

* if issue

* fixes

* fix bad code

* fix bad code
Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
Co-authored-by: Shargon <shargon@gmail.com>
* Fixed leveldb on release

* fixed release.yml

* update test and everything

* fixed bug

* fix bug

* fixed bug

* fixed bug

* Added support for linux-arm64

* fixed `main.yml`

* remove `arm64` and `x64`

* Update release.yml

* Fix move command

* fix `docker`

---------

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: Jimmy <jinghui@wayne.edu>
Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
* Fixed tests.

* format

* Delete tests/Neo.Extensions.Tests/UT_AssemblyExtensions.cs

* Update src/Neo/Neo.csproj

Co-authored-by: Shargon <shargon@gmail.com>

---------

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
Co-authored-by: Shargon <shargon@gmail.com>
* Enable Continuous Integration Build

* fix format

* update main.yml

* Update github action to enable CI build

* revert brew command

* Update .github/workflows/main.yml

* fixes for CI

* fixed typo

---------

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
* Optimize PubKey

* Rename to ISerializableSpan

* @nan01ab feedback

* clean using
* Nullable BloomFilter and MerkleTree

* Replace interface
* Fix Windows workflow action

* Changed dotnet test command

* fix some stuff

* Fix

* fix windows action

* Added `OverwriteReadOnlyFiles`

* revert some stuff

* update version for coverallsapp action

* fixes to tests

* Fixes

* fixed

* continue on error

* Update .github/workflows/main.yml

Co-authored-by: Shargon <shargon@gmail.com>

* fix

* revert to do what @shargon wants

* Upload

* Update .github/workflows/main.yml

* Fixed readonly

* ci fix

* added `--disable-parallel`

* fix `-p:Exclude="[Neo.UnitTests]*"`

---------

Co-authored-by: Shargon <shargon@gmail.com>
* EC Recover

* Clean code

* Fix ut

* Fix ut

* Unify hashing

* Allow HashAlgorithm.None

* Clean comment

* Update src/Neo/Cryptography/Crypto.cs

* Fix merge

* Add None check

* Fix GetHash

* fix unit testing issues

* Clean code

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

---------

Co-authored-by: Jimmy <jinghui@wayne.edu>
* tests: add UT for nested WitnessCondition

This just works as the code works.

Signed-off-by: Roman Khimov <roman@nspcc.ru>

* WitnessCondition: unify nesting checks, fix MaxNestingDepth

1. We have some duplication around "maxNestDepth <= 0" checks.
2. If we're to fix them by moving to DeserializeFrom() and thereby affecting
   all types of conditions we can discover a simple truth about conditions
   that was hidden previously: our real supported MaxNestingDepth is 3, not 2.
3. Test_WitnessCondition_Nesting works as before, check it there, we have
   And->And->Boolean and other nesting cases, 3-4 elements in the chain,
   not 2.

Signed-off-by: Roman Khimov <roman@nspcc.ru>

* WitnessCondition: unify JSON parsing as well

Signed-off-by: Roman Khimov <roman@nspcc.ru>

* tests: s/WitnessContition/WitnessCondition/

Fix typo.

Signed-off-by: Roman Khimov <roman@nspcc.ru>

* Format header

* Format arrays in UT_WitnessCondition.cs

---------

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
* Add Support for plugin loading

* Added @shargon request of changes

---------

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
* Optimize key builder

* Optimize with GetSpan

* Use Span

* Clean

* Rename

* Update src/Neo/SmartContract/KeyBuilder.cs

Co-authored-by: nan01ab <yjcc201374@outlook.com>

* Update KeyBuilder.cs

* @cschuchardt88 feedback

* Avoid ToArray in StorageKey constructor

* Use sizeof

* Optimize ECPoint

* Optimize ECPoint

* Add ISerializableSpan

* Move to StorageKey

* Use ReadOnlySpan

---------

Co-authored-by: nan01ab <yjcc201374@outlook.com>
Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
* Add some stuff to hope once and for all fix the linux workflows

* update workflow

* update nuget.yml

* Change dig to detailed, log too big

* Fix targets

* revert main.yml

* Update .github/workflows/main.yml

* disable BuildInParallel

---------

Co-authored-by: Jimmy <jinghui@wayne.edu>
Co-authored-by: Shargon <shargon@gmail.com>
* Optimization: Murmur32 Appendable

* mark as static

---------

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
erikzhang and others added 30 commits January 10, 2026 10:31
…4427)

Adjust Oracle, Notary and Treasury contracts. Port #4384.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
* Fix thread safe

* Fix init

* fix build

---------

Co-authored-by: Alvaro <amjarag@gmail.com>
Co-authored-by: Shargon <shargon@gmail.com>
* fix coverage N4

* Change coverall to codecov
A port of #4495. Ref. #4494.

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

Port #4486. Ref. #4485.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: Alvaro <amjarag@gmail.com>
* port call from native

* optimize

---------

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

* Uses native .NET cryptographic libraries for signing and verification.

* OSX support

* try fix linux UT

* IDisposable

* Add crypto ut (#6)

---------

Co-authored-by: Jimmy <jimmy@r3e.network>
Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: Owen <38493437+superboyiii@users.noreply.github.com>
Refactor Crypto.Sign to use KeyPair instead of raw key.
* Fix routing table closest-node selection

* Update src/Neo/Network/P2P/RoutingTable.cs

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

---------

Co-authored-by: Shargon <shargon@gmail.com>
Co-authored-by: Alvaro <amjarag@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.