From dbfce7b8809a51fd9471bed6f59151d630d309c7 Mon Sep 17 00:00:00 2001 From: Daniel Liu <139250065@qq.com> Date: Mon, 20 Apr 2026 18:14:10 +0800 Subject: [PATCH] chore(core/vm): make types consistent in makeDup #32378 --- core/vm/instructions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 36a10f09934c..fe08fac675a3 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -1118,9 +1118,9 @@ func makePush(size uint64, pushByteSize int) executionFunc { } // make dup instruction function -func makeDup(size int64) executionFunc { +func makeDup(size int) executionFunc { return func(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) { - scope.Stack.dup(int(size)) + scope.Stack.dup(size) return nil, nil } }