From c8903b8e06144267f514989c9ff8ad86b94eae72 Mon Sep 17 00:00:00 2001 From: "cedric.decoster" Date: Fri, 14 Jun 2024 22:24:55 +0200 Subject: [PATCH] added 0.6.5 and api 22-rc --- Substrate.Ajuna.NET/.config/dotnet-tools.json | 2 +- .../NET/Integration/Client/BaseClient.cs | 18 +++++++++--------- .../NET/NetApiExt/Client/BaseClient.cs | 18 +++++++++--------- .../Substrate.Ajuna.NET.NetApiExt.csproj | 2 +- ...ubstrate.Ajuna.NET.RestClient.Mockup.csproj | 2 +- .../Substrate.Ajuna.NET.RestClient.Test.csproj | 2 +- .../Substrate.Ajuna.NET.RestClient.csproj | 2 +- .../Substrate.Ajuna.NET.RestService.csproj | 4 ++-- Substrate.Bajun.NET/.config/dotnet-tools.json | 2 +- .../NET/Integration/Client/BaseClient.cs | 18 +++++++++--------- .../NET/NetApiExt/Client/BaseClient.cs | 18 +++++++++--------- .../Substrate.Bajun.NET.NetApiExt.csproj | 2 +- ...ubstrate.Bajun.NET.RestClient.Mockup.csproj | 2 +- .../Substrate.Bajun.NET.RestClient.Test.csproj | 2 +- .../Substrate.Bajun.NET.RestClient.csproj | 2 +- .../Substrate.Bajun.NET.RestService.csproj | 4 ++-- 16 files changed, 50 insertions(+), 50 deletions(-) diff --git a/Substrate.Ajuna.NET/.config/dotnet-tools.json b/Substrate.Ajuna.NET/.config/dotnet-tools.json index a25c6d479..2410eefeb 100644 --- a/Substrate.Ajuna.NET/.config/dotnet-tools.json +++ b/Substrate.Ajuna.NET/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "substrate.dotnet": { - "version": "0.6.4", + "version": "0.6.5", "commands": [ "substrate" ] diff --git a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.Integration/NET/Integration/Client/BaseClient.cs b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.Integration/NET/Integration/Client/BaseClient.cs index 9cb69793e..46a2a43b8 100644 --- a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.Integration/NET/Integration/Client/BaseClient.cs +++ b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.Integration/NET/Integration/Client/BaseClient.cs @@ -90,7 +90,7 @@ public async Task ConnectAsync(bool useMetadata, bool standardSubstrate, C } catch (Exception e) { - Log.Error("BaseClient.ConnectAsync: 0", + Log.Error("BaseClient.ConnectAsync: {0}", e.ToString()); } } @@ -162,13 +162,13 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi if (HasMaxConcurentTaskRunning()) { - Log.Warning("There can not be more then 0 concurrent tasks overall!", _maxConcurrentCalls); + Log.Warning("There can not be more then {0} concurrent tasks overall!", _maxConcurrentCalls); return null; } if (HasToManyConcurentTaskRunning(extrinsicType, concurrentTasks)) { - Log.Warning("There can not be more then 0 concurrent tasks of 1!", concurrentTasks, extrinsicType); + Log.Warning("There can not be more then {0} concurrent tasks of {1}!", concurrentTasks, extrinsicType); return null; } @@ -179,7 +179,7 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi } catch (RemoteInvocationException e) { - Log.Error("RemoteInvocationException: 0", e.Message); + Log.Error("RemoteInvocationException: {0}", e.Message); return subscription; } @@ -188,15 +188,15 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi return null; } - Log.Debug("Generic extrinsic sent 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); if (ExtrinsicManager.TryAdd(subscription, extrinsicType)) { - Log.Debug("Generic extrinsic sent 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); } else { - Log.Warning("ExtrinsicManager.Add failed for 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Warning("ExtrinsicManager.Add failed for {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); } return subscription; @@ -237,7 +237,7 @@ public async void ActionExtrinsicUpdate(string subscriptionId, TransactionEventI } catch (Exception ex) { - Log.Warning("ActionExtrinsicUpdate: 0", ex.Message); + Log.Warning("ActionExtrinsicUpdate: {0}", ex.Message); } } @@ -268,7 +268,7 @@ public async Task SubscribeEventsAsync(CancellationToken token) SubscriptionManager.IsSubscribed = true; - Log.Debug("SystemStorage.Events subscription id [0] registred.", subscription); + Log.Debug("SystemStorage.Events subscription id [{0}] registred.", subscription); return subscription; } diff --git a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Client/BaseClient.cs b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Client/BaseClient.cs index c8a58c43a..2d5f24e66 100644 --- a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Client/BaseClient.cs +++ b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/NET/NetApiExt/Client/BaseClient.cs @@ -90,7 +90,7 @@ public async Task ConnectAsync(bool useMetadata, bool standardSubstrate, C } catch (Exception e) { - Log.Error("BaseClient.ConnectAsync: 0", + Log.Error("BaseClient.ConnectAsync: {0}", e.ToString()); } } @@ -162,13 +162,13 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi if (HasMaxConcurentTaskRunning()) { - Log.Warning("There can not be more then 0 concurrent tasks overall!", _maxConcurrentCalls); + Log.Warning("There can not be more then {0} concurrent tasks overall!", _maxConcurrentCalls); return null; } if (HasToManyConcurentTaskRunning(extrinsicType, concurrentTasks)) { - Log.Warning("There can not be more then 0 concurrent tasks of 1!", concurrentTasks, extrinsicType); + Log.Warning("There can not be more then {0} concurrent tasks of {1}!", concurrentTasks, extrinsicType); return null; } @@ -179,7 +179,7 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi } catch (RemoteInvocationException e) { - Log.Error("RemoteInvocationException: 0", e.Message); + Log.Error("RemoteInvocationException: {0}", e.Message); return subscription; } @@ -188,15 +188,15 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi return null; } - Log.Debug("Generic extrinsic sent 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); if (ExtrinsicManager.TryAdd(subscription, extrinsicType)) { - Log.Debug("Generic extrinsic sent 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); } else { - Log.Warning("ExtrinsicManager.Add failed for 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Warning("ExtrinsicManager.Add failed for {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); } return subscription; @@ -237,7 +237,7 @@ public async void ActionExtrinsicUpdate(string subscriptionId, TransactionEventI } catch (Exception ex) { - Log.Warning("ActionExtrinsicUpdate: 0", ex.Message); + Log.Warning("ActionExtrinsicUpdate: {0}", ex.Message); } } @@ -268,7 +268,7 @@ public async Task SubscribeEventsAsync(CancellationToken token) SubscriptionManager.IsSubscribed = true; - Log.Debug("SystemStorage.Events subscription id [0] registred.", subscription); + Log.Debug("SystemStorage.Events subscription id [{0}] registred.", subscription); return subscription; } diff --git a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/Substrate.Ajuna.NET.NetApiExt.csproj b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/Substrate.Ajuna.NET.NetApiExt.csproj index 3751e5f56..fa628f27d 100644 --- a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/Substrate.Ajuna.NET.NetApiExt.csproj +++ b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.NetApiExt/Substrate.Ajuna.NET.NetApiExt.csproj @@ -3,7 +3,7 @@ Substrate.Ajuna.NET.Extension netstandard2.0;netstandard2.1;net6.0 - 1.500.0 + 1.500.1 Substrate Gaming Substrate Gaming true diff --git a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient.Mockup/Substrate.Ajuna.NET.RestClient.Mockup.csproj b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient.Mockup/Substrate.Ajuna.NET.RestClient.Mockup.csproj index be70995e4..63009c8db 100644 --- a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient.Mockup/Substrate.Ajuna.NET.RestClient.Mockup.csproj +++ b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient.Mockup/Substrate.Ajuna.NET.RestClient.Mockup.csproj @@ -3,7 +3,7 @@ netstandard2.0 - + diff --git a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient.Test/Substrate.Ajuna.NET.RestClient.Test.csproj b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient.Test/Substrate.Ajuna.NET.RestClient.Test.csproj index 409c18ac7..7bea00f46 100644 --- a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient.Test/Substrate.Ajuna.NET.RestClient.Test.csproj +++ b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient.Test/Substrate.Ajuna.NET.RestClient.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient/Substrate.Ajuna.NET.RestClient.csproj b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient/Substrate.Ajuna.NET.RestClient.csproj index 4937fc0a9..1faab1d69 100644 --- a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient/Substrate.Ajuna.NET.RestClient.csproj +++ b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestClient/Substrate.Ajuna.NET.RestClient.csproj @@ -11,7 +11,7 @@ - + diff --git a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestService/Substrate.Ajuna.NET.RestService.csproj b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestService/Substrate.Ajuna.NET.RestService.csproj index 5e45cb52d..6ec47b3bf 100644 --- a/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestService/Substrate.Ajuna.NET.RestService.csproj +++ b/Substrate.Ajuna.NET/Substrate.Ajuna.NET.RestService/Substrate.Ajuna.NET.RestService.csproj @@ -17,8 +17,8 @@ - - + + diff --git a/Substrate.Bajun.NET/.config/dotnet-tools.json b/Substrate.Bajun.NET/.config/dotnet-tools.json index a25c6d479..2410eefeb 100644 --- a/Substrate.Bajun.NET/.config/dotnet-tools.json +++ b/Substrate.Bajun.NET/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "substrate.dotnet": { - "version": "0.6.4", + "version": "0.6.5", "commands": [ "substrate" ] diff --git a/Substrate.Bajun.NET/Substrate.Bajun.NET.Integration/NET/Integration/Client/BaseClient.cs b/Substrate.Bajun.NET/Substrate.Bajun.NET.Integration/NET/Integration/Client/BaseClient.cs index 7aed3d006..f21e16ac3 100644 --- a/Substrate.Bajun.NET/Substrate.Bajun.NET.Integration/NET/Integration/Client/BaseClient.cs +++ b/Substrate.Bajun.NET/Substrate.Bajun.NET.Integration/NET/Integration/Client/BaseClient.cs @@ -90,7 +90,7 @@ public async Task ConnectAsync(bool useMetadata, bool standardSubstrate, C } catch (Exception e) { - Log.Error("BaseClient.ConnectAsync: 0", + Log.Error("BaseClient.ConnectAsync: {0}", e.ToString()); } } @@ -162,13 +162,13 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi if (HasMaxConcurentTaskRunning()) { - Log.Warning("There can not be more then 0 concurrent tasks overall!", _maxConcurrentCalls); + Log.Warning("There can not be more then {0} concurrent tasks overall!", _maxConcurrentCalls); return null; } if (HasToManyConcurentTaskRunning(extrinsicType, concurrentTasks)) { - Log.Warning("There can not be more then 0 concurrent tasks of 1!", concurrentTasks, extrinsicType); + Log.Warning("There can not be more then {0} concurrent tasks of {1}!", concurrentTasks, extrinsicType); return null; } @@ -179,7 +179,7 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi } catch (RemoteInvocationException e) { - Log.Error("RemoteInvocationException: 0", e.Message); + Log.Error("RemoteInvocationException: {0}", e.Message); return subscription; } @@ -188,15 +188,15 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi return null; } - Log.Debug("Generic extrinsic sent 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); if (ExtrinsicManager.TryAdd(subscription, extrinsicType)) { - Log.Debug("Generic extrinsic sent 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); } else { - Log.Warning("ExtrinsicManager.Add failed for 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Warning("ExtrinsicManager.Add failed for {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); } return subscription; @@ -237,7 +237,7 @@ public async void ActionExtrinsicUpdate(string subscriptionId, TransactionEventI } catch (Exception ex) { - Log.Warning("ActionExtrinsicUpdate: 0", ex.Message); + Log.Warning("ActionExtrinsicUpdate: {0}", ex.Message); } } @@ -268,7 +268,7 @@ public async Task SubscribeEventsAsync(CancellationToken token) SubscriptionManager.IsSubscribed = true; - Log.Debug("SystemStorage.Events subscription id [0] registred.", subscription); + Log.Debug("SystemStorage.Events subscription id [{0}] registred.", subscription); return subscription; } diff --git a/Substrate.Bajun.NET/Substrate.Bajun.NET.NetApiExt/NET/NetApiExt/Client/BaseClient.cs b/Substrate.Bajun.NET/Substrate.Bajun.NET.NetApiExt/NET/NetApiExt/Client/BaseClient.cs index e38b5024b..9a267e9a7 100644 --- a/Substrate.Bajun.NET/Substrate.Bajun.NET.NetApiExt/NET/NetApiExt/Client/BaseClient.cs +++ b/Substrate.Bajun.NET/Substrate.Bajun.NET.NetApiExt/NET/NetApiExt/Client/BaseClient.cs @@ -90,7 +90,7 @@ public async Task ConnectAsync(bool useMetadata, bool standardSubstrate, C } catch (Exception e) { - Log.Error("BaseClient.ConnectAsync: 0", + Log.Error("BaseClient.ConnectAsync: {0}", e.ToString()); } } @@ -162,13 +162,13 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi if (HasMaxConcurentTaskRunning()) { - Log.Warning("There can not be more then 0 concurrent tasks overall!", _maxConcurrentCalls); + Log.Warning("There can not be more then {0} concurrent tasks overall!", _maxConcurrentCalls); return null; } if (HasToManyConcurentTaskRunning(extrinsicType, concurrentTasks)) { - Log.Warning("There can not be more then 0 concurrent tasks of 1!", concurrentTasks, extrinsicType); + Log.Warning("There can not be more then {0} concurrent tasks of {1}!", concurrentTasks, extrinsicType); return null; } @@ -179,7 +179,7 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi } catch (RemoteInvocationException e) { - Log.Error("RemoteInvocationException: 0", e.Message); + Log.Error("RemoteInvocationException: {0}", e.Message); return subscription; } @@ -188,15 +188,15 @@ public async Task GenericExtrinsicAsync(Account account, string extrinsi return null; } - Log.Debug("Generic extrinsic sent 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); if (ExtrinsicManager.TryAdd(subscription, extrinsicType)) { - Log.Debug("Generic extrinsic sent 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); } else { - Log.Warning("ExtrinsicManager.Add failed for 0 with 1.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + Log.Warning("ExtrinsicManager.Add failed for {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); } return subscription; @@ -237,7 +237,7 @@ public async void ActionExtrinsicUpdate(string subscriptionId, TransactionEventI } catch (Exception ex) { - Log.Warning("ActionExtrinsicUpdate: 0", ex.Message); + Log.Warning("ActionExtrinsicUpdate: {0}", ex.Message); } } @@ -268,7 +268,7 @@ public async Task SubscribeEventsAsync(CancellationToken token) SubscriptionManager.IsSubscribed = true; - Log.Debug("SystemStorage.Events subscription id [0] registred.", subscription); + Log.Debug("SystemStorage.Events subscription id [{0}] registred.", subscription); return subscription; } diff --git a/Substrate.Bajun.NET/Substrate.Bajun.NET.NetApiExt/Substrate.Bajun.NET.NetApiExt.csproj b/Substrate.Bajun.NET/Substrate.Bajun.NET.NetApiExt/Substrate.Bajun.NET.NetApiExt.csproj index c14464e53..6ed8bf259 100644 --- a/Substrate.Bajun.NET/Substrate.Bajun.NET.NetApiExt/Substrate.Bajun.NET.NetApiExt.csproj +++ b/Substrate.Bajun.NET/Substrate.Bajun.NET.NetApiExt/Substrate.Bajun.NET.NetApiExt.csproj @@ -3,7 +3,7 @@ Substrate.Bajun.NET.Extension netstandard2.0;netstandard2.1;net6.0 - 1.500.0 + 1.500.1 Substrate Gaming Substrate Gaming true diff --git a/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient.Mockup/Substrate.Bajun.NET.RestClient.Mockup.csproj b/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient.Mockup/Substrate.Bajun.NET.RestClient.Mockup.csproj index a8d9aa607..521137970 100644 --- a/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient.Mockup/Substrate.Bajun.NET.RestClient.Mockup.csproj +++ b/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient.Mockup/Substrate.Bajun.NET.RestClient.Mockup.csproj @@ -3,7 +3,7 @@ netstandard2.0 - + diff --git a/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient.Test/Substrate.Bajun.NET.RestClient.Test.csproj b/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient.Test/Substrate.Bajun.NET.RestClient.Test.csproj index da82351aa..5bd45eeae 100644 --- a/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient.Test/Substrate.Bajun.NET.RestClient.Test.csproj +++ b/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient.Test/Substrate.Bajun.NET.RestClient.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient/Substrate.Bajun.NET.RestClient.csproj b/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient/Substrate.Bajun.NET.RestClient.csproj index 463f15dc9..e45cbf5f5 100644 --- a/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient/Substrate.Bajun.NET.RestClient.csproj +++ b/Substrate.Bajun.NET/Substrate.Bajun.NET.RestClient/Substrate.Bajun.NET.RestClient.csproj @@ -11,7 +11,7 @@ - + diff --git a/Substrate.Bajun.NET/Substrate.Bajun.NET.RestService/Substrate.Bajun.NET.RestService.csproj b/Substrate.Bajun.NET/Substrate.Bajun.NET.RestService/Substrate.Bajun.NET.RestService.csproj index 2da7a04fb..205503864 100644 --- a/Substrate.Bajun.NET/Substrate.Bajun.NET.RestService/Substrate.Bajun.NET.RestService.csproj +++ b/Substrate.Bajun.NET/Substrate.Bajun.NET.RestService/Substrate.Bajun.NET.RestService.csproj @@ -17,8 +17,8 @@ - - + +