From f513757cd8a273cc4060e6139993857ff74bbf1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=90=8C?= Date: Tue, 10 Sep 2024 11:51:25 +0800 Subject: [PATCH 1/3] Update OpCode.cs --- src/Neo.VM/OpCode.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Neo.VM/OpCode.cs b/src/Neo.VM/OpCode.cs index 8ef5c0e538..f9d75536b8 100644 --- a/src/Neo.VM/OpCode.cs +++ b/src/Neo.VM/OpCode.cs @@ -1973,7 +1973,7 @@ public enum OpCode : byte /// The item on top of main stack is removed and appended to the second item on top of the main stack. /// When we use this opcode, we should dup the second item on top of the main stack before using it. /// - /// a a b -> a.concat(b) + /// a b -> a.concat(b) /// /// /// Push: 0 item(s) @@ -2028,7 +2028,7 @@ public enum OpCode : byte /// Using this opcode will need to dup the array before using it. /// /// - /// Push: 0 item(s) + /// Push: 1 item(s) /// Pop: 1 item(s) /// /// From 0bdcd8854937ce24db5e7d389281aec00d26346a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=90=8C?= Date: Tue, 10 Sep 2024 11:52:37 +0800 Subject: [PATCH 2/3] Update JumpTable.Compound.cs --- src/Neo.VM/JumpTable/JumpTable.Compound.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Neo.VM/JumpTable/JumpTable.Compound.cs b/src/Neo.VM/JumpTable/JumpTable.Compound.cs index 197cc1952a..817b460cf9 100644 --- a/src/Neo.VM/JumpTable/JumpTable.Compound.cs +++ b/src/Neo.VM/JumpTable/JumpTable.Compound.cs @@ -540,7 +540,7 @@ public virtual void ClearItems(ExecutionEngine engine, Instruction instruction) /// /// The execution engine. /// The instruction being executed. - /// Pop 1, Push 0 + /// Pop 1, Push 1 [MethodImpl(MethodImplOptions.AggressiveInlining)] public virtual void PopItem(ExecutionEngine engine, Instruction instruction) { From 36b8603f9aaf3165a855d008a53f91e53d5b9844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=BF=97=E5=90=8C?= Date: Thu, 12 Sep 2024 11:30:42 +0800 Subject: [PATCH 3/3] Update OpCode.cs --- src/Neo.VM/OpCode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Neo.VM/OpCode.cs b/src/Neo.VM/OpCode.cs index f9d75536b8..6af023cb6a 100644 --- a/src/Neo.VM/OpCode.cs +++ b/src/Neo.VM/OpCode.cs @@ -1973,7 +1973,7 @@ public enum OpCode : byte /// The item on top of main stack is removed and appended to the second item on top of the main stack. /// When we use this opcode, we should dup the second item on top of the main stack before using it. /// - /// a b -> a.concat(b) + /// a a b -> a.concat(b) /// /// /// Push: 0 item(s)