-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Plugin unhandled exception #3349
Merged
Merged
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
* catch plugin exceptions. * add UT test * udpate format * make the test more complete * complete the ut test * format * complete UT tests with NonPlugin case * async invoke * Update src/Neo/Ledger/Blockchain.cs Co-authored-by: Christopher Schuchardt <[email protected]> --------- Co-authored-by: Christopher Schuchardt <[email protected]>
… Exception (#3311) * catch plugin exceptions. * add UT test * udpate format * make the test more complete * complete the ut test * format * complete UT tests with NonPlugin case * async invoke * stop plugin on exception * remove watcher from blockchain if uint test is done to avoid cross test data pollution. * add missing file * 3 different policy on handling plugin exception * add missing file * fix null warning * format * Apply suggestions from code review Clean * Update src/Neo/Plugins/PluginSettings.cs Co-authored-by: Shargon <[email protected]> * Update src/Neo/Plugins/PluginSettings.cs Co-authored-by: Christopher Schuchardt <[email protected]> * Update src/Plugins/TokensTracker/TokensTracker.cs Co-authored-by: Christopher Schuchardt <[email protected]> * Update src/Plugins/TokensTracker/TokensTracker.json --------- Co-authored-by: Shargon <[email protected]> Co-authored-by: Christopher Schuchardt <[email protected]>
Jim8y
requested review from
shargon,
cschuchardt88,
vncoelho,
roman-khimov and
AnnaShaleva
June 19, 2024 15:02
shargon
approved these changes
Jun 20, 2024
cschuchardt88
approved these changes
Jun 20, 2024
NGDAdmin
pushed a commit
that referenced
this pull request
Jul 17, 2024
This reverts commit b2f060f. Co-authored-by: Christopher Schuchardt <[email protected]>
Jim8y
added a commit
to Jim8y/neo
that referenced
this pull request
Jul 18, 2024
…roject#3366)" This reverts commit f307a31.
Jim8y
added a commit
to Jim8y/neo
that referenced
this pull request
Jul 18, 2024
* master: (27 commits) Revert "Plugin unhandled exception (neo-project#3349)" (neo-project#3366) `[Move]` Part-2 Classes into Different Library - `Neo.IO` (neo-project#3388) [Neo Core Store] Rename various snapshots. (neo-project#3406) [Neo Core Storage] Implicit methods and tests (neo-project#3403) [Neo Core MemoryStore] MemoryStore Unit Tests. (neo-project#3404) Fixed Publish Step (neo-project#3411) Fix release compilation (neo-project#3417) [Neo Plugin UT] Rpcserver unit test on node (neo-project#3353) Improve code coverage (neo-project#3354) `[Add]` Debug Output to `Expect` (neo-project#3407) [Neo Plugin Store] Unit test (neo-project#3399) Bump System.Text.Json from 8.0.3 to 8.0.4 in /src/Neo.Json (neo-project#3416) `[Typo]` Unit Tests - UT_ProtocolSettings.CreateHKSettings (neo-project#3383) `[Fix]` Test Problems (neo-project#3398) Part-1 `Neo.IO` - move (neo-project#3387) Fixed Props Pathing for `dotnet pack` with `nuget` (neo-project#3379) `[neo-cli]` Error Message and Warning - LevelDb (neo-project#3380) Fix crash when comparing ContractPermissionDescriptor (neo-project#3396) `DeprecatedIn` for events (neo-project#3362) Fix download tips (neo-project#3395) ...
Jim8y
added a commit
to Jim8y/neo
that referenced
this pull request
Jul 18, 2024
…roject#3366)" This reverts commit f307a31.
Jim8y
added a commit
to Jim8y/neo
that referenced
this pull request
Jul 18, 2024
…plugin-exception * 'fix-plugin-exception' of github.com:Jim8y/neo: Update src/Neo/Plugins/UnhandledExceptionPolicy.cs ensure leveldb is not used in multithread env Revert "Revert "Plugin unhandled exception (neo-project#3349)" (neo-project#3366)" # Conflicts: # src/Neo/Ledger/Blockchain.cs # src/Neo/Plugins/UnhandledExceptionPolicy.cs # tests/Neo.UnitTests/Plugins/TestPlugin.cs # tests/Neo.UnitTests/Plugins/UT_Plugin.cs
NGDAdmin
added a commit
that referenced
this pull request
Aug 6, 2024
* Revert "Revert "Plugin unhandled exception (#3349)" (#3366)" This reverts commit f307a31. * ensure leveldb is not used in multithread env * Revert "Revert "Plugin unhandled exception (#3349)" (#3366)" This reverts commit f307a31. * remove async. * Update src/Neo/Plugins/UnhandledExceptionPolicy.cs Co-authored-by: Christopher Schuchardt <[email protected]> * not use linq * Update src/Neo/Plugins/UnhandledExceptionPolicy.cs Co-authored-by: Christopher Schuchardt <[email protected]> * use ignore case * Update src/Plugins/TokensTracker/TokensTracker.cs * Update src/Neo/Plugins/Plugin.cs Co-authored-by: Shargon <[email protected]> --------- Co-authored-by: Christopher Schuchardt <[email protected]> Co-authored-by: Shargon <[email protected]> Co-authored-by: NGD Admin <[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.
Description
This merge the branch into master.
Fixes # (issue)
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: