Skip to content

Commit

Permalink
Merge branch 'master' into nep5-template
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon authored Mar 17, 2020
2 parents d2b6b73 + 13c2b92 commit b49bc56
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Neo.Compiler.MSIL/Neo.Compiler.MSIL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.4.0" />
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" Version="3.4.0" />
<PackageReference Include="Mono.Cecil" Version="0.11.1" />
<PackageReference Include="Neo" Version="3.0.0-CI00855" />
<PackageReference Include="Neo" Version="3.0.0-CI00860" />
<PackageReference Include="Neo.VM" Version="3.0.0-CI00209" />
</ItemGroup>

Expand Down
3 changes: 2 additions & 1 deletion templates/Template.CSharp/Contract1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

namespace $safeprojectname$
{
public class Contract1 : SmartContract
[Features(ContractFeatures.HasStorage)]
public class Contract1 : SmartContract
{
public static bool Main(string operation, object[] args)
{
Expand Down
2 changes: 2 additions & 0 deletions tests/Neo.Compiler.MSIL.UnitTests/Utils/TestSnapshot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public class TestSnapshot : StoreView

public override DataCache<StorageKey, StorageItem> Storages => _Storages;

public override MetaDataCache<ContractIdState> ContractId => _ContractId;

public override DataCache<SerializableWrapper<uint>, HeaderHashList> HeaderHashList => _HeaderHashList;

public override MetaDataCache<HashIndexState> BlockHashIndex => _BlockHashIndex;
Expand Down

0 comments on commit b49bc56

Please sign in to comment.