Skip to content

Commit

Permalink
Merge pull request #27 from SubstrateGaming/ver500_ajuna_bajun
Browse files Browse the repository at this point in the history
added 0.6.5 and api 22-rc
  • Loading branch information
darkfriend77 authored Jun 14, 2024
2 parents 4074106 + c8903b8 commit 1cf2e73
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Substrate.Ajuna.NET/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"substrate.dotnet": {
"version": "0.6.4",
"version": "0.6.5",
"commands": [
"substrate"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public async Task<bool> ConnectAsync(bool useMetadata, bool standardSubstrate, C
}
catch (Exception e)
{
Log.Error("BaseClient.ConnectAsync: 0",
Log.Error("BaseClient.ConnectAsync: {0}",
e.ToString());
}
}
Expand Down Expand Up @@ -162,13 +162,13 @@ public async Task<string> 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;
}

Expand All @@ -179,7 +179,7 @@ public async Task<string> GenericExtrinsicAsync(Account account, string extrinsi
}
catch (RemoteInvocationException e)
{
Log.Error("RemoteInvocationException: 0", e.Message);
Log.Error("RemoteInvocationException: {0}", e.Message);
return subscription;
}

Expand All @@ -188,15 +188,15 @@ public async Task<string> 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;
Expand Down Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -268,7 +268,7 @@ public async Task<string> 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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public async Task<bool> ConnectAsync(bool useMetadata, bool standardSubstrate, C
}
catch (Exception e)
{
Log.Error("BaseClient.ConnectAsync: 0",
Log.Error("BaseClient.ConnectAsync: {0}",
e.ToString());
}
}
Expand Down Expand Up @@ -162,13 +162,13 @@ public async Task<string> 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;
}

Expand All @@ -179,7 +179,7 @@ public async Task<string> GenericExtrinsicAsync(Account account, string extrinsi
}
catch (RemoteInvocationException e)
{
Log.Error("RemoteInvocationException: 0", e.Message);
Log.Error("RemoteInvocationException: {0}", e.Message);
return subscription;
}

Expand All @@ -188,15 +188,15 @@ public async Task<string> 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;
Expand Down Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -268,7 +268,7 @@ public async Task<string> 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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<PackageId>Substrate.Ajuna.NET.Extension</PackageId>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
<Version>1.500.0</Version>
<Version>1.500.1</Version>
<Company>Substrate Gaming</Company>
<Authors>Substrate Gaming</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.4" />
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.5" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Substrate.Ajuna.NET.RestClient\Substrate.Ajuna.NET.RestClient.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.4" />
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.5" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.4" />
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.5" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Substrate.Ajuna.NET.NetApiExt\Substrate.Ajuna.NET.NetApiExt.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<PackageReference Include="Serilog.AspNetCore" Version="4.1.0" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.2" />
<PackageReference Include="Substrate.AspNetCore" Version="0.6.4" />
<PackageReference Include="Substrate.ServiceLayer" Version="0.6.4" />
<PackageReference Include="Substrate.AspNetCore" Version="0.6.5" />
<PackageReference Include="Substrate.ServiceLayer" Version="0.6.5" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Substrate.Bajun.NET/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"substrate.dotnet": {
"version": "0.6.4",
"version": "0.6.5",
"commands": [
"substrate"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public async Task<bool> ConnectAsync(bool useMetadata, bool standardSubstrate, C
}
catch (Exception e)
{
Log.Error("BaseClient.ConnectAsync: 0",
Log.Error("BaseClient.ConnectAsync: {0}",
e.ToString());
}
}
Expand Down Expand Up @@ -162,13 +162,13 @@ public async Task<string> 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;
}

Expand All @@ -179,7 +179,7 @@ public async Task<string> GenericExtrinsicAsync(Account account, string extrinsi
}
catch (RemoteInvocationException e)
{
Log.Error("RemoteInvocationException: 0", e.Message);
Log.Error("RemoteInvocationException: {0}", e.Message);
return subscription;
}

Expand All @@ -188,15 +188,15 @@ public async Task<string> 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;
Expand Down Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -268,7 +268,7 @@ public async Task<string> 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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public async Task<bool> ConnectAsync(bool useMetadata, bool standardSubstrate, C
}
catch (Exception e)
{
Log.Error("BaseClient.ConnectAsync: 0",
Log.Error("BaseClient.ConnectAsync: {0}",
e.ToString());
}
}
Expand Down Expand Up @@ -162,13 +162,13 @@ public async Task<string> 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;
}

Expand All @@ -179,7 +179,7 @@ public async Task<string> GenericExtrinsicAsync(Account account, string extrinsi
}
catch (RemoteInvocationException e)
{
Log.Error("RemoteInvocationException: 0", e.Message);
Log.Error("RemoteInvocationException: {0}", e.Message);
return subscription;
}

Expand All @@ -188,15 +188,15 @@ public async Task<string> 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;
Expand Down Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -268,7 +268,7 @@ public async Task<string> 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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<PackageId>Substrate.Bajun.NET.Extension</PackageId>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
<Version>1.500.0</Version>
<Version>1.500.1</Version>
<Company>Substrate Gaming</Company>
<Authors>Substrate Gaming</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.4" />
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.5" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Substrate.Bajun.NET.RestClient\Substrate.Bajun.NET.RestClient.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.4" />
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.5" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.4" />
<PackageReference Include="Substrate.ServiceLayer.Model" Version="0.6.5" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Substrate.Bajun.NET.NetApiExt\Substrate.Bajun.NET.NetApiExt.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<PackageReference Include="Serilog.AspNetCore" Version="4.1.0" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.2" />
<PackageReference Include="Substrate.AspNetCore" Version="0.6.4" />
<PackageReference Include="Substrate.ServiceLayer" Version="0.6.4" />
<PackageReference Include="Substrate.AspNetCore" Version="0.6.5" />
<PackageReference Include="Substrate.ServiceLayer" Version="0.6.5" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 1cf2e73

Please sign in to comment.