Skip to content

Commit 5e853b3

Browse files
committed
Fix errors and make Release method as private method.
1 parent c2b28d2 commit 5e853b3

File tree

34 files changed

+98
-15
lines changed

34 files changed

+98
-15
lines changed

bench/AElf.Benchmark/AElf.Benchmark.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
<ContractStub Include="..\..\protobuf\acs6.proto">
5252
<Link>Protobuf\Proto\acs6.proto</Link>
5353
</ContractStub>
54+
<ContractStub Include="..\..\protobuf\acs10.proto">
55+
<Link>Protobuf\Proto\acs10.proto</Link>
56+
</ContractStub>
5457
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
5558
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
5659
</ContractStub>

contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_ProcessConsensusInformation.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private void ProcessConsensusInformation(dynamic input, [CallerMemberName] strin
8383

8484
if (!State.IsMainChain.Value && currentRound.RoundNumber > 1)
8585
{
86-
Context.SendInline(Context.Self, nameof(Release), new ReleaseInput());
86+
Release();
8787
}
8888

8989
// Clear cache.

contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_SideChainDividendsPool.cs

+7-4
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,13 @@ public override Empty Donate(DonateInput input)
9292

9393
public override Empty Release(ReleaseInput input)
9494
{
95-
Assert(Context.Sender == Context.Self, "Only AEDPoS Contract itself can call this method.");
96-
if (State.TokenHolderContract.Value == null) return new Empty();
95+
Assert(false, "Side chain dividend pool can only release automatically.");
96+
return new Empty();
97+
}
98+
99+
public void Release()
100+
{
101+
if (State.TokenHolderContract.Value == null) return;
97102
var scheme = State.TokenHolderContract.GetScheme.Call(Context.Self);
98103
var isTimeToRelease =
99104
(Context.CurrentBlockTime - State.BlockchainStartTimestamp.Value).Seconds
@@ -111,8 +116,6 @@ public override Empty Release(ReleaseInput input)
111116
SchemeManager = Context.Self
112117
});
113118
}
114-
115-
return new Empty();
116119
}
117120

118121
public override Empty SetSymbolList(SymbolList input)

contract/AElf.Contracts.Election/AElf.Contracts.Election.csproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
2221
<ContractReference Include="..\..\protobuf\acs3.proto">
2322
<Link>Protobuf\Proto\reference\acs3.proto</Link>
2423
</ContractReference>
24+
<ContractReference Include="..\..\protobuf\acs10.proto">
25+
<Link>Protobuf\Proto\reference\acs10.proto</Link>
26+
</ContractReference>
2527
<ContractReference Include="..\..\protobuf\vote_contract.proto">
2628
<Link>Protobuf\Proto\reference\vote_contract.proto</Link>
2729
</ContractReference>

contract/AElf.Contracts.Election/ElectionContract_Maintainence.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public override Empty TakeSnapshot(TakeElectionSnapshotInput input)
119119
Context.GetContractAddressByName(SmartContractConstants.TreasuryContractSystemName);
120120
}
121121

