This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
dotnet 5.0 #681
Merged
+58
−57
Merged
dotnet 5.0 #681
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
68270b2
打开钱包当文件不存在时错误提示更友好
6951b0d
Merge pull request #1 from neo-project/master
dda60bd
Show wallet height when executing "show state" command. Keep in line …
chenzhitong 91f0c38
fixed bug
chenzhitong cad3b90
修复Bug
chenzhitong 6e91717
optimize
7e00066
fix
29019a7
Merge pull request #2 from neo-project/master
f68e648
Merge pull request #4 from neo-project/master
707070b
Merge pull request #5 from neo-project/master
859440f
Merge pull request #6 from neo-project/master
9bf1e26
Merge pull request #7 from neo-project/master
b83c822
Merge pull request #8 from neo-project/master
173c785
Upgrade target framework.
a18d2bf
Merge branch 'master' into net5
0e6e10c
update
f1d9ca0
Update dotnetcore.yml
d038177
Update dotnetcore.yml
42d0ef7
Update SignerWrapper.cs
cd4c951
Revert "Update SignerWrapper.cs"
cece0a5
Update dotnetcore.yml
7c4b6ab
use shared directory.build.props file
9d3c98c
Update Dockerfile
706be13
Update Dockerfile
63194a4
Update Directory.Build.props
shargon 8ca320a
Merge branch 'master' into net5
shargon 2b87040
Update neo-gui.csproj
erikzhang 7f5df4e
Update .github/workflows/dotnetcore.yml
erikzhang 985b362
format
erikzhang 2bb1a42
Remove Directory.Build.props
erikzhang 58218bb
format
erikzhang 0169fa2
Update dependencies
erikzhang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
using Neo.Cryptography.ECC; | ||
using Neo.Network.P2P.Payloads; | ||
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
namespace Neo.GUI.Wrappers | ||
{ | ||
internal class SignerWrapper | ||
{ | ||
[TypeConverter(typeof(UIntBaseConverter))] | ||
public UInt160 Account { get; set; } | ||
public WitnessScope Scopes { get; set; } | ||
public List<UInt160> AllowedContracts { get; set; } = new List<UInt160>(); | ||
public List<ECPoint> AllowedGroups { get; set; } = new List<ECPoint>(); | ||
public Signer Unwrap() | ||
{ | ||
return new Signer | ||
{ | ||
Account = Account, | ||
Scopes = Scopes, | ||
AllowedContracts = AllowedContracts.ToArray(), | ||
AllowedGroups = AllowedGroups.ToArray() | ||
}; | ||
} | ||
} | ||
} | ||
using Neo.Cryptography.ECC; | ||
using Neo.Network.P2P.Payloads; | ||
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
|
||
namespace Neo.GUI.Wrappers | ||
{ | ||
internal class SignerWrapper | ||
{ | ||
[TypeConverter(typeof(UIntBaseConverter))] | ||
public UInt160 Account { get; set; } | ||
public WitnessScope Scopes { get; set; } | ||
public List<UInt160> AllowedContracts { get; set; } = new List<UInt160>(); | ||
public List<ECPoint> AllowedGroups { get; set; } = new List<ECPoint>(); | ||
|
||
public Signer Unwrap() | ||
{ | ||
return new Signer | ||
{ | ||
Account = Account, | ||
Scopes = Scopes, | ||
AllowedContracts = AllowedContracts.ToArray(), | ||
AllowedGroups = AllowedGroups.ToArray() | ||
}; | ||
} | ||
} | ||
} |
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
36 changes: 18 additions & 18 deletions
36
tests/Neo.ConsoleService.Tests/Neo.ConsoleService.Tests.csproj
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>netcoreapp3.0</TargetFramework> | ||
<RootNamespace>neo_cli.Tests</RootNamespace> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" /> | ||
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0" /> | ||
<PackageReference Include="MSTest.TestFramework" Version="2.1.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\Neo.ConsoleService\Neo.ConsoleService.csproj" /> | ||
</ItemGroup> | ||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net5.0</TargetFramework> | ||
<RootNamespace>neo_cli.Tests</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" /> | ||
<PackageReference Include="MSTest.TestAdapter" Version="2.1.2" /> | ||
<PackageReference Include="MSTest.TestFramework" Version="2.1.2" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\Neo.ConsoleService\Neo.ConsoleService.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5.0.100
as well?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, they updated the namespaces for their docker images. See dotnet/dotnet-docker#2375
The new one should be
mcr.microsoft.com/dotnet/runtime:5.0
(or whatever version you want)