Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Using a terminal of your choice, create a new directory for your project and exe
```sh
dotnet new sln
dotnet new substrate \
--sdk_version 0.6.5 \
--sdk_version 0.6.6 \
--rest_service PROJECTNAME.RestService \
--net_api PROJECTNAME.NetApiExt \
--net_integration PROJECTNAME.Integration \
Expand Down Expand Up @@ -127,7 +127,7 @@ You can also watch our short step-by-step tutorial that guides you through the e
- AstarNET
```sh
dotnet new substrate \
--sdk_version 0.6.5 \
--sdk_version 0.6.6 \
--rest_service AstarNET.RestService \
--net_api AstarNET.NetApiExt \
--net_api AstarNET.Integration \
Expand Down
2 changes: 1 addition & 1 deletion Substrate.ServiceLayer/Substrate.ServiceLayer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
<PackageReference Include="Substrate.NET.API" Version="0.9.22-rc" />
<PackageReference Include="Substrate.NET.API" Version="0.9.24-rc1" />
<PackageReference Include="System.Collections.Concurrent" Version="4.3.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"symbols": {
"sdk_version": {
"datatype": "string",
"defaultValue": "0.6.5",
"defaultValue": "0.6.6",
"description": "Uses the given Substrate .NET Toolchain version.",
"replaces": "SUBSTRATE_TOOLCHAIN_VERSION",
"type": "parameter"
},
"api_version": {
"datatype": "string",
"defaultValue": "0.9.22-rc",
"defaultValue": "0.9.24-rc1",
"description": "Uses the given Substrate .NET API version.",
"replaces": "SUBSTRATE_NETAPI_VERSION",
"type": "parameter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ internal void Update(TransactionEventInfo transactionEventInfo)
IsReady = true;
break;

case NetApi.Model.Rpc.TransactionEvent.Broadcasted:
break;

case NetApi.Model.Rpc.TransactionEvent.BestChainBlockIncluded:
IsInBlock = true;
break;
Expand Down
2 changes: 1 addition & 1 deletion Tools/Substrate.DotNet/Service/Node/Base/BuilderBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private string GetPath(string basePath)
protected void AddTargetClassCustomAttributes(CodeTypeDeclaration targetClass, NodeType typeDef)
{
// TODO (svnscha): Change version to given metadata version.
ImportsNamespace.Imports.Add(new CodeNamespaceImport("Substrate.NetApi.Model.Types.Metadata.V14"));
ImportsNamespace.Imports.Add(new CodeNamespaceImport("Substrate.NetApi.Model.Types.Metadata.Base"));
ImportsNamespace.Imports.Add(new CodeNamespaceImport($"Substrate.NetApi.Attributes"));

targetClass.CustomAttributes.Add(new CodeAttributeDeclaration(new CodeTypeReference("SubstrateNodeType"), new CodeAttributeArgument(
Expand Down
2 changes: 1 addition & 1 deletion Tools/Substrate.DotNet/Substrate.DotNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<ItemGroup>
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
<PackageReference Include="Substrate.NET.API" Version="0.9.22-rc" />
<PackageReference Include="Substrate.NET.API" Version="0.9.24-rc1" />
<PackageReference Include="System.CodeDom" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Version.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<!-- Configuration -->
<VersionMajor>0</VersionMajor>
<VersionMinor>6</VersionMinor>
<VersionPatch>5</VersionPatch>
<VersionPatch>6</VersionPatch>
<AssemblyVersion>$(VersionMajor).$(VersionMinor).$(VersionPatch)</AssemblyVersion>

<SubstratePackageVersion>0.6.5</SubstratePackageVersion>
<SubstratePackageVersion>0.6.6</SubstratePackageVersion>

<!-- Variables -->
<SubstrateVersion>$(AssemblyVersion)</SubstrateVersion>
Expand Down