122-
var symbolList = State.TreasuryContract.GetDistributingSymbolList.Call(new Empty());
122+
var symbolList = State.TreasuryContract.GetSymbolList.Call(new Empty());
123123
var amountsMap = symbolList.Value.ToDictionary(s => s, s => 0L);
124124
State.ProfitContract.DistributeProfits.Send(new DistributeProfitsInput
125125
{

contract/AElf.Contracts.MultiToken/AElf.Contracts.MultiToken.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
<ContractReference Include="..\..\protobuf\acs7.proto">
2828
<Link>Protobuf\Proto\acs7.proto</Link>
2929
</ContractReference>
30+
<ContractReference Include="..\..\protobuf\acs10.proto">
31+
<Link>Protobuf\Proto\reference\acs10.proto</Link>
32+
</ContractReference>
3033
<ContractReference Include="..\..\protobuf\treasury_contract.proto">
3134
<Link>Protobuf\Proto\reference\treasury_contract.proto</Link>
3235
</ContractReference>

contract/AElf.Contracts.MultiToken/TokenContract_Fees.cs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System.Collections.Generic;
22
using System.Linq;
33
using Acs1;
4+
using Acs10;
45
using AElf.Contracts.Association;
56
using AElf.Contracts.Treasury;
67
using AElf.CSharp.Core;

src/AElf.Blockchains.MainChain/AElf.Blockchains.MainChain.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@
9898
<ContractStub Include="..\..\protobuf\acs6.proto">
9999
<Link>Protobuf\Proto\acs6.proto</Link>
100100
</ContractStub>
101+
<ContractStub Include="..\..\protobuf\acs10.proto">
102+
<Link>Protobuf\Proto\acs10.proto</Link>
103+
</ContractStub>
101104
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
102105
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
103106
</ContractStub>

src/AElf.Blockchains.SideChain/AElf.Blockchains.SideChain.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
<ContractStub Include="..\..\protobuf\acs6.proto">
1919
<Link>Protobuf\Proto\acs6.proto</Link>
2020
</ContractStub>
21+
<ContractStub Include="..\..\protobuf\acs10.proto">
22+
<Link>Protobuf\Proto\acs10.proto</Link>
23+
</ContractStub>
2124
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
2225
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
2326
</ContractStub>

src/AElf.Contracts.TestKit.AEDPoSExtension/AElf.Contracts.TestKit.AEDPoSExtension.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<ContractStub Include="..\..\protobuf\acs6.proto">
3030
<Link>Protobuf\Proto\acs6.proto</Link>
3131
</ContractStub>
32+
<ContractStub Include="..\..\protobuf\acs10.proto">
33+
<Link>Protobuf\Proto\stub\acs10.proto</Link>
34+
</ContractStub>
3235
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
3336
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
3437
</ContractStub>

src/AElf.EconomicSystem/AElf.EconomicSystem.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<ContractStub Include="..\..\protobuf\acs6.proto">
3030
<Link>Protobuf\Proto\acs6.proto</Link>
3131
</ContractStub>
32+
<ContractStub Include="..\..\protobuf\acs10.proto">
33+
<Link>Protobuf\Proto\acs10.proto</Link>
34+
</ContractStub>
3235
<ContractStub Include="..\..\protobuf\profit_contract.proto">
3336
<Link>Protobuf\Proto\profit_contract.proto</Link>
3437
</ContractStub>

test/AElf.ContractTestBase.Tests/AElf.ContractTestBase.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@
9696
<ContractStub Include="..\..\protobuf\acs6.proto">
9797
<Link>Protobuf\Proto\acs6.proto</Link>
9898
</ContractStub>
99+
<ContractStub Include="..\..\protobuf\acs10.proto">
100+
<Link>Protobuf\Proto\acs10.proto</Link>
101+
</ContractStub>
99102
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
100103
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
101104
</ContractStub>

test/AElf.Contracts.AEDPoSExtension.Demo.Tests/AElf.Contracts.AEDPoSExtension.Demo.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
<ContractMessage Include="..\..\protobuf\acs6.proto">
5151
<Link>Protobuf\Proto\acs6.proto</Link>
5252
</ContractMessage>
53+
<ContractMessage Include="..\..\protobuf\acs10.proto">
54+
<Link>Protobuf\Proto\acs10.proto</Link>
55+
</ContractMessage>
5356
<ContractMessage Include="..\..\protobuf\aedpos_contract.proto">
5457
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
5558
</ContractMessage>

test/AElf.Contracts.Association.Tests/AElf.Contracts.Association.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
<ContractBase Include="..\..\protobuf\acs6.proto">
5959
<Link>Protobuf\Proto\acs6.proto</Link>
6060
</ContractBase>
61+
<ContractBase Include="..\..\protobuf\acs10.proto">
62+
<Link>Protobuf\Proto\stub\acs10.proto</Link>
63+
</ContractBase>
6164
</ItemGroup>
6265

6366
<Import Project="..\..\test\AllContracts.props" />

test/AElf.Contracts.Consensus.AEDPoS.Tests/AElf.Contracts.Consensus.AEDPoS.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
<ContractBase Include="..\..\protobuf\acs5.proto">
5050
<Link>Protobuf/Proto/acs5.proto</Link>
5151
</ContractBase>
52+
<ContractBase Include="..\..\protobuf\acs10.proto">
53+
<Link>Protobuf\Proto\reference\acs10.proto</Link>
54+
</ContractBase>
5255
<ContractStub Include="..\..\protobuf\kernel.proto">
5356
<Link>Protobuf/Proto/kernel.proto</Link>
5457
</ContractStub>

test/AElf.Contracts.CrossChain.Tests/AElf.Contracts.CrossChain.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
<ContractStub Include="..\..\protobuf\acs7.proto">
4343
<Link>Protobuf\Proto\acs7.proto</Link>
4444
</ContractStub>
45+
<ContractStub Include="..\..\protobuf\acs10.proto">
46+
<Link>Protobuf\Proto\acs10.proto</Link>
47+
</ContractStub>
4548
<ContractMessage Include="..\..\protobuf\aedpos_contract.proto">
4649
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
4750
</ContractMessage>

test/AElf.Contracts.Economic.AEDPoSExtension.Tests/AElf.Contracts.Economic.AEDPoSExtension.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
<ContractMessage Include="..\..\protobuf\acs6.proto">
3434
<Link>Protobuf\Proto\acs6.proto</Link>
3535
</ContractMessage>
36+
<ContractMessage Include="..\..\protobuf\acs10.proto">
37+
<Link>Protobuf\Proto\acs10.proto</Link>
38+
</ContractMessage>
3639
<ContractMessage Include="..\..\protobuf\aedpos_contract.proto">
3740
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
3841
</ContractMessage>

test/AElf.Contracts.Economic.TestBase/AElf.Contracts.Economic.TestBase.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@
109109
<ContractBase Include="..\..\protobuf\acs6.proto">
110110
<Link>Protobuf/Proto/acs6.proto</Link>
111111
</ContractBase>
112+
<ContractBase Include="..\..\protobuf\acs10.proto">
113+
<Link>Protobuf\Proto\reference\acs10.proto</Link>
114+
</ContractBase>
112115
<ContractStub Include="..\..\protobuf\kernel.proto">
113116
<Link>Protobuf/Proto/kernel.proto</Link>
114117
</ContractStub>

test/AElf.Contracts.EconomicSystem.Tests/BVT/DonateTests.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Threading.Tasks;
2+
using Acs10;
23
using AElf.Contracts.MultiToken;
34
using AElf.Contracts.TestContract.TransactionFeeCharging;
45
using AElf.Contracts.TestKit;
@@ -198,9 +199,9 @@ private async Task TransferToken(ECKeyPair keyPair, string symbol, long amount)
198199

199200
private async Task<long> GetCurrentTreasuryBalance()
200201
{
201-
var balance = await TreasuryContractStub.GetCurrentTreasuryBalance.CallAsync(new Empty());
202+
var balance = await TreasuryContractStub.GetUndistributedDividends.CallAsync(new Empty());
202203

203-
return balance.Value;
204+
return balance.Value[EconomicSystemTestConstants.NativeTokenSymbol];
204205
}
205206
}
206207
}

