Skip to content

Commit 48254d9

Browse files
committed
fix(vm): push0 instruction should push 1 operand on to the stack
1 parent 519cbeb commit 48254d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

actuator/src/main/java/org/tron/core/vm/OperationRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ public static void appendShangHaiOperations(JumpTable table) {
630630
BooleanSupplier proposal = VMConfig::allowTvmShanghai;
631631

632632
table.set(new Operation(
633-
Op.PUSH0, 0, 0,
633+
Op.PUSH0, 0, 1,
634634
EnergyCost::getBaseTierCost,
635635
OperationActions::push0Action,
636636
proposal));

0 commit comments

Comments
 (0)