Skip to content

Commit bbb2883

Browse files
authored
Merge pull request #54 from make-software/release-2.2.0
.NET SDK Release 2.2.0
2 parents 0a8f757 + 0803c6a commit bbb2883

File tree

21 files changed

+41
-24
lines changed

21 files changed

+41
-24
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ All notable changes to this project will be documented in this file. The format
99
[comment]: <> (Fixed: any bug fixes)
1010
[comment]: <> (Security: in case of vulnerabilities)
1111

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+
1227
## [2.1.0]
1328

1429
### Fixed
@@ -62,6 +77,7 @@ This new type permits to parse correctly the value `"00"` used for system blocks
6277
### Added
6378
* Initial release of Casper .NET SDK.
6479

80+
[2.2.0]: https://github.com/make-software/casper-net-sdk/releases/tag/v2.2.0
6581
[2.1.0]: https://github.com/make-software/casper-net-sdk/releases/tag/v2.1.0
6682
[2.0.0]: https://github.com/make-software/casper-net-sdk/releases/tag/v2.0.0
6783
[1.1.2]: https://github.com/make-software/casper-net-sdk/releases/tag/v1.1.2

Casper.Network.SDK/Casper.Network.SDK.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<PropertyGroup>
44
<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>
88
<Title>Casper.Network.SDK</Title>
99
<Authors>make-software</Authors>
1010
<PackageProjectUrl>https://github.com/make-software/casper-net-sdk</PackageProjectUrl>
@@ -22,7 +22,7 @@
2222
</PropertyGroup>
2323

2424
<ItemGroup>
25-
<PackageReference Include="BouncyCastle.NetCore" Version="1.9.0" />
25+
<PackageReference Include="BouncyCastle.Cryptography" Version="2.3.0" />
2626
</ItemGroup>
2727

2828
<ItemGroup>

Docs/Examples/AwaitEvents/AwaitEvents.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Examples/AwaitEvents/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Casper.NET.SDK.Examples
99
public static class AwaitEvents
1010
{
1111
// Testnet node and port
12-
private static string localNetHost = "testnet-node.make.services";
12+
private static string localNetHost = "52.35.59.254";
1313
private static int localNetPort = 9999; // use 18101 with NCTL
1414

1515
static NetCasperClient casperSdk;

Docs/Examples/DelegateStake/DelegateStake.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Examples/DelegateStake/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class DelegateStake
1515
{
1616
public static async Task Main(string[] args)
1717
{
18-
string nodeAddress = "http://testnet-node.make.services:7777/rpc";
18+
string nodeAddress = "http://52.35.59.254:7777/rpc";
1919

2020
try
2121
{

Docs/Examples/ExecTransfer/ExecTransfer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Examples/ExecTransfer/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class ExecAccountTransfer
1414
{
1515
public static async Task Main(string[] args)
1616
{
17-
string nodeAddress = "http://testnet-node.make.services:7777/rpc";
17+
string nodeAddress = "http://52.35.59.254:7777/rpc";
1818

1919
try
2020
{

Docs/Examples/GetAccountBalance/GetAccountBalance.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Examples/GetAccountBalance/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class GetAccountBalance
1010
{
1111
public static async Task Main(string[] args)
1212
{
13-
string nodeAddress = "http://testnet-node.make.services:7777/rpc";
13+
string nodeAddress = "http://52.35.59.254:7777/rpc";
1414

1515
var hex = "0203914289b334f57366541099a52156b149436fdb0422b3c48fe4115d0578abf690";
1616
var publicKey = PublicKey.FromHexString(hex);

Docs/Examples/GetBlockTransfers/GetBlockTransfers.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Examples/GetBlockTransfers/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class GetBlockTransfers
1010
{
1111
public static async Task Main(string[] args)
1212
{
13-
string nodeAddress = "http://testnet-node.make.services:7777/rpc";
13+
string nodeAddress = "http://52.35.59.254:7777/rpc";
1414
string blockHash = "c7148e1e2e115d8fba357e04be2073d721847c982dc70d5c36b5f6d3cf66331c";
1515
int blockHeight = 20652;
1616

Docs/Examples/GetNodeMetrics/GetNodeMetrics.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Examples/GetNodeMetrics/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class GetNodeMetrics
1010
{
1111
public static async Task Main(string[] args)
1212
{
13-
string nodeAddress = "http://testnet-node.make.services:8888/metrics";
13+
string nodeAddress = "http://52.35.59.254:8888/metrics";
1414

1515
try
1616
{

Docs/Examples/GetNodeStatus/GetNodeStatus.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Examples/GetNodeStatus/Program.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Net.Http;
23
using System.Threading.Tasks;
34
using Casper.Network.SDK;
45
using Casper.Network.SDK.JsonRpc;
@@ -10,8 +11,8 @@ public class GetNodeStatus
1011
{
1112
public static async Task Main(string[] args)
1213
{
13-
string nodeAddress = "http://testnet-node.make.services:7777/rpc";
14-
14+
string nodeAddress = "http://52.35.59.254:7777/rpc";
15+
1516
try
1617
{
1718
var casperSdk = new NetCasperClient(nodeAddress);

Docs/Examples/ListRewards/ListRewards.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Examples/ListRewards/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace ListRewards
88
{
99
public static class ListRewards
1010
{
11-
static string nodeAddress = "http://testnet-node.make.services:7777/rpc";
11+
static string nodeAddress = "http://52.35.59.254:7777/rpc";
1212
static NetCasperClient casperSdk;
1313

1414
public async static Task GetEraSummary()

Docs/Tutorials/counter-contract/CounterContract.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Tutorials/erc20-contract/erc20Contract.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

Docs/Tutorials/kvstorage-contract/KVStorageContract.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

0 commit comments

Comments
 (0)