forked from neo-project/neo-devpack-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
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
neo-devpack-dotnet #1
Open
bol-project
wants to merge
737
commits into
bol-project:master
Choose a base branch
from
neo-project:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* print compile exception * print exception, but not stop complition * revert exception print
* add oracle interface and fix issue * Update OracleTest.cs * Update src/Neo.Compiler.CSharp/CompilationEngine.cs --------- Co-authored-by: Shargon <[email protected]>
* Ensure compilation * Update src/Neo.SmartContract.Testing/Coverage/Formats/ConsoleFormat.cs * TODO * Move namespace * LF * LF * LF * Fix remove * indent comment * Change artifact name * Split options * Fix Context result * Clean debugInfo from artifacts * Fix compilation * Cleanup * format * remove artifacts * fix nep17 template * Fix type * Rename artifacts * some fixes * Update .github/workflows/main.yml * Clean * Allow old code * Fix old ECPoint * Jimmy's feedback * Fix --------- Co-authored-by: Jimmy <[email protected]>
* Full optimize * clean using
* Avoid NoX argument * Fix * Use all * fix ut
Co-authored-by: Shargon <[email protected]>
* test assert & abort * Update src/Neo.Compiler.CSharp/Optimizer/DumpNef.cs --------- Co-authored-by: Shargon <[email protected]>
* use optimization in tests * fix type error te re-activate optimizer * change nef and manifest at last for consistency * use this.Nef.Script to run optimized script * Fix ut * Clean TestEngine --------- Co-authored-by: Shargon <[email protected]>
* Create coverlet json * Fix lang preview * Listen env var * Expand variable * Read test argument * fix * Fix init * use env * Expand env * print * Replace nuget compilation * reduce changes * fix * Fix only source by exe * Insert extern sequence points * Check sequence point methods * Check * Clean * Remove * Remove ! * Remove double expand
* fixes on CATCH and ENDFINALLY * fix methodEnd * comments on Abort & Assert tests * TryGetValue for performance * set PUSHA target to itself * correct branch return type * correct branch return type * Move basic optimizer * clean changes * Update tests/Neo.Compiler.CSharp.UnitTests/UnitTest_Abort.cs * Change visibility --------- Co-authored-by: Fernando Diaz Toledano <[email protected]>
* Some fixes * Update TestEngine.cs * Update TestBase.cs * Update TestEngine.cs * Add id to SmartContract storage * Update TestEngine.cs * Update TestEngine.cs * Allow to use pointers * Update * Testing Syscall * Update src/Neo.SmartContract.Testing/TestEngine.cs
* Update native contracts * clean using * Add ut * Split ut * clean test
Co-authored-by: Shargon <[email protected]>
* Add directory `Analysers` * entry point analyser --------- Co-authored-by: Shargon <[email protected]>
* Migrate current ut's * Restore tests not related to a contract * revert namespace change * All artifacts * revert address * Migrate some UT * format * Migrate 3 ut * migrate 2 ut * fix namespace * Remove SyscallTest * Migrate 2 ut more * Helper ut * Two uts more * Workflow * Two ut more * Oracle * clean * Rename contract and StdLib * Runtime * One ut more * Native ut * UT fail, how to send an interopInterface? :S * Ut pointers * Fix ut * Clean and extend * Contract UT * TODO BlockchainTest * Update csproj * Fix conflicts * clean * Start with blockchain its * Revert using short * TODO Crypto * Blockchain UT * secp256k1 * Increase coverage * Fix merge * fix using sort * Add Uint coverage * Fix CurrentBlock * previous from storage * Update src/Neo.SmartContract.Testing/Native/LedgerContract.cs * Persisting block * clean * Clean * Clean
* Keep native RoleManagement roles in sync with Neo core Add missing NeoFSAlphabetNode role. We should keep this list in sync with Core so that users are able to use these roles. * Add documentation to native RoleManagement roles It's nice when user-facing things are well-documented. Signed-off-by: Anna Shaleva <[email protected]>
* Keep native RoleManagement roles in sync with Neo core Add missing NeoFSAlphabetNode role. We should keep this list in sync with Core so that users are able to use these roles. Signed-off-by: Anna Shaleva <[email protected]> * Add documentation to native RoleManagement roles It's nice when user-facing things are well-documented. Signed-off-by: Anna Shaleva <[email protected]> * Add P2PNotary node role for native RoleManagement contract Port neo-project/neo#3172. Signed-off-by: Anna Shaleva <[email protected]> --------- Signed-off-by: Anna Shaleva <[email protected]> Co-authored-by: Shargon <[email protected]>
* Add directory `Analysers` * entry point analyser * basic block analyser (tested but unused) * fix tests * Apply suggestions from code review * Update tests/Neo.Compiler.CSharp.UnitTests/UnitTest_Optimizer/UnitTest_BasicBlock.cs * Update src/Neo.Compiler.CSharp/Optimizer/Analysers/InstructionCoverage.cs * fix ut test * Remove generatedRegex * string.IsNullOrEmpty --------- Co-authored-by: Shargon <[email protected]> Co-authored-by: Jimmy <[email protected]> Co-authored-by: Jim8y <[email protected]>
* init * Clean empty lines * Clean empty lines --------- Co-authored-by: Shargon <[email protected]>
* update * update * DeclarationPatternSyntax * update * Update Contract_Pattern.cs * Apply suggestions from code review --------- Co-authored-by: Shargon <[email protected]>
* add property method test * format * Update tests/Neo.Compiler.CSharp.TestContracts/Contract_PropertyMethod.cs * update UT * fix readonly set * update comments * add document reference * fix comments * remvoe static set. Its not supported by C# * format * remove constructor check as syntax analyzer will handle it. --------- Co-authored-by: Shargon <[email protected]>
* update nepcheck * Update src/Neo.Compiler.CSharp/Manifest/ContractManifestExtensions.Nep17.cs --------- Co-authored-by: Shargon <[email protected]>
* Storage POC * Rename
This reverts commit 57ca7af.
* Fix Dissasembler * Reduce doble computation * Update src/Neo.Disassembler.CSharp/Disassembler.cs Co-authored-by: Hecate2 <[email protected]> --------- Co-authored-by: Hecate2 <[email protected]>
* Clean remarks and add ISTYPE information * Add NEWARRAY_T
* Compiler info * don't change logic * use sequence-points-v2 * Optimization * Fix dissasembler * Use abi * clean * Optimization type * Use debug type * Remove V1 method detection, doesn't work without abi * rename * use TryParse * Fix artifact * Fix artifacts with Abi identification * DebugInfoBuilder for sequence point v2 (#1237) * DebugInfoBuilder for sequence point v2 * v2["optimization"] * handle method["abi"]["offset"] in debugInfo * apply code review * Fix merge * Fix merge --------- Co-authored-by: Hecate2 <[email protected]>
* default value * fix default value for property/fields * fix unnecessary change. * remove unnecessary * Update src/Neo.Compiler.CSharp/MethodConvert/PropertyConvert.cs * revert debug change * revert debug chhange * update artifacts * Update tests/Neo.SmartContract.Framework.UnitTests/Services/BackedStorageTest.cs * Update tests/Neo.SmartContract.Framework.UnitTests/Services/BackedStorageTest.cs --------- Co-authored-by: Shargon <[email protected]>
Co-authored-by: Jimmy <[email protected]>
* add ut for property * fix non-static field get and set * initialize with 0 * need instance constructor if non-static field exists * add ut --------- Co-authored-by: Jim8y <[email protected]> Co-authored-by: Jimmy <[email protected]>
* nullable Storage.Get * revert operator BigInteger(ByteString * optimize framework contracts * optimize IsValid for UInt160 & UInt256 * cancel is null with isValid * cancel unnecessary pragma annotation * update artifacts * update gas * update last gas * Merge branch 'master' into pr/1214 # Conflicts: # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Linq.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_NEP11.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_NEP17.cs # tests/Neo.SmartContract.Framework.UnitTests/TestingArtifacts/Contract_SupportedStandard11Enum.cs # tests/Neo.SmartContract.Framework.UnitTests/TestingArtifacts/Contract_SupportedStandard17Enum.cs # tests/Neo.SmartContract.Template.UnitTests/templates/neocontractnep17/TestingArtifacts/Nep17ContractTemplate.artifacts.cs # tests/Neo.SmartContract.Template.UnitTests/templates/neocontractowner/TestingArtifacts/OwnableTemplate.artifacts.cs * revert IsValid * Remove comments in UInt256.cs * Remove comments in UInt160.cs * revert TokenContract * update artifacts --------- Co-authored-by: Jimmy <[email protected]> Co-authored-by: Shargon <[email protected]>
* load value in stack if not null * update test artifacts * add UT * Update tests/Neo.SmartContract.Framework.TestContracts/Contract_Stored.cs * update artifacts --------- Co-authored-by: Jim8y <[email protected]> Co-authored-by: Shargon <[email protected]>
* WriteInTryAnalzyer * simple test for WriteInTryAnalzyer
Co-authored-by: Jimmy <[email protected]>
Co-authored-by: Jimmy <[email protected]>
* fix some compiler warnings * Remove var --------- Co-authored-by: Fernando Diaz Toledano <[email protected]> Co-authored-by: Jimmy <[email protected]>
Co-authored-by: Jimmy <[email protected]>
* fix & test WriteInTry analyzer * handle THROW and ABORT
* remove line * update more artifacts
…ypesUsageAnalyzer' (#1263)
* cancel more unnecessary constructor call * delete ProcessFields * update GAS * Merge branch 'master' into pr/1260 * master: remove artifact opcodes line number (#1261) # Conflicts: # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Array.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_ClassInit.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Foreach.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Initializer.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Instance.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Linq.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_MemberAccess.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_PostfixUnary.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_PropertyMethod.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Record.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Recursion.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Tuple.cs # tests/Neo.Compiler.CSharp.UnitTests/TestingArtifacts/Contract_Types.cs # tests/Neo.SmartContract.Framework.UnitTests/TestingArtifacts/Contract_Storage.cs # tests/Neo.SmartContract.Framework.UnitTests/TestingArtifacts/Contract_Stored.cs --------- Co-authored-by: Jim8y <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.