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

Add hardofork HF_Echidna #3454

Draft
wants to merge 35 commits into
base: master
Choose a base branch
from
Draft

Add hardofork HF_Echidna #3454

wants to merge 35 commits into from

Commits on Aug 7, 2024

  1. add hardofork HF_Echidna

    Jim8y committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    bcc5fd0 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Add entries to Designation event (#3397)

    * Add entries to Designation event
    
    * Change to HF_Echidna
    
    * Add UT
    
    * Add count
    shargon authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    e63f10b View commit details
    Browse the repository at this point in the history
  2. [Neo Json Fix] Json null tests (#3450)

    * null operation
    
    * fix array
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
    3 people authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    28043cb View commit details
    Browse the repository at this point in the history
  3. [Neo Core StdLib] Add Base64url (#3453)

    * add base64url
    
    * active in
    
    * update placehold hf height
    
    * fix hf issue and move methods to proper place.
    
    * fix test
    
    * use identifymodel instead.
    Jim8y authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    9d16c53 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Update README.md (#3459)

    chenzhitong authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    a93adb7 View commit details
    Browse the repository at this point in the history
  2. Update RpcServer.Blockchain.cs (#3458)

    Co-authored-by: Jimmy <jinghui@wayne.edu>
    chenzhitong and Jim8y authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    0d46c20 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Set Password to SecureString for Wallet (#3468)

    * Set `Password` to `SecureString` for Wallet information
    
    * Added `UnitTest` for `SecureStringExtensions`
    
    * Update tests/Neo.Extensions.Tests/UT_SecureStringExtensions.cs
    
    Co-authored-by: Shargon <shargon@gmail.com>
    
    * Update src/Neo.Extensions/SecureStringExtensions.cs
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    cschuchardt88 and shargon authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    5fb2262 View commit details
    Browse the repository at this point in the history
  2. [Neo Plugin RPCServer] Rpc parameters. Part I (#3457)

    * rpc parameter parse
    
    * update blockchain related apis.
    
    * Update src/Plugins/RpcServer/RpcMethodWithParamsAttribute.cs
    
    * Delete src/Plugins/RpcServer/JsonPropertyNameAttribute.cs
    
    * udpate contract model
    
    * Update src/Plugins/RpcServer/Model/BlockHashOrIndex.cs
    
    * Apply suggestions from code review
    
    Remove comments
    
    * Update src/Plugins/RpcServer/RpcServer.cs
    
    * fix warnings
    
    * ensure it can load both true/false and 1/0
    
    * optimize the pr and add unit tests
    
    * add more tests and check the safe max value and safe min value
    
    * remove format
    
    * remove unused
    
    * format
    
    * Apply suggestions from code review
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
    3 people authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    71da68d View commit details
    Browse the repository at this point in the history
  3. test RpcServer.Utilities, .SmartContract and .Wallet (#3461)

    * test RpcServer.Utilities
    
    * test invoke function and script
    
    * TestTraverseIterator
    
    * TestGetUnclaimedGas
    
    * RpcServerSettings.Default with { SessionEnabled = true }
    
    * test call with storage changes and events
    
    * use wallet in invokefunction
    
    * use invalid wallet
    
    * invoke without signer
    
    * all cases for TraverseIterator
    
    * traversing same session twice; not expired session
    
    * cover OnTimer
    
    * test deserializing complex signers
    
    * use Assert.ThrowsException
    
    * TestSendFrom and TestSendMany
    
    * apply code review with `nameof`
    
    * test cancel transaction
    
    * TestInvokeContractVerify
    
    * improve error message
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
    3 people authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    436906c View commit details
    Browse the repository at this point in the history
  4. [Move] Part-4 Classes into Different Library - Neo.Extensions (#3408

    )
    
    * Part-1 `Neo.IO` - move
    
    * Part-2
    
    * Added `BigInteger` to `Neo.Extensions`
    
    * Found more `BigInteger`
    
    * Added `ByteArray` to `Neo.Extensions`
    
    * Added `DateTime` Extensions to `Neo.Extensions`
    
    * Added `HashSetExtensions`, `HashSetExtensions2`, `IpAddressExtensions`, `AssemblyExtensions`, `StringExtensdions`
    Deleted `Helper.cs` file
    
    * Added Tests
    
    * Added `tests` from `Part-2`
    
    * Added `tests` for `PART-4`
    
    * Add `using Neo.Extensions` for unit tests
    
    * Change `HashSetExtensions2` to `HashSetExtensions`
    
    * Update tests/Neo.Extensions.Tests/UT_BigIntegerExtensions.cs
    
    * Update and rename StringExtensdions.cs to StringExtensdios.cs
    
    * Rename StringExtensdios.cs to StringExtensions.cs
    
    * `dotnet format`
    
    ---------
    
    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>
    4 people authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    ab46242 View commit details
    Browse the repository at this point in the history
  5. Add UT Neo.IO (#3466)

    * UT_KeyedCollectionSlim
    
    * Update UT_KeyedCollectionSlim.cs
    
    * Update UT_MemoryReader.cs
    
    * Update UT_MemoryReader.cs
    chenzhitong authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    23f1bce View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. improve error message when wrong wallet is opened (#3469)

    * improve error message when wrong wallet is opened
    
    * update tests
    Hecate2 authored Aug 24, 2024
    Configuration menu
    Copy the full SHA
    dc926f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Update UT RpcServer (#3460)

    * Update UT_RpcServer.Blockchain.cs
    
    * Update UT_RpcServer.Blockchain.cs
    
    * update
    
    * fixed bug
    
    * format
    
    * update
    
    * Update NativeContractExtensions.cs
    
    * update
    
    * Remove conflicting files
    
    * update
    
    * format
    chenzhitong authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    9ce9c6f View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. [fixes] UInt160 Class (#3422)

    * Fixed `UInt160` and expanded class
    
    * Cleaned up code for `TryParse`
    
    * Fixed `TryParse`
    
    * Fixed small bug with `TryParse`
    
    * Change `UInt160.Zero` to `static readonly`
    
    * benchmark UInt160
    
    * Fix benchmark
    
    * Fixed bugs and added features for `UInt160` class
    
    * Revert and just keep bug fixes
    
    * Made @shargon changes
    
    * Set `InvariantCultureIgnoreCase` back for `0x` and `0X`
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: Jimmy <jinghui@wayne.edu>
    Co-authored-by: Jimmy <jimmy@r3e.network>
    4 people authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    5fe5462 View commit details
    Browse the repository at this point in the history
  2. test GetApplicationLog (#3470)

    * test GetApplicationLog
    
    * filter execution type
    
    * Test_Commands; refactor
    
    * apply review suggestions
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    Hecate2 and shargon authored Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e018bc3 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Add UT Neo.Extensions (#3467)

    * Add UT Neo.Extensions
    
    * resolve conflicts
    
    * Revert "resolve conflicts"
    
    This reverts commit 6d0a61b.
    
    * add edge case
    
    * update mod test
    
    ---------
    
    Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
    Co-authored-by: Jimmy <jinghui@wayne.edu>
    Co-authored-by: Jimmy <jimmy@r3e.network>
    4 people authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    c69791f View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Add some UT (#3476)

    * Update UT_Utility.cs
    
    * TestGetContractState
    chenzhitong authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    da193e9 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Update ConstantTimeUtility.cs (#3472)

    - Fix typo
    
    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>
    4 people authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    3d663f2 View commit details
    Browse the repository at this point in the history
  2. Test OracleService (#3475)

    * trigger https oracle
    
    * make it internal
    
    * return Task.CompletedTask
    
    ---------
    
    Co-authored-by: Jimmy <jimmy@r3e.network>
    Co-authored-by: Jimmy <jinghui@wayne.edu>
    Co-authored-by: Shargon <shargon@gmail.com>
    4 people authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    2b118b4 View commit details
    Browse the repository at this point in the history
  3. [Neo Plugin RPC] update rpc node methods signatures to use explicit p…

    …arameter types. (#3479)
    
    * update rpc node methods signatures to use explicit parameter types.
    
    * fix attribute place
    
    ---------
    
    Co-authored-by: Christopher Schuchardt <cschuchardt88@gmail.com>
    Co-authored-by: Shargon <shargon@gmail.com>
    3 people authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    9788280 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Fixing errors in comments (#3483)

    * Update OpCode.cs
    
    * Update JumpTable.Compound.cs
    
    * Update OpCode.cs
    chenzhitong authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    ff58726 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. parse nef file scripts (#3482)

    * parse nef file scripts
    
    * nef file path support
    
    ---------
    
    Co-authored-by: Vitor Nazário Coelho <vncoelho@gmail.com>
    Hecate2 and vncoelho authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c6282cd View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. [Neo VM Style] Throw exception for Integer that is larger than 32 byt…

    …es (#3486)
    
    * fix push integer
    
    * Update src/Neo.VM/ScriptBuilder.cs
    
    * Update tests/Neo.VM.Tests/UT_ScriptBuilder.cs
    
    * Update tests/Neo.VM.Tests/UT_ScriptBuilder.cs
    Jim8y authored Sep 14, 2024
    Configuration menu
    Copy the full SHA
    9946450 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    a52e321 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. fix: concurrency conflict in HeaderCache.Count (#3501)

    * fix: concurrency conflict in HeaderCache.Count
    
    * Update tests/Neo.UnitTests/Ledger/UT_HeaderCache.cs
    
    * Update tests/Neo.UnitTests/Ledger/UT_HeaderCache.cs
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    nan01ab and shargon authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    d6ed5a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. [Add] Transaction Builder (#3477)

    * Added Builders with tests
    
    * Added SignerBuilder and started WitnessRuleBuilder
    
    * Added `WitnessConditionBuilder` with tests
    
    * Added more logic
    
    * Fixed `SignerBuilder` class
    
    * Code touch ups
    
    * Added more tests
    
    * Update src/Neo/Builders/TransactionBuilder.cs
    
    * Fixed `And` `Or` and `Not` conditions
    
    * Fixed Memory leak
    
    * Added error message for Witness scripts
    
    ---------
    
    Co-authored-by: Jimmy <jinghui@wayne.edu>
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
    4 people authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    73cea01 View commit details
    Browse the repository at this point in the history
  2. [Fix] Neo Plugins github nuget (#3493)

    * Fixed Delete packages for github
    
    * Automatic
    
    * added continue-on-error: true
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: NGD Admin <154295625+NGDAdmin@users.noreply.github.com>
    3 people authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    6a4ea1f View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. [Move] Part-5 Classes into Different Library - Neo.Extensions (#3409

    )
    
    * Part-1 `Neo.IO` - move
    
    * Part-2
    
    * Added `BigInteger` to `Neo.Extensions`
    
    * Found more `BigInteger`
    
    * Added `ByteArray` to `Neo.Extensions`
    
    * Added `DateTime` Extensions to `Neo.Extensions`
    
    * Added `HashSetExtensions`, `HashSetExtensions2`, `IpAddressExtensions`, `AssemblyExtensions`, `StringExtensdions`
    Deleted `Helper.cs` file
    
    * Added `ICollection`, `Memory`,  `String`, `Unsafe` extensions
    
    * Adding `using`
    
    * dotnet format
    
    * Added Tests
    
    * Added `tests` from `Part-2`
    
    * Added `tests` for `PART-4`
    
    * Added `tests` for `PART-5`
    
    * Made changes and fixes
    
    * Fixes
    
    * Apply suggestions from code review
    
    * Update tests/Neo.Extensions.Tests/UT_StringExtensions.cs
    
    * @shagron review changes
    
    * formating
    
    * Moved `UnsafeData` tests to `UT_UnsafeData`
    
    * Formating
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: Jimmy <jinghui@wayne.edu>
    3 people authored Sep 28, 2024
    Configuration menu
    Copy the full SHA
    9287c66 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. fix: always throw DivideByZeroException when BloomFilter is empty (

    #3502)
    
    * fix: always throw divided by zero when BloomFilter is empty
    
    * fix: always throw divided by zero when BloomFilter is empty
    nan01ab authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    33d0913 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. fix: concurrency conflict in MemPool.TryRemoveUnVerified (#3500)

    * fix: concurrency conflict in MemPool.TryRemoveUnVerified
    
    * Remove method
    
    * Update src/Neo/Ledger/MemoryPool.cs
    
    * clean
    
    * Apply suggestions from code review
    
    * reformat
    
    ---------
    
    Co-authored-by: Shargon <shargon@gmail.com>
    Co-authored-by: Jimmy <jinghui@wayne.edu>
    3 people authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    6e74e33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1688a7a View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. add hardofork HF_Echidna

    Jim8y committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f746f8d View commit details
    Browse the repository at this point in the history
  2. Add entries to Designation event (#3397)

    * Add entries to Designation event
    
    * Change to HF_Echidna
    
    * Add UT
    
    * Add count
    shargon authored and Jim8y committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    8d7f9e8 View commit details
    Browse the repository at this point in the history
  3. [Neo Core StdLib] Add Base64url (#3453)

    * add base64url
    
    * active in
    
    * update placehold hf height
    
    * fix hf issue and move methods to proper place.
    
    * fix test
    
    * use identifymodel instead.
    Jim8y committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    3fc8077 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'HF_Echidna' of github.com:neo-project/neo into HF_Echidna

    # Please enter a commit message to explain why this merge is necessary,
    # especially if it merges an updated upstream into a topic branch.
    #
    # Lines starting with '#' will be ignored, and an empty message aborts
    # the commit.
    Jim8y committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    620d938 View commit details
    Browse the repository at this point in the history