test/AElf.Contracts.Parliament.Tests/AElf.Contracts.Parliament.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<ContractStub Include="..\..\protobuf\acs6.proto">
3737
<Link>Protobuf\Proto\stub\acs6.proto</Link>
3838
</ContractStub>
39+
<ContractStub Include="..\..\protobuf\acs10.proto">
40+
<Link>Protobuf\Proto\stub\acs10.proto</Link>
41+
</ContractStub>
3942
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
4043
<Link>Protobuf\Proto\stub\aedpos_contract.proto</Link>
4144
</ContractStub>

test/AElf.Contracts.TestBase/AElf.Contracts.TestBase.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
<ContractStub Include="..\..\protobuf\acs6.proto">
5555
<Link>Protobuf\Proto\stub\acs6.proto</Link>
5656
</ContractStub>
57+
<ContractStub Include="..\..\protobuf\acs10.proto">
58+
<Link>Protobuf\Proto\stub\acs10.proto</Link>
59+
</ContractStub>
5760
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
5861
<Link>Protobuf\Proto\stub\aedpos_contract.proto</Link>
5962
</ContractStub>

test/AElf.Contracts.TestContract.DApp/AElf.Contracts.TestContract.DApp.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
<ContractReference Include="..\..\protobuf\aedpos_contract.proto">
3434
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
3535
</ContractReference>
36+
<ContractReference Include="..\..\protobuf\acs10.proto">
37+
<Link>Protobuf\Proto\reference\acs10.proto</Link>
38+
</ContractReference>
3639

3740
<ContractBase Include="..\..\protobuf\acs1.proto">
3841
<Link>Protobuf\Proto\acs1.proto</Link>

test/AElf.Contracts.TestContract.DApp/DAppContract.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public override Empty InitializeForUnitTest(InitializeInput input)
1818
Context.GetContractAddressByName(SmartContractConstants.TokenHolderContractSystemName);
1919
State.TokenContract.Value =
2020
Context.GetContractAddressByName(SmartContractConstants.TokenContractSystemName);
21-
State.ConsensusContract.Value =
21+
State.DividendPoolContract.Value =
2222
Context.GetContractAddressByName(SmartContractConstants.ConsensusContractSystemName);
2323
State.Symbol.Value = input.Symbol == string.Empty ? "APP" : input.Symbol;
2424
State.ProfitReceiver.Value = input.ProfitReceiver;
@@ -38,7 +38,7 @@ public override Empty Initialize(InitializeInput input)
3838
Context.GetContractAddressByName(SmartContractConstants.TokenHolderContractSystemName);
3939
State.TokenContract.Value =
4040
Context.GetContractAddressByName(SmartContractConstants.TokenContractSystemName);
41-
State.ConsensusContract.Value =
41+
State.DividendPoolContract.Value =
4242
Context.GetContractAddressByName(SmartContractConstants.ConsensusContractSystemName);
4343
State.Symbol.Value = input.Symbol == string.Empty ? "APP" : input.Symbol;
4444
State.ProfitReceiver.Value = input.ProfitReceiver;

