Skip to content

Commit

Permalink
Fix AElf.Contract.Tools.targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
eanzhao committed Jun 23, 2020
1 parent ddf9f7c commit 14a24a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion chain/AElf.Contract.Tools.targets
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<!-- Move dlls before codecov injection in travis -->
<Target Name="CopyNonCodeCovContractDll" Condition="'$(IsContract)' != '' AND '$(IsContract)'" AfterTargets="PatchContractCode">
<PropertyGroup>
<LauncherTargetDir>../../src/AElf.Launcher/contracts</LauncherTargetDir>
<LauncherTargetDir>../../src/AElf.Boilerplate.Launcher/contracts</LauncherTargetDir>
</PropertyGroup>
<Copy SourceFiles="$(TargetDir)$(TargetName).dll"
DestinationFolder="$(LauncherTargetDir)"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>AElf.Boilerplate.MainChain</RootNamespace>
Expand Down Expand Up @@ -154,4 +154,4 @@
<Link>Protobuf\Proto\configuration_contract.proto</Link>
</ContractStub>
</ItemGroup>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
using AElf.Kernel.SmartContract;
using AElf.Kernel.SmartContract.Application;
using Microsoft.Extensions.Options;
using Volo.Abp.DependencyInjection;

namespace AElf.Boilerplate.MainChain
{
public class MainChainGenesisSmartContractDtoProvider : GenesisSmartContractDtoProviderBase, ITransientDependency
public class MainChainGenesisSmartContractDtoProvider : GenesisSmartContractDtoProviderBase
{
private readonly ContractOptions _contractOptions;

Expand All @@ -26,4 +25,4 @@ protected override IReadOnlyDictionary<string, byte[]> GetContractCodes()
.GenesisContractDir);
}
}
}
}

0 comments on commit 14a24a6

Please sign in to comment.