File tree Expand file tree Collapse file tree 21 files changed +41
-24
lines changed Expand file tree Collapse file tree 21 files changed +41
-24
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,21 @@ All notable changes to this project will be documented in this file. The format
9
9
[ comment ] : < > ( Fixed: any bug fixes )
10
10
[ comment ] : < > ( Security: in case of vulnerabilities )
11
11
12
+ ## [ 2.2.0]
13
+
14
+ ### Added
15
+ * Changes to QueryGlobalState and GetAccountInfo methods to support changes in Casper node v1.5.5 [ PR #50 ] ( https://github.com/make-software/casper-net-sdk/pull/50 ) .
16
+
17
+ ### Fixed
18
+ * We use ` ToLowerInvariant() ` instead of ` ToLower() ` to avoid problems with some CultureInfos [ PR #52 ] ( https://github.com/make-software/casper-net-sdk/pull/52 ) .
19
+ * XML Documentation included into the nuget packages [ PR #53 ] ( https://github.com/make-software/casper-net-sdk/pull/53 ) .
20
+ * ` isSystem ` property in the Block Proposer class marked obsolete and replaced with ` IsSystem ` [ PR #51 ] ( https://github.com/make-software/casper-net-sdk/pull/51 ) .
21
+
22
+ ### Changed
23
+ * The SDK now links with ` BouncyCastle.Cryptography ` package instead of ` BouncyCastle.NetCore ` which was based on a
24
+ mirror of the official package.
25
+ * Testnet node in the examples updated to a working URL.
26
+
12
27
## [ 2.1.0]
13
28
14
29
### Fixed
@@ -62,6 +77,7 @@ This new type permits to parse correctly the value `"00"` used for system blocks
62
77
### Added
63
78
* Initial release of Casper .NET SDK.
64
79
80
+ [ 2.2.0 ] : https://github.com/make-software/casper-net-sdk/releases/tag/v2.2.0
65
81
[ 2.1.0 ] : https://github.com/make-software/casper-net-sdk/releases/tag/v2.1.0
66
82
[ 2.0.0 ] : https://github.com/make-software/casper-net-sdk/releases/tag/v2.0.0
67
83
[ 1.1.2 ] : https://github.com/make-software/casper-net-sdk/releases/tag/v1.1.2
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<TargetFramework >net7.0</TargetFramework >
5
- <AssemblyVersion >2.1 .0.0</AssemblyVersion >
6
- <FileVersion >2.1 .0</FileVersion >
7
- <PackageVersion >2.1 .0</PackageVersion >
5
+ <AssemblyVersion >2.2 .0.0</AssemblyVersion >
6
+ <FileVersion >2.2 .0</FileVersion >
7
+ <PackageVersion >2.2 .0</PackageVersion >
8
8
<Title >Casper.Network.SDK</Title >
9
9
<Authors >make-software</Authors >
10
10
<PackageProjectUrl >https://github.com/make-software/casper-net-sdk</PackageProjectUrl >
22
22
</PropertyGroup >
23
23
24
24
<ItemGroup >
25
- <PackageReference Include =" BouncyCastle.NetCore " Version =" 1.9 .0" />
25
+ <PackageReference Include =" BouncyCastle.Cryptography " Version =" 2.3 .0" />
26
26
</ItemGroup >
27
27
28
28
<ItemGroup >
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace Casper.NET.SDK.Examples
9
9
public static class AwaitEvents
10
10
{
11
11
// Testnet node and port
12
- private static string localNetHost = "testnet-node.make.services " ;
12
+ private static string localNetHost = "52.35.59.254 " ;
13
13
private static int localNetPort = 9999 ; // use 18101 with NCTL
14
14
15
15
static NetCasperClient casperSdk ;
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class DelegateStake
15
15
{
16
16
public static async Task Main ( string [ ] args )
17
17
{
18
- string nodeAddress = "http://testnet-node.make.services :7777/rpc" ;
18
+ string nodeAddress = "http://52.35.59.254 :7777/rpc" ;
19
19
20
20
try
21
21
{
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public class ExecAccountTransfer
14
14
{
15
15
public static async Task Main ( string [ ] args )
16
16
{
17
- string nodeAddress = "http://testnet-node.make.services :7777/rpc" ;
17
+ string nodeAddress = "http://52.35.59.254 :7777/rpc" ;
18
18
19
19
try
20
20
{
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class GetAccountBalance
10
10
{
11
11
public static async Task Main ( string [ ] args )
12
12
{
13
- string nodeAddress = "http://testnet-node.make.services :7777/rpc" ;
13
+ string nodeAddress = "http://52.35.59.254 :7777/rpc" ;
14
14
15
15
var hex = "0203914289b334f57366541099a52156b149436fdb0422b3c48fe4115d0578abf690" ;
16
16
var publicKey = PublicKey . FromHexString ( hex ) ;
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class GetBlockTransfers
10
10
{
11
11
public static async Task Main ( string [ ] args )
12
12
{
13
- string nodeAddress = "http://testnet-node.make.services :7777/rpc" ;
13
+ string nodeAddress = "http://52.35.59.254 :7777/rpc" ;
14
14
string blockHash = "c7148e1e2e115d8fba357e04be2073d721847c982dc70d5c36b5f6d3cf66331c" ;
15
15
int blockHeight = 20652 ;
16
16
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class GetNodeMetrics
10
10
{
11
11
public static async Task Main ( string [ ] args )
12
12
{
13
- string nodeAddress = "http://testnet-node.make.services :8888/metrics" ;
13
+ string nodeAddress = "http://52.35.59.254 :8888/metrics" ;
14
14
15
15
try
16
16
{
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
using System ;
2
+ using System . Net . Http ;
2
3
using System . Threading . Tasks ;
3
4
using Casper . Network . SDK ;
4
5
using Casper . Network . SDK . JsonRpc ;
@@ -10,8 +11,8 @@ public class GetNodeStatus
10
11
{
11
12
public static async Task Main ( string [ ] args )
12
13
{
13
- string nodeAddress = "http://testnet-node.make.services :7777/rpc" ;
14
-
14
+ string nodeAddress = "http://52.35.59.254 :7777/rpc" ;
15
+
15
16
try
16
17
{
17
18
var casperSdk = new NetCasperClient ( nodeAddress ) ;
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace ListRewards
8
8
{
9
9
public static class ListRewards
10
10
{
11
- static string nodeAddress = "http://testnet-node.make.services :7777/rpc" ;
11
+ static string nodeAddress = "http://52.35.59.254 :7777/rpc" ;
12
12
static NetCasperClient casperSdk ;
13
13
14
14
public async static Task GetEraSummary ( )
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net5 .0</TargetFramework >
5
+ <TargetFramework >net7 .0</TargetFramework >
6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
You can’t perform that action at this time.
0 commit comments