Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update notary branch #2771

Closed
wants to merge 176 commits into from
Closed

Update notary branch #2771

wants to merge 176 commits into from

Conversation

ZhangTao1596
Copy link

No description provided.

ixje and others added 30 commits March 20, 2022 19:50
* Add ToJson overload (#2671)

* Add ToJson overload

* change

* Update src/neo/VM/Helper.cs

* Update src/neo/VM/Helper.cs

* Update src/neo/VM/Helper.cs

* Update src/neo/VM/Helper.cs

Co-authored-by: Jinghui Liao <[email protected]>

* Update src/neo/VM/Helper.cs

Co-authored-by: Jinghui Liao <[email protected]>

Co-authored-by: Shargon <[email protected]>
Co-authored-by: Jinghui Liao <[email protected]>

* Fix oom (#2665)

* Fix oom

* Revert reorder

* parameters order

Co-authored-by: Erik Zhang <[email protected]>

* Optimize inventory (#2659)

* add `murmur32` to crypto lib (#2604)

* 3.2.0

* fix

Co-authored-by: Shargon <[email protected]>
Co-authored-by: Jinghui Liao <[email protected]>
* Devhawk/getAddressVersion2 (#2689)

* Fix fee in NativeContract.Invoke (#2692)

* GetTransaction signers (#2685)

* Allow the committee to block a member from the committee (#2695)
* Fix

* Fix

* private

* Check policy during deploy

Co-authored-by: Erik Zhang <[email protected]>
* Fix GetCandidates

* Fix summary

* Add overload

* Iterator version

* Update KeyValueIterator.cs

* Update NeoToken.cs

* Delete KeyValueIterator.cs

* Add GetCandidatesInternal

* Optimize GetCandidateVote

* Fix fee

* Fix ComputeCommitteeMembers

* Fix UT

Co-authored-by: Erik Zhang <[email protected]>
…r-defined blocks (#2739)

* MakeTransaction takes optional arg block to run with a virtual block

* rename block to persistingBlock
Added a new `MemoryReader` class for deserialization. It significantly improves neo's performance by avoiding memory copies during deserializations.
Jim8y and others added 7 commits February 7, 2024 02:54
* update UT name

* Update tests/Neo.VM.Tests/UT_StackItem.cs

Co-authored-by: Owen Zhang <[email protected]>

* Update tests/Neo.VM.Tests/UT_StackItem.cs

Co-authored-by: Owen Zhang <[email protected]>

* Update tests/Neo.VM.Tests/UT_StackItem.cs

Co-authored-by: Owen Zhang <[email protected]>

* Update tests/Neo.VM.Tests/UT_StackItem.cs

Co-authored-by: Owen Zhang <[email protected]>

* Update tests/Neo.VM.Tests/UT_StackItem.cs

Co-authored-by: Owen Zhang <[email protected]>

* Update tests/Neo.VM.Tests/UT_ExecutionContext.cs

Co-authored-by: Christopher Schuchardt <[email protected]>

* Update tests/Neo.VM.Tests/UT_ScriptBuilder.cs

* Update tests/Neo.VM.Tests/UT_EvaluationStack.cs

* fix ut name

---------

Co-authored-by: Owen Zhang <[email protected]>
Co-authored-by: Shargon <[email protected]>
Co-authored-by: Christopher Schuchardt <[email protected]>
Co-authored-by: NGD Admin <[email protected]>
* avoid checking reference when the stack is not full.

* fix UT

* Add UT

---------

Co-authored-by: Fernando Diaz Toledano <[email protected]>
…F8 (#3110)

* the GetString() methods of bytestring requires strictUTF8, but we can set it differently.

* update UTF8 rule and add UT

* add comment and prefix to base64 string

* fix UT

* Rename ToString to Print and move it to the unit test where it is needed. As it is a test method and only unit test will need it.

* Update tests/Neo.VM.Tests/UtEvaluationStack.cs

* Update src/Neo.VM/Utility.cs

* Update tests/Neo.VM.Tests/UtEvaluationStack.cs

* move try string to vm test

* Centralize print

* fix UT

* fix base64 format

* Override ToString

* Clean using

---------

Co-authored-by: Shargon <[email protected]>
* fix the store crash issue

* remove loadstore

* Clean changes

---------

Co-authored-by: Fernando Diaz Toledano <[email protected]>
* Fix storage encoding

* Remove unsafe methods

* Revert BigEndian change

* Fix ut

* Revert change
* Change to public StorageKey constructor

* cschuchardt88's feedback
@Jim8y Jim8y added the Need Active Pr will be closed after one week if no new activity. label Feb 12, 2024
cschuchardt88 and others added 17 commits February 14, 2024 01:22
* Added nuget packages source

* test

* Changed to windows

* fixed version

* fix

* fix nuget

* fixed nuget.config

* Fixed test

* Nuget fixes

* git

* working release

* Added cron job

* switch to keep 3 packages versions

* Update .github/workflows/main.yml

* Update .github/workflows/main.yml

Co-authored-by: Shargon <[email protected]>

* change secret

* change delete also

---------

Co-authored-by: Jimmy <[email protected]>
Co-authored-by: Shargon <[email protected]>
* Optimize price

* Jimmy's review

* CS0618

* Update tests/Neo.UnitTests/SmartContract/UT_OpCodePrices.cs

* Avoid Obsolete

---------

Co-authored-by: Jimmy <[email protected]>
* INit

* Update

* Allow access internals

* Update `github` actions workflow.

* Add assmebly internals to test assemblies

* Added `null` checking in `ByteArrayComparer.cs`

* Updated unit test for ByteArrayComparer

* Fixed `ByteArrayComparer.Compare` double checking.

* Fixed iterate same `x`, `y` in `ByteArrayComparer.Compare`

* Fixed test error in `ByteArrayComparer.Compare`

* Fix redundant condition

---------

Co-authored-by: Fernando Diaz Toledano <[email protected]>
* Update InteropInterface

core-add-interop-check

* Update src/Neo.VM/Types/InteropInterface.cs

* Update Neo.VM.csproj
* Update pkgs-delete.yml

* Update main.yml
* Fix package version and frameworks

Credits to @Jim8y

* It seems that was already build
* Decouple calculate fee from Wallet

* clean iff

* Convert into extension

* Update src/Neo/Wallets/Helper.cs
* Update main.yml

* Update main.yml

* Update main.yml

* Change format

* Update .github/workflows/main.yml

* Update main.yml

* Update .github/workflows/main.yml

* Update main.yml

* Update .github/workflows/main.yml

* Update main.yml

* Update .github/workflows/main.yml

* Update .github/workflows/main.yml

* Avoid add package in other os

* Update main.yml

* Update main.yml

* Final fix

* Update .github/workflows/main.yml

* Update main.yml

* Update main.yml

* Update .github/workflows/main.yml

* Update .github/workflows/main.yml

* Remove rm

In windows fail

---------

Co-authored-by: Vitor Nazário Coelho <[email protected]>
* Jump table

* Types

* Splice

* revert partial

* More control

* Remove attribute

* ApplicationEngine logic

* Stack

* Bitwisee

* clean using

* Numeric

* Prepare

* AggressiveInlining

* one left

* Compound

* Slot

* Allow to override invalid opcode

* Specify jumpTable according to block

* Fix syscall

* Rename to UnloadContext

* Revert "Rename to UnloadContext"

This reverts commit 5a551da.

* Rename

* Update JumpTable.Control.cs

* Update src/Neo.VM/JumpTable/JumpTable.cs

* Rename methods

* Update src/Neo.VM/JumpTable/JumpTable.Push.cs

Co-authored-by: Jimmy <[email protected]>

* Update src/Neo.VM/ExecutionEngine.cs

Co-authored-by: Christopher Schuchardt <[email protected]>

* Update src/Neo.VM/ExecutionEngine.cs

Co-authored-by: Christopher Schuchardt <[email protected]>

* Update src/Neo.VM/ExecutionEngine.cs

Co-authored-by: Christopher Schuchardt <[email protected]>

* Update src/Neo/SmartContract/ApplicationEngine.cs

Co-authored-by: Christopher Schuchardt <[email protected]>

* use internal

* Allow previous constructor

* prevent new jumptTable if default

* Update src/Neo.VM/JumpTable/JumpTable.cs

---------

Co-authored-by: Jimmy <[email protected]>
Co-authored-by: Christopher Schuchardt <[email protected]>
Co-authored-by: Vitor Nazário Coelho <[email protected]>
* Update manifest

* Fix comment

* Format & fix methods

* Fix new

* Initialize storage fixes

* Fix IsInitializeBlock

* Fix update

* Fix GetContractState

* Optimize

* Fix first invoke without sync

* Remove current methods

* Clean usings

* Improve reading Initialize

* Clean OnManifestCompose

* Use cache for all native contracts

* Fix ut

* Move cache to ApplicationEngine

* Clean code

* Allow nullable attribute

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

* Add base call

* Fix one #2941 (comment)

* Fix IsInitializeBlock #2941 (comment)

* Add ContractEventAttribute constructors for ActiveIn

* Ensure ommited hfs

* Rename

* Case insensitive hf config

* Increase coverage

* More uts

* Rename

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

* format code

* Fix ProtocolSettings

* Update src/Neo/SmartContract/ApplicationEngine.cs

* format

* reorder using

* Fix UT

* Adding keccak256 (#2925)

* Create codeql.yml

* Keccak256

* Delete .github/workflows/codeql.yml

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

* add more keccak256 test cases as required

* Create codeql.yml

* Keccak256

* Delete .github/workflows/codeql.yml

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

* add more keccak256 test cases as required

* HF_Manticore

* Fix copyright

* Create codeql.yml

* Keccak256

* Delete .github/workflows/codeql.yml

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

* add more keccak256 test cases as required

* Create codeql.yml

* Keccak256

* Delete .github/workflows/codeql.yml

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

* add more keccak256 test cases as required

* HF_Manticore

* Fix copyright

* HF_Manticore

* Update CryptoLib.cs

* Update CryptoLib.cs

* Update UT_CryptoLib.cs

* Apply suggestions from code review

* clean usings

---------

Co-authored-by: Shargon <[email protected]>

* Fix net standard

* Add ut

* Fix update

* Fix update

---------

Co-authored-by: Jimmy <[email protected]>
* Update NativeContract.cs

* Update MemoryStoreProvider.cs

* Update Neo.csproj
* Update main.yml

close #3160

* the file does not exist on others matrix.os

* Update main.yml

* Update main.yml

* Update main.yml

* Update .github/workflows/main.yml

Co-authored-by: Shargon <[email protected]>

---------

Co-authored-by: Jimmy <[email protected]>
Co-authored-by: Shargon <[email protected]>
@vncoelho
Copy link
Member

@shargon, maybe this PR should be merged and open a new one from notory to master.

@shargon
Copy link
Member

shargon commented Feb 23, 2024

2022, I think that should be closed, and design notary in a different one (if someone are interested in)

@Jim8y
Copy link
Contributor

Jim8y commented Feb 24, 2024

Close this pr as inactive. Open only if you are going to maintain this pr.

@Jim8y Jim8y closed this Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Active Pr will be closed after one week if no new activity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.