test/AElf.Contracts.TestContract.DApp/DAppContractState.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Acs1;
2+
using Acs10;
23
using Acs9;
34
using AElf.Contracts.Consensus.AEDPoS;
45
using AElf.Contracts.MultiToken;
@@ -12,7 +13,7 @@ public class DAppContractState : ContractState
1213
{
1314
internal TokenHolderContractContainer.TokenHolderContractReferenceState TokenHolderContract { get; set; }
1415
internal TokenContractImplContainer.TokenContractImplReferenceState TokenContract { get; set; }
15-
internal AEDPoSContractContainer.AEDPoSContractReferenceState ConsensusContract { get; set; }
16+
internal DividendPoolContractContainer.DividendPoolContractReferenceState DividendPoolContract { get; set; }
1617

1718
public SingletonState<string> Symbol { get; set; }
1819
public SingletonState<Address> ProfitReceiver { get; set; }

test/AElf.Contracts.TestContract.DApp/DAppContract_ACS9.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Acs9;
2-
using AElf.Contracts.Consensus.AEDPoS;
2+
using Acs10;
33
using AElf.Contracts.MultiToken;
44
using AElf.Contracts.TokenHolder;
55
using AElf.CSharp.Core;
@@ -19,9 +19,9 @@ public override Empty TakeContractProfits(TakeContractProfitsInput input)
1919
{
2020
Symbol = input.Symbol,
2121
Amount = amountForSideChainDividendsPool,
22-
Spender = State.ConsensusContract.Value
22+
Spender = State.DividendPoolContract.Value
2323
});
24-
State.ConsensusContract.ContributeToSideChainDividendsPool.Send(new ContributeToSideChainDividendsPoolInput
24+
State.DividendPoolContract.Donate.Send(new DonateInput
2525
{
2626
Symbol = input.Symbol,
2727
Amount = amountForSideChainDividendsPool

test/AElf.Contracts.TestContract.MethodCallThreshold/AElf.Contracts.TestContract.MethodCallThreshold.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
<ContractBase Include="..\..\protobuf\acs5.proto">
1919
<Link>Protobuf\Proto\reference\acs5.proto</Link>
2020
</ContractBase>
21+
<ContractBase Include="..\..\protobuf\acs10.proto">
22+
<Link>Protobuf\Proto\reference\acs10.proto</Link>
23+
</ContractBase>
2124
</ItemGroup>
2225
<ItemGroup>
2326
<ContractReference Include="..\..\protobuf\token_contract.proto">

test/AElf.Contracts.TestContract.ResourceSpender/AElf.Contracts.TestContract.ResourceSpender.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
<ContractBase Include="..\..\protobuf\acs8.proto">
1919
<Link>Protobuf\Proto\reference\acs8.proto</Link>
2020
</ContractBase>
21+
<ContractBase Include="..\..\protobuf\acs10.proto">
22+
<Link>Protobuf\Proto\reference\acs10.proto</Link>
23+
</ContractBase>
2124
</ItemGroup>
2225
<ItemGroup>
2326
<ContractReference Include="..\..\protobuf\acs0.proto">

test/AElf.Contracts.TestContract.Tests/AElf.Contracts.TestContract.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@
9595
<ContractStub Include="..\..\protobuf\acs8.proto">
9696
<Link>Protobuf/Proto/acs8.proto</Link>
9797
</ContractStub>
98+
<ContractStub Include="..\..\protobuf\acs10.proto">
99+
<Link>Protobuf\Proto\stub\acs10.proto</Link>
100+
</ContractStub>
98101
<ContractStub Include="..\..\protobuf\token_contract.proto">
99102
<Link>Protobuf/Proto/token_contract.proto</Link>
100103
</ContractStub>

test/AElf.Contracts.Vote.AEDPoSExtension.Tests/AElf.Contracts.Vote.AEDPoSExtension.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
<ContractStub Include="..\..\protobuf\acs6.proto">
3636
<Link>Protobuf\Proto\acs6.proto</Link>
3737
</ContractStub>
38+
<ContractStub Include="..\..\protobuf\acs10.proto">
39+
<Link>Protobuf\Proto\acs10.proto</Link>
40+
</ContractStub>
3841
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
3942
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
4043
</ContractStub>

test/AElf.Kernel.Configuration.Tests/AElf.Kernel.Configuration.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
<ContractBase Include="..\..\protobuf\acs6.proto">
4646
<Link>Protobuf\Proto\acs6.proto</Link>
4747
</ContractBase>
48+
<ContractBase Include="..\..\protobuf\acs10.proto">
49+
<Link>Protobuf\Proto\reference\acs10.proto</Link>
50+
</ContractBase>
4851
</ItemGroup>
4952
<ItemGroup>
5053
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">

test/AElf.Kernel.SmartContract.ExecutionPluginForResourceFee.Tests/AElf.Kernel.SmartContract.ExecutionPluginForResourceFee.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@
8787
<ContractBase Include="..\..\protobuf\acs3.proto">
8888
<Link>Protobuf\Proto\acs3.proto</Link>
8989
</ContractBase>
90+
<ContractBase Include="..\..\protobuf\acs10.proto">
91+
<Link>Protobuf\Proto\acs10.proto</Link>
92+
</ContractBase>
9093
<ContractStub Include="..\..\protobuf\parliament_contract.proto">
9194
<Link>Protobuf\Proto\parliament_contract.proto</Link>
9295
</ContractStub>

test/AElf.Kernel.SmartContract.Parallel.Tests/AElf.Kernel.SmartContract.Parallel.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
<ContractStub Include="..\..\protobuf\acs6.proto">
4343
<Link>Protobuf\Proto\acs6.proto</Link>
4444
</ContractStub>
45+
<ContractStub Include="..\..\protobuf\acs10.proto">
46+
<Link>Protobuf\Proto\acs10.proto</Link>
47+
</ContractStub>
4548
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
4649
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
4750
</ContractStub>

test/AElf.OS.TestBase/AElf.OS.TestBase.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
<ContractStub Include="..\..\protobuf\acs6.proto">
4949
<Link>Protobuf\Proto\acs6.proto</Link>
5050
</ContractStub>
51+
<ContractStub Include="..\..\protobuf\acs10.proto">
52+
<Link>Protobuf\Proto\stub\acs10.proto</Link>
53+
</ContractStub>
5154
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
5255
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
5356
</ContractStub>

test/AElf.Parallel.Tests/AElf.Parallel.Tests.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
<ContractStub Include="..\..\protobuf\acs6.proto">
5555
<Link>Protobuf\Proto\acs6.proto</Link>
5656
</ContractStub>
57+
<ContractStub Include="..\..\protobuf\acs10.proto">
58+
<Link>Protobuf\Proto\acs10.proto</Link>
59+
</ContractStub>
5760
<ContractStub Include="..\..\protobuf\aedpos_contract.proto">
5861
<Link>Protobuf\Proto\aedpos_contract.proto</Link>
5962
</ContractStub>

0 commit comments

Comments
 (0)