From f54ea9a5a1ed273c05e48d1089914e15b5169a34 Mon Sep 17 00:00:00 2001 From: Erik Zhang Date: Fri, 9 Dec 2022 01:52:20 +0800 Subject: [PATCH] 3.5.0 (#771) * 3.5.0 * Fix --- src/Directory.Build.props | 2 +- src/Neo.Compiler.CSharp/Neo.Compiler.CSharp.csproj | 4 ++-- src/Neo.SmartContract.Framework/OpCode.cs | 8 ++++++++ .../templates/neocontract/ProjectName.csproj | 2 +- tests/Directory.Build.props | 4 ++-- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 8466a8957..a31b1eeac 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -3,7 +3,7 @@ 2015-2022 The Neo Project - 3.4.0 + 3.5.0 net6.0 The Neo Project diff --git a/src/Neo.Compiler.CSharp/Neo.Compiler.CSharp.csproj b/src/Neo.Compiler.CSharp/Neo.Compiler.CSharp.csproj index 692f0c310..b441043d6 100644 --- a/src/Neo.Compiler.CSharp/Neo.Compiler.CSharp.csproj +++ b/src/Neo.Compiler.CSharp/Neo.Compiler.CSharp.csproj @@ -19,8 +19,8 @@ - - + + diff --git a/src/Neo.SmartContract.Framework/OpCode.cs b/src/Neo.SmartContract.Framework/OpCode.cs index bb208ab4d..0ace7e256 100644 --- a/src/Neo.SmartContract.Framework/OpCode.cs +++ b/src/Neo.SmartContract.Framework/OpCode.cs @@ -21,6 +21,14 @@ public enum OpCode : byte PUSHINT128 = 0x04, PUSHINT256 = 0x05, /// + /// Pushes the boolean value onto the stack. + /// + PUSHT = 0x08, + /// + /// Pushes the boolean value onto the stack. + /// + PUSHF = 0x09, + /// /// Convert the next four bytes to an address, and push the address onto the stack. /// PUSHA = 0x0A, diff --git a/src/Neo.SmartContract.Template/templates/neocontract/ProjectName.csproj b/src/Neo.SmartContract.Template/templates/neocontract/ProjectName.csproj index 928de23a1..b10f7141a 100644 --- a/src/Neo.SmartContract.Template/templates/neocontract/ProjectName.csproj +++ b/src/Neo.SmartContract.Template/templates/neocontract/ProjectName.csproj @@ -5,7 +5,7 @@ - + diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index c1fed5a79..3061db0f5 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -7,10 +7,10 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive