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

Change protection level of ApplicationEngine.LoadContext #3242

Merged
merged 1 commit into from
May 20, 2024

Conversation

shargon
Copy link
Member

@shargon shargon commented May 20, 2024

Close #3239

@shargon shargon merged commit ee10929 into master May 20, 2024
5 checks passed
@shargon shargon deleted the core-fix-visibility branch May 20, 2024 09:09
@@ -166,7 +166,7 @@ protected internal void ExecuteNext()
/// Loads the specified context into the invocation stack.
/// </summary>
/// <param name="context">The context to load.</param>
internal virtual void LoadContext(ExecutionContext context)
protected internal virtual void LoadContext(ExecutionContext context)
Copy link
Member

@cschuchardt88 cschuchardt88 May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If they both need to be internal then make it public. When a 3rd-party does public class MyApplicationEngine : ApplicationEngine it needs to work with inheritances. For example neo-express uses this and I can't override the method so I can't update for latest release of neo.

@cschuchardt88
Copy link
Member

@shargon what happen to 12 hours waiting time. This PR isn't going to work.

@shargon
Copy link
Member Author

shargon commented May 20, 2024

You are right, it should be public, @cschuchardt88 please open a new pr

@cschuchardt88
Copy link
Member

You are right, it should be public, @cschuchardt88 please open a new pr

@shargon see #3243

Jim8y added a commit to Jim8y/neo that referenced this pull request May 25, 2024
…gins

* 'latest-plugins' of github.com:Jim8y/neo: (21 commits)
  fix: custom plugins won't shown by command `plugins` (neo-project#3269)
  COVERALL: Improve maintenance and readbility of some variables (neo-project#3248)
  Update nuget (neo-project#3262)
  [**Part-2**] Neo module/master fixes (neo-project#3244)
  Fix `dotnet pack` error (neo-project#3266)
  Fix and Update devcontainer.json to use Dockerfile  (neo-project#3259)
  Add optimization to template (neo-project#3247)
  Optimize plugin's models (neo-project#3246)
  fix CancelTransaction !signers.Any() (neo-project#3263)
  COVERALL: fix broken by changing report from lcov to cobertura (neo-project#3252)
  fix TraverseIterator count (neo-project#3261)
  Native: include DeprecatedIn hardfork into usedHardforks (neo-project#3245)
  [**Part-1**] `neo-module/master` (neo-project#3232)
  Make `ApplicationEngine.LoadContext` protection level `public` (neo-project#3243)
  improve parse method in neo-cli (neo-project#3204)
  Fix neo-project#3239 (neo-project#3242)
  Neo.CLI: enable hardforks for NeoFS mainnet (neo-project#3240)
  v3.7.4 (neo-project#3237)
  fix hardfork issues (neo-project#3234)
  Update src/Neo.CLI/CLI/MainService.Plugins.cs
  ...

# Conflicts:
#	src/Neo.CLI/CLI/MainService.Plugins.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change protection level of ApplicationEngine.LoadContext
3 participants