diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6b3e271..5bb5702 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,21 @@ All notable changes to this project will be documented in this file. The format
[comment]: <> (Fixed: any bug fixes)
[comment]: <> (Security: in case of vulnerabilities)
+## [2.2.0]
+
+### Added
+* 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).
+
+### Fixed
+* We use `ToLowerInvariant()` instead of `ToLower()` to avoid problems with some CultureInfos [PR#52](https://github.com/make-software/casper-net-sdk/pull/52).
+* XML Documentation included into the nuget packages [PR#53](https://github.com/make-software/casper-net-sdk/pull/53).
+* `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).
+
+### Changed
+* The SDK now links with `BouncyCastle.Cryptography` package instead of `BouncyCastle.NetCore` which was based on a
+mirror of the official package.
+* Testnet node in the examples updated to a working URL.
+
## [2.1.0]
### Fixed
@@ -62,6 +77,7 @@ This new type permits to parse correctly the value `"00"` used for system blocks
### Added
* Initial release of Casper .NET SDK.
+[2.2.0]: https://github.com/make-software/casper-net-sdk/releases/tag/v2.2.0
[2.1.0]: https://github.com/make-software/casper-net-sdk/releases/tag/v2.1.0
[2.0.0]: https://github.com/make-software/casper-net-sdk/releases/tag/v2.0.0
[1.1.2]: https://github.com/make-software/casper-net-sdk/releases/tag/v1.1.2
diff --git a/Casper.Network.SDK/Casper.Network.SDK.csproj b/Casper.Network.SDK/Casper.Network.SDK.csproj
index 19faaa0..ceff12a 100644
--- a/Casper.Network.SDK/Casper.Network.SDK.csproj
+++ b/Casper.Network.SDK/Casper.Network.SDK.csproj
@@ -2,9 +2,9 @@
net7.0
- 2.1.0.0
- 2.1.0
- 2.1.0
+ 2.2.0.0
+ 2.2.0
+ 2.2.0
Casper.Network.SDK
make-software
https://github.com/make-software/casper-net-sdk
@@ -22,7 +22,7 @@
-
+
diff --git a/Docs/Examples/AwaitEvents/AwaitEvents.csproj b/Docs/Examples/AwaitEvents/AwaitEvents.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Examples/AwaitEvents/AwaitEvents.csproj
+++ b/Docs/Examples/AwaitEvents/AwaitEvents.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Examples/AwaitEvents/Program.cs b/Docs/Examples/AwaitEvents/Program.cs
index d36be85..4ae7724 100644
--- a/Docs/Examples/AwaitEvents/Program.cs
+++ b/Docs/Examples/AwaitEvents/Program.cs
@@ -9,7 +9,7 @@ namespace Casper.NET.SDK.Examples
public static class AwaitEvents
{
// Testnet node and port
- private static string localNetHost = "testnet-node.make.services";
+ private static string localNetHost = "52.35.59.254";
private static int localNetPort = 9999; // use 18101 with NCTL
static NetCasperClient casperSdk;
diff --git a/Docs/Examples/DelegateStake/DelegateStake.csproj b/Docs/Examples/DelegateStake/DelegateStake.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Examples/DelegateStake/DelegateStake.csproj
+++ b/Docs/Examples/DelegateStake/DelegateStake.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Examples/DelegateStake/Program.cs b/Docs/Examples/DelegateStake/Program.cs
index 948d303..3f98aa7 100644
--- a/Docs/Examples/DelegateStake/Program.cs
+++ b/Docs/Examples/DelegateStake/Program.cs
@@ -15,7 +15,7 @@ public class DelegateStake
{
public static async Task Main(string[] args)
{
- string nodeAddress = "http://testnet-node.make.services:7777/rpc";
+ string nodeAddress = "http://52.35.59.254:7777/rpc";
try
{
diff --git a/Docs/Examples/ExecTransfer/ExecTransfer.csproj b/Docs/Examples/ExecTransfer/ExecTransfer.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Examples/ExecTransfer/ExecTransfer.csproj
+++ b/Docs/Examples/ExecTransfer/ExecTransfer.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Examples/ExecTransfer/Program.cs b/Docs/Examples/ExecTransfer/Program.cs
index 4d5969a..88ee31d 100644
--- a/Docs/Examples/ExecTransfer/Program.cs
+++ b/Docs/Examples/ExecTransfer/Program.cs
@@ -14,7 +14,7 @@ public class ExecAccountTransfer
{
public static async Task Main(string[] args)
{
- string nodeAddress = "http://testnet-node.make.services:7777/rpc";
+ string nodeAddress = "http://52.35.59.254:7777/rpc";
try
{
diff --git a/Docs/Examples/GetAccountBalance/GetAccountBalance.csproj b/Docs/Examples/GetAccountBalance/GetAccountBalance.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Examples/GetAccountBalance/GetAccountBalance.csproj
+++ b/Docs/Examples/GetAccountBalance/GetAccountBalance.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Examples/GetAccountBalance/Program.cs b/Docs/Examples/GetAccountBalance/Program.cs
index e3f305d..8514fb3 100644
--- a/Docs/Examples/GetAccountBalance/Program.cs
+++ b/Docs/Examples/GetAccountBalance/Program.cs
@@ -10,7 +10,7 @@ public class GetAccountBalance
{
public static async Task Main(string[] args)
{
- string nodeAddress = "http://testnet-node.make.services:7777/rpc";
+ string nodeAddress = "http://52.35.59.254:7777/rpc";
var hex = "0203914289b334f57366541099a52156b149436fdb0422b3c48fe4115d0578abf690";
var publicKey = PublicKey.FromHexString(hex);
diff --git a/Docs/Examples/GetBlockTransfers/GetBlockTransfers.csproj b/Docs/Examples/GetBlockTransfers/GetBlockTransfers.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Examples/GetBlockTransfers/GetBlockTransfers.csproj
+++ b/Docs/Examples/GetBlockTransfers/GetBlockTransfers.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Examples/GetBlockTransfers/Program.cs b/Docs/Examples/GetBlockTransfers/Program.cs
index 53ec85e..66d7adf 100644
--- a/Docs/Examples/GetBlockTransfers/Program.cs
+++ b/Docs/Examples/GetBlockTransfers/Program.cs
@@ -10,7 +10,7 @@ public class GetBlockTransfers
{
public static async Task Main(string[] args)
{
- string nodeAddress = "http://testnet-node.make.services:7777/rpc";
+ string nodeAddress = "http://52.35.59.254:7777/rpc";
string blockHash = "c7148e1e2e115d8fba357e04be2073d721847c982dc70d5c36b5f6d3cf66331c";
int blockHeight = 20652;
diff --git a/Docs/Examples/GetNodeMetrics/GetNodeMetrics.csproj b/Docs/Examples/GetNodeMetrics/GetNodeMetrics.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Examples/GetNodeMetrics/GetNodeMetrics.csproj
+++ b/Docs/Examples/GetNodeMetrics/GetNodeMetrics.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Examples/GetNodeMetrics/Program.cs b/Docs/Examples/GetNodeMetrics/Program.cs
index d7274bb..b5da45a 100644
--- a/Docs/Examples/GetNodeMetrics/Program.cs
+++ b/Docs/Examples/GetNodeMetrics/Program.cs
@@ -10,7 +10,7 @@ public class GetNodeMetrics
{
public static async Task Main(string[] args)
{
- string nodeAddress = "http://testnet-node.make.services:8888/metrics";
+ string nodeAddress = "http://52.35.59.254:8888/metrics";
try
{
diff --git a/Docs/Examples/GetNodeStatus/GetNodeStatus.csproj b/Docs/Examples/GetNodeStatus/GetNodeStatus.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Examples/GetNodeStatus/GetNodeStatus.csproj
+++ b/Docs/Examples/GetNodeStatus/GetNodeStatus.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Examples/GetNodeStatus/Program.cs b/Docs/Examples/GetNodeStatus/Program.cs
index c2ad429..eb3d061 100644
--- a/Docs/Examples/GetNodeStatus/Program.cs
+++ b/Docs/Examples/GetNodeStatus/Program.cs
@@ -1,4 +1,5 @@
using System;
+using System.Net.Http;
using System.Threading.Tasks;
using Casper.Network.SDK;
using Casper.Network.SDK.JsonRpc;
@@ -10,8 +11,8 @@ public class GetNodeStatus
{
public static async Task Main(string[] args)
{
- string nodeAddress = "http://testnet-node.make.services:7777/rpc";
-
+ string nodeAddress = "http://52.35.59.254:7777/rpc";
+
try
{
var casperSdk = new NetCasperClient(nodeAddress);
diff --git a/Docs/Examples/ListRewards/ListRewards.csproj b/Docs/Examples/ListRewards/ListRewards.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Examples/ListRewards/ListRewards.csproj
+++ b/Docs/Examples/ListRewards/ListRewards.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Examples/ListRewards/Program.cs b/Docs/Examples/ListRewards/Program.cs
index 5815105..82887a0 100644
--- a/Docs/Examples/ListRewards/Program.cs
+++ b/Docs/Examples/ListRewards/Program.cs
@@ -8,7 +8,7 @@ namespace ListRewards
{
public static class ListRewards
{
- static string nodeAddress = "http://testnet-node.make.services:7777/rpc";
+ static string nodeAddress = "http://52.35.59.254:7777/rpc";
static NetCasperClient casperSdk;
public async static Task GetEraSummary()
diff --git a/Docs/Tutorials/counter-contract/CounterContract.csproj b/Docs/Tutorials/counter-contract/CounterContract.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Tutorials/counter-contract/CounterContract.csproj
+++ b/Docs/Tutorials/counter-contract/CounterContract.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Tutorials/erc20-contract/erc20Contract.csproj b/Docs/Tutorials/erc20-contract/erc20Contract.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Tutorials/erc20-contract/erc20Contract.csproj
+++ b/Docs/Tutorials/erc20-contract/erc20Contract.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0
diff --git a/Docs/Tutorials/kvstorage-contract/KVStorageContract.csproj b/Docs/Tutorials/kvstorage-contract/KVStorageContract.csproj
index 06ce214..9fdc273 100644
--- a/Docs/Tutorials/kvstorage-contract/KVStorageContract.csproj
+++ b/Docs/Tutorials/kvstorage-contract/KVStorageContract.csproj
@@ -2,7 +2,7 @@
Exe
- net5.0
+ net